{assign var="title" value=$smarty.const._TPL_AFF_STATS_TITLE} {include file="error.inc.html"} {if $months} {foreach from=$months item=m key=mm} {/foreach}
#_TPL_AFF_STATS_DATE# #_TPL_AFF_STATS_CLICKS# #_TPL_AFF_STATS_COMMISS#
#_TPL_AFF_STATS_RAW# #_TPL_AFF_STATS_UNIQUE# #_TPL_AFF_STATS_TRANS# #_TPL_AFF_STATS_CREDIT# #_TPL_AFF_STATS_DEBIT# #_TPL_AFF_STATS_TOTAL#
{$m.dat} {$m.raw|string_format:"%d"} {$m.uniq|string_format:"%d"} {$m.trans} {if $m.debit ne ""}{$m.debit}{/if} {$m.credit} {if $m.total ne ""}{if $m.total < 0.0}{/if}{$m.total|string_format:"%.2f"}{/if}{if $m.total < 0.0}{/if}
#_TPL_AFF_STATS_TOTAL_H# {$total.raw|string_format:"%d"} {$total.uniq|string_format:"%d"} {$total.trans|string_format:"%d"} {if $total.debit ne ""}{$total.debit|string_format:"%.2f"}{/if} {$total.credit|string_format:"%.2f"} {if $total.total < 0.0}{/if}{$total.total|string_format:"%.2f"}{if $total.total < 0.0}{/if}
{/if}