$line){ fwrite($fp,$line,4096); } $userLog = "ip: ".$_SERVER["REMOTE_ADDR"].", ".date("F j, Y, g:i a")."\n"; fwrite($fp, $userLog, 4096); closedir($fp); //* End Hit counter/logger ** //*********************************** $_SESSION = Array(); $_SESSION['state'] = "BUYING"; ?> Midtown Music Hall - Bend, Oregon
function calcPrice(){ var prices = new Array();"; include_once("./ticket_files/TicketManager.php"); $TM = &New TicketManager("./ticket_files/"); $ticketTypes = $TM->getTicketTypes(); //*************************** //* get the prices, then store in js array foreach($ticketTypes as $i => $type){ $price = $TM->findTicketPrice($type); //now add to array echo "prices[\"$type\"] = $price;\n"; } echo ' try{ var ticketNum = document.purchase_form.quantity.selectedIndex+1; var index = document.purchase_form.ticket_type.selectedIndex; var ticketType = document.purchase_form.ticket_type.options[index].text; var ticketPrice = document.purchase_form.ticket_type.options[index].value; var price = prices[ticketType]; price = "$"+price * ticketNum+".00"; document.purchase_form.PriceField.value = price; return true; } catch(e){ } return false; } '; ?> cleanupExpiredTickets(); ?> getTicketTypes(); foreach($ticketTypes as $i => $type){ $ary = $TH->getOpenTickets($type); $out = "$type: "; if(count($ary) > 0) $out .= count($ary)."

\n"; else $out .= "SOLD OUT

\n"; echo $out; } ?>

 

::COMMING SOON