<table width="100%"  border="0" cellpadding="4" cellspacing="1" class="box_inner">
  <tr>
    <td class="box_innerhead">{$headernav}</td>
  </tr>
  <tr>
    <td><strong>{$row_f->title}</strong><br />
      {if $row_f->image} <a href="javascript:getLink('{$area}','{$row_f->id}');"><img src="{$row_f->image}" alt="" border="0" align="left" /></a> {/if} {$row_f->text} <br />
      <br />      <strong>{$lang.hits_today}</strong><br />      <span class="row_second">{$row_f->hits_today}</span> <br />      <strong>{$lang.hits_overall}</strong><br />      <span class="row_second">{$row_f->hits}</span> <br />      <br />      <strong>{$lang.ownvotes}</strong><br />      <span class="row_second">{if $votedata} <img class="absmiddle" src="templates/{$theme}/img/pvote/{$votedata}.gif" alt="" /> ({$vvote} , {$row_f->votes} {$lang.ownvotes})<br />
      {else}-{/if} <br />
      <strong>{$lang.vote_for_link} </strong><br />
      {if permission("canvote_link")}
      <script language="JavaScript" type="text/javascript">
			  <!--
			  function check_sel(){ldelim}
			  	if(document.vd.voting.value == ""){ldelim}
				alert('{$lang.jserror_voting_novalue}');
				document.vd.voting.focus();
				return false;
				{rdelim}
			  {rdelim}
			  //-->
			  </script>
      </span>
      <form action="index.php?vote=1&amp;showlink=1&amp;fid={$smarty.request.fid}&amp;p=links&amp;area={$smarty.request.area}&amp;categ={$smarty.request.categ}" method="post" name="vd" id="vd" onsubmit="return check_sel();">
        <select name="voting" id="voting">
          <option value="">- - -</option>
                  
				{foreach from=$pvote item=pvote key=schluessel}
				
          <option value="{$pvote.key}" {if $pvote.key==$row->voting}selected="selected"{/if}>{$pvote.val}</option>
          
				{/foreach}
				
        </select>
        <input class="button" type="submit" value="{$lang.vote_link}" />
      </form>
      {else} {$lang.downloadvote_no_perm} {/if} <br />
      <span class="row_second"><a href="javascript:getLink('{$area}','{$row_f->id}');"><br />
      <img src="templates/{$theme}/img/page/linkbutton.gif" alt="" border="0" class="absmiddle" /></a></span> <span class="row_first"><span class="row_second"> </span> </span></td>
  </tr>
</table>
