<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor=#336699>
  <tr bgcolor=#e5e5e5> 
    <td colspan="4">您的充值总金额为{%$sum%}，充值次数：{%$num%}</td>
  </tr>
  <tr bgcolor=#e5e5e5> 
    <td width="35%">充值时间</td>
    <td width="46%">充值类型</td>
    <td width="15%">金额(元)</td>
    <td width="4%">&nbsp;</td>
  </tr>
  {%section name=log loop=$logs%}
  <tr bgcolor=#e5e5e5>
    <td>{%$logs[log].ctime%}</td>
    <td>{%$logs[log].ctype%}</td>
    <td>{%$logs[log].price%}</td>
    <td>&nbsp;</td>
  </tr>
  {%/section%}
</table>
{%$pagebreak%}