75 lines
3.0 KiB
Smarty
75 lines
3.0 KiB
Smarty
{include file="global/block_header.tpl" BLOCK_HEADER="Pool Statistics" BLOCK_STYLE="clear:none;"}
|
|
{include file="global/block_header.tpl" BLOCK_HEADER="Top Contributers"}
|
|
<center>
|
|
<table width="100%" border="0" style="font-size:13px;" class="sortable">
|
|
<thead>
|
|
<tr style="background-color:#B6DAFF;">
|
|
<th align="left">Rank</th>
|
|
<th align="left" scope="col">User Name</th>
|
|
<th align="left" scope="col">KH/s</th>
|
|
<th align="left" scope="col">Shares</th>
|
|
<th align="left" scope="col">Shares/s</th>
|
|
<th align="left">Ł/Day<font size="1"> (est)</font></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{assign var=rank value=1}
|
|
{section hashrate $TOPHASHRATES}
|
|
<tr class="{cycle values="odd,even"}">
|
|
<td>{$rank++}</td>
|
|
<td>{$TOPHASHRATES[hashrate].account}</td>
|
|
<td>{$TOPHASHRATES[hashrate].hashrate|number_format}</td>
|
|
<td>{$TOPHASHRATES[hashrate].shares|number_format}</td>
|
|
<td>{math equation="round(shares / 600,3)" shares=$TOPHASHRATES[hashrate].shares}</td>
|
|
<td>{math equation="round(reward / ( diff * pow(2,32) / ( hashrate * 1000 ) / 3600 / 24),3)" diff=$DIFFICULTY reward=$REWARD hashrate=$TOPHASHRATES[hashrate].hashrate}</td>
|
|
</tr>
|
|
{/section}
|
|
</tbody>
|
|
</table>
|
|
<div id="pagination" class="pagination"></div>
|
|
</center>
|
|
{include file="global/block_footer.tpl"}
|
|
|
|
{include file="global/block_header.tpl" BLOCK_HEADER="Server Stats" BLOCK_STYLE="clear:all;" STYLE="padding-left:5px;padding-right:5px;"}
|
|
<table class="" width="100%" style="font-size:13px;">
|
|
<tbody>
|
|
<tr>
|
|
<td class="leftheader">Pool Hash Rate</td>
|
|
<td>{$GLOBAL.hashrate / 1000} Mhash/s</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="leftheader">Current Workers Mining</td>
|
|
<td>{$GLOBAL.workers}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="leftheader">Next Network Block</td>
|
|
<td><a href="http://explorer.litecoin.net/search?q={$CURRENTBLOCK + 1}" target="_new">{$CURRENTBLOCK + 1}</a> <font size="1"> (Current: <a href="http://explorer.litecoin.net/search?q={$CURRENTBLOCK}" target="_new">{$CURRENTBLOCK})</a></font></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="leftheader">Last Block Found</td>
|
|
<td><a href="http://explorer.litecoin.net/search?q={$LASTBLOCK}" target="_new">{$LASTBLOCK|default:"0"}</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="leftheader">Current Difficulty</td>
|
|
<td><a href="http://allchains.info" target="_new"><font size="2">{$DIFFICULTY}</font></a></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="leftheader">Est. Avg. Time per Round</td>
|
|
<td>{$ESTTIME|seconds_to_words}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="leftheader">Time Since Last Block</td>
|
|
<td>{$TIMESINCELAST|seconds_to_words}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<ul>
|
|
<li><font color="orange">Server stats are also available in JSON format <a href="/api" target="_api">HERE</a></font></li>
|
|
</ul>
|
|
{include file="global/block_footer.tpl"}
|
|
|
|
|
|
{include file="statistics/blocks/blocks_found.tpl"}
|
|
|
|
{include file="global/block_footer.tpl"}
|