diff --git a/public/templates/mmcFE/statistics/pool/contributors_hashrate.tpl b/public/templates/mmcFE/statistics/pool/contributors_hashrate.tpl index f9f9c27f..92f92a05 100644 --- a/public/templates/mmcFE/statistics/pool/contributors_hashrate.tpl +++ b/public/templates/mmcFE/statistics/pool/contributors_hashrate.tpl @@ -11,14 +11,23 @@ {assign var=rank value=1} +{assign var=listed value=0} {section contrib $CONTRIBHASHES} - + {$rank++} {$CONTRIBHASHES[contrib].account} {$CONTRIBHASHES[contrib].hashrate|number_format} - {math equation="round(reward / ( diff * pow(2,32) / ( hashrate * 1000 ) / 3600 / 24),3)" diff=$DIFFICULTY reward=$REWARD hashrate=$CONTRIBHASHES[contrib].hashrate} + {math equation="round(reward / ( diff * pow(2,32) / ( hashrate * 1000 ) / 3600 / 24) * (0.2 / 100) ,3)" diff=$DIFFICULTY reward=$REWARD hashrate=$CONTRIBHASHES[contrib].hashrate} {/section} +{if $listed != 1} + + n/a + {$GLOBAL.userdata.username} + {$GLOBAL.userdata.hashrate} + {math equation="round(reward / ( diff * pow(2,32) / ( hashrate * 1000 ) / 3600 / 24) * (0.2 / 100) ,3)" diff=$DIFFICULTY reward=$REWARD hashrate=$GLOBAL.userdata.hashrate} + +{/if} diff --git a/public/templates/mmcFE/statistics/pool/contributors_shares.tpl b/public/templates/mmcFE/statistics/pool/contributors_shares.tpl index 1214ef44..8fbd590a 100644 --- a/public/templates/mmcFE/statistics/pool/contributors_shares.tpl +++ b/public/templates/mmcFE/statistics/pool/contributors_shares.tpl @@ -10,13 +10,21 @@ {assign var=rank value=1} +{assign var=listed value=0} {section hashrate $CONTRIBSHARES} - + {$rank++} {$CONTRIBSHARES[hashrate].account} {$CONTRIBSHARES[hashrate].shares|number_format} {/section} +{if $listed != 1} + + n/a + {$GLOBAL.userdata.username} + {$GLOBAL.userdata.shares.valid} + +{/if}