Rev 13646 | Rev 13682 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php if(!empty($deals)):?><?php foreach($deals AS $deal):?><div class="col-xs-6 card">hhe<div class="product_image img img-responsive"><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"><ul class="product_actions list-unstyled"><li data-id="<?php echo $deal['StoreProduct']['id'];?>" class="likedeal <?php if(isset($likedDeals[$deal['StoreProduct']['id']])):?>active<?php endif;?>"></li><li data-id="<?php echo $deal['StoreProduct']['id'];?>" class="dislikedeal <?php if(isset($disLikedDeals[$deal['StoreProduct']['id']])):?>active<?php endif;?>"></li></ul></div><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><?php if(isset($deal['StoreProduct']['tagline'])):?><p class="product_short_description">echo $deal['StoreProduct']['tagline'];?></p><?php endif;?><p class="product_prices"><span class="rupee"></span><span class="product_price"><?php echo $deal['StoreProduct']['available_price'];?></span><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></p></div><?php endforeach;?><p class="text-center"><a class="btn btn-primary" href="/categories/getdeals/<?php echo $id;?>/?page=<?php echo ($page+1);?>">Load More</a></p><?php endif;?>