From 955d6d1520ba0ab60cf9aa63513543aa1598b68c Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Tue, 7 Jul 2015 03:31:51 +0200 Subject: [PATCH] status: hide weird estimations until fix --- web/yaamp/modules/site/index.php | 6 ++-- .../modules/site/results/current_results.php | 35 ++++++++++++------- 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/web/yaamp/modules/site/index.php b/web/yaamp/modules/site/index.php index 2ac82b8..df6470a 100644 --- a/web/yaamp/modules/site/index.php +++ b/web/yaamp/modules/site/index.php @@ -29,7 +29,7 @@ echo << -
  • YIIMP is pool management web application based on the Yii Framework.
  • +
  • YIIMP is a pool management solution based on the Yii Framework.
  • We distribute hashpower in real time among the best coins.
  • No registration required.
  • We do payouts in any currency we mine. Use your wallet address as the username.
  • @@ -55,8 +55,8 @@ echo <<
  • WALLET_ADDRESS can be of any currency we mine. DO NOT USE any BTC address here, the auto exchange is disabled.
  • -
  • Use "-p c=SYMBOL" if yiimp does not recognize the currency correctly.
  • -
  • See the "Pool Status" area on the right for PORT numbers. Algorithms without associated coins are diabled.
  • +
  • Use -p "c=SYMBOL" if yiimp does not recognize the currency correctly.
  • +
  • See the "Pool Status" area on the right for PORT numbers. Algorithms without associated coins are disabled.

  • diff --git a/web/yaamp/modules/site/results/current_results.php b/web/yaamp/modules/site/results/current_results.php index e9f7a3a..5a8213c 100644 --- a/web/yaamp/modules/site/results/current_results.php +++ b/web/yaamp/modules/site/results/current_results.php @@ -16,10 +16,10 @@ echo "Coins"; echo "Miners"; echo "Hashrate"; echo "Fees**"; -echo "Current
    Estimate"; +echo 'Current
    Estimate'; //echo "Norm"; -echo "24 Hours
    Estimated"; -echo "24 Hours
    Actual"; +echo '24 Hours
    Estimated'; +echo "24 Hours
    Actual***"; echo ""; echo ""; @@ -109,14 +109,21 @@ foreach($algos as $item) echo "{$fees}%"; if($algo == $best_algo) - echo "$price*"; + echo ''.$price.'*'; else if($norm>0) - echo "$price"; - else - echo "$price"; + echo ''.$price.''; + + else + echo ''.$price.''; + + + echo ''.$avgprice.''; + + if($algo == $best_algo) + echo "$btcmhday1*"; + else + echo "$btcmhday1"; - echo "$avgprice"; - echo "$btcmhday1"; echo ""; $total_coins += $coins; @@ -136,8 +143,8 @@ echo "$total_coins"; echo "$total_miners"; echo ""; echo ""; -echo ""; -echo ""; +echo ''; +echo ''; echo ""; echo ""; @@ -152,7 +159,9 @@ echo "

    echo "
    "; +?> - - +