| Line 3... |
Line 3... |
| 3 |
<?php foreach ($appOffers['AppOffers'] as $key => $deal) :?>
|
3 |
<?php foreach ($appOffers['AppOffers'] as $key => $deal) :?>
|
| 4 |
<?php if(empty($deal))continue;?>
|
4 |
<?php if(empty($deal))continue;?>
|
| 5 |
<?php //$deal = $offer['AppOffer'];?>
|
5 |
<?php //$deal = $offer['AppOffer'];?>
|
| 6 |
<div class="row card" style='font-size: 12px;'>
|
6 |
<div class="row card" style='font-size: 12px;'>
|
| 7 |
<div class="col-xs-4 productthumb getapp" data-id="<?php echo $deal['app_id'];?>" data-url="<?php echo $deal['link'];?>" data-price="<?php echo intval($deal['offer_price']);?>">
|
7 |
<div class="col-xs-4 productthumb getapp" data-id="<?php echo $deal['app_id'];?>" data-url="<?php echo $deal['link'];?>" data-price="<?php echo intval($deal['offer_price']);?>">
|
| 8 |
<img src="<?php echo $base_url;?>app/webroot/timthumb.php?src=<?php echo urlencode ($deal['image_url']);?>&h=100" height = '80px'/>
|
8 |
<img src="<?php echo $base_url;?>app/webroot/timthumb.php?src=<?php echo urlencode ($deal['image_url']);?>&h=80" width="80"/>
|
| 9 |
<!-- <br/> -->
|
9 |
<!-- <br/> -->
|
| 10 |
<br/>
|
10 |
<br/>
|
| 11 |
<span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span><i><?php echo $deal['downloads'];?></i>
|
11 |
<span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span><i><?php echo $deal['downloads'];?></i>
|
| 12 |
<br/>
|
12 |
<br/>
|
| 13 |
<span class="stars"><?php echo $deal['ratings'];?></span>
|
13 |
<span class="stars"><?php echo $deal['ratings'];?></span>
|
| Line 71... |
Line 71... |
| 71 |
</div>
|
71 |
</div>
|
| 72 |
<?php endforeach;?>
|
72 |
<?php endforeach;?>
|
| 73 |
<?php if(count($appOffers['AppOffers'])<4):?>
|
73 |
<?php if(count($appOffers['AppOffers'])<4):?>
|
| 74 |
<div class="text-danger text-center">We are adding more apps. Do keep checking here</div>
|
74 |
<div class="text-danger text-center">We are adding more apps. Do keep checking here</div>
|
| 75 |
<?php else:?>
|
75 |
<?php else:?>
|
| 76 |
<p class="text-center"><a class="btn btn-primary infitescroller" href="/categories/getapps/<?php echo $id;?>/?page=<?php echo ($page+1);?>">Load More</a></p>
|
76 |
<!--<p class="text-center"><a class="btn btn-primary infitescroller" href="/categories/getapps/<?php echo $id;?>/?page=<?php echo ($page+1);?>">Load More</a></p>-->
|
| 77 |
<?php endif;?>
|
77 |
<?php endif;?>
|
| 78 |
<?php else:?>
|
78 |
<?php else:?>
|
| 79 |
<?php if($page==1):?>
|
79 |
<?php if($page==1):?>
|
| 80 |
<h4>No more offers found. Please try again later.</h4>
|
80 |
<h4>No more offers found. Please try again later.</h4>
|
| 81 |
<div class="text-center">
|
81 |
<div class="text-center">
|