|
|
@ -75,6 +75,19 @@ function doblocks($data, $user) |
|
|
|
else |
|
|
|
else |
|
|
|
$pg = '<h1>Blocks</h1>'; |
|
|
|
$pg = '<h1>Blocks</h1>'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
list($fg, $bg) = pctcolour(25.0); |
|
|
|
|
|
|
|
$pg .= "<span style='background:$bg; color:$fg;'>"; |
|
|
|
|
|
|
|
$pg .= " Green </span> "; |
|
|
|
|
|
|
|
$pg .= 'is good luck. Lower Diff% and bright green is best luck.<br>'; |
|
|
|
|
|
|
|
list($fg, $bg) = pctcolour(100.0); |
|
|
|
|
|
|
|
$pg .= "<span style='background:$bg; color:$fg;'>"; |
|
|
|
|
|
|
|
$pg .= " 100% </span> "; |
|
|
|
|
|
|
|
$pg .= 'is expected average. '; |
|
|
|
|
|
|
|
list($fg, $bg) = pctcolour(400.0); |
|
|
|
|
|
|
|
$pg .= "<span style='background:$bg; color:$fg;'>"; |
|
|
|
|
|
|
|
$pg .= " Red </span> "; |
|
|
|
|
|
|
|
$pg .= 'is bad luck. Higher Diff% and bright red is worse luck.<br><br>'; |
|
|
|
|
|
|
|
|
|
|
|
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n"; |
|
|
|
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n"; |
|
|
|
$pg .= "<tr class=title>"; |
|
|
|
$pg .= "<tr class=title>"; |
|
|
|
$pg .= "<td class=dr>#</td>"; |
|
|
|
$pg .= "<td class=dr>#</td>"; |
|
|
|