{strip}
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td width="622"><img src="{$smarty.const.DOC_ROOT}/templates/images/searchleft.gif" alt="" height="25" width="622" border="0"/></td>
					<td width="253" background="{$smarty.const.DOC_ROOT}/templates/images/searchbck.gif" style="padding: 0px 5px;">
						<form action="{$smarty.const.DOC_ROOT}/index.php" method="get">
							<input type="text" name="q" class="searchbox" value="{if !empty($qu)}{$qu|escape}{/if}" />
						</form>
					</td>
					<td width="29"><img src="{$smarty.const.DOC_ROOT}/templates/images/searchright.gif" alt="" height="25" width="29" border="0"/></td>
				</tr>
			</table>
			<table width="100%" border="0" cellspacing="0" cellpadding="0">			
				<tr>
					<td>
<a href="{$smarty.const.DOC_ROOT}/" title="{l}Home{/l}"><img src="{$smarty.const.DOC_ROOT}/templates/images/home.gif" alt="" height="35" width="68" border="0"/></a>
<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}"><img src="{$smarty.const.DOC_ROOT}/templates/images/submitlink.gif" alt="" height="35" width="102" border="0"/></a>
<a href="{$smarty.const.DOC_ROOT}/index.php?p=h" title="{l}Browse most popular links{/l}"><img src="{$smarty.const.DOC_ROOT}/templates/images/toplinks.gif" alt="" height="35" width="87" border="0"/></a>
<a href="{$smarty.const.DOC_ROOT}/index.php?p=d" title="{l}Browse latest submitted links{/l}"><img src="{$smarty.const.DOC_ROOT}/templates/images/newlinks.gif" alt="" height="35" width="94" border="0"/></a>
<a href="{$smarty.const.DOC_ROOT}/about.php" title="{l}About us{/l}"><img src="{$smarty.const.DOC_ROOT}/templates/images/aboutus.gif" alt="" height="35" width="88" border="0"/></a>
<a href="{$smarty.const.DOC_ROOT}/contact.php" title="{l}Contact us{/l}"><img src="{$smarty.const.DOC_ROOT}/templates/images/contactus.gif" alt="" height="35" width="102" border="0"/>
<img src="{$smarty.const.DOC_ROOT}/templates/images/menuright.gif" alt="" height="35" width="363" border="0"/>
					</td>
				</tr>
				<tr>
					<td colspan="8"><img src="{$smarty.const.DOC_ROOT}/templates/images/menubottom.gif" alt="" height="44" width="904" border="0"/></td>
				</tr>
			</table>
			<div id="main">
				<table width="870" align="center" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td valign="top" width="710">
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td width="165" valign="top">
										{include file="sidebar.tpl"}																				
									</td>
									<td valign="top" id="content">
{/strip}