%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 Business extends MY_Controller { public function __construct() { parent::__construct(); $this->load->model(array('admin/Business_model','Common_model')); } public function index() { $data = array(); $head = array(); $head['title'] = 'Business|Sharda Group'; $head['keywords'] = 'Business|Sharda Group'; $head['description'] = 'Business|Sharda Group'; //Get banner details $data['bannerArray'] = $this->Common_model->getSingleRecord('tbl_banners','*',array('is_deleted'=>'0','status'=>'1','banner_type'=>'13')); $data['categoryArray'] = $this->Business_model->getcategory('tbl_business_category',NULL,NULL); $businessArray = $this->Business_model->getBusinesses(NULL,NULL); $businessNewArray = array(); foreach ($businessArray as $val) { $businessNewArray[$val['category']][] = $val; $businessNewArray['all'][] = $val; } $data['businessNewArray'] = $businessNewArray; //Load View $arrSeo = $this->Public_model->getSeo('business'); $head['title'] = @$arrSeo['title']; $head['description'] = @$arrSeo['description']; $head['keywords'] = @$arrSeo['keywords']; $this->render('business', $head, $data); } public function detail() { $data = array(); $head = array(); $slug = $this->uri->segment(3); $data['business_detail'] = $this->Common_model->getSingleRecord('tbl_business','*',array('slug'=>$slug)); $id = $data['business_detail']['id']; $data['impactArray'] = $this->Common_model->getAllRecords('tbl_impact','*',array('status'=>'1','business_id'=>$id)); $data['approvalsArray'] = $this->Common_model->getAllRecords('tbl_approvals','*',array('status'=>'1','business_id'=>$id)); $data['teamArray'] = $this->Common_model->getAllRecords('tbl_team','*',array('is_deleted'=>'0','status'=>'1','business_id'=>$id)); $head['title'] = $data['business_detail']['name'].'|Sharda Group'; $head['keywords'] = $data['business_detail']['name'].'|Sharda Group'; $head['description'] = $data['business_detail']['name'].'|Sharda Group'; //Load View $this->render('business_detail', $head, $data); } }