<?php $algo = user()->getState('yaamp-algo'); JavascriptFile("/extensions/jqplot/jquery.jqplot.js"); JavascriptFile("/extensions/jqplot/plugins/jqplot.dateAxisRenderer.js"); JavascriptFile("/extensions/jqplot/plugins/jqplot.barRenderer.js"); JavascriptFile("/extensions/jqplot/plugins/jqplot.highlighter.js"); JavascriptFile('/yaamp/ui/js/auto_refresh.js'); $height = '240px'; echo <<<end <div id='resume_update_button' style='color: #444; background-color: #ffd; border: 1px solid #eea; \tpadding: 10px; margin-left: 20px; margin-right: 20px; margin-top: 15px; cursor: pointer; display: none;' \tonclick='auto_page_resume();' align=center> \t<b>Auto refresh is paused - Click to resume</b></div> <table cellspacing=20 width=100%> <tr><td valign=top width=50%> <div id='miners_results'> <br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br> </div> </td><td valign=top> <div id='pool_current_results'> <br><br><br><br><br><br><br><br><br><br> </div> </td></tr></table>
<?php $algo = user()->getState('yaamp-algo'); JavascriptFile("/extensions/jqplot/jquery.jqplot.js"); JavascriptFile("/extensions/jqplot/plugins/jqplot.dateAxisRenderer.js"); JavascriptFile("/extensions/jqplot/plugins/jqplot.barRenderer.js"); JavascriptFile("/extensions/jqplot/plugins/jqplot.highlighter.js"); $height = '240px'; $wallet = user()->getState('yaamp-wallet'); $user = getuserparam($wallet); echo <<<end <table cellspacing=20 width=100%> <tr><td valign=top width=50%> <div id='mining_results'> <br><br><br><br><br><br><br><br><br><br> </div> <div id='main_miners_results'> <br><br><br><br><br><br><br><br><br><br> </div> <div class="main-left-box"> <div class="main-left-title">Last 24 Hours Hashrate ({$algo})</div> <div class="main-left-inner"><br> <div id='graph_results_hashrate' style='height: {$height};'></div><br> </div></div><br> <div class="main-left-box"> <div class="main-left-title">Last 24 Hours Estimate ({$algo})</div>