%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 Offices extends MY_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model(array('admin/Office_model','Common_model'));
}
public function index()
{
$data = array();
$head = array();
$head['title'] = 'Offices|Sharda Group';
$head['keywords'] = 'Offices|Sharda Group';
$head['description'] = 'Offices|Sharda Group';
//Get banner details
$data['bannerArray'] = $this->Common_model->getSingleRecord('tbl_banners','*',array('is_deleted'=>'0','status'=>'1','banner_type'=>'17'));
$data['categoryArray'] = $this->Office_model->getcategory('tbl_offices_category',NULL,NULL);
$officeArray = $this->Office_model->getOffices(NULL,NULL,array('status'=>'1'));
// $officeNewArray = array();
// foreach ($officeArray as $val) {
// $officeNewArray[$val['category']][] = $val;
// $officeNewArray['all'][] = $val;
// }
$data['officeNewArray'] = $officeArray;
//Load View
$arrSeo = $this->Public_model->getSeo('offices');
$head['title'] = @$arrSeo['title'];
$head['description'] = @$arrSeo['description'];
$head['keywords'] = @$arrSeo['keywords'];
$this->render('offices', $head, $data);
}
}