{include file='header.tpl' p="general"} 

<br />
<table width="886" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="150" valign="top">
	<div id="reg_box">
	<h3 class="captions">{$lang.genre}</h3>
		<div id="list_cats">
		{list_categories}		
		</div>
	</div>	
	<br />
	<div id="reg_box">
	<h3 class="captions">{$lang.members}</h3>
	{if $logged_in == '1'}
	{include file='loggedin_body.tpl'} 
	{else}
	{include file='login_body.tpl'} 
	{/if}
	</div>	
	</td>
    <td width="738" valign="top">
	<div id="browse_main">
	<table width="100%" border="0" cellspacing="3" cellpadding="3">
      <tr>
        <td width="60%" valign="top">
		<h2>{$lang.recently_added}</h2>
		</td>
        <td width="40%" valign="top">
		<div id="sorting">
		{$lang.added}: 
		<select name="categories" size="1" onChange="javascript:document.location=this.value;">
		<option value="" selected="selected">{$lang.select}</option>
		
		<option value="{$smarty.const._URL}/newvideos.{$smarty.const._FEXT}">{$lang.any_time}</option>
		<option value="{$smarty.const._URL}/newvideos.{$smarty.const._FEXT}?d=today">{$lang.today}</option>
		<option value="{$smarty.const._URL}/newvideos.{$smarty.const._FEXT}?d=yesterday">{$lang.yesterday}</option>
		<option value="{$smarty.const._URL}/newvideos.{$smarty.const._FEXT}?d=month">{$lang.this_month}</option>
		</select>
		</div>
		</td>
      </tr>
    </table>
		<div id="newvideos_results">
		<table width="100%" border="0" cellspacing="2" cellpadding="5">
		  <tr class="heading">
		    <td width="10">&nbsp;</td>
			<td><strong>{$lang.artist}</strong></td>
			<td><strong>{$lang.video}</strong></td>
			<td width="150"><strong>{$lang.added}</strong></td>
		  </tr>
			{$results}
		</table>
			{if $empty_results}
			{$lang.nv_page_sorry_msg}
			{/if}
		</div>
{$pagination}
	</div>
	</td>
  </tr>
</table>
{include file='footer.tpl'} 