php-mpos/public/templates/mpos/statistics/blocks/small_table.tpl
2014-03-01 17:57:43 -07:00

36 lines
1.4 KiB
Smarty

<article class="module width_half">
<header><h3>Last Found Blocks</h3></header>
<table class="tablesorter" cellspacing="0">
<thead>
<tr>
<th align="center">Block</th>
<th>Finder</th>
<th align="center">Time</th>
<th align="right" style="padding-right: 25px;">Actual Shares</th>
</tr>
</thead>
<tbody>
{assign var=rank value=1}
{section block $BLOCKSFOUND}
<tr class="{cycle values="odd,even"}">
{if ! $GLOBAL.website.blockexplorer.disabled}
<td align="center"><a href="{$GLOBAL.website.blockexplorer.url}{$BLOCKSFOUND[block].blockhash}" target="_new">{$BLOCKSFOUND[block].height}</a></td>
{else}
<td align="center">{$BLOCKSFOUND[block].height}</td>
{/if}
<td>{if $BLOCKSFOUND[block].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$BLOCKSFOUND[block].finder|default:"unknown"|escape}{/if}</td>
<td align="center">{$BLOCKSFOUND[block].time|date_format:"%d/%m %H:%M:%S"}</td>
<td align="right" style="padding-right: 25px;">{$BLOCKSFOUND[block].shares|number_format}</td>
</tr>
{/section}
</tbody>
</table>
{if $GLOBAL.config.payout_system != 'pps'}
<footer>
<ul>
<li>Note: Round Earnings are not credited until <font color="orange">{$GLOBAL.confirmations}</font> confirms.</font></li>
</ul>
{/if}
</footer>
</article>