| 15403 |
manish.sha |
1 |
<div class="panel panel-primary">
|
|
|
2 |
<div class="panel-heading" style="background-color:#125688;text-align:center;">
|
|
|
3 |
<h3 class="panel-title"><a href="/" style="text-decoration: none;">MobileHot India</a></h3>
|
|
|
4 |
</div>
|
|
|
5 |
</div>
|
|
|
6 |
<div class="container">
|
|
|
7 |
<?php echo $this->element('unlikemodal');?>
|
|
|
8 |
<?php echo $this->element('variantsModal');?>
|
|
|
9 |
<div class="row card">
|
|
|
10 |
<?php if(!empty($storeProduct)):?>
|
|
|
11 |
<div class="centeredimage col-xs-6">
|
|
|
12 |
<img class="img img-responsive" src="<?php echo $base_url.'app/webroot/timthumb.php?h=90&src='.$storeProduct['thumbnail'];?>"/>
|
|
|
13 |
</div>
|
|
|
14 |
<div class="col-xs-6 viewproduct" id="sku-<?php echo $storeitems[0]['source_id'];?>" data-source="<?php echo $storeitems[0]['source_id'];?>" data-url="<?php echo $storeitems[0]['marketPlaceUrl'];?>" data-id="<?php echo $storeitems[0]['_id'];?>" data-bundle_id="<?php echo $storeProduct['skuBundleId'];?>" data-url="<?php echo $storeitems[0]['marketPlaceUrl'];?>" data-price="<?php echo $storeitems[0]['available_price'];?>">
|
|
|
15 |
<h3 id="bestpriceproductname"><?php echo $storeitems[0]['source_product_name'];?></h3>
|
|
|
16 |
<div id="bestpricecontainer">Best Price
|
|
|
17 |
|
|
|
18 |
<span class="cashbackrupee"></span>
|
|
|
19 |
<span id="bestprice"><?php echo $storeitems[0]['available_price'];?></span>
|
|
|
20 |
</div>
|
|
|
21 |
<button class="btn btn-xs" id="beststorelink" >BUY NOW</button>
|
|
|
22 |
</div>
|
|
|
23 |
<?php unset($storeitems[0]);?>
|
|
|
24 |
<div class="clearfix"></div>
|
|
|
25 |
<?php if(!empty($activestores)):?>
|
|
|
26 |
<?php foreach($activestores AS $storeName => $store):?>
|
|
|
27 |
<?php if($storeShown[$store['store_id']]):?>
|
|
|
28 |
<div class="row greenborder">
|
|
|
29 |
<?php $count=1;?>
|
|
|
30 |
<?php foreach($storeitems AS $storedeal):?>
|
|
|
31 |
<?php if($storedeal['source_id']==$store['store_id']):?>
|
|
|
32 |
<?php if($count==1):?>
|
|
|
33 |
<div class="col-xs-12 pull-left">
|
|
|
34 |
<img class="storelogo" src="<?php echo $store['logo'];?>"/>
|
|
|
35 |
</div>
|
|
|
36 |
<div class="col-xs-6 text-small" id="name-<?php echo $store['store_id'];?>"><?php echo $storedeal['source_product_name'];?></div>
|
|
|
37 |
<div class="col-xs-6 viewproduct" data-storename="<?php echo ucfirst($storeName);?>" id="sku-<?php echo $store['store_id'];?>" data-source="<?php echo $store['store_id'];?>" data-url="<?php echo $storedeal['marketPlaceUrl'];?>" data-id="<?php echo $storedeal['_id'];?>"
|
|
|
38 |
data-bundle_id="<?php echo $storeProduct['skuBundleId'];?>" data-price="<?php echo $storedeal['available_price'];?>">
|
|
|
39 |
<span class="cashbackrupee"></span>
|
|
|
40 |
|
|
|
41 |
<span id="bestprice"><?php echo $storedeal['available_price'];?></span>
|
|
|
42 |
<span class="pull-right arrowright"></span>
|
|
|
43 |
</div>
|
|
|
44 |
<?php else:?>
|
|
|
45 |
<div class="col-xs-6 varnts text-small"><?php echo $storedeal['source_product_name'];?></div>
|
|
|
46 |
<div class="col-xs-6 varnts viewproduct" data-source="<?php echo $store['store_id'];?>" data-price="<?php echo $storedeal['available_price'];?>" data-url="<?php echo $storedeal['marketPlaceUrl'];?>" data-id="<?php echo $storedeal['_id'];?>"><span class="cashbackrupee varnts text-right"></span> <span><?php echo $storedeal['available_price'];?></span>
|
|
|
47 |
<span class="pull-right arrowright"></span></div>
|
|
|
48 |
<?php endif;?>
|
|
|
49 |
<?php $count=$count+1;?>
|
|
|
50 |
<?php endif;?>
|
|
|
51 |
<?php endforeach;?>
|
|
|
52 |
</div>
|
|
|
53 |
<?php endif;?>
|
|
|
54 |
<?php endforeach;?>
|
|
|
55 |
<?php endif;?>
|
|
|
56 |
<?php endif;?>
|
|
|
57 |
</div>
|
|
|
58 |
</div>
|
|
|
59 |
<script type="text/javascript" src="/js/profittill.js?v=<?php echo $staticversion;?>"></script>
|