Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
load->library('session');
$this->load->model('Login_model');
if($this->session->userdata('type')){
if($this->session->userdata('type') == 'officer'){
$this->session->set_flashdata('flash_data', 'You don\'t have access!');
redirect('Officer');
}
}else{
redirect('login');
}
}
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this controller is set as the default controller in
* config/routes.php, it's displayed at http://example.com/
*
* So any other public methods not prefixed with an underscore will
* map to /index.php/welcome/
* @see https://codeigniter.com/userguide3/general/urls.html
*/
public function index(){
$this->load->view('includes/header');
$this->load->view('pages/dashboard');
$this->load->view('includes/footer');
}
public function addAppartment(){
$this->load->view('includes/header');
$this->load->view('pages/addAppartment');
$this->load->view('includes/footer');
}
public function viewAppartments(){
$this->load->view('includes/header');
$this->load->view('pages/viewAppartments');
$this->load->view('includes/footer');
}
public function editDetails(){
$this->load->view('includes/header');
$this->load->view('pages/editDetails');
$this->load->view('includes/footer');
}
public function appartmentDetails(){
$this->load->view('includes/header');
$this->load->view('pages/appartmentDetails');
$this->load->view('includes/footer');
}
public function addTenant(){
$this->load->view('includes/header');
$this->load->view('pages/addTenant');
$this->load->view('includes/footer');
}
public function viewTenant(){
$this->load->view('includes/header');
$this->load->view('pages/viewTenant');
$this->load->view('includes/footer');
}
public function tenantsDetails(){
$this->load->view('includes/header');
$this->load->view('pages/tenantsDetails');
$this->load->view('includes/footer');
}
public function contract(){
$this->load->view('includes/header');
$this->load->view('pages/contract');
$this->load->view('includes/footer');
}
public function createContract(){
$this->load->view('includes/header');
$this->load->view('pages/createContract');
$this->load->view('includes/footer');
}
public function viewContract(){
$this->load->view('includes/header');
$this->load->view('pages/viewContract');
$this->load->view('includes/footer');
}
public function printContract(){
$this->load->view('includes/printingHeader');
$this->load->view('pages/printContract');
$this->load->view('includes/printingFooter');
}
}