session_start(); if ($_COOKIE["seenMSDSintro"] != "notAgain" && !session_is_registered("seenIntro")) { setcookie("seenMSDSintro","notAgain",time()+60*60*24*30); session_register("seenIntro"); echo ""; exit; } include("includes/functions.php"); $loggedin = getloggedin(); $connection = @ mysql_connect($host,$worlduser,$worldpassword); printMenu("home","MSDS Database",$loggedin); $temp = $HTTP_GET_VARS["temp"]; if (!$temp) { if (file_exists($homefile)) include($homefile); } else { echo "
\n"; if (file_exists($temphomefile)) include($temphomefile); } printEnd(); ?>