// Profit Pie $DataSet2 = new pData(); $DataSet2->AddPoint(array($functions->GetTotalProfitUser("j0rpi"), $functions->GetTotalProfitUser("fallbacken")), "Serie3"); $DataSet2->AddPoint(array("\$" . $functions->GetTotalProfitUser("j0rpi"), "\$" . $functions->GetTotalProfitUser("fallbacken")), "Serie2"); $DataSet2->AddAllSeries(); $DataSet2->SetAbsciseLabelSerie("Serie2"); $Test2 = new pChart(300, 200); $Test2->drawFilledRoundedRectangle(7, 7, 293, 193, 5, 240, 240, 240); $Test2->drawRoundedRectangle(5, 5, 295, 195, 5, 0, 0, 0); $Test2->drawFilledCircle(121, 101, 75, 255, 255, 255); $Test2->setFontProperties("arial.ttf", 8); $Test2->drawBasicPieGraph($DataSet2->GetData(), $DataSet2->GetDataDescription(), 120, 100, 70, PIE_LABELS, 255, 255, 218); $Test2->drawPieLegend(200, 15, $DataSet2->GetData(), $DataSet2->GetDataDescription(), 250, 250, 250); $Test2->Render("users.png"); echo "<font style='font-family: Helvetica'>"; echo "<img src='stats.png' />"; echo "<br /><img src='users.png' /><br /><br /><br />"; echo "Right now, we have <b>" . mysql_num_rows($accs) . "</b> Steam accounts in the database, where <b>" . mysql_num_rows($sold) . "</b> has been sold.</br >"; echo "We have also made a total of <b>\$"; echo $functions->GetTotalProfit() . " </b> profit, where j0rpi has made <b>\$" . $functions->GetTotalProfitUser("j0rpi") . "</b>, and FallbackeN has made <b>\$" . $functions->GetTotalProfitUser('fallbacken') . "</b>"; echo "</font>"; ?> </table> </div> <br> <br> <a href="index.php">Return To Main Site</a></center> </center> </body> </html>