diff --git a/web/yaamp/modules/site/admin.php b/web/yaamp/modules/site/admin.php index c4f4a2c..c4a8c36 100644 --- a/web/yaamp/modules/site/admin.php +++ b/web/yaamp/modules/site/admin.php @@ -65,6 +65,7 @@ var main_timeout; function main_ready(data) { $('#main_results').html(data); + $('#server_select').val('{$server}'); // window.location.hash = current_hash; main_timeout = setTimeout(main_refresh, main_delay); diff --git a/web/yaamp/modules/site/admin_results.php b/web/yaamp/modules/site/admin_results.php index 5cda667..a126082 100644 --- a/web/yaamp/modules/site/admin_results.php +++ b/web/yaamp/modules/site/admin_results.php @@ -2,27 +2,41 @@ ///////////////////////////////////////////////////////////////////////////////////// -echo "
"; -//showTableSorter('maintable'); -echo ""; +//echo '
'; +showTableSorter('maintable', '{ +headers: { + 0:{sorter:false}, + 1:{sorter:false}, + 2:{sorter:"text"}, + 3:{sorter:"text"}, + 4:{sorter:"currency"}, + 5:{sorter:"currency"}, + 6:{sorter:"currency"}, + 7:{sorter:"currency"}, + 8:{sorter:"currency"}, + 9:{sorter:"currency"}, + 10:{sorter:"currency"} +}}'); -echo ""; -echo ""; -echo ""; -echo ""; +echo << + + + -echo ""; + + + + + + + + + -echo ""; -echo ""; -echo ""; -echo ""; -echo ""; -echo ""; -echo ""; - -echo ""; -echo ""; + + +end; $current_algo = ''; @@ -35,12 +49,6 @@ if(!empty($server)) else $coins = getdbolist('db_coins', "installed or enable order by algo, index_avg desc"); -$total = count($coins); -echo ""; -echo ""; -echo ""; -echo ""; - foreach($coins as $coin) { if($coin->algo != $current_algo) @@ -150,6 +158,12 @@ foreach($coins as $coin) echo ""; } +$total = count($coins); +echo ""; +echo ""; +echo ""; +echo ""; + echo ""; echo "
Name
ServerNameServerDiff/HeightProfitOwed/BTCBalance/BTCMint/BTCPriceWin/MarketDiff/HeightProfitOwed/BTCBalance/BTCMint/BTCPriceWin/Market
$total Coins
$total Coins
";