353 lines
16 KiB
HTML
353 lines
16 KiB
HTML
|
|
<div class="setting_title">Mass Uploader </div>
|
|
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td align="left">{if $step !="2"}
|
|
<form name="upload_01" method="post" action="">
|
|
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td height="30" align="left" valign="middle" class="tr_head" >Video Upload</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="left" valign="middle" ><table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td align="center" class="header2"><table width="99%" border="0" align="center" cellpadding="2" cellspacing="1">
|
|
<tr>
|
|
<td colspan="2" align="left" class="td_body">Video Details</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="117" align="right" valign="top" class="td_body">Number of Videos </td>
|
|
<td width="366" class="td_body"><label>
|
|
<input name="num" type="text" id="num" value="{$default_num}" size="45" maxlength="5">
|
|
</label></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="117" align="right" valign="top" class="td_body">Video Catgory* :</td>
|
|
<td class="td_body"> You May Select Up to 3 Categories<br>
|
|
<ul>
|
|
{assign var = num value = 0}
|
|
|
|
{section name=c_list loop=$category}
|
|
<input name="category[]" type="checkbox" value="{$category[c_list].categoryid}"
|
|
{if $default_category.$num == $category[c_list].categoryid}
|
|
checked
|
|
{/if}
|
|
>
|
|
{$category[c_list].category_name}<br>
|
|
{math assign = num equation = "$num + 1"}
|
|
{/section}
|
|
</ul></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td height="80" colspan="2" align="right" class="td_body"><table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
|
|
<tr>
|
|
<td colspan="2" align="left" class="header2">Broadcast Options</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="114" align="right" class="header3"><input name="broadcast" type="radio" id="broadcast_2" value="public"
|
|
{if $default_broadcast != "private"}
|
|
checked
|
|
{/if}
|
|
> </td>
|
|
<td width="363" align="left"><span class="header3">
|
|
<label>Public </label>
|
|
</span>
|
|
<label>Share your video with the Everyone! (Recommended)</label></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="114" align="right" class="header3"><input type="radio" name="broadcast" value="private" id="broadcast_3"
|
|
{if $default_broadcast == "private"}
|
|
checked
|
|
{/if}> </td>
|
|
<td align="left"><span class="header3">
|
|
<label>Private </label>
|
|
</span>
|
|
<label>Viewable by you and your friends only.</label></td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
<tr>
|
|
<td height="130" colspan="2" align="right" class="td_body"><table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
|
|
<tr>
|
|
<td colspan="2" align="left" class="header2">Date And Location</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="109" align="right" valign="top" class="header3">Date Recorded : </td>
|
|
<td width="347" align="left" class="header3"><select name="month" id="month">
|
|
<option value="">--</option>
|
|
|
|
|
|
{section name=months start=01 loop=13}
|
|
|
|
|
|
<option value='{$smarty.section.months.index}'
|
|
{if $default_m == $smarty.section.months.index}
|
|
selected="selected"
|
|
{/if}
|
|
>{$smarty.section.months.index}</option>
|
|
|
|
|
|
{/section}
|
|
|
|
|
|
|
|
|
|
</select>
|
|
/
|
|
<select name="day" id="day">
|
|
<option value="">--</option>
|
|
|
|
|
|
{section name=days start=01 loop=32}
|
|
|
|
|
|
<option value='{$smarty.section.days.index}'
|
|
{if $default_d == $smarty.section.days.index}
|
|
selected="selected"
|
|
{/if}
|
|
>{$smarty.section.days.index}</option>
|
|
|
|
|
|
{/section}
|
|
|
|
|
|
|
|
</select>
|
|
/
|
|
<select name="year" id="year">
|
|
<option value="">----</option>
|
|
|
|
|
|
{section name=year start=1901 loop=2009}
|
|
|
|
|
|
<option value='{$smarty.section.year.index}'
|
|
{if $default_y == $smarty.section.year.index}
|
|
selected="selected"
|
|
{/if}>{$smarty.section.year.index}</option>
|
|
|
|
|
|
{/section}
|
|
|
|
|
|
|
|
|
|
</select>
|
|
<span class="tips">format MM / DD / YYYY </span></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right" class="header3">Country</td>
|
|
<td align="left" class="header3"><select name="country" id="country">
|
|
<option value=""></option>
|
|
|
|
{foreach from=$country key=ccode item=cname}
|
|
|
|
|
|
|
|
|
|
<option value="{$cname}"
|
|
{if $default_country == $cname}
|
|
selected="selected"
|
|
{/if}
|
|
>{$cname}</option>
|
|
|
|
|
|
|
|
|
|
{/foreach}
|
|
|
|
|
|
|
|
|
|
|
|
</select> </td>
|
|
</tr>
|
|
<tr>
|
|
<td width="109" align="right" class="header3">Location : </td>
|
|
<td align="left" class="tips"><label>
|
|
<input name="location" type="text" id="location" value="{$default_tags}" size="45">
|
|
<br>
|
|
e.g London Greenland, Sialkot Mubarak Pura</label></td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
<tr>
|
|
<td height="80" colspan="2" align="right" class="td_body"><table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
|
|
<tr>
|
|
<td colspan="2" align="left" class="header2">Sharing Options</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="115" align="right" valign="top" class="header3">Comments : </td>
|
|
<td width="362" align="left"><input name="comments" type="radio" id="comments_0" value="yes"
|
|
{if $default_comment != no}
|
|
checked
|
|
{/if}
|
|
>
|
|
Allow Comments <br>
|
|
<input type="radio" name="comments" value="no" id="comments_1"
|
|
{if $default_comment == no}
|
|
checked
|
|
{/if}
|
|
>
|
|
Do Not Allow Comments
|
|
</label>
|
|
<br>
|
|
<br></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="115" align="right" valign="top" class="header3">Comments Voting :</td>
|
|
<td align="left"><p>
|
|
<label>
|
|
<input name="comment_voting" type="radio" id="comments_0" value="yes"
|
|
|
|
{if $default_comments_voting !=no}
|
|
checked
|
|
{/if}
|
|
>
|
|
Allow Comments Voting</label>
|
|
<br>
|
|
<label>
|
|
<input type="radio" name="comment_voting" value="no" id="comments_1"
|
|
{if $default_comments_voting ==no}
|
|
checked
|
|
{/if}
|
|
>
|
|
Do Not Allow Comments Voting</label>
|
|
<br>
|
|
<br>
|
|
</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right" valign="top" class="header3">Ratings : </td>
|
|
<td align="left"><p>
|
|
<label>
|
|
<input name="rating" type="radio" id="rating_0" value="yes"
|
|
{if $default_rating != no}
|
|
checked
|
|
{/if}
|
|
>
|
|
Yes, Allow Rating on this video</label>
|
|
<br>
|
|
<label>
|
|
<input type="radio" name="rating" value="no" id="rating_1"
|
|
{if $default_rating == no}
|
|
checked
|
|
{/if}
|
|
>
|
|
No, Do Not Allow Rating on this video</label>
|
|
<br>
|
|
<br>
|
|
</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right" valign="top" class="header3">Embedding :</td>
|
|
<td align="left"><input name="embedding" type="radio" id="rating_2" value="yes"
|
|
{if $default_embedding != no}
|
|
checked
|
|
{/if}
|
|
>
|
|
Yes, People can play this video on other websites <br>
|
|
<input type="radio" name="embedding" value="no" id="rating_3"
|
|
{if $default_embedding == no}
|
|
checked
|
|
{/if}>
|
|
No, People cannot play this video on other websites</td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"> </td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
<label></label></td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" valign="middle">
|
|
<input type="submit" name="upload_01" id="button" value="Continue to Upload" onClick="return validate_upload_form(upload_01)"> </td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
{/if}</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="left"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td align="left">{if $step =="2"}
|
|
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td height="30" align="left" valign="middle" class="header1" >Video Upload <span class="header2">(Step 2/2)</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td height="75" align="center" valign="middle"><form action="" method="post" enctype="multipart/form-data" name="form1">
|
|
<table width="95%" border="0" cellspacing="0" cellpadding="0">
|
|
{section name=foo start=0 loop=$loop step=1}
|
|
<tr>
|
|
<td class="tr_head">{$smarty.section.foo.iteration}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="td_body">Select File </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="td_body"><label>
|
|
<input name="file[]" type="file" id="file[]" size="42">
|
|
</label></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="td_body">Enter File Title
|
|
<input name="broadcast" type="hidden" value="{$default_broadcast}">
|
|
<input name="country" type="hidden" value="{$default_country}">
|
|
<input name="location" type="hidden" value="{$default_location}">
|
|
<input name="date" type="hidden" value="{$default_date}">
|
|
<input name="comments" type="hidden" value="{$default_comment}">
|
|
<input name="comment_voting" type="hidden" value="{$default_comments_voting}">
|
|
<input name="rating" type="hidden" value="{$default_rating}">
|
|
<input name="embedding" type="hidden" value="{$default_embedding}">
|
|
<input name="category01" type="hidden" value="{$category0}">
|
|
<input name="category02" type="hidden" value="{$category1}">
|
|
<input name="category03" type="hidden" value="{$category2}"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="td_body"><label>
|
|
<input name="title[]" type="text" id="title[]" size="55">
|
|
<input name="loop" type="hidden" id="loop" value="{$loop}">
|
|
</label></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="td_body">Tags</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="td_body"><label>
|
|
<input name="tags[]" type="text" id="tags[]" size="55" />
|
|
</label></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="td_body">Enter File Description </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="td_body"><textarea name="des[]" cols="50" rows="3" id="des[]"></textarea></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label></label></td>
|
|
</tr>{/section}
|
|
<tr>
|
|
<td align="center"><label>
|
|
<input type="submit" name="upload_02" value="Submit" id="button">
|
|
</label></td>
|
|
</tr>
|
|
</table>
|
|
</form> </td>
|
|
</tr>
|
|
</table>
|
|
{/if}</td>
|
|
</tr>
|
|
</table>
|