37 lines
1.0 KiB
PHP
Executable File
37 lines
1.0 KiB
PHP
Executable File
<?php
|
|
if (!defined('BASEPATH'))
|
|
exit('No direct script access allowed');
|
|
|
|
class Disclosure_documents extends MX_Controller {
|
|
|
|
function __construct() {
|
|
parent::__construct();
|
|
if (!$this->ion_auth->in_group(array('admin'))) {
|
|
redirect('home/permission');
|
|
}
|
|
}
|
|
|
|
public function index() {
|
|
$this->load->view('home/dashboard'); // just the header file
|
|
$this->load->view('list');
|
|
$this->load->view('home/footer'); // just the header file
|
|
}
|
|
/*Disclosure From Admin*/
|
|
public function disclosure_admin($id=null) {
|
|
if(!$id){
|
|
redirect('disclosure_documents');
|
|
}
|
|
// echo $id;die;
|
|
$this->load->view('home/dashboard'); // just the header file
|
|
$this->load->view('admin_disclosure');
|
|
$this->load->view('home/footer'); // just the header file
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
/* End of file nurse.php */
|
|
/* Location: ./application/modules/nurse/controllers/nurse.php */
|