<{if $future}>
  <div id="future_link"><{$smarty.const._MD_FUTURE_LINK}></div>
<{/if}>

<div class="box block padded <{cycle values="info,success"}>">
	<div class="row">
		<{if $screen_shot}>
	    <{if $link.url}>
				<div class="one sixth padded">
	      <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=visit p_key1=lid p_val1=$link.lid}>" <{if ! $link.adult}>target="_blank"<{/if}> title="<{$smarty.const._MD_SITE_VISIT}>">
	        <{if $link.capture}>
	          <img src="<{$cache_url}>/<{$link.lid}>.jpg" width="128" height="128" />
	        <{else}>
	          <{if $screenshotservice}>
	            <img src="<{$screenshotservice}><{$link.url}>" width="128" height="128" />
	          <{else}>
	            <img src="<{$myurl}>/images/cancel128.gif" width="128" height="128" />
	          <{/if}>
	        <{/if}>
	      </a>
				</div>
				<div class="five sixth padded">
	    <{/if}>
		<{else}>
			<div class="padded">
		<{/if}>
		<table class="outer">
  		<tr>
    	<td class="head">
      	<div>
	        <{if $link.url}>
	          <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=visit p_key1=lid p_val1=$link.lid}>" <{if ! $link.adult}>target="_blank"<{/if}> title="<{$smarty.const._MD_SITE_VISIT}>" style="font-size:120%;"><{$link.title}></a>
	        <{else}>
	          <{$link.title}>
	        <{/if}>
	        <{if $link.new == 1}>
	          &nbsp;<img src="<{$myurl}>/images/new.gif" alt="<{$smarty.const._MD_NEWTHISWEEK}>" />
	        <{/if}>
	        <{if $link.new == 2}>
	          &nbsp;<img src="<{$myurl}>/images/update.gif" alt="<{$smarty.const._MD_UPTHISWEEK}>" />
	        <{/if}>
	        <{if $link.pop}>
	          &nbsp;<img src="<{$myurl}>/images/pop.gif" alt="<{$smarty.const._MD_POPULAR}>" />
	        <{/if}>
      	</div>
      	<div style="text-align:right;font-weight:normal;width:240px;float:right;">
        	<{$smarty.const._MD_LASTUPDATEC}> : <{$link.date|formatTimestamp:"m"}>
      	</div>
    	</td>
  		</tr>
  		<tr>
    	<td class="even">
      	<b><{$smarty.const._MD_CATEGORY}> : </b>
      	<{foreach item=cid from=$link.cid name=i}>
        	<a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=category p_key1=cid p_val1=$cid}>"><{$allcid[$cid]}></a>
        	<{if !$smarty.foreach.i.last}>, <{/if}>
      	<{/foreach}>
    	</td>
  		</tr>
  		<{if $link.description}>
  		<tr>
    	<td class="odd">
      	<div style="text-align: justify"><b><{$smarty.const._MD_DESCRIPTIONC}> : </b><{$link.description}></div>
    	</td>
  		</tr>
  		<{/if}>
  		<tr>
    	<td class="even" style="text-align:right;">
      <{$smarty.const._MD_HITS}> <{$link.hits}> |
      <{if $link.adminlink}>
        | <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=edit p_key1=lid p_val1=$link.lid}>"><img src="<{$myurl}>/images/page_edit.gif" style="vertical-align:text-top" /><{$smarty.const._MD_MODIFY}></a>
      <{/if}>
    	</td>
  		</tr>
		</table>
	</div>
</div>
</div>

<br style="clear:both;" />
