/* if ((strstr($_SERVER["SERVER_NAME"], "identify.sk"))&&(strstr($SCRIPT_NAME, "atelier-maria"))){ Header("Location: http://atelier-maria.identify.sk"); die(); } */ error_reporting(0); include($subpath."include/globals.inc.php"); include($subpath."include/utils.inc.php"); $lang = $_GET["lang"]; $page = $_GET["page"]; if (empty($lang)) $lang = ChooseAppropLangVersion(); if (($lang!="sk")&&($lang!="en")&&($lang!="de")) $lang="sk"; //if (($lang!="sk")&&($lang!="en")) $lang="sk"; include($subpath."include/lang_".$lang.".inc.php"); /* $Browser=$HTTP_USER_AGENT; $Remhost=gethostbyaddr($REMOTE_ADDR); if (!$banned){ $Site = 3; $T = time() - 1800; $res = mysql_db_query("identifysk", "SELECT*FROM access WHERE ((LogStamp>".$T.")&&(Addr='".$Remhost."')&&(Site=".$Site."))",$link); $Gdata = MySQL_Fetch_Array($res); if ($Gdata["AccessNo"]=="") { $res = MySQL_DB_Query("identifysk", "SELECT max(AccessNo) FROM access", $link); $Gdata = MySQL_Fetch_Array($res); $AccessNo = MySQL_Result($res, 0)+1; $LogStamp = time(); $Ref = $HTTP_REFERER; $res = MySQL_DB_Query("identifysk", "INSERT INTO access VALUES ($AccessNo, $LogStamp, '$Remhost', '$Browser', $Site, '$Ref')",$link); } } */ switch ($page) { case "atelier" : ; case "svet" : ; case "ponuka" : ; case "katalog" : $next=""; break; case "print" : $next=""; break; case "suveniry" : $next="postavicky"; break; case "postavicky" : $next="vseobecne"; break; case "vseobecne" : $next="vianocne"; break; case "vianocne" : $next="velkonocne"; break; case "velkonocne" : $next="nabozenske"; break; case "nabozenske" : $next="nazakazku"; break; case "nazakazku" : $next=""; break; default : $page="atelier"; } ?> echo ""; ?>