<!-- BEGIN MAIN CONTENT -->

<div id="videowatch_body">

	<div id="videowatch_top">
		<div id="videowatch">
        	
			{if $error ne ""}
            {include file="show_error.tpl"}
            {/if}


<table width="940" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr>
		<td align="left"><h1>{$lang240}</h1></td>
		<td></td>
		<td align="left"><h1>{$lang241}</h1></td>
	</tr>
  	<tr>
  	<td colspan="3" height="10"></td>
  	</tr>
  	<tr>
    <td width="515" valign="top">
    <!-- Registration Begin -->
    <table width="515" align="center" cellpadding="0" cellspacing="0">   
    	<tr>
    		<td class="containerHeader"><h1>{$lang242}</h1></td>

    	</tr>
      	<tr>
        <td class="sectionTableBorder sectionBody">
        <table width="515" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td colspan="4" class="labelText" ><br>
              	<form id="signup" name="signup" action="{$baseurl}/login.php" method="post">    	
                <table width="480" border="0" align="left" cellpadding="2px" cellspacing="0">
					<tr>
			        	<td align="right" width="160">{$lang163}&nbsp;</td>
			            <td align="left" width="320">
		                <input name="username" id="username" type="text" value="{$smarty.request.username}" class="textField" /><br/>
						</td>
			        </tr>
                    <tr>
			        	<td align="right" width="160">&nbsp;</td>
			            <td align="left" width="320">
                        <span id="checkavailable"><b><a href="#usernamecheck" onclick="fxCheckUsername('checkavailable','username')">[{$lang243}]</a></b></span>
                        <span id="isavailable" style="display:none"><b>[{$lang244}]</b></span>
                        <span id="isnotavailable" style="display:none"><b>[{$lang245}]</b></span>
                        <span id="usernameisempty" style="display:none"><b>{$lang246}</b></span>
                        <span id="checkagain" style="display:none"><b><a href="#usernamecheckagain" onclick="fxCheckUsername('checkavailable','username')">[{$lang247}]</a></b></span>
						</td>
			        </tr>
			        <tr>
			            <td align="right" width="160">{$lang160}&nbsp;</td>
			            <td align="left">
		                <input type="text" name="email" value="{$smarty.request.email}" class="textField"/><br/>		            
						</td>
			        </tr>
                    <tr>
			            <td align="right" width="160">{$lang134}&nbsp;</td>
			            <td align="left">
                    	<input type="radio" value="1" name="gender" id="gender" {if $smarty.request.gender ne "0"}checked{/if}> {$lang135}&nbsp;&nbsp;&nbsp;
            			<input type="radio" value="0" name="gender" id="gender" {if $smarty.request.gender eq "0"}checked{/if}> {$lang136}
                		</td>
			        </tr>
			        <tr>
			            <td align="right" width="160">{$lang225}&nbsp;</td>
			            <td align="left">
		                    	<input type="password" name="password" value="" class="textField" id="password" onkeydown="updateMeter();" onkeyup="updateMeter();" /><br/>            		
			            </td>
			        </tr>
                    <tr>
			            <td align="right" width="160">&nbsp;</td>
			            <td align="left">
                        		<link href="{$cssurl}/passwordmeter.css" rel="stylesheet" type="text/css" />
		                    	<div class="strengthMeter" id="strengthMeter"><div class="scoreBar" id="scoreBar"></div></div>           		
			            </td>
			        </tr>
			        <tr>
			            <td align="right" width="160">{$lang248}&nbsp;</td>
			            <td align="left">
		                    	<input type="password" name="confirmpassword" value="" class="textField"/><br/> 	
						</td>
			        </tr>
                    <tr>
			            <td align="right" width="160">&nbsp;</td>
			            <td align="left">
		                    	<img src="{$baseurl}/include/captcha.php" /><br/> 	
						</td>
			        </tr>
                    <tr>
			            <td align="right" width="160">{$lang249}&nbsp;</td>
			            <td align="left">
		                    	<input name="imagecode" type="text" value="" class="textField"/><br/> 	
						</td>
			        </tr>	             
                    <tr>       
                      	<td colspan="2" align="left">
                      		<table cellspacing="0" cellpadding="0" width="100%">
                      			<tr>
                                	<td width="160">&nbsp;</td>
                      				<td>
                      					<input type="hidden" name="register" value="register" />
        								<INPUT class="inputBox" type=image value="{$lang171}" src="{$imageurl}/buttons/{$smarty.session.language}/registerbig.jpg" height="30px" style="height:30px;" border="0" name=register>
                      				</td>
                      			</tr>
                      		</table>
                      	</td>
               		</tr>
                    <tr>
                    	<td colspan="2" align="left">
                    		<table cellspacing="0" cellpadding="0" width="100%">
                    			<tr>
                                	<td width="118">&nbsp;</td>
                      				<td class="finePrint" style="padding-bottom: 5px;" align="left">
                                    <br/>{$lang250} <a href="{$baseurl}/termsofuse.php" target="_blank">{$lang251}</a>.</td>
                      			</tr>
                      		</table>
                    	</td>
                    </tr>
                </table>
                </form>
                </td>
            </tr>
        </table>
        </td> 
      </tr>      
    </table>
    <!-- Registration End -->
    </td>
    
    <td width="15">
    	<div style="margin: 0; padding: 0; width: 15px;"></div>
    </td>
    <td width="405" valign="top" align="left">
    <!-- Login Begin -->
    	<table width="405" align="right" cellpadding="0" cellspacing="0" >
     	<tr>
        	<td class="containerHeader"><h1>{$lang224}</h1></td>            	
      	</tr>
        <tr>
        <td class="sectionTableBorder sectionBody">
        	<table width="405" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td colspan="4" class="labelText" >
              <br>
              <form method="post" name="loginForm" id="loginForm" action="{$baseurl}/login.php">
              <table width="401" border="0" align="left" cellpadding="2" cellspacing="0" style="_width: 404px;">
                  <tr>
                      	<td width="124" align="right">{$lang163}&nbsp;</td>
                      	<td width="277" class="formPadding" align="left">
                        <input name="lusername" type="text" id="lusername" class="inputBox">
                      	</td>
                    </tr>
                    <tr>
                      	<td width="124" align="right">{$lang225}&nbsp;</td>
                      	<td width="277" class="formPadding" align="left">
                      	<input name="lpassword" type="password" id="lpassword" class="inputBox">
                        </td>
                    </tr>                    
                  	<tr>
                  	 	<td width="124">&nbsp;</td>
                  	 	<td width="277" align="left">
                  		<input type="hidden" name="authenticate" value="authenticate" />
        				<INPUT class="inputBox" type=image value="{$lang224}" src="{$imageurl}/buttons/{$smarty.session.language}/loginbig.jpg" height="30px" style="height:30px;" border="0" name=authenticate>
                  	 	</td>
                  	</tr>
                   <tr>
                     <td colspan="2" align="left">
                     	<table cellspacing="0" cellpadding="0" align="left" width="401">
                 			<tr><td width="124">&nbsp;</td>
                 				<td align="left">
		                      	<div class="forgot">
                                	<a href="{$baseurl}/forgot.php">{$lang252}</a><br>
		                      		<a href="{$baseurl}/forgot.php">{$lang253}</a><br /><br />
		                      	</div>
                    			 </td>
                    		</tr>
                    	</table>                    	
                    	</td>
                   </tr>
              </table>
              </td>
          </tr>
        </table>
        </form>
        </td>
      </tr>      
    </table>
    <!-- Login End -->
    </td>  
  </tr>
  <tr>
  	<td colspan="3" align="center" height="10">&nbsp;</td>
  </tr>  
</table>

<link href="{$cssurl}/login.css" rel="stylesheet" type="text/css">
<h1>{$lang165}</h1>
<ul class="memrow">
	{insert name=get_featured_members assign=featmem}
    {section name=i loop=$featmem}
    {insert name=get_member_profilepicture assign=profilefpic value=var USERID=$featmem[i].USERID}
	<li>
    	<a href="{$baseurl}/members/profile/{$featmem[i].USERID}/{$featmem[i].username}" title="{$featmem[i].username} Thumbnail"><img src="{$membersprofilepicurl}/thumbs/{$profilefpic}" alt="{$featmem[i].username} {$lang166}"></a>
		<a href="{$baseurl}/members/profile/{$featmem[i].USERID}/{$featmem[i].username}" class="vTitle" title="{$featmem[i].username}">{$featmem[i].username}</a>
    </li>
    {/section}
</ul>

<div class="clear" style="height: 35px;"></div>
				</div>
			</div>
			
			{include file="bottom.tpl"}
			
		</div>
<!-- END MAIN CONTENT -->