{include file="header.tpl"}

{include file="program_details.tpl"}

<div class="details traffic">
<table class="list">
<tr>
 <th>Date</th>
 <th>Hosts</th>
 <th>Hits</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>No stats</td>
</tr>
{/if}
</table>
</div>

{include file="footer.tpl"}