<!-- BEGIN MAIN CONTENT -->
<div id="videowatch_body">
	<div id="videowatch_top">

		<div id="videowatch">

			<link href="{$cssurl}/videos.css" rel="stylesheet" type="text/css" /> 

			<div id="search_page" class="clear">

	

<div id="browse">
	<div id="sideAd" >
		<span>{$lang0}</span>
        {insert name=get_advertisement value=var AID="2"}
	</div>

	<h1>{$lang42}</h1>
	<div class="containerD containerWAdSpace">
		<div class="clear" style="height: 10px;"></div>
		<div id="result_container" class="clear">
		<ul class="vList_vFull clearfix clear">
		</ul>
        <ul class="vList_vFull clearfix clear">
        
        	<link href="{$cssurl}/account.css" rel="stylesheet" type="text/css">
            
        	{if $error ne ""}
            	<div class="errorMsg2" id="errorMsg2" name="errorMsg2" style="display:''">
					{$error}
				</div>
            
            {else}
            <form id="form_upload" name="form_upload" action="{$path_to_upload_script}" method="post" enctype="multipart/form-data">
            
			<div class="uploadMenu">
            	<h2>{$lang457}:</h2>
                
            	<br />
                {$lang324}:&nbsp;
                <input type="text" name="title" id="title" value="{$smarty.request.title}" class="textField" size="40"/><br />
                <div class=error id="titleError">{$lang459}</div>
                
                <div style="height:5px;"></div>
                
                {$lang325}:&nbsp;
                <input type="text" name="tags" id="tags" value="{$smarty.request.tags}" class="textField" size="40"/><br />
                <div class=error id=tagsError>{$lang460}<br></div>
                
                <div style="height:5px;"></div>
                
                {$lang113}:<br />
                <textarea name="vwdescription" id="vwdescription" rows=6 cols=45>{$smarty.request.vwdescription}</textarea><br />
                <div class=error id=vwdescriptionError>{$lang461}<br></div>
                
                <div style="height:5px;"></div>
                
                {$lang326}:&nbsp;
                <select id="category" name="category">
                <option value="0">{$lang115}</option>
                {insert name=get_video_categories assign=listvideocategories}
            	{section name=o loop=$listvideocategories}
	    		<option value="{$listvideocategories[o].CATID}">{$listvideocategories[o].name}</option>
            	{/section}
                </select><br />
                <div class=error id=categoryError>{$lang462}<br></div>
                
                <div style="height:10px;"></div>
                
                <div id="hideaddtoseries" style="display:'';">
                	<A HREF="javascript:void(0)" onClick="showhidelists('showaddtoseries','hideaddtoseries')">+ {$lang463}</A>
                </div>
                
                <div id="showaddtoseries" style="display:none;">
                	<A HREF="javascript:void(0)" onClick="showhidelists('hideaddtoseries','showaddtoseries')">- {$lang463}</A>
                	<div style="height:10px;"></div>
                	{insert name=return_member_series_count assign=seriescount value=var USERID=$smarty.session.USERID}
                    {if $seriescount > 0}
                    	<select id="videoseries" name="videoseries">
                		<option value="0" selected="selected">{$lang464}</option>
                		{insert name=get_member_videoseries assign=listvideoseries value=var USERID=$smarty.session.USERID}
            			{section name=o loop=$listvideoseries}
	    				<option value="{$listvideoseries[o].SID}">{$listvideoseries[o].name}</option>
            			{/section}
                		</select><br />
                    {else}
                    <b>{$lang465}</b>
                    {/if}
                    <a href="{$baseurl}/createseries.php">{$lang466}</a>
                	<div style="height:10px;"></div>
                </div>
                
                <div id="hideadditionaloptions" style="display:'';">
                	<A HREF="javascript:void(0)" onClick="showhidelists('showadditionaloptions','hideadditionaloptions')">+ {$lang467}</A>
                </div>
                
                <div id="showadditionaloptions" style="display:none;">
                	<A HREF="javascript:void(0)" onClick="showhidelists('hideadditionaloptions','showadditionaloptions')">- {$lang468}</A>
                <div style="height:10px;"></div>
                {$lang329}:&nbsp;
                <input type="radio" value="1" name="public" id="public" checked> {$lang327}&nbsp;&nbsp;&nbsp;
            	<input type="radio" value="0" name="public" id="public"> {$lang328}
                <div style="height:10px;"></div>
                
                {$lang330}:&nbsp;
                <input type="radio" value="1" name="allowcomments" id="allowcomments" checked> {$lang335}&nbsp;&nbsp;&nbsp;
            	<input type="radio" value="0" name="allowcomments" id="allowcomments"> {$lang336}
                <div style="height:10px;"></div>
                
                {$lang331}:&nbsp;
                <input type="radio" value="1" name="allowratings" id="allowratings" checked> {$lang335}&nbsp;&nbsp;&nbsp;
            	<input type="radio" value="0" name="allowratings" id="allowratings"> {$lang336}
                <div style="height:10px;"></div>
                
                {$lang332}:&nbsp;
                <input type="radio" value="1" name="allowembeds" id="allowembeds" checked> {$lang335}&nbsp;&nbsp;&nbsp;
            	<input type="radio" value="0" name="allowembeds" id="allowembeds"> {$lang336}
                <div style="height:10px;"></div>
                
                {$lang333}:&nbsp;
                <input type="radio" value="1" name="allowdownloads" id="allowdownloads" checked> {$lang335}&nbsp;&nbsp;&nbsp;
            	<input type="radio" value="0" name="allowdownloads" id="allowdownloads"> {$lang336}
                <div style="height:10px;"></div>
                
                {$lang334}:&nbsp;
                <input type="radio" value="1" name="mature" id="mature"> {$lang335}&nbsp;&nbsp;&nbsp;
                <input type="radio" value="0" name="mature" id="mature" checked> {$lang336}
                <div style="height:10px;"></div>
                
                </div>
                
                <div style="height:10px;"></div>
                <div class="input2">
                <input type="file" name="upfile_0" class="textField" size="50" {if $multi_upload_slots eq '1'}onChange="addUploadSlot(1)"{/if}/><br />
                <div class=error id="fileError">{$lang469}</div>
                </div>
                <div style="height:10px;"></div>
                
                
                <input type="hidden" name="MAX_FILE_SIZE" value="104857600">
	    		<input type="hidden" name="upload_range" value="1">
        		<noscript>
					<input type="hidden" name="no_script" value="1">
	    		</noscript>
				</form>        
                          
                
				<div class="info" id="progress_info"></div>
				<div id="progress_bar">
	    		<b>{$lang470}:</b>
				<span id="percent">0%</span>
	   			<div style="height:5px;"></div>
                <b>{$lang471}:</b>
        		<span id="uploaded_files">0</span> of <span id="total_uploads"></span>
	    		<div style="height:5px;"></div>
        		<b>{$lang472}:</b>
        		<span id="current">0</span>/<span id="total_kbytes"></span> {$lang476}
        		<div style="height:5px;"></div>
	   			<b>{$lang473}:</b>
       			<span id="time">0</span>
       			<div style="height:5px;"></div>
       			<b>{$lang474}:</b>
				<span id="remain">0</span>
       			<div style="height:5px;"></div>
       			<b>{$lang475}:</b>
				<span id="speed">0</span> {$lang477}.
				</div>
          
                

				<br>
                <div class="input2">
				<script language="javascript" type="text/javascript">
				<!--
	    		document.writeln('<input type="button" name="reset_button" value="{$lang478}" onClick="resetForm();">&nbsp;&nbsp;&nbsp;<input type="button" id="upload_button" name="upload_button" value="{$lang177}" onClick="uploadPreCheck();">');
				//-->
				</script>
                </div>
                   
            </div>
            {/if}

			</ul>
            <ul class="vList_vFull clearfix clear"></ul>
			<div class="clear"></div>
		</div>	
	
    
<div class="clear" style="height: 15px;"></div>	
	

<!-- Paging Begin -->

</div>
<!-- Paging End -->

<div id="drpepper">
</div>

<div class="clear"></div>
</div>	

{include file="accountmenu.tpl"}

<div class="clear"></div>
</div>
</div>

	
{include file="bottom.tpl"}
	
</div>
<!-- END MAIN CONTENT -->