Username:
Password:
data as $row) { $plan = new Plan($row); if($result = mysql_query_cached("SELECT * FROM plan_priceoptions WHERE `PlanId` = '{$plan->sId}' ORDER BY `BillingPeriod` ASC LIMIT 1")) { $option = new PlanPriceOption($result->data); $sPrice = ($option->sPrice / $option->sBillingPeriod) / 100; $sPriceMonths = $option->sBillingPeriod; } else { $sPrice = 0; } $sPrice = number_format($sPrice, 2, ".", ""); echo("sId}\">[Yes]  sId}\">[No]  {$plan->sProvider->sName} : {$plan->sName} : {$sPrice} : {$plan->sGuaranteedRam}MB Guaranteed, {$plan->sBurstRam}MB Burst, {$plan->sDiskSpace}GB Disk, {$plan->sCpuCores} CPU Cores, {$plan->sTraffic}GB Traffic, {$plan->sBandwidth}mbps Bandwidth
"); } } elseif($_GET['action'] == "accept") { $plan = new Plan($_GET['plan']); $plan->uVisible = true; $plan->InsertIntoDatabase(); } } ?>