require_once("/var/www/db/Connect2dbDedicated.php"); $uri = $_SERVER['REQUEST_URI']; $selected = mysql_select_db("LeadRival",$dbh) or die("Could not select db"); if (isset($_GET["landing"])) { ob_start(); // Start output buffering. $filename = 'content/landing/'.$_GET["landing"].'.php'; if (file_exists($filename)) { // We include the content pages at the beginning so that we can parse them for variables. include('content/landing/'.$_GET["landing"].'.php'); $html = ob_get_clean(); } } if(!$html){ ob_start(); include('content/landing/index.php'); $html = ob_get_clean(); } if($_POST['action'] == "submit"){ //process include("/var/www/html/leadrival.net/widget/includes/mt-xar_process.php"); if($message != ''){ $error_display = "onLoad=\"showHideAll();\""; } } ?>