 <h2><?=$title?></h2>
<div id="main_bgr">
      <? if ($products) { ?>
		<? foreach($products as $result=>$prd): ?>
		<? $product_details = $this->MFuncs->getProductDetails($prd['id']); ?>
<ul>
<li><?=$product_details['name']?></li>

</ul>
         <? endforeach ?>
  <center>  <?php echo $this->pagination->create_links(); ?> </center>
          <? } else { ?>
          <br />
          <h5><?=$this->lang->line('no_results')?></h5>
          <? } ?>

</div>