load->model('purchaseorder_model'); $this->load->library('session'); $this->load->library('form_validation'); $this->isLoggedIn(); } /** * This function used to load the first screen of the user */ function purchaseorder() { $this->global['pageTitle'] = 'Siddharth : Purchase order form'; $this->loadViews("Purchaseorder", $this->global, NULL); } function servicepo() { $this->global['pageTitle'] = 'Siddharth : Service PO'; $this->loadViews("servicepo", $this->global, NULL); } function importpo() { $this->global['pageTitle'] = 'Siddharth : Import PO'; $this->loadViews("importpo", $this->global, NULL); } function pageNotFound() { $this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found'; $this->loadViews("404", $this->global, NULL, NULL); } } ?>