%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 Risk extends MY_Controller { public function __construct() { parent::__construct(); $this->load->library('session'); } public function index($page = 0) { $data = array(); $head = array(); $arrSeo = $this->Public_model->getSeo('picklocation'); $head['title'] = @$arrSeo['title']; $head['description'] = @$arrSeo['description']; $head['keywords'] = str_replace(" ", ",", $head['title']); // Show breadcrumb $data['display_breadcrumb'] = 'Y'; $riskAreaName = str_replace("-"," ",$this->uri->segment(2)); $riskCategories = $this->Public_model->getRiskCategories('risk_categories','name',$riskAreaName); $search_array = array(); $search_array = array('risk_area_id'=>$riskCategories[0]['id']); $total_products = count($this->Public_model->getProducts(NULL, NULL, $search_array)); $data['member_info'] = serialize($_SESSION['member_info']); $num_rows = 20; $page = ($this->uri->segment(2))/10; $page = $page=='' ? '0' : $page; // Get Popular Tests and packages $data['products'] = $this->Public_model->getProducts($num_rows, $page, $search_array); // Pagination $this->load->library('pagination'); $config['base_url'] = base_url().'risk/arthritis/'; $config['total_rows'] = $total_products; $config['per_page'] = $num_rows; $this->pagination->initialize($config); $this->render('popularpackages',$head, $data); } }