%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
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class About extends MY_Controller { public function __construct() { parent::__construct(); $this->load->model(array('Common_model')); } public function index() { $data = array(); $head = array(); $head['title'] = 'About|Sharda Group'; $head['keywords'] = 'About|Sharda Group'; $head['description'] = 'About|Sharda Group'; //Get banner details $data['bannerArray'] = $this->Common_model->getSingleRecord('tbl_banners','*',array('is_deleted'=>'0','status'=>'1','banner_type'=>'10')); $data['leadershipArray'] = $this->Common_model->getAllRecords('tbl_leadership','*',array('is_deleted'=>'0','status'=>'1')); $data['milestonesArray'] = $this->Common_model->getAllRecords('tbl_milestones','*',array('is_deleted'=>'0','status'=>'1'),array('year'=>'ASC')); $data['ourstoryArray'] = $this->Common_model->getAllRecords('tbl_aboutus','*',array('is_deleted'=>'0','status'=>'1','category'=>'Our Story')); // Get About Us Content $page = 'about-us'; $page = $this->Public_model->getOnePage($page); $this->goOut($page); $data['title'] = $page['name']; $data['content'] = $page['content']; $page1 = 'about-story'; $page1 = $this->Public_model->getOnePage($page1); $this->goOut($page1); $data['about_story_title'] = $page1['name']; $data['about_story_content'] = $page1['content']; //Load View $arrSeo = $this->Public_model->getSeo('about'); $head['title'] = @$arrSeo['title']; $head['description'] = @$arrSeo['description']; $head['keywords'] = @$arrSeo['keywords']; $this->render('about', $head, $data); } /* * Function : goOut */ private function goOut($page) { if ($page == null) { redirect(); } } public function culture() { $data = array(); $head = array(); $head['title'] = 'Culture|Sharda Group'; $head['keywords'] = 'Culture|Sharda Group'; $head['description'] = 'Culture|Sharda Group'; //Get banner details $data['bannerArray'] = $this->Common_model->getSingleRecord('tbl_banners','*',array('is_deleted'=>'0','status'=>'1','banner_type'=>'22')); //Get Culture Details $data['culturedetails'] = $this->Common_model->getSingleRecord('tbl_aboutus','*',array('is_deleted'=>'0','status'=>'1','category'=>'Culture')); //Get Culture Array $data['cultureArray'] = $this->Common_model->getAllRecords('tbl_culture','*',array('is_deleted'=>'0','status'=>'1')); //Load View $arrSeo = $this->Public_model->getSeo('culture'); $head['title'] = @$arrSeo['title']; $head['description'] = @$arrSeo['description']; $head['keywords'] = @$arrSeo['keywords']; $this->render('culture', $head, $data); } public function ngo() { $data = array(); $head = array(); $head['title'] = 'NGO|Sharda Group'; $head['keywords'] = 'NGO|Sharda Group'; $head['description'] = 'NGO|Sharda Group'; //Get banner details $data['bannerArray'] = $this->Common_model->getSingleRecord('tbl_banners','*',array('is_deleted'=>'0','status'=>'1','banner_type'=>'23')); //Get NGO Details $data['ngodetails'] = $this->Common_model->getSingleRecord('tbl_aboutus','*',array('is_deleted'=>'0','status'=>'1','category'=>'NGO')); //Get NGO Array $data['ngoArray'] = $this->Common_model->getAllRecords('tbl_ngo','*',array('is_deleted'=>'0','status'=>'1')); $arrSeo = $this->Public_model->getSeo('ngo'); $head['title'] = @$arrSeo['title']; $head['description'] = @$arrSeo['description']; $head['keywords'] = @$arrSeo['keywords']; //Load View $this->render('ngo', $head, $data); } public function history() { $data = array(); $head = array(); $head['title'] = 'History|Sharda Group'; $head['keywords'] = 'History|Sharda Group'; $head['description'] = 'History|Sharda Group'; //Get banner details $data['bannerArray'] = $this->Common_model->getSingleRecord('tbl_banners','*',array('is_deleted'=>'0','status'=>'1','banner_type'=>'20')); //Get History Details $data['historydetails'] = $this->Common_model->getSingleRecord('tbl_aboutus','*',array('is_deleted'=>'0','status'=>'1','category'=>'History')); //Get History Array $data['historyArray'] = $this->Common_model->getAllRecords('tbl_history','*',array('is_deleted'=>'0','status'=>'1')); $arrSeo = $this->Public_model->getSeo('history'); $head['title'] = @$arrSeo['title']; $head['description'] = @$arrSeo['description']; $head['keywords'] = @$arrSeo['keywords']; //Load View $this->render('history', $head, $data); } public function leadership() { $data = array(); $head = array(); $slug = $this->uri->segment(2); $slug = $slug<>'' ? $slug : 'chairman'; //Get Leadership Array $data['leadershipDetails'] = $this->Common_model->getLeadershipDetails($slug); $data['slug'] = $slug; $head['title'] = 'Our Leadership|Sharda Group'; $head['keywords'] = 'Our Leadership|Sharda Group'; $head['description'] = 'Our Leadership|Sharda Group'; //Load View $arrSeo = $this->Public_model->getSeo('leadership'); $head['title'] = @$arrSeo['title']; $head['description'] = @$arrSeo['description']; $head['keywords'] = @$arrSeo['keywords']; $this->render('leadership', $head, $data); } }