197 lines
7.0 KiB
Smarty
197 lines
7.0 KiB
Smarty
|
|
{include file='header.tpl'}
|
||
|
|
|
||
|
|
{* $Id: user_video_upload.tpl 131 2009-03-22 00:54:31Z john $ *}
|
||
|
|
|
||
|
|
|
||
|
|
<table cellpadding='0' cellspacing='0' style="width:100%;">
|
||
|
|
<tr>
|
||
|
|
<td valign='top'>
|
||
|
|
<!--<img src='./images/icons/video_video48.gif' border='0' class='icon_big' />-->
|
||
|
|
|
||
|
|
<div class='page_header'><span style="font-size:20pt; font-weight:bold; text-transform:uppercase;">{lang_print id=5500104}</span></div>
|
||
|
|
|
||
|
|
</td>
|
||
|
|
<td valign='top'>
|
||
|
|
<table cellpadding='0' cellspacing='0' align="right">
|
||
|
|
<tr>
|
||
|
|
<td class='button' nowrap='nowrap'>
|
||
|
|
<a href='user_videoalbum.php'>
|
||
|
|
<!--<img src='./images/icons/back16.gif' border='0' class='button' />-->
|
||
|
|
{lang_print id=5500111}
|
||
|
|
</a>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
<div>Upload a new video to your profile.
|
||
|
|
<br />
|
||
|
|
</div>
|
||
|
|
<br />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
{* SHOW ERROR MESSAGE *}
|
||
|
|
{if $is_error != 0||$error1!=''}
|
||
|
|
<table cellpadding='0' cellspacing='0'>
|
||
|
|
<tr>
|
||
|
|
<td class='result'>
|
||
|
|
<div class='error'><img src='./images/error.gif' border='0' class='icon' /> {lang_print id=$is_error}{$error1}</div>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
<br />
|
||
|
|
{/if}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
{if $task=="create"}
|
||
|
|
|
||
|
|
<form name='uploadForm' action='user_video_upload.php?task=docreate' method='post' id='uploadForm'>
|
||
|
|
|
||
|
|
<b>{lang_print id=5500078}</b><br />
|
||
|
|
<input name='video_title' type='text' class='form-control' maxlength='50' value='{$video->video_info.video_title}'>
|
||
|
|
<input name='album_id' type='hidden' class='form-control' maxlength='50' value='{$video->video_info.video_album}'>
|
||
|
|
<br />
|
||
|
|
<br />
|
||
|
|
|
||
|
|
|
||
|
|
<b>{lang_print id=5500079}</b><br>
|
||
|
|
<textarea name='video_desc' rows='6' cols='50' class='form-control'>{$video->video_info.video_desc}</textarea>
|
||
|
|
<br />
|
||
|
|
<br />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
{* SHOW SEARCH PRIVACY OPTIONS IF ALLOWED BY ADMIN *}
|
||
|
|
{if $user->level_info.level_video_search == 1}
|
||
|
|
<b>{lang_print id=5500014}</b><br>
|
||
|
|
<table cellpadding='0' cellspacing='0'>
|
||
|
|
<tr>
|
||
|
|
<td><input type='radio' name='video_search' id='video_search_1' value='1'{if $video->video_info.video_search} checked='checked'{/if}></td>
|
||
|
|
<td><label for='video_search_1'>{lang_print id=5500015}</label></td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td><input type='radio' name='video_search' id='video_search_0' value='0'{if !$video->video_info.video_search} checked='checked'{/if}></td>
|
||
|
|
<td><label for='video_search_0'>{lang_print id=5500016}</label></td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
<br />
|
||
|
|
{/if}
|
||
|
|
|
||
|
|
{* SHOW PRIVACY OPTIONS IF ALLOWED BY ADMIN *}
|
||
|
|
{if $privacy_options|@count > 1}
|
||
|
|
<b>{lang_print id=5500017}</b><br>
|
||
|
|
<table cellpadding='0' cellspacing='0'>
|
||
|
|
{foreach from=$privacy_options name=privacy_loop key=k item=v}
|
||
|
|
<tr>
|
||
|
|
<td><input type='radio' name='video_privacy' id='privacy_{$k}' value='{$k}'{if $video->video_info.video_privacy == $k} checked='checked'{/if}></td>
|
||
|
|
<td><label for='privacy_{$k}'>{lang_print id=$v}</label></td>
|
||
|
|
</tr>
|
||
|
|
{/foreach}
|
||
|
|
</table>
|
||
|
|
<br />
|
||
|
|
{/if}
|
||
|
|
|
||
|
|
{* SHOW COMMENT OPTIONS IF ALLOWED BY ADMIN *}
|
||
|
|
{if $comment_options|@count > 1}
|
||
|
|
<b>{lang_print id=5500018}</b><br>
|
||
|
|
<table cellpadding='0' cellspacing='0'>
|
||
|
|
{foreach from=$comment_options name=comment_loop key=k item=v}
|
||
|
|
<tr>
|
||
|
|
<td><input type='radio' name='video_comments' id='comments_{$k}' value='{$k}'{if $video->video_info.video_comments == $k} checked='checked'{/if}></td>
|
||
|
|
<td><label for='comments_{$k}'>{lang_print id=$v}</label></td>
|
||
|
|
</tr>
|
||
|
|
{/foreach}
|
||
|
|
</table>
|
||
|
|
<br />
|
||
|
|
{/if}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
{if $noai!=1}
|
||
|
|
|
||
|
|
<div><strong>Was this generated or manipulated with AI?</strong>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
{literal}
|
||
|
|
<div><label><input type="radio" name="ai" id="ai" value="1" onchange="jQuery('#fallback_submit').removeAttr('disabled');">Yes</label></div>
|
||
|
|
<div><label><input type="radio" name="ai" id="ai2" value="0" onchange="jQuery('#fallback_submit').removeAttr('disabled');">No</label></div><br>
|
||
|
|
{/literal}
|
||
|
|
{/if}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<label style="font-weight:normal;"><input type="checkbox" id="consent1" name="consent" value="1"> OPTIONAL: I give permission for BateWorld to use this image for promotional purposes, in marketing materials, on social media, and elsewhere on this website, and can provide 2257 documentation upon request.</label><br>
|
||
|
|
|
||
|
|
{* if $noai!=1}<label style="font-weight:normal;"><input type="checkbox" id="ai" name="ai" value="1"> This media was generated or manipulated using artificial intelligence.</label><br>
|
||
|
|
{/if *}
|
||
|
|
<br>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<input type='hidden' name='video_type' value='0' />
|
||
|
|
<input type='submit' class='button' name='submit' value='{lang_print id=5500158}' id='fallback_submit' disabled />
|
||
|
|
|
||
|
|
|
||
|
|
</form>
|
||
|
|
|
||
|
|
{/if}
|
||
|
|
|
||
|
|
{if $task=="upload"}
|
||
|
|
<div id="div_upload">
|
||
|
|
Videos may be formatted up to 4K resolution and should be .mov, .qt, .wmv, .mp4, .m4v, .avi, .mpg, or .mpeg files.<br>
|
||
|
|
|
||
|
|
Premium members get unlimited videos uploads, up to 30 minutes in length
|
||
|
|
<br>
|
||
|
|
Basic members get 5 video uploads, up to 15 minutes in length.
|
||
|
|
|
||
|
|
<br>
|
||
|
|
<br>
|
||
|
|
All media is reviewed before it appears on the site. This can take up to 24 hours.
|
||
|
|
|
||
|
|
{* math equation="x / 1024/1024" x=$max_filesize assign="gb"}
|
||
|
|
{if !empty($allowed_exts)}{lang_sprintf id=1000090 1=$allowed_exts 2=$gb}<br />{/if}
|
||
|
|
Administrator approval is required before your video will be publicly available.<br /><br />
|
||
|
|
|
||
|
|
|
||
|
|
Video files can not exceed {$gb}GB and may not be longer than {if $user->user_info.user_level_id==2||$user->user_info.user_level_id==7}30{else}15{/if} minutes
|
||
|
|
<br />
|
||
|
|
|
||
|
|
Recommended formats: mpeg, mov, qt, wmv, mp4, m4v, avi<br />
|
||
|
|
{if $user->level_info.level_video_maxnum!=999}You have {$user->level_info.level_video_maxnum-$total_videos} video uploads remaining on your profile.<br />{/if *}
|
||
|
|
<br>
|
||
|
|
<br />
|
||
|
|
<strong><span class="yellow">Do not navigate away from this page until your video has finished uploading.
|
||
|
|
</span></strong>
|
||
|
|
<br /><br />
|
||
|
|
|
||
|
|
{if SE_DEBUG1}
|
||
|
|
{include file='user_upload1.tpl' newform='https://bateworld.com/user_video_upload.php' action='uploadvideos.php' action1='user_video_upload.php' video_id=$video->video_info.video_id session_id=$session_id upload_token=$upload_token show_uploader=$show_uploader inputs=$inputs file_result=$file_result max_files=1 }
|
||
|
|
{else}
|
||
|
|
{include file='user_upload1.tpl' newform='https://bateworld.com/user_video_upload.php' action='uploadvideos.php' action1='user_video_upload.php' video_id=$video->video_info.video_id session_id=$session_id upload_token=$upload_token show_uploader=$show_uploader inputs=$inputs file_result=$file_result max_files=1 }
|
||
|
|
{/if}
|
||
|
|
</div>
|
||
|
|
{/if}
|
||
|
|
|
||
|
|
{if $is_error == 0 && $error1==''}
|
||
|
|
{if $task=="complete"}
|
||
|
|
<table cellpadding='0' cellspacing='0'>
|
||
|
|
<tr>
|
||
|
|
<td class='result'>
|
||
|
|
<div class='success' style='text-align: left;'>
|
||
|
|
{lang_print id=5500173}
|
||
|
|
</div>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
{/if}
|
||
|
|
{/if}
|
||
|
|
{include file='footer.tpl'}
|