Exemplo n.º 1
0
     $eventTypeID = $table_row[2];
     $eventIntroText = $table_row[3];
     $eventText = $table_row[4];
     $eventImagePathname = $table_row[5];
 }
 if ($num_rows < 1) {
     header('HTTP/1.1 301 Moved Permanently');
     header('Location: http://www.mongotickets.com/');
     exit;
 }
 $keywords = BuildEventKeywordList($categoryID, $eventName, $eventTypeID, $id);
 $keywords = AmpersandToAnd($keywords);
 $smarty->assign("SeoKeywords", $keywords);
 $descr = "Buy {$eventName} Tickets at great prices. Discount {$eventName} tickets.";
 $url = make_event_url($eventName, $id);
 $breadcrumb_str = Breadcrumbs($categoryID, 0);
 $breadcrumb_str = AppendBreadcrumb($breadcrumb_str, "{$url}", $eventName);
 # if category is theater, list venues first.
 $disp_home_away = 0;
 if ($eventTypeID == 4) {
     $title = "{$eventName} Tickets, {$eventName} Schedule, {$eventName} Dates, Discounted {$eventName} Tickets";
     $smarty->assign("title", $title);
     $smarty->assign("MetaDescr", $descr);
     $smarty->display('main.tpl');
     $venues = GetVenueList($id);
     $smarty->assign("Breadcrumbs", $breadcrumb_str);
     $smarty->assign("EventName", $eventName);
     $smarty->assign("EventIntroText", $eventIntroText);
     if (strlen($eventText) > 2) {
         $smarty->assign("EventText", $eventText);
     }
Exemplo n.º 2
0
         } else {
             $vsplits = $getTicketsResult->TicketGroup->ValidSplits->int;
         }
         $tickets[] = array("TicketID" => "{$tid}", "Available" => "{$avail}", "SeatSection" => "{$sec}", "SeatRow" => "{$srow}", "TicketPrice" => "\${$tprice}", "Descr" => "{$sdescr}", "SeatFrom" => "{$sfrom}", "SeatThru" => "{$sthru}", "ValidSplits" => $vsplits);
     }
     #		handle_error_no_exit ("tickets.tnd.php: No result from web services");
     // kill object
     unset($soapclient);
 }
 # end if $event_found
 $origEventName = $eventName;
 ######
 #$categoryID = 15;
 if ($eventID != "") {
     $url = make_event_url($eventName);
     $breadcrumb_str = Breadcrumbs($tn_cat_id, 0);
     $breadcrumb_str = AppendBreadcrumb($breadcrumb_str, "{$url}", $eventName . " Tickets");
 }
 if ($eventID == 1124) {
     $eventName .= " {$shortNote}";
     $fullEventName = $eventName;
     $breadcrumb_str = AppendBreadcrumbNoAnchor($breadcrumb_str, "&nbsp;{$fullEventName} Tickets");
     $title = "{$fullEventName} Tickets, {$fullEventName} Schedule, {$fullEventName} Dates";
     $heading1 = $fullEventName;
     $subheading = "<strong>{$eventName} Tickets</strong>";
 } else {
     $meta_descr = "{$eventName} - Buy {$eventName} tickets for {$shortDate} at {$venueName} in {$city}, {$regionCode} at MongoTickets!";
     $breadcrumb_str = AppendBreadcrumbNoAnchor($breadcrumb_str, " {$eventName} Tickets");
     $title = "{$gameName} Tickets at {$venueName} {$regionCode} on {$shortDate}";
     $heading1 = "{$gameName} Tickets";
     $subheading = "<strong>{$gameName} Tickets</strong>";