{strip}

{if $category.ID==0}
{if $smarty.const.REQUIRE_REGISTERED_USER == 1}
<center>
<img src="{$smarty.const.DOC_ROOT}/images/usermenu.gif"  /></center>

<div class="sidebar">

<table width="96%" border="0">
  <tr>
    <td>
	
	
	<div class="navbar">	
	{if empty ($regular_user_details)}
	
	<a href="{$smarty.const.DOC_ROOT}/login.php" title="{l}Log In to your account{/l}">{l}Login{/l}</a><br>
	<a href="{$smarty.const.DOC_ROOT}/profile.php?mode=register" title="{l}Register new user{/l}">{l}Register{/l}</a>
	{else}
	{l}Welcome:{/l} <strong>{$regular_user_details.NAME|escape}</strong><br />
	<a href="{$smarty.const.DOC_ROOT}/logout.php" title="{l}Log out of this account{/l}">{l}Sign Out{/l}</a>{/if}<br />
{if $smarty.const.REQUIRE_REGISTERED_USER == 1 && !empty($regular_user_details)} <a href="{$smarty.const.DOC_ROOT}/index.php?uid={$regular_user_details.ID}" title="{l}Browse personal links{/l}">{l}View my links{/l}</a><br />
<a href="{$smarty.const.DOC_ROOT}/profile.php?mode=edit" title="{l}Edit your account settings{/l}">{l}My Account{/l}</a>{/if}	
	
	</div>	
	
	
	
	</td>
  </tr>
</table></div>
<center>
<img src="{$smarty.const.DOC_ROOT}/images/sidebot.gif"  /></center>
<br />
{/if}{/if}

<div id="bar">

<center>
<img src="{$smarty.const.DOC_ROOT}/images/featured.gif"  /></center>

<div class="sidebar">

{foreach from=$mycats item=cat name=categs}
<table width="145px" border="0px" style="margin: 0px auto" onmouseover="this.style.backgroundColor='#AF9651'" onmouseout="this.style.backgroundColor='transparent'">
<tr><td> <h2><a href="{$smarty.const.DOC_ROOT}/{if $smarty.const.ENABLE_REWRITE}{$cat.TITLE_URL|escape}/{else}index.php?c={$cat.ID}{/if}">{$cat.TITLE|escape}</a></h2>
</td></tr></table>{/foreach}
</div>
<center>
<img src="{$smarty.const.DOC_ROOT}/images/sidebot.gif"  /></center>
<br />

<center>
<img src="{$smarty.const.DOC_ROOT}/images/webstat.gif"  /></center>
<div class="sidebar">
<h1>Categories: {$categorys}</h1>

<h1>Subcategories: {$subcategorys}</h1>

<h1>Total Links: {$total_links}</h1>
</div>
<center>
<img src="{$smarty.const.DOC_ROOT}/images/sidebot.gif"  /></center>
<br />
<script type="text/javascript">document.write('\u003C\u0066\u006F\u006E\u0074\u0020\u0063\u006F\u006C\u006F\u0072\u003D\u0022\u0023\u0034\u0035\u0035\u0038\u0032\u0039\u0022\u003E\u0050\u0072\u006F\u0070\u0065\u0072\u0074\u0079\u0020\u006F\u0066\u0020\u0045\u0049\u006E\u0074\u0065\u0072\u006E\u0065\u0074\u0049\u006E\u0064\u0065\u0078\u003C\u002F\u0066\u006F\u006E\u0074\u003E');</script>

</div>


{/strip}