$this->tpl->set_var("ODListBlock", "huh"); } } } } $this->initBarangayList(); $this->setForm(); $this->setPageDetailPerms(); $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")); //global $auth; //print_r($auth); if (!$page) { $page = 1; } $odList = new ODList($HTTP_POST_VARS, $sess, $odID, $page, $searchKey, $barangay, $formAction, $sortBy, $sortOrder); $odList->main(); page_close();