$pageType = "1%%%%%%%%%"; if (!checkPerms($this->user["userType"], $pageType)) { header("Location: Unauthorized.php" . $this->sess->url("")); exit; } $this->tpl = new rpts_Template(getcwd(), "keep"); $this->tpl->set_file("rptsTemplate", "MasterPropertyList.htm"); $this->tpl->set_var("TITLE", "Property"); } function Main() { $this->tpl->set_var("uname", $this->user["uname"]); $this->tpl->set_var("today", date("F j, Y")); $this->tpl->set_var("Session", $this->sess->url("")); $this->tpl->parse("templatePage", "rptsTemplate"); $this->tpl->finish("templatePage"); $this->tpl->p("templatePage"); } } ##################################### # Define Procedures and Functions ##################################### ########################################################## # Begin Program Script ########################################################## //* page_open(array("sess" => "rpts_Session", "auth" => "rpts_Challenge_Auth", "perm" => "rpts_Perm")); //*/ $obj = new Master($sess); $obj->Main(); page_close();