";
echo "$coinimg | ";
echo "$coinlink ($coin->symbol_show) | ";
echo ''.$user->username.' | ';
echo ''.bitcoinvaluetoa($earning->amount).' | ';
echo ''.bitcoinvaluetoa($earning->amount * $earning->price).' | ';
echo "$block->height | ";
echo "$block->category ($block->confirmations) | ";
echo ''."$t1 $t2 | ";
echo "
[clear]
[delete]
| ";
// echo "$earning->tx | ";
echo "
";
// if($block->category == 'generate' && $earning->status == 0)
// {
// $earning->status = 1;
// $earning->mature_time = time()-100*60;
// $earning->save();
// }
if($block->category == 'immature') {
$total += (double) $earning->amount;
$total_btc += (double) $earning->amount * $earning->price;
$totalimmat += (double) $earning->amount;
}
if($block->category == 'generate') {
$total += (double) $earning->amount; // "Exchange" state
$total_btc += (double) $earning->amount * $earning->price;
}
else if($block->category == 'stake' || $block->category == 'generated') {
$totalstake += (double) $earning->amount;
}
}
echo "