diff --git a/adminwww/application/libraries/Admin_Controller.php b/adminwww/application/libraries/Admin_Controller.php new file mode 100644 index 0000000..b7a20c2 --- /dev/null +++ b/adminwww/application/libraries/Admin_Controller.php @@ -0,0 +1,34 @@ +load->helper('form'); + $this->load->helper('url'); + + // you dont have bussines here if you are not in session + if (!isset($_SESSION['session_id']) or ! isset($_SESSION['backoffice_id']) ) { + redirect('/logout'); + } + + + } + + public function getSessionArray() { + $data["current_date"] = date('l jS \of F Y h:i:s A'); + + return $data; + } + + private function refreshAccountDetail($member_id) { + + } + + + +} diff --git a/adminwww/application/libraries/Dash_model.php b/adminwww/application/libraries/Dash_model.php new file mode 100644 index 0000000..17f438c --- /dev/null +++ b/adminwww/application/libraries/Dash_model.php @@ -0,0 +1,21 @@ +db->query($mysql); + $num = $query->num_rows(); + $data["patient_list"] = $query->result(); + return $data; + } + + * + */ +} diff --git a/adminwww/application/libraries/Start_Controller.php b/adminwww/application/libraries/Start_Controller.php new file mode 100644 index 0000000..9a54226 --- /dev/null +++ b/adminwww/application/libraries/Start_Controller.php @@ -0,0 +1,22 @@ +load->helper('form'); + $this->load->helper('url'); + + + + + } + + + + +}