php-mpos/public/templates/mmcFE/statistics/user/default.tpl
Sebastian Grewe 7dc0736b77 First version for new user graphs
* Properly calculate hashrate
* Remove number formatting, it breaks the graph
* Not properly in order based on time but displays correct values

Addresses #90
2013-06-05 17:22:47 +02:00

24 lines
721 B
Smarty

{include file="global/block_header.tpl" BLOCK_HEADER="Your Average Hourly Hash Rate" BUTTONS=array(mine,pool,both)}
<div class="block_content tab_content" id="mine" style="padding-left:30px;">
<table class="stats" rel="area" cellpadding="0">
<caption>Your Hashrate&nbsp;</caption>
<thead>
<tr>
<td></td>
{section hashrate $YOURHASHRATES}
<th scope="col">{$YOURHASHRATES[hashrate].hour}</th>
{/section}
</tr>
</thead>
<tbody>
<tr>
<th scope="row">{$GLOBAL.USERDATA.username}</th>
{section hashrate $YOURHASHRATES}
<td>{$YOURHASHRATES[hashrate].hashrate}</td>
{/section}
</tr>
</tbody>
</table>
</div>
{include file="global/block_footer.tpl"}