{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="50%" valign="top"><h2>{$smarty.const._SITENAME} {$lang.members}</h2></td>
        <td width="50%" valign="top">
		<div id="sorting">
		{$lang.sorting}: 
		<ul>
		<li><a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?page={$gv_pagenumber}&sortby=name" rel="nofollow" class="{if $gv_sortby == 'name'}selectedli{/if}">{$lang.name}</a></li>
		<li><a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?page={$gv_pagenumber}&sortby=lastseen" rel="nofollow" class="{if $gv_sortby == 'lastseen'}selectedli{/if}">{$lang.last_seen}</a></li>
		</ul>
		</div>		</td>
      </tr>
      <tr>
        <td colspan="2" valign="top">
		<br />
		<div id="memberlist_links">
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}" rel="nofollow">{$lang.memberlist_all}</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=a" rel="nofollow">A</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=b" rel="nofollow">B</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=c" rel="nofollow">C</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=d" rel="nofollow">D</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=e" rel="nofollow">E</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=f" rel="nofollow">F</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=g" rel="nofollow">G</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=h" rel="nofollow">H</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=i" rel="nofollow">I</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=j" rel="nofollow">J</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=k" rel="nofollow">K</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=l" rel="nofollow">L</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=m" rel="nofollow">M</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=n" rel="nofollow">N</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=o" rel="nofollow">O</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=p" rel="nofollow">P</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=q" rel="nofollow">Q</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=r" rel="nofollow">R</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=s" rel="nofollow">S</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=t" rel="nofollow">T</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=u" rel="nofollow">U</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=v" rel="nofollow">V</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=w" rel="nofollow">W</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=x" rel="nofollow">X</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=y" rel="nofollow">Y</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=z" rel="nofollow">Z</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?letter=other" rel="nofollow">#</a>
			<a href="{$smarty.const._URL}/memberlist.{$smarty.const._FEXT}?do=online" rel="nofollow">{$lang.whois_online}</a>
		</div>
		</td>
        </tr>
    </table>
		<div id="memberslist">
		<table width="100%" border="0" cellspacing="0" cellpadding="5">
		  <tr class="heading">
			<td width="60"><strong>{$lang.avatar}</strong></td>
			<td width="31%"><strong>{$lang.username}</strong></td>
			<td width="23%"><strong>{$lang.country}</strong></td>
			<td width="31%"><strong>{$lang.last_seen}</strong></td>
		  </tr>
			{$results}
		{if $problem != ''}
		 <tr>
		 	<td colspan="4" align="center">{$problem}</td>
		 </tr>
		{/if}
		</table>
		</div>
		<div id="pag">
		<table width="100%" border="0" cellspacing="2" cellpadding="2">
		  <tr>
			<td width="33%"></td>
			<td width="33%" align="center"></td>
			<td width="33%" align="right">{$page_count_info} {$pag_left} {$pag_right}</td>
		  </tr>
		</table>
		</div>
	</div>
	</td>
  </tr>
</table>
{include file='footer.tpl'} 