Subversion Repositories SmartDukaan

Rev

Rev 13715 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13715 Rev 17760
Line 3... Line 3...
3
<?php if(!empty($deals)):?>
3
<?php if(!empty($deals)):?>
4
    <?php foreach($deals AS $deal):?>
4
    <?php foreach($deals AS $deal):?>
5
    <?php //debug($deal);?>
5
    <?php //debug($deal);?>
6
    <div class="card">      
6
    <div class="card">      
7
      <div class="product_image img img-responsive">
7
      <div class="product_image img img-responsive">
8
        <img src="<?php echo $base_url;?>app/webroot/timthumb.php?src=<?php echo $deal['StoreProduct']['thumbnail'];?>&h=120" data-id="<?php echo $deal['StoreProduct']['id'];?>" class="viewproduct productthumb"> 
8
        <img src="<?php echo $base_url;?>app/webroot/timthumb.php?src=<?php echo urlencode ($deal['StoreProduct']['thumbnail']);?>&h=120" data-id="<?php echo $deal['StoreProduct']['id'];?>" class="viewproduct productthumb"> 
9
        <ul class="product_actions list-unstyled">
9
        <ul class="product_actions list-unstyled">
10
          <li data-id="<?php echo $deal['StoreProduct']['id'];?>" class="likedeal <?php if(isset($likedDeals[$deal['StoreProduct']['id']])):?>active<?php endif;?>">
10
          <li data-id="<?php echo $deal['StoreProduct']['id'];?>" class="likedeal <?php if(isset($likedDeals[$deal['StoreProduct']['id']])):?>active<?php endif;?>">
11
          </li>
11
          </li>
12
          <li data-id="<?php echo $deal['StoreProduct']['id'];?>" class="dislikedeal <?php if(isset($disLikedDeals[$deal['StoreProduct']['id']])):?>active<?php endif;?>">
12
          <li data-id="<?php echo $deal['StoreProduct']['id'];?>" class="dislikedeal <?php if(isset($disLikedDeals[$deal['StoreProduct']['id']])):?>active<?php endif;?>">
13
          </li>
13
          </li>