diff --git a/public/templates/bootstrap/statistics/round/default.tpl b/public/templates/bootstrap/statistics/round/default.tpl index a231928e..61507860 100755 --- a/public/templates/bootstrap/statistics/round/default.tpl +++ b/public/templates/bootstrap/statistics/round/default.tpl @@ -16,4 +16,4 @@ {include file="statistics/round/block_stats.tpl"} {include file="statistics/round/round_shares.tpl"} -{/if} \ No newline at end of file +{/if} diff --git a/public/templates/bootstrap/statistics/round/pplns_round_shares.tpl b/public/templates/bootstrap/statistics/round/pplns_round_shares.tpl index 881bd9d6..8d9a1963 100755 --- a/public/templates/bootstrap/statistics/round/pplns_round_shares.tpl +++ b/public/templates/bootstrap/statistics/round/pplns_round_shares.tpl @@ -7,7 +7,7 @@
| Rank | User Name | Valid | diff --git a/public/templates/bootstrap/statistics/round/pplns_transactions.tpl b/public/templates/bootstrap/statistics/round/pplns_transactions.tpl index e47508a8..78292387 100755 --- a/public/templates/bootstrap/statistics/round/pplns_transactions.tpl +++ b/public/templates/bootstrap/statistics/round/pplns_transactions.tpl @@ -26,8 +26,8 @@{$ROUNDSHARES[$ROUNDTRANSACTIONS[txs].uid].valid|number_format} | {if $ROUNDSHARES[$ROUNDTRANSACTIONS[txs].uid].valid > 0 }{(( 100 / $BLOCKDETAILS.shares) * $ROUNDSHARES[$ROUNDTRANSACTIONS[txs].uid].valid)|number_format:"2"}{else}0.00{/if} | {$PPLNSROUNDSHARES[txs].pplns_valid|number_format|default:"0"} | -{if $PPLNSROUNDSHARES[txs].pplns_valid > 0 }{(( 100 / $PPLNSSHARES) * $PPLNSROUNDSHARES[txs].pplns_valid)|number_format:"2"|default:"0"}{else}0{/if} | -{if $ROUNDSHARES[$ROUNDTRANSACTIONS[txs].uid].valid > 0 && $PPLNSROUNDSHARES[txs].pplns_valid > 0}{math assign="percentage1" equation=(100 / ((( 100 / $BLOCKDETAILS.shares) * $ROUNDSHARES[$ROUNDTRANSACTIONS[txs].uid].valid) / (( 100 / $PPLNSSHARES) * $PPLNSROUNDSHARES[txs].pplns_valid)))}{else if $PPLNSROUNDSHARES[txs].pplns_valid == 0}{assign var=percentage1 value=0}{else}{assign var=percentage1 value=100}{/if} + | {if $PPLNSROUNDSHARES[txs].pplns_valid|default:"0" > 0 }{(( 100 / $PPLNSSHARES) * $PPLNSROUNDSHARES[txs].pplns_valid)|number_format:"2"|default:"0"}{else}0{/if} | +{if $ROUNDSHARES[$ROUNDTRANSACTIONS[txs].uid].valid|default:"0" > 0 && $PPLNSROUNDSHARES[txs].pplns_valid|default:"0" > 0}{math assign="percentage1" equation=(100 / ((( 100 / $BLOCKDETAILS.shares) * $ROUNDSHARES[$ROUNDTRANSACTIONS[txs].uid].valid) / (( 100 / $PPLNSSHARES) * $PPLNSROUNDSHARES[txs].pplns_valid)))}{else if $PPLNSROUNDSHARES[txs].pplns_valid|default:"0" == 0}{assign var=percentage1 value=0}{else}{assign var=percentage1 value=100}{/if} {$percentage1|number_format:"2"} | {$ROUNDTRANSACTIONS[txs].amount|default:"0"|number_format:"8"} | {assign var=percentage1 value=0} @@ -39,4 +39,4 @@ - \ No newline at end of file +
|---|