| Line -... |
Line 1... |
| - |
|
1 |
<?php echo $this->element('unlikemodal');?>
|
| 1 |
<?php if(!empty($deals)):?>
|
2 |
<?php if(!empty($deals)):?>
|
| 2 |
<?php foreach($deals AS $deal):?>
|
3 |
<?php foreach($deals AS $deal):?>
|
| 3 |
<div class="col-xs-6 card">
|
4 |
<div class="card">
|
| 4 |
hhe
|
- |
|
| 5 |
<div class="product_image img img-responsive">
|
5 |
<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">
|
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">
|
| 7 |
<ul class="product_actions list-unstyled">
|
7 |
<ul class="product_actions list-unstyled">
|
| 8 |
<li data-id="<?php echo $deal['StoreProduct']['id'];?>" class="likedeal <?php if(isset($likedDeals[$deal['StoreProduct']['id']])):?>active<?php endif;?>">
|
8 |
<li data-id="<?php echo $deal['StoreProduct']['id'];?>" class="likedeal <?php if(isset($likedDeals[$deal['StoreProduct']['id']])):?>active<?php endif;?>">
|
| 9 |
</li>
|
9 |
</li>
|
| 10 |
<li data-id="<?php echo $deal['StoreProduct']['id'];?>" class="dislikedeal <?php if(isset($disLikedDeals[$deal['StoreProduct']['id']])):?>active<?php endif;?>">
|
10 |
<li data-id="<?php echo $deal['StoreProduct']['id'];?>" class="dislikedeal <?php if(isset($disLikedDeals[$deal['StoreProduct']['id']])):?>active<?php endif;?>">
|
| 11 |
</li>
|
11 |
</li>
|
| 12 |
</ul>
|
12 |
</ul>
|
| 13 |
</div>
|
13 |
</div>
|
| - |
|
14 |
<div class="clearfix"></div>
|
| 14 |
<p class="text-center viewproduct" data-id="<?php echo $deal['StoreProduct']['id'];?>"><?php echo $this->Text->truncate($deal['StoreProduct']['title'],22,array('ellipsis' => '...','exact' => false));?></p>
|
15 |
<h5 class="producttitle viewproduct" data-id="<?php echo $deal['StoreProduct']['id'];?>"><?php echo $this->Text->truncate($deal['StoreProduct']['title'],22,array('ellipsis' => '...','exact' => false));?></h5>
|
| 15 |
<?php if(isset($deal['StoreProduct']['tagline'])):?><p class="product_short_description">echo $deal['StoreProduct']['tagline'];?></p><?php endif;?>
|
16 |
<?php if(isset($deal['StoreProduct']['tagline'])):?><p class="product_short_description">echo $deal['StoreProduct']['tagline'];?></p><?php endif;?>
|
| 16 |
<p class="product_prices">
|
17 |
<p class="product_prices">
|
| 17 |
<span class="rupee"></span><span class="product_price"><?php echo $deal['StoreProduct']['available_price'];?></span>
|
18 |
<span class="rupee"></span><span class="product_price"><?php echo $deal['StoreProduct']['available_price'];?></span>
|
| 18 |
<span class="product_cashback"><label>Cashback</label><span class="rupee"></span> <span class="cashback"><?php if(isset($deal['StoreProduct']['cashback']) && !empty($deal['StoreProduct']['cashback'])):?><?php echo $deal['StoreProduct']['cashback'];?> <?php else:?>0<?php endif;?></span></span>
|
19 |
<?php if(isset($deal['StoreProduct']['cashback']) && !empty($deal['StoreProduct']['cashback'])):?><span class="product_cashback"><label>Cashback</label><span class="rupee"></span> <span class="cashback"><?php echo $deal['StoreProduct']['cashback'];?></span></span><?php endif;?>
|
| 19 |
</p>
|
20 |
</p>
|
| 20 |
</div>
|
21 |
</div>
|
| 21 |
<?php endforeach;?>
|
22 |
<?php endforeach;?>
|
| 22 |
<p class="text-center"><a class="btn btn-primary" href="/categories/getdeals/<?php echo $id;?>/?page=<?php echo ($page+1);?>">Load More</a></p>
|
23 |
<p class="text-center"><a class="btn btn-primary" href="/categories/getdeals/<?php echo $id;?>/?page=<?php echo ($page+1);?>">Load More</a></p>
|
| 23 |
<?php endif;?>
|
24 |
<?php endif;?>
|
| 24 |
|
25 |
|