<div class="popbox">
<div class="header">{#Stats_Referer#}</div>


<div class="subheaders">
<form method="post" action="index.php?do=stats&amp;sub=referer&amp;noframes=1">
    <table width="100%" border="0" cellspacing="0" cellpadding="1">
      <tr>
        <td width="100"><label for="qs">{#Global_searchW#}</label></td>
        <td><input style="width:200px" type="text" class="input" name="q" id="qs" value="{$smarty.request.q|koobispecialchars|replace:'empty':''}" /></td>
      </tr>
      <tr>
        <td><label for="dr">{#DataRecords#}</label></td>
        <td><input class="input" style="width:50px" type="text" name="pp" id="dr" value="{$limit}" />
        <input type="submit" class="button" value="{#Search#}" /></td>
      </tr>
    </table>
    <label for="dr"></label>
</form>
</div>

<form method="post" action="">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
 
  
    <tr class="headers">
      <td width="450" class="headers"><a href="index.php?do=stats&amp;sub=referer&amp;q={$smarty.request.q}&amp;page={$smarty.request.page|default:1}&amp;sort={$namesort|default:'name_desc'}&amp;pp={$limit}&amp;noframes=1">{#Global_Name#}</a></td>
      <td width="100" align="center" class="headers"><a href="index.php?do=stats&amp;sub=referer&amp;q={$smarty.request.q}&amp;page={$smarty.request.page|default:1}&amp;sort={$datesort|default:'date_desc'}&amp;pp={$limit}&amp;noframes=1">{#Global_Date#}</a></td>
      <td width="100" align="center" class="headers"><a href="index.php?do=stats&amp;sub=referer&amp;q={$smarty.request.q}&amp;page={$smarty.request.page|default:1}&amp;sort={$ossort|default:'os_desc'}&amp;pp={$limit}&amp;noframes=1">{#Stats_Ref_Os#}</a></td>
      <td width="100" class="headers"><a href="index.php?do=stats&amp;sub=referer&amp;q={$smarty.request.q}&amp;page={$smarty.request.page|default:1}&amp;sort={$browsersort|default:'browser_desc'}&amp;pp={$limit}&amp;noframes=1">{#Stats_Ref_Agent#}</a></td>
     <td class="headers"><a href="index.php?do=stats&amp;sub=referer&amp;q={$smarty.request.q}&amp;page={$smarty.request.page|default:1}&amp;sort={$ipsort|default:'ip_desc'}&amp;pp={$limit}&amp;noframes=1">I.P.</a></td>
    </tr>
    
   {foreach from=$referer item=g}
  {assign var=count value=$count+1}
    <tr class="{cycle name=$cna values='second,first'}">
  <td>
  {if $g->Referer==''}
  <small><em>Direct Request</em></small>
  {else}
  <strong><a {popup sticky=$config_vars.POPSTICKY  text=$g->Referer} href="{$g->Referer}" target="_blank">{$g->Referer|slice:100:'...'|koobispecialchars}</a></strong>
  {/if}
  </td>
    <td align="center">{$g->Datum_Int|date_format:$config_vars.DateFomat}</td>
    <td>
    <a href="index.php?do=stats&amp;sub=referer&amp;q={$g->Os}&amp;noframes=1">{$g->Os}</a> 
    </td>
    <td><a href="index.php?do=stats&amp;sub=referer&amp;q={$g->Ua}&amp;noframes=1">{$g->Ua}</a></td>
    <td><a href="index.php?do=stats&amp;sub=referer&amp;q={$g->IPAdresse}&amp;noframes=1">{$g->IPAdresse}</a></td>
    </tr>
   {/foreach}
</table>
</form>

{if $Navi}
<br />
<div class="navi_div">
{$Navi}
</div>
{/if}

<input type="button" class="button big" onclick="if(confirm('{#Stats_Ref_DelC#}')) location.href='index.php?do=stats&amp;sub=referer&amp;del=1&amp;noframes=1'" value="{#Stats_Ref_Del#}" />
<input type="button" class="button big" onclick="window.close();" value="{#Close#}" />
</div>