include_once('../globals.php'); $curdate = date("Y-m-d", time()); if($_COOKIE["adminid"]) { $adminid = $_COOKIE["adminid"]; setcookie("adminid", $adminid, time()+3600*24, '/', $root); // Reset cookie for 24 hours } ?>
");
if(($_SERVER['SERVER_NAME'] == "shariwacks.com" || $_SERVER['SERVER_NAME'] == "www.shariwacks.com" ) && $_SERVER['HTTPS']){
include_once("db_functions.php");
if($adminid) {
$message = "";
if($_GET['message']) { $message=$_GET['message']; }
if($_POST['message']) { $message=$_POST['message']; }
$func = "none";
if($_GET['func']) { $func=$_GET['func']; }
if($_POST['func']) { $func=$_POST['func']; }
$mode = "";
if($_GET['mode']) { $mode=$_GET['mode']; }
if($_POST['mode']) { $mode=$_POST['mode']; }
print("
\n"); } else { print(" Ooops...\n"); print("Your session has expired. Please Re-Login.\n"); } } else { print("Authentication error.\n"); print("Click here to try again. \n"); } print(" | \n");
print("