-{if ! $GLOBAL.website.blockexplorer.disabled}
+ {assign var="totalshares" value=$totalshares+$BLOCKSFOUND[block].shares}
+ {assign var="count" value=$count+1}
+ {if $GLOBAL.config.payout_system == 'pplns'}{assign var="pplnsshares" value=$pplnsshares+$BLOCKSFOUND[block].pplns_shares}{/if}
+ {if ! $GLOBAL.website.blockexplorer.disabled}
| {$BLOCKSFOUND[block].height} |
-{else}
+ {else}
{$BLOCKSFOUND[block].height} |
-{/if}
+ {/if}
-{if $BLOCKSFOUND[block].confirmations >= $GLOBAL.confirmations}
+ {if $BLOCKSFOUND[block].confirmations >= $GLOBAL.confirmations}
Confirmed
-{else if $BLOCKSFOUND[block].confirmations == -1}
+ {else if $BLOCKSFOUND[block].confirmations == -1}
Orphan
-{else}
+ {else}
{$GLOBAL.confirmations - $BLOCKSFOUND[block].confirmations} left
-{/if}
+ {/if}
|
{if $BLOCKSFOUND[block].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$BLOCKSFOUND[block].finder|default:"unknown"|escape}{/if} |
{$BLOCKSFOUND[block].time|date_format:"%d/%m %H:%M:%S"} |
{$BLOCKSFOUND[block].difficulty|number_format:"2"} |
{$BLOCKSFOUND[block].amount|number_format:"2"} |
-{assign var="totalexpectedshares" value=$totalexpectedshares+$BLOCKSFOUND[block].estshares}
- {$BLOCKSFOUND[block].estshares|number_format}
+ {assign var="totalexpectedshares" value=$totalexpectedshares+$BLOCKSFOUND[block].estshares}
+ {$BLOCKSFOUND[block].estshares|number_format}
|
-{if $GLOBAL.config.payout_system == 'pplns'}{$BLOCKSFOUND[block].pplns_shares|number_format} | {/if}
+ {if $GLOBAL.config.payout_system == 'pplns'}
+ {$BLOCKSFOUND[block].pplns_shares|number_format} |
+ {/if}
{$BLOCKSFOUND[block].shares|number_format} |
-{math assign="percentage" equation="shares / estshares * 100" shares=$BLOCKSFOUND[block].shares|default:"0" estshares=$BLOCKSFOUND[block].estshares}
+ {math assign="percentage" equation="shares / estshares * 100" shares=$BLOCKSFOUND[block].shares|default:"0" estshares=$BLOCKSFOUND[block].estshares}
{$percentage|number_format:"2"}
|
-{/section}
+ {/section}
| Totals |
{$totalexpectedshares|number_format} |
- {if $GLOBAL.config.payout_system == 'pplns'}{$pplnsshares|number_format} | {/if}
+ {if $GLOBAL.config.payout_system == 'pplns'}
+ {$pplnsshares|number_format} |
+ {/if}
{$totalshares|number_format} |
{if $count > 0}{($totalshares / $totalexpectedshares * 100)|number_format:"2"}{else}0{/if} |
@@ -75,8 +79,8 @@
-
+
-
+
-
\ No newline at end of file
+