121 lines
4.0 KiB
Smarty
121 lines
4.0 KiB
Smarty
|
|
{include file='header_popup.tpl'}
|
||
|
|
|
||
|
|
{* $Id: user_video_upload.tpl 131 2009-03-22 00:54:31Z john $ *}
|
||
|
|
|
||
|
|
{literal}<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
|
||
|
|
<style>
|
||
|
|
.event_video_upload{background:black;}
|
||
|
|
div{text-align:left;}
|
||
|
|
body{background:black!important;}
|
||
|
|
</style>
|
||
|
|
{/literal}
|
||
|
|
|
||
|
|
<div style="margin-top:20px;">
|
||
|
|
<span style="font-size:20pt; font-weight:bold; text-transform:uppercase;">Upload Video</span></div><div>Upload a new video to this event.
|
||
|
|
|
||
|
|
</div>
|
||
|
|
<div style="padding-bottom:10px;padding-top:20px;">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
{* SHOW ERROR MESSAGE *}
|
||
|
|
{if $is_error != 0}
|
||
|
|
<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}</div>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
<br />
|
||
|
|
{/if}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
{if $task=="create"}
|
||
|
|
|
||
|
|
<form name='uploadForm' action='event_video_upload.php?task=docreate' method='post' id='uploadForm'>
|
||
|
|
<input type='hidden' name='event_id' value='{$event_id}' />
|
||
|
|
<b>{lang_print id=5500078}</b><br />
|
||
|
|
<input name='video_title' type='text' class='text' maxlength='50' size='30' style='border: none; width: 175px;' value='{$video->video_info.video_title}'>
|
||
|
|
<br />
|
||
|
|
<br />
|
||
|
|
|
||
|
|
|
||
|
|
<b>{lang_print id=5500079}</b><br>
|
||
|
|
<textarea name='video_desc' rows='6' cols='50'>{$video->video_info.video_desc}</textarea>
|
||
|
|
<br />
|
||
|
|
<br />
|
||
|
|
|
||
|
|
{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}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<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">
|
||
|
|
{* if !empty($allowed_exts)}{lang_sprintf id=1000090 1=$allowed_exts}<br />{/if *}
|
||
|
|
Videos may be formatted up to 4K resolution and should be .mov, .qt, .wmv, .mp4, .m4v, .avi, .mpg, or .mpeg files.<br>
|
||
|
|
|
||
|
|
Premium members can upload up to 30 minutes in length
|
||
|
|
<br>
|
||
|
|
Basic members can upload 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.
|
||
|
|
<br>
|
||
|
|
<strong><span>Do not navigate away from this page until your video has finished uploading.
|
||
|
|
</span></strong><br>
|
||
|
|
<br>
|
||
|
|
|
||
|
|
|
||
|
|
{* include file='user_upload.tpl' action='eventuploadvideos.php' session_id=$session_id upload_token=$upload_token show_uploader=1 inputs=$inputs file_result=$file_result max_files=1 *}
|
||
|
|
|
||
|
|
{include file='user_upload1.tpl' newform='https://bateworld.com/event_video_upload.php' action='eventuploadvideos.php' action1='event_video_upload.php' video_id=$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_upload.tpl' action='event_video_upload.php' session_id=$session_id upload_token=$upload_token show_uploader=1 inputs=$inputs file_result=$file_result max_files=1 }
|
||
|
|
{/if *}
|
||
|
|
{* THIS NEEDS WORK!
|
||
|
|
include file='user_upload1.tpl' newform='https://bateworld.com/event_video_upload.php' action='event_video_upload.php' action1='event_video_upload.php' session_id=$session_id upload_token=$upload_token show_uploader=1 inputs=$inputs file_result=$file_result max_files=1*}
|
||
|
|
</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}
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</body></html>
|