function addAction() { $masterauth = new Auth_master_model(); $data['mas_auth'] = $masterauth->getAllAuth(); $data['error'] = $this->errors; $data['title'] = "Add Poll"; $data['cartoon_id'] = ""; $data['main_content'] = ADMIN_PATH . "poll_add_view"; $this->load->view(ADMIN_PATH . 'include/template', $data); }
function updateAction($id) { $masterauth = new Auth_master_model(); $data['error'] = $this->errors; $data['photoRecord'] = $this->Album_model->getDetails($id); $data['title'] = "Update Album"; $data['album_id'] = $id; $data['main_content'] = ADMIN_PATH . "albumupdate_view"; $data['mas_auth'] = $masterauth->getAllAuth(); $this->load->view(ADMIN_PATH . 'include/template', $data); }
function updateClient($id, $offset) { $masterauth = new Auth_master_model(); $data['newsRecord'] = $this->Client_model->getNewsDetails($id); $data['title'] = "Update News"; $data['main_content'] = ADMIN_PATH . "news_update_view"; $data['offset'] = $offset; $data['mas_auth'] = $masterauth->getAllAuth(); $this->load->view(ADMIN_PATH . 'include/template', $data); }
function updateAction($id, $offset) { $masterauth = new Auth_master_model(); $data['error'] = $this->errors; $data['photoRecord'] = $this->Character_model->getPhotoDetails($id); $data['title'] = "Update Character"; $data['id'] = $id; $data['offset'] = $offset; $data['main_content'] = ADMIN_PATH . "character_update_view"; $data['mas_auth'] = $masterauth->getAllAuth(); $this->load->view(ADMIN_PATH . 'include/template', $data); }
function updateAction($user_id) { $masterauth = new Auth_master_model(); $data['usersTypes'] = $this->Content_model->getAdminDetails($user_id); $data['title'] = "Update Content"; $data['main_content'] = ADMIN_PATH . "contentupdate_view"; $data['mas_auth'] = $masterauth->getAllAuth(); $this->load->view(ADMIN_PATH . 'include/template', $data); }
function updateAction($id) { $masterauth = new Auth_master_model(); $data['error'] = $this->errors; $data['modules'] = $this->Module_model->getDetails($id); $data['title'] = "Update Module"; $data['main_content'] = ADMIN_PATH . "moduleupdate_view"; $data['mas_auth'] = $masterauth->getAllAuth(); $this->load->view(ADMIN_PATH . 'include/template', $data); }
function updateAction($user_id, $offset) { $masterauth = new Auth_master_model(); $data['error'] = $this->errors; $data['usersTypes'] = $this->Publication_model->getAdminDetails($user_id); $data['title'] = "Update Publication"; $data['main_content'] = ADMIN_PATH . "publicationupdate_view"; $data['offset'] = $offset; $data['mas_auth'] = $masterauth->getAllAuth(); $this->load->view(ADMIN_PATH . 'include/template', $data); }
function updateAction($id, $offset) { $masterauth = new Auth_master_model(); $data['error'] = $this->errors; $data['photoRecord'] = $this->Pub_home_slider_model->getPhotoDetails($id); $data['title'] = "Update Recent Publication"; $data['pub_id'] = $id; $data['offset'] = $offset; $data['main_content'] = ADMIN_PATH . "publication_photo_update_view"; $data['mas_auth'] = $masterauth->getAllAuth(); $this->load->view(ADMIN_PATH . 'include/template', $data); }
function addStory($id, $offset) { $masterauth = new Auth_master_model(); $data['error'] = $this->errors; $titledata = $this->Cartoon_model->getSingleCartoon($id); $data['cartoon'] = $titledata->title; $data['photoRecord'] = $this->Cartoon_model->getAdminDetails($id); $data['photos'] = $this->Cartoonstrip_model->getAllCartoonStrips($id); $data['title'] = "Upload Cartoon Story"; $data['id'] = $id; $data['offset'] = $offset; $data['main_content'] = ADMIN_PATH . "cartoon_story_view"; $data['mas_auth'] = $masterauth->getAllAuth(); $this->load->view(ADMIN_PATH . 'include/template', $data); }