<div id="content">
    <div class="left span-300">
        {include file='user_info.tpl'}
    </div>
    <div class="right span-650">
        <div class="box">
            
            <div class="btitle"><h2>VIDEO UPLOAD</h2></div>
            <div class="binfo font-12 font-bold">
            By clicking on "Upload", you agree that this video does not violate {$site_name}'s Terms of Service and
            that you are willing to provide any 2257 information upon request.
            </div>
            <br>
            <div id="upload_video_form">
            <form name="uploadVideo" id="uploadVideo" method="post" enctype="multipart/form-data" target="_self" action="{$relative}/upload/video">
                <input type="hidden" name="MAX_FILE_SIZE" value="{$upload_max_size}" />
                <input type="hidden" name="UPLOAD_IDENTIFIER" id="UPLOAD_IDENTIFIER" value="{$upload_id}" />
                <input type="hidden" name="video_upload_started" />
                <div class="separator">
                    <label for="upload_video_title">Title:</label>
                    <input name="video_title" type="text" value="{$video.title}" id="upload_video_title" class="large" /><br />
                    <span id="video_title_error" class="error" style="display: none;">Please enter the video title!</span>
                </div>
                <div class="separator">
                    <label for="upload_video_keywords">Tags:</label>
                    <textarea name="video_keywords" id="upload_video_keywords">{$video.keywords}</textarea><br />
                    <span class="expl">Enter one or more tags, separated by spaces.</span><br />
                    <span id="video_tags_error" class="error" style="display: none;">Please enter video tags (separated only by spaces)!</span>
                </div>
                <div class="separator">
                    <label for="upload_video_paysite">Paysite (if applicable):</label>
                    <input name="video_paysite" type="text" value="{$video.paysite}" id="upload_video_paysite" class="large" />
                </div>
                <div class="separator">
                    <label for="upload_video_category">Category:</label>
                    <select name="video_category" id="upload_video_category">
                    <option value="0"{if $video.category == '0'} selected="selected"{/if}>-----</option>
                    {section name=i loop=$categories}
                    <option value="{$categories[i].CHID}"{if $video.category == $categories[i].CHID} selected="selected"{/if}>{$categories[i].name|escape:'html'}</option>
                    {/section}
                    </select><br />
                    <span id="video_category_error" class="error" style="display: none;">Please selected a video category!</span>
                </div>
                <div class="separator">
                    <label for="upload_video_file">File:</label>
                    <input name="video_file" type="file" id="upload_video_file" /><br />
                    <span id="video_file_error" class="error" style="display: none;">Please selected a video file!</span>
                    <span id="video_file_ext_error" class="error" style="display: none;"></span>
                </div>
                <br>
                <div class="separator">
                    <label for="upload_video_anonymous_no">Anomymous:</label>
                    <input name="video_anonymous" type="radio" value="no" id="upload_video_anonymous_no" class="radio"{if $video.anonymous == 'no'} checked="checked"{/if} />
                    <span class="radio">No - use my profile name</span><br>
                    <label for="upload_video_anonymous_yes">&nbsp;</label>
                    <input name="video_anonymous" type="radio" value="yes" id="upload_video_anonymous_yes" class="radio"{if $video.anonymous == 'yes'} checked="checked"{/if} />
                    <span class="radio">Yes - anonymous</span>
                </div>
                <div class="separator">
                    <label for="upload_video_privacy_public">Privacy:</label>
                    <input name="video_privacy" type="radio" value="public" id="upload_video_privacy_public" class="radio"{if $video.privacy == 'public'} checked="checked"{/if} />
                    <span class="radio">Public - anybody can see this video</span><br>
                    <label for="upload_video_privacy_private">&nbsp;</label>
                    <input name="video_privacy" type="radio" value="private" id="upload_video_privacy_private" class="radio"{if $video.privacy == 'private'} checked="checked"{/if} />
                    <span class="radio">Private - only your friends can see this video</span>
                </div>
                <br>
                <div id="upload_loader" style="display: none;">
                    <img src="{$relative_tpl}/images/ajax-loader.gif">
                </div>
                <div id="upload_status" style="display:none;">
                    <div id="upload_progress"><div class="bar" style="width: 0;">&nbsp;</div></div>
                    <div class="upload_info">
                        <div id="upload_time"></div>
                        <div id="upload_size"></div>
                        <div class="clear"></div>
                    </div>
                </div>
                <div id="upload_message" style="display: none;"></div>
                <div class="separator">
                    <label for="upload_video_submit">&nbsp;</label>
                    <input name="submit_upload_video" type="button" id="upload_video_submit" value="Upload Video" class="button" />
                </div>
            </form>
            </div>
            <br />
            <div class="binfo font-12 font-bold">
                Thank you for your contribution to {$site_name}. Each video, photo and game will be converted into a
                format that is compatible with our systems. This process can take between 24-48h to be completed
                depending on volume. Nevertheless, an email will be sent to you once your video is published!            
            </div>
            <br />
        </div>
    </div>
    <div class="clear"></div>
</div>
