|
|
@ -60,6 +60,11 @@ $warnfont = '<font color=red><b>'; |
|
|
|
$warnoff = '</b></font>'; |
|
|
|
$warnoff = '</b></font>'; |
|
|
|
$dfmt = 'H:i:s j-M-Y \U\T\CP'; |
|
|
|
$dfmt = 'H:i:s j-M-Y \U\T\CP'; |
|
|
|
# |
|
|
|
# |
|
|
|
|
|
|
|
global $miner_font_family, $miner_font_size; |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
$miner_font_family = 'verdana,arial,sans'; |
|
|
|
|
|
|
|
$miner_font_size = '13pt'; |
|
|
|
|
|
|
|
# |
|
|
|
# This below allows you to put your own settings into a seperate file |
|
|
|
# This below allows you to put your own settings into a seperate file |
|
|
|
# so you don't need to update miner.php with your preferred settings |
|
|
|
# so you don't need to update miner.php with your preferred settings |
|
|
|
# every time a new version is released |
|
|
|
# every time a new version is released |
|
|
@ -78,6 +83,7 @@ $rigerror = array(); |
|
|
|
# |
|
|
|
# |
|
|
|
function htmlhead($checkapi) |
|
|
|
function htmlhead($checkapi) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
global $miner_font_family, $miner_font_size; |
|
|
|
global $error, $readonly, $here; |
|
|
|
global $error, $readonly, $here; |
|
|
|
if ($readonly === false && $checkapi === true) |
|
|
|
if ($readonly === false && $checkapi === true) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -87,21 +93,22 @@ function htmlhead($checkapi) |
|
|
|
|| $access['STATUS']['STATUS'] != 'S') |
|
|
|
|| $access['STATUS']['STATUS'] != 'S') |
|
|
|
$readonly = true; |
|
|
|
$readonly = true; |
|
|
|
} |
|
|
|
} |
|
|
|
?> |
|
|
|
$miner_font = "font-family:$miner_font_family; font-size:$miner_font_size;"; |
|
|
|
<html><head><title>Mine</title> |
|
|
|
|
|
|
|
|
|
|
|
echo "<html><head><title>Mine</title> |
|
|
|
<style type='text/css'> |
|
|
|
<style type='text/css'> |
|
|
|
td { color:blue; font-family:verdana,arial,sans; font-size:13pt; } |
|
|
|
td { color:blue; $miner_font } |
|
|
|
td.h { color:blue; font-family:verdana,arial,sans; font-size:13pt; background:#d0ffff } |
|
|
|
td.h { color:blue; $miner_font background:#d0ffff } |
|
|
|
td.err { color:black; font-family:verdana,arial,sans; font-size:13pt; background:#ff3050 } |
|
|
|
td.err { color:black; $miner_font background:#ff3050 } |
|
|
|
td.warn { color:black; font-family:verdana,arial,sans; font-size:13pt; background:#ffb050 } |
|
|
|
td.warn { color:black; $miner_font background:#ffb050 } |
|
|
|
td.sta { color:green; font-family:verdana,arial,sans; font-size:13pt; } |
|
|
|
td.sta { color:green; $miner_font } |
|
|
|
td.tot { color:blue; font-family:verdana,arial,sans; font-size:13pt; background:#fff8f2 } |
|
|
|
td.tot { color:blue; $miner_font background:#fff8f2 } |
|
|
|
td.lst { color:blue; font-family:verdana,arial,sans; font-size:13pt; background:#ffffdd } |
|
|
|
td.lst { color:blue; $miner_font background:#ffffdd } |
|
|
|
</style> |
|
|
|
</style> |
|
|
|
</head><body bgcolor=#ecffff> |
|
|
|
</head><body bgcolor=#ecffff> |
|
|
|
<script type='text/javascript'> |
|
|
|
<script type='text/javascript'> |
|
|
|
function pr(a,m){if(m!=null){if(!confirm(m+'?'))return}window.location="<?php echo $here ?>"+a} |
|
|
|
function pr(a,m){if(m!=null){if(!confirm(m+'?'))return}window.location=\"$here\"+a}\n"; |
|
|
|
<?php |
|
|
|
|
|
|
|
if ($readonly === false && $checkapi === true) |
|
|
|
if ($readonly === false && $checkapi === true) |
|
|
|
{ |
|
|
|
{ |
|
|
|
?> |
|
|
|
?> |
|
|
|