make_navmenu(); $tplate->title1="Helpdesk Application"; //Main title for page //$tplate->title2="Copyright Violation System"; //Sub-title for page, blank for none $tplate->banner=""; //Banner for page, change how you see fit, leave blank for default //Detects whether we re using SSL or not and changes base URL accordingly if (isset($_SERVER["HTTPS"])) { $preurl="https://"; }else{ $preurl="http://"; } $_SESSION['preurl']=$preurl; $thispage=$_SERVER['PHP_SELF']; //URL of page from document root $tplate->po_pageurl=$tplate->baseurl . $thispage; //Makes URL for send page option $tplate->fqfn=$_SERVER['SCRIPT_FILENAME']; //Full path and filename - fully qualified filename $tplate->pagecols=3; //Use 1, 2, or 3 $tplate->po_favlink="1"; //0 for no display, 1 for display $tplate->po_emaillink="1"; //0 for no display, 1 for display $tplate->po_printlink="1"; //0 for no display, 1 for display $tplate->po_logofflink="0"; //0 for no display, 1 for display $tplate->url_vars="prod"; //Use 'dev', 'offsite', or 'prod' $tplate->headcode=""; //Add any extra code to include in head of html, make sure to escape specials // Page Resources //$tplate->resourcelinks['Policies']['link']=array("/7.1.php","/7.2.php","/7.7.php"); //$tplate->resourcelinks['Policies']['desc']=array("Acceptable Use","Dial-In","Dial-In(non-student)"); //Link text //$tplate->resourcelinks['Policies']['cpt']=array(); // Title caption // BreadCrumbs $trail = new Breadcrumb(); $trail->add('Policy', $_SERVER['PHP_SELF'], 2); /* // **Following are REQUIRED if using logins** - if you don't know what you're doing here, ask!! $_SESSION['frm']="Application"; //Form object name, leave blank if not a form $_SESSION['req_fields_array']= array("fname","lname","phone","Lcity","Lstate","Pcity","Pstate","email"); // Fields that are required should be placed in the array $_SESSION['req_alerts_array']= array("First Name","Last Name","Phone Number","Local City","Local State","Permanent City","Permanent State","Email Address"); $_SESSION['pageurl'] = $pageurl; // Puts the URL into the session variables $userid = ret_sess("valid_user"); // Returns the logged in users userid $file = $server_path.".ht_user/"; // Needed for restricted user access only $secure_user = get_secure_user($file); // Returns array from "path to file" if (isset($_SESSION['valid_user']) and $_SESSION['valid_user']!='') { if (in_array("$userid",$secure_user)) { */ //$_SESSION['pageurl'] = ''; // Needed only if using sessions $tplate->write_header(); $tplate->write_left_side_begin(); $tplate->make_menu("home","none"); $tplate->write_left_side_end(); $tplate->write_content_begin(); //Display crumb trail. //$trail->display_crumb(); ?>