diff --git a/public/templates/mpos/statistics/pool/contributors_hashrate.tpl b/public/templates/mpos/statistics/pool/contributors_hashrate.tpl index 76e25e12..493262d5 100644 --- a/public/templates/mpos/statistics/pool/contributors_hashrate.tpl +++ b/public/templates/mpos/statistics/pool/contributors_hashrate.tpl @@ -19,7 +19,15 @@ {math assign="estday" equation="round(reward / ( diff * pow(2,32) / ( hashrate * 1000 ) / 3600 / 24), 3)" diff=$DIFFICULTY reward=$REWARD hashrate=$CONTRIBHASHES[contrib].hashrate} {$rank++} - {if $CONTRIBHASHES[contrib].donate_percent|default:"0" > 0 AND $CONTRIBHASHES[contrib].donate_percent|default:"0" < 2}{elseif $CONTRIBHASHES[contrib].donate_percent|default:"0" >= 2}{else}{/if} + + {if $CONTRIBHASHES[contrib].donate_percent > 2} + + {else if $CONTRIBHASHES[contrib].donate_percent < 2 AND $CONTRIBHASHES[contrib].donate_percent > 0} + + {else} + + {/if} + {if $CONTRIBHASHES[contrib].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$CONTRIBHASHES[contrib].account|escape}{/if} {$CONTRIBHASHES[contrib].hashrate|number_format} {$estday|number_format:"3"} diff --git a/public/templates/mpos/statistics/pool/contributors_shares.tpl b/public/templates/mpos/statistics/pool/contributors_shares.tpl index b1daf454..d875bfd0 100644 --- a/public/templates/mpos/statistics/pool/contributors_shares.tpl +++ b/public/templates/mpos/statistics/pool/contributors_shares.tpl @@ -16,14 +16,14 @@ {$rank++} - {if $CONTRIBSHARES[shares].donate_percent > 2} - - {else if $CONTRIBSHARES[shares].donate_percent < 2 AND $CONTRIBSHARES[shares].donate_percent > 0} - - {else} - - {/if} - + {if $CONTRIBSHARES[shares].donate_percent > 2} + + {else if $CONTRIBSHARES[shares].donate_percent < 2 AND $CONTRIBSHARES[shares].donate_percent > 0} + + {else} + + {/if} + {if $CONTRIBSHARES[shares].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$CONTRIBSHARES[shares].account|escape}{/if} {$CONTRIBSHARES[shares].shares|number_format}