|
|
@ -81,7 +81,7 @@ function doshifts($data, $user) |
|
|
|
$pg .= '<td class=dr>'.$ans['rewards:'.$i].'</td>'; |
|
|
|
$pg .= '<td class=dr>'.$ans['rewards:'.$i].'</td>'; |
|
|
|
$ppsr = (float)$ans['ppsrewarded:'.$i]; |
|
|
|
$ppsr = (float)$ans['ppsrewarded:'.$i]; |
|
|
|
if ($ppsr > 0) |
|
|
|
if ($ppsr > 0) |
|
|
|
$ppsd = sprintf('%.5f', $ppsr); |
|
|
|
$ppsd = sprintf('%.5f', $ppsr*1000.0); |
|
|
|
else |
|
|
|
else |
|
|
|
$ppsd = '0'; |
|
|
|
$ppsd = '0'; |
|
|
|
$pg .= "<td class=dr>$ppsd</td>"; |
|
|
|
$pg .= "<td class=dr>$ppsd</td>"; |
|
|
@ -96,7 +96,7 @@ function doshifts($data, $user) |
|
|
|
$pg .= '</tbody>'; |
|
|
|
$pg .= '</tbody>'; |
|
|
|
} |
|
|
|
} |
|
|
|
$pg .= "</table>\n"; |
|
|
|
$pg .= "</table>\n"; |
|
|
|
$pg .= "<span class=st1>*</span> The Rewarded value unit is satoshis per 1diff share<br>"; |
|
|
|
$pg .= "<span class=st1>*</span> The Rewarded value unit is satoshis per 1000diff share<br>"; |
|
|
|
|
|
|
|
|
|
|
|
return $pg; |
|
|
|
return $pg; |
|
|
|
} |
|
|
|
} |
|
|
|