Subversion Repositories SmartDukaan

Rev

Rev 13583 | Rev 13646 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13583 Rev 13599
Line 1... Line 1...
1
<?php if(!empty($deals)):?>
1
<?php if(!empty($deals)):?>
2
    <?php foreach($deals AS $deal):?>
2
    <?php foreach($deals AS $deal):?>
3
    <div class="col-xs-6 card">
3
    <div class="col-xs-6 card">
4
      <?php echo $deal['StoreProduct']['id'];?>
-
 
5
      <div class="product_image img img-responsive">
4
      <div class="product_image img img-responsive">
6
        <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"> 
5
        <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"> 
7
        <ul class="product_actions list-unstyled">
6
        <ul class="product_actions list-unstyled">
8
          <li data-id="<?php echo $deal['StoreProduct']['id'];?>" class="likedeal">
7
          <li data-id="<?php echo $deal['StoreProduct']['id'];?>" class="likedeal">
9
            <button class="btn <?php if(isset($likedDeals[$deal['StoreProduct']['id']])):?>active<?php endif;?>"><i class="icon-heart"></i></button>
8
            <button class="btn <?php if(isset($likedDeals[$deal['StoreProduct']['id']])):?>active<?php endif;?>"><i class="icon-heart"></i></button>
Line 20... Line 19...
20
        <?php if(isset($deal['StoreProduct']['cashback']) && !empty($deal['StoreProduct']['cashback'])):?><span class="product_cashback">(<span class="rupee"></span> <?php echo $deal['StoreProduct']['cashback'];?> Cashback)</span><?php endif;?>
19
        <?php if(isset($deal['StoreProduct']['cashback']) && !empty($deal['StoreProduct']['cashback'])):?><span class="product_cashback">(<span class="rupee"></span> <?php echo $deal['StoreProduct']['cashback'];?> Cashback)</span><?php endif;?>
21
      </p>          
20
      </p>          
22
    </div>       
21
    </div>       
23
  <?php endforeach;?>    
22
  <?php endforeach;?>    
24
  <p class="text-center"><a class="btn btn-primary" href="/store_products/getdeals/?page=<?php echo $page+1;?>">Load More</a></p>
23
  <p class="text-center"><a class="btn btn-primary" href="/store_products/getdeals/?page=<?php echo $page+1;?>">Load More</a></p>
25
<?php endif;?>
-
 
26
24
<?php endif;?>
-
 
25