session_start(); require("../../../config/mysql.php"); $GLOBAL_server = "www.ansellsolutions.com"; // Set campaign id Information if($_GET['cid'] == "" || !$_GET['cid']) { $_GET['cid'] = "alphaweb"; } if($_GET['cid']) { mysql_connect($dbhostname, $dbusername, $dbpassword) or die("Unable to connect to database!"); @mysql_select_db("$dbName") or die("Unable to select database"); $chk_domain_value = ""; if($_SERVER["HTTP_HOST"] != "") { $chk_domain_value = $_SERVER["HTTP_HOST"]; } else if($_SERVER["SERVER_NAME"] != "") { $chk_domain_value = $_SERVER["SERVER_NAME"]; } $usetable = "Campaign"; $query = "SELECT * FROM LT_".$usetable." WHERE Name = '".$_GET['cid']."' && (Domain = '' || Domain = '".$chk_domain_value."') LIMIT 1"; $result = mysql_query($query); while($row = mysql_fetch_array($result)) { $_SESSION['cid'] = $_GET['cid']; $_SESSION['PubID'] = $row['Name']; $_SESSION['Publication_1'] = $row['Publication']; $_SESSION['Month_1'] = $row['Month']; $_SESSION['AdType_1'] = $row['Description']; } mysql_close(); } // Set flashcheck value if($_GET['flashcheck'] || $_POST['flashcheck']) { $_SESSION['flashcheck'] = 1; } $pg_content .= "
|
"; // If flashcheck set then load page, otherwise check version if($_SESSION['flashcheck'] == 1) { $tmp_url = "http://www.alphatecgloves.com/alphatecgloves"; $tmp_url_vars = "?myURL=http://www.alphatecgloves.com&myLink=".urlencode($page)."&myForm=".urlencode($myForm)."&myFormPage=".urlencode($myFormPage); $pg_content .= " "; } else { $pg_content .= " "; } $pg_content .= " |
AlphaTEC is a registered trademark owned by Ansell Limited or one of its affiliates.
©2006 Ansell Limited All Rights Reserved.
Privacy Policy