$userTypeDescriptions = str_replace(",", ",<br>", $userTypeDescriptions); $this->tpl->set_var("userTypeDescriptions", $userTypeDescriptions); $this->tpl->set_var("username", $value->getUsername()); $this->tpl->set_var("fullName", $value->getFullName()); $this->tpl->set_var("personID", $value->getPersonID()); $this->tpl->set_var("dateCreated", date("m-d-Y", $value->getDateCreated())); $this->tpl->set_var("dateModified", date("m-d-Y", $value->getDateModified())); $this->tpl->set_var("status", $value->getStatus()); $this->tpl->set_var("statusCheck", $this->getStatusCheck($value->getStatus())); $this->tpl->parse("UserListBlock", "UserList", true); } } } $this->setForm(); $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")); //*/ $userList = new UserList($HTTP_POST_VARS, $sess, $sortBy, $sortOrder); $userList->Main(); page_close();