%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 Article extends MY_Controller { public function __construct() { parent::__construct(); $this->load->model(array('Common_model')); } public function index() { $data = array(); $head = array(); //Get banner details $data['bannerArray'] = $this->Common_model->getSingleRecord('tbl_banners','*',array('is_deleted'=>'0','status'=>'1','banner_type'=>'16')); $data['detailsArray'] = $this->Common_model->getAllRecords('tbl_happenings','id,title,slug,description,news_date, happening_image',array('is_deleted'=>'0','status'=>'1'),array('news_date'=>'DESC'),'100','0'); // Set Custom SET Tags $customSEO = getCustomSeo(); $head['title'] = $customSEO->title; $head['keywords'] = $customSEO->keywords; $head['description'] = $customSEO->description; //Load View $this->render('article', $head, $data); } public function articledetail() { $data = array(); $head = array(); $slug = $this->uri->segment(2); $data['articleArray'] = $this->Common_model->getSingleRecord('tbl_happenings','*',array('is_deleted'=>'0','slug'=>$slug)); //Get News Details $head['title'] = $data['articleArray']['title']; $head['keywords'] = $data['articleArray']['title']; $head['description'] = $data['articleArray']['title']; //Load View $this->render('article-detail', $head, $data); } }