"; echo "
Jobs $renter->address
"; echo "
"; //echo ""; showTableSorter('maintable2'); echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; //echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; $list = getdbolist('db_jobs', "renterid=$renter->id order by algo, price desc"); foreach($list as $job) { $hashrate_bad = yaamp_job_rate_bad($job->id); $hashrate = yaamp_job_rate($job->id)+$hashrate_bad; $title_percent = ''; if($hashrate_bad) { $percent = round($hashrate_bad/$hashrate*100, 1).'%'; $hashrate_bad = Itoa2($hashrate_bad).'h/s'; $title_percent = "Rejected $hashrate_bad ($percent)"; } $hashrate = $hashrate? Itoa2($hashrate).'h/s': ''; $maxhash = $job->speed? Itoa2($job->speed).'h/s': ''; $title = "-o stratum+tcp://$job->host:$job->port -u $job->username -p $job->password"; $servername = substr($job->host, 0, 22); $price = mbitcoinvaluetoa($job->price); $rent = dboscalar("select rent from hashrate where algo=:algo order by time desc limit 1", array(':algo'=>$job->algo)); $rent = mbitcoinvaluetoa($rent); $diff = $job->difficulty>0? round($job->difficulty, 3): ''; if($job->active) echo ""; else echo ""; echo ""; $p = $job->percent? "($job->percent%)": ''; echo ""; echo ""; echo ""; // echo ""; echo ""; echo ""; echo ""; echo ""; $style_ext = ''; //$job->active? 'background-color: #dfd;': ''; echo ""; } echo "
ServerAlgoMax PriceCurrent
Price
Max HashHash*Diff
$servername$job->algo$price $p$rent$maxhash$hashrate$diff"; if(YAAMP_RENTAL) { if($job->ready) echo ""; else echo ""; } echo "  "; echo ""; echo "
"; if(count($list) > 20 && !controller()->admin) ; else if($renter->balance > 0) echo "
"; else echo "

You have to fund your account by sending bitcoin to your deposit address before you can start creating mining jobs.

"; if(YAAMP_RENTAL) { echo " "; echo " "; } echo "

"; echo "

Your started jobs will activate when the current price goes equal or below your max price. When a job is activated, you only pay the current price, not your max price.

"; echo "

You can start your jobs by clicking the play button and pause them with the pause button.

"; echo "

You may not get much hashpower if the difficulty of your pool is too low.

"; echo "

 * approximate from the last 5 minutes submitted shares
 ** price in mBTC/Mh/day (mBTC/Gh/day for sha256)

"; echo "
"; echo "

";