%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 Shardastory extends MY_Controller { public function __construct() { parent::__construct(); $this->load->model(array('Common_model')); } public function index() { $data = array(); $head = array(); $head['title'] = 'Sharda Story|Sharda Group'; $head['keywords'] = 'Sharda Story|Sharda Group'; $head['description'] = 'Sharda Story|Sharda Group'; //Get banner details $data['bannerArray'] = $this->Common_model->getSingleRecord('tbl_banners','*',array('is_deleted'=>'0','status'=>'1','banner_type'=>'21')); $data['shardaStories'] = $this->Common_model->getAllRecords('tbl_shardastory','*',array('status'=>'1'),array('story_date'=>'DESC'),'100','0'); $arrSeo = $this->Public_model->getSeo('shardastory'); $head['title'] = @$arrSeo['title']; $head['description'] = @$arrSeo['description']; $head['keywords'] = @$arrSeo['keywords']; $this->render('shardastory', $head, $data); } public function detail() { $data = array(); $head = array(); $slug = $this->uri->segment(2); $data['stories'] = $this->Common_model->getSingleRecord('tbl_shardastory','*',array('is_deleted'=>'0','id'=>$slug)); //Get News Details $data['shardaStories'] = $this->Common_model->getAllshardastories('tbl_shardastory','*','story_date',array('status'=>'1','id!='=>$slug),array('story_date'=>'DESC'),'4','0'); //Sharda Story $data['latestStory'] = $this->Common_model->getlatestdata('tbl_shardastory','*','story_date',array('status'=>'1')); $head['title'] = $data['stories']['story_title']; $head['keywords'] = $data['stories']['story_title']; $head['description'] = $data['stories']['story_title']; //Load View $this->render('story_detail', $head, $data); } }