global $_SESSION; $siteType="custom1"; $_SESSION['siteType'] = $siteType; //session_register("siteType"); $html = !empty($_POST['html']) ? $_POST['html'] : (!empty($_GET['html']) ? $_GET['html'] : ""); $item = !empty($_POST['item']) ? $_POST['item'] : (!empty($_GET['item']) ? $_GET['item'] : ""); $cat = !empty($_POST['cat']) ? $_POST['cat'] : (!empty($_GET['cat']) ? $_GET['cat'] : ""); $SCRIPT = $_SERVER['SCRIPT_FILENAME']; $SCRIPT=explode("/",$SCRIPT); if(isset($_SESSION['isAdmin']) && isset($userDom) && $SCRIPT[6] != $userDom) { foreach($_SESSION as $key => $value) { //session_unregister($key); $_SESSION[$key] = ""; $$key=""; } } if(isset($_GET['xM'])) { $thexM=$xM; $_SESSION['thexM'] = $thexM; //session_register("thexM"); } if(isset($_GET['firstTime'])) include("http://www.webteek.com/setSession.php"); if(isset($_GET['fT'])) { $theCat = $_GET['cat']; $_SESSION['theCat'] = $theCat; //session_register("theCat"); } if(!isset($myDomain)) { $myDir="jackpap"; $myDomain="jackpap/index.html"; $_SESSION['myDir'] = $myDir; $_SESSION['myDomain'] = $myDomain; //session_register("myDomain"); //session_register("myDir"); } include ("/var/www/vhosts/webteek.com/httpdocs/cocohouseantiques/products/var.inc"); include("setup.php"); $myEmail=$email; $myCompany=$company; if($html=="logout.php") { //$isAdmin=""; $_SESSION['isAdmin'] = ""; //session_register("isAdmin"); } $xM=12; $sql="select text1,text2,text3,longDescription from dealers where username=\"$userid\""; $rs=mysql_query($sql); $row=mysql_fetch_row($rs); $text1=$row[0]; $text2=$row[1]; $text3=$row[2]; $long=$row[3]; ?>
|