{strip}
<div class="hMenuContainer">
	<div class="center">
		<div class="hMenu">
			<img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/hMenuSeparator.gif" alt="" />
{if $uLevel eq 1 && $catid > 0}
             <a href="{$smarty.const.DOC_ROOT}/quick_submit.php{if !empty ($category.ID) and $category.ID > 0}?c={$category.ID}{/if}" title="{l}Submit your link to the directory{/l}">{l}Submit Link{/l}</a>
             {else}
             <a href="{$smarty.const.DOC_ROOT}/submit.php{if !empty ($category.ID) and $category.ID > 0}?c={$category.ID}{/if}" title="{l}Submit your link to the directory{/l}">{l}Submit Link{/l}</a>
             {/if}
			<img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/hMenuSeparator.gif" alt="" />
			<a href="{$smarty.const.DOC_ROOT}/submit_article.php{if !empty ($category.ID) and $category.ID > 0}?c={$category.ID}{/if}" title="{l}Submit your article to the directory{/l}">{l}Submit Article{/l}</a>
				<img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/hMenuSeparator.gif" alt="" />
			<a href="{$smarty.const.DOC_ROOT}/index.php?list=latest" title="{l}Browse latest submitted links{/l}">{l}Latest Links{/l}</a>
			<img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/hMenuSeparator.gif" alt="" />
			<a href="{$smarty.const.DOC_ROOT}/index.php?list=latestarticles" title="{l}Browse latest articles{/l}">{l}Latest Articles{/l}</a>
			<img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/hMenuSeparator.gif" alt="" />
			<a href="{$smarty.const.DOC_ROOT}/index.php?list=top" title="{l}Browse most popular links{/l}">{l}Popular Sites{/l}</a>
			<img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/hMenuSeparator.gif" alt="" />
			<a href="{$smarty.const.DOC_ROOT}/contact.php" title="{l}Contact directory owner{/l}">{l}Contact Us{/l}</a>
						<img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/hMenuSeparator.gif" alt="" />
			<a href="{$smarty.const.DOC_ROOT}/search.php?type=advanced" title="{l}Go to advanced search page{/l}" accesskey="4" rel="nofollow">{l}Advanced Search{/l}</a>
			<img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/hMenuSeparator.gif" alt="" />
				<a href="{$smarty.const.DOC_ROOT}/rules.php" title="{l}Submission Rules Agreement{/l}">{l}Rules{/l}</a>

	


			 {* RSS feed icon *}
      {if $smarty.const.ENABLE_RSS and (!empty($search) or $category.ID > 0  or $list)}
			    <img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/hMenuSeparator.gif" alt="" />
				<a href="{$smarty.const.DOC_ROOT}/rss.php?{if !empty($search)}search={$search|@urlencode}{elseif $list}list={$list}{else}c={$category.ID}{/if}{if $sort}&amp;s={$sort}{/if}{if $p}&amp;p={$p}{/if}">{l}RSS{/l}</a>
			{/if}
			<img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/hMenuSeparator.gif" alt="" />
			
			 
		</div>
	</div>
</div>

{* Display current path *}
<div class="path">
{if $path|@count > 1}
	{assign var="current_path" value=""}
	{foreach from=$path item=cat name=path}
	   {assign var="current_path" value="`$current_path``$cat.TITLE_URL`/"}
	   {if !$smarty.foreach.path.first} <img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/pathArrow.gif" alt=" - " /> {/if}
	   {if !$smarty.foreach.path.last}
	      <a href="{if $smarty.const.ENABLE_REWRITE}{$current_path}{else}index.php?c={$cat.ID}{/if}" {if $smarty.foreach.path.first}style="font-weight: bold;"{/if}>{$cat.TITLE|escape|trim}</a>
	   {else}
	      {$cat.TITLE|escape|trim}
	   {/if}
	{/foreach}
{/if}
</div>


<div class="center1">
<div class="leftContainer">
	{include file="left_side.tpl"}
	</div>
<div class="centerContainer">
{if !$uid & !$search & empty($category.ID) & !$list & $scriptname == "index"}
		{foreach from=$widgets.MAIN_ON_HOMEPAGE.TOP item=v}
			{if $v.SETTINGS.DISPLAY_IN_BOX eq 'Yes'}
			{include file="widget_central_top.tpl" TITLE=$v.SETTINGS.TITLE}
			{/if}
			{$v.CONTENT}
			{if $v.SETTINGS.DISPLAY_IN_BOX eq 'Yes'}
			{include file="widget_central_bot.tpl"}
			{/if}
		{/foreach}
		{else}
		{foreach from=$widgets.MAIN_NOT_ON_HOMEPAGE.TOP item=v}
			{if $v.SETTINGS.DISPLAY_IN_BOX eq 'Yes'}
			{include file="widget_vertical_top.tpl"}
			{/if}
			{$v.CONTENT}
			{if $v.SETTINGS.DISPLAY_IN_BOX eq 'Yes'}
			{include file="widget_vertical_bot.tpl"}
			{/if}
		{/foreach}
		{/if}
<div class="centerContainerT"></div><div class="centerContainerM"><div class="table_link">
{/strip}