= CURDATE() AND tblevent.enddate < DATE_ADD(CURDATE(),INTERVAL 8 DAY) AND tblevent.active = "y" ORDER BY startdate ASC'; break; case ('thismonth'): $meta_title = "This months concert tickets"; $meta_description = "This months concert tickets"; $meta_keywords = "Concert tickets this month"; $current_date = true; $lastday = strtotime ( "first day of next month" ); $query = "SELECT tblevent.category_id, tblevent.event, tblevent.event_id, tblevent.startdate, tblvenue.venue, tblcategory.url, tblcategory.category, tblcategory.type FROM tblevent INNER JOIN tblcategory ON tblevent.category_id = tblcategory.category_id INNER JOIN tblvenue ON tblevent.venue_id = tblvenue.venue_id WHERE tblevent.startdate >= CURDATE() AND tblevent.enddate < DATE_ADD(LAST_DAY( NOW() ), INTERVAL 2 DAY ) AND tblevent.active = 'y' ORDER BY startdate ASC"; break; case ('nextmonth'): $meta_title = "Next months concert tickets"; $meta_description = "Next months concert tickets"; $meta_keywords = "Concert tickets next month"; $current_date = true; $firstday = ( strtotime ( "first day of next month" ) - 86400 ); $lastday = ( strtotime ( "last day of next month" ) + 46137 ); $query = "SELECT tblevent.category_id, tblevent.event, tblevent.event_id, tblevent.startdate, tblvenue.venue, tblcategory.url, tblcategory.category, tblcategory.type FROM tblevent INNER JOIN tblcategory ON tblevent.category_id = tblcategory.category_id INNER JOIN tblvenue ON tblevent.venue_id = tblvenue.venue_id WHERE tblevent.startdate > (DATE_SUB(LAST_DAY(DATE_ADD(NOW(), INTERVAL 1 MONTH)), INTERVAL DAY(LAST_DAY(DATE_ADD(NOW(), INTERVAL 1 MONTH)))-0 DAY)) AND tblevent.enddate < DATE_ADD( LAST_DAY(DATE_ADD(NOW(), INTERVAL 1 MONTH)), INTERVAL 2 DAY ) AND tblevent.active = 'y' ORDER BY startdate ASC"; // echo ""; break; case ('bydate'): $current_date = true; if(is_numeric($_GET['month'])&&is_numeric($_GET['year'])): $fromdate = $_GET['year'] . '-' . $_GET['month'] .'-01'; $fromdate = strtotime ( $fromdate ); $currentdate = strtotime ( 'now' ); if ($currentdate < $fromdate) { $date = date('F Y',$fromdate); $meta_title = "Concert tickets for ".$date; $meta_description = "Concert tickets for ".$date; $meta_keywords = "Concert tickets for ".$date; $query = "SELECT tblevent.category_id, tblcategory.url, tblcategory.category, tblevent.event, tblevent.event_id, tblevent.startdate, tblvenue.venue, tblcategory.type FROM tblevent INNER JOIN tblcategory ON tblevent.category_id = tblcategory.category_id INNER JOIN tblvenue ON tblevent.venue_id = tblvenue.venue_id WHERE tblevent.enddate < DATE_ADD(DATE_ADD(FROM_UNIXTIME(".$fromdate."),INTERVAL 1 Month),INTERVAL 1 DAY) AND tblevent.startdate > DATE_SUB(FROM_UNIXTIME(" . $fromdate . "), INTERVAL 1 DAY) AND tblevent.active = 'y' ORDER BY startdate ASC"; } else { $meta_title = "The date you have entered is in the past"; } endif; break; case ('search'): $keyword = isset($_GET['keyword']) ? $_GET['keyword'] : null ; $meta_title = "Search for " . $keyword; $meta_description = "Search for" . $keyword; $meta_keywords = "Search for Concert tickets"; $query = "SELECT tblcategory.category_id, tblcategory.url, tblcategory.category, tblcategory.type FROM tblcategory WHERE category LIKE '%". $keyword . "%' AND tblcategory.active = 'y' ORDER BY category ASC"; break; endswitch; double8_connect(); if( !empty( $query ) ){ $result = mysql_query($query); $numrows = mysql_num_rows ( $result ); while(($categories[] = mysql_fetch_assoc($result)) || array_pop($categories)); } ?> <?php if ( $meta_title ) { echo $meta_title.', '; } ?>Concert Tickets, Double8Tickets

Search Results

' : null; ?>
  • <?php echo $category['category']; ?> concert image
  • */ ?>