          <? if ($this-> session-> flashdata('message')): ?>
    <div class='note'>
      <?=$this-> session-> flashdata('message');?>
    </div>

    <? endif; ?>
    <? //=anchor('pages/secrets', img('images/mistika.jpg'));?>
   <?php /*?> <img src="<?=base_url()?>images/nisia1.jpg" />
    <br /><?php */?>
<?php /*?>    <div style="float:left; width:279px;">
    <center>
    <?=anchor('christmass_offer', img('images/christmas_ekptosi.jpg'));?>
    </center>
    </div>
<?php */?>
<?php /*?><? if($this->session->userdata('lang_id')=='1') { ?>
    <center>
    <?=anchor('health', img('images/krasi_farmako.jpg'));?>
    </center>
<? } else { ?>
    <center>
    <?=anchor('health', img('images/krasi_farmako_en.jpg'));?>
    </center>
<? } ?>
<?php */?>
<center>
<?=anchor('product_price/sub/181/priceasc', img('images/sintirites.jpg'));?>
</center>
<div style="height:10px"></div>
<? if ($ofproducts) { ?>
<div class="subcolumns">
  <? foreach($ofproducts as $result=>$prd): ?>
      <div style="height:395px; margin-left:2.5px; margin-right:2px; float:left; width:182px; margin-bottom:10px;">
  <div id="main_borders" style="height:383px">
    <div id="main_inner_borders" style="height: 370px;">
    <center>
			<? if (($prd['image'] !='') || ($prd['image'] !=NULL)|| ($prd['image'] !=null)) { ?>
                  <a  title=""  href="<?=base_url().'images/prds/'.$prd['image']?>" rel="shadowbox[];options={counterType:'skip',continuous:true,animSequence:'sync'}"> <img src="<?=base_url().'images/prds/thumb/'.$prd['image']?>" style="max-height:200px;" style="padding-right:5px;" /> </a>
                  <? }
		  else { ?>
          <img src="<?=base_url()?>images/no_image.jpg" style="max-height:200px;"/>
          <? } ?>   
    </center>
    <? $prd_name = $this->MFuncs->RemoveTones($prd['name']); ?>
<h2 style="font-size:14px; height:40px; overflow:hidden; text-transform:uppercase;"><strong><? echo strip_tags($prd_name, '')?></strong></h2>
<div style="height:60px; overflow:hidden;">
                <? if ($prd['description']) { ?>
                <p>
                    <?=word_limiter(strip_tags($prd['description'], ''), 7);?>
                  </p>
                <? } elseif ($prd['characteristics']) { ?>
                <p>
                <?=word_limiter(strip_tags($prd['characteristics'], ''), 7);?>
                   </p>
                <? } ?>
</div>
            <? $url_title = $this->MFuncs->stringURLSafe($prd['name']); ?>
                 <p align="right">
                    <?=anchor('product/'.$prd['p_id'].'/'.$url_title, "+&nbsp;".$this->lang->line('btn_view'), array('alt' =>$prd['name'],'title' =>$prd['name'] ));?>
                    <? if ($prd['available']=='Yes') { ?>
        <? if ($prd['price']!=0) { ?><br />
                    <?=anchor('add_to_cart/'.$prd['p_id'], '<img src="http://www.wines2u.gr/images/new/kala8i_agorwn_laxani.png" align="absmiddle" />'.$this->lang->line('links_add_cart'))?>
                    <? } ?>
                  <? } ?>
                  </p>
      </div>
    </div>
  </div>
  <? endforeach ?>
</div>
        <div class="clear">&nbsp;</div>
<? } ?>
