{include file="header.tpl"}

{include file="program_details.tpl"}

<div class="details traffic">
<table class="list">
<tr>
 <th>{t}Date{/t}</th>
 <th>{t}Hosts{/t}</th>
 <th>{t}Hits{/t}</th>
</tr>
{if $stats}
{section name=s loop=$stats}
<tr class="{cycle values="row1,row2"}">
 <td>{$stats[s].fdate}</td>
 <td align=center>{$stats[s].hosts}
 {if $stats[s].hosts_d < 0}
  <span class="neg">&darr; {$stats[s].hosts_d|abs}</span>
 {elseif $stats[s].hosts_d > 0}
  <span class="pos">&uarr; {$stats[s].hosts_d}</span>
 {/if}</td>
 <td align=center>{$stats[s].hits}
 {if $stats[s].hits_d < 0}
  <span class="neg">&darr; {$stats[s].hits_d|abs}</span>
 {elseif $stats[s].hits_d > 0}
  <span class="pos">&uarr; {$stats[s].hits_d}</span>
 {/if}</td>
</tr>
{/section}
{else}
<tr>
 <td colspan=4 align=center>{t}No stats{/t}</td>
</tr>
{/if}
</table>
</div>

{include file="footer.tpl"}