{strip}
<table width="100%" style="border: 1px solid #F4D5A1" align="center" cellpadding="5px" cellspacing="0" onmouseover="this.style.backgroundColor='#FFF9F0'" onmouseout="this.style.backgroundColor='#ffffff'">
<tbody>
   <tr valign="top">
      {* show page rank *}
      {if $smarty.const.SHOW_PAGERANK}
         <td width="40">{include file="pagerank.tpl" pr=$link.PAGERANK}</td>
      {/if}
      <td>
         <div align="left" class="linktitle_f"> <a id="id_{$link.ID}" href="{$link.URL|escape}" title="{$link.TITLE|escape}"
         {* nofollow *}
         {if $link.NOFOLLOW or ($link.RECPR_VALID eq 0 and ($smarty.const.RECPR_NOFOLLOW eq 2 or ($smarty.const.RECPR_NOFOLLOW eq 1 and $link.RECPR_REQUIRED eq 1)))} rel="nofollow"{/if}
         {if $smarty.const.ENABLE_BLANK} target="_blank"{/if}>
         {$link.TITLE|escape}</a></div>
         <div class="linkshortdesc" align="justify">{$link.DESCRIPTION|escape}</div>

         <div class="linkurl">{$link.URL|escape} - <a href="{if !$smarty.const.ENABLE_REWRITE}{$smarty.const.DOC_ROOT}/detail.php?id={$link.ID}
            {else}
            {$smarty.const.DOC_ROOT}/detail/link-{$link.ID}.html{/if}" title="{l}Read more about{/l}: {$link.TITLE|escape}">{l}more info{/l}</a>
            {if $smarty.const.REQUIRE_REGISTERED_USER == 1 and !empty($regular_user_details) and ($regular_user_details.ID == $link.OWNER_ID)}, <a href="{$smarty.const.DOC_ROOT}/submit.php?linkid={$link.ID}" title="{l}Edit or Remove your link{/l}">{l}Review{/l}</a>
            {/if}<br />
			{if !empty ($search) or !empty ($uid)}
			{l}Category{/l}: <a href="{$smarty.const.DOC_ROOT}/{$link.CATEGORY_URL|escape|trim}" title="{$link.CATEGORY_TITLE|escape|trim}">{$link.CATEGORY_TITLE|escape|trim}</a>
			{/if}		
			</div>
      </td>
   </tr>
</tbody>
</table>
{/strip}