| Line -... |
Line 1... |
| - |
|
1 |
<?php $rechargestatus = array("RECHARGE IN PROCESS");?>
|
| - |
|
2 |
<?php
|
| - |
|
3 |
if(isset($privatedeals['response']['items']) && (!empty($privatedeals['response']['items']))){
|
| - |
|
4 |
?>
|
| - |
|
5 |
<input type="hidden" id="email" value="<?php echo $authorized['email']?>">
|
| - |
|
6 |
<div class="recommended-cart-pd">
|
| - |
|
7 |
<div class="head">
|
| - |
|
8 |
<div>Recommended For You</div>
|
| - |
|
9 |
<div id="view-more-deals" style="display:block;" onclick="showMoreDeals()">View More</div>
|
| - |
|
10 |
</div>
|
| - |
|
11 |
<div class="rec-cart-hldr" id="swipe_0">
|
| - |
|
12 |
<div class="rec-cart-wrapper">
|
| - |
|
13 |
<?php foreach ($privatedeals['response']['items'] as $product) {?>
|
| - |
|
14 |
<input type="hidden" id="<?php echo $product['itemPojos'][0]['id'] ;?>-url" value="<?php echo $product['url'];?>">
|
| - |
|
15 |
<div class="rec-cart-product">
|
| - |
|
16 |
<?php if (in_array($recharge_orderconfirmation[0]->response->rechargeStatus, $rechargestatus)){ ?>
|
| - |
|
17 |
<img src="<?php echo $product['image_url']; ?>" alt="recomended" onerror="imgDefault()"/>
|
| - |
|
18 |
<?php } else {?>
|
| - |
|
19 |
<a href="<?php echo base_url().$product['url'];?>"><img src="<?php echo $product['image_url']; ?>" alt="recomended" onerror="imgDefault()"/></a>
|
| - |
|
20 |
<?php }?>
|
| - |
|
21 |
<div class="pd-cart-name"><?php echo $product['title']; ?></div>
|
| - |
|
22 |
<div class="pd-cart-desc"><?php echo $product['description']; ?></div>
|
| - |
|
23 |
<div class="pd-cart-price"><span>Rs</span><span><?php if(isset($product['itemPojos'][0]['sellingPrice'])){echo $product['itemPojos'][0]['sellingPrice']; }?> </span><span style="color: red"><?php echo $product['itemPojos'][0]['dealPojo']['dealPrice']; ?></span></div>
|
| - |
|
24 |
<?php if(!in_array($recharge_orderconfirmation[0]->response->rechargeStatus, $rechargestatus)){?>
|
| - |
|
25 |
<div class="quickbuy-hldr clear" onclick="quickAddToCart(<?php echo $product['itemPojos'][0]['id'] ;?>,<?php echo $product['id']; ?>)">
|
| - |
|
26 |
<div class="quickbuy-btn btn">
|
| - |
|
27 |
add to cart
|
| - |
|
28 |
</div>
|
| - |
|
29 |
</div>
|
| - |
|
30 |
<?php }?>
|
| - |
|
31 |
</div>
|
| - |
|
32 |
<?php } ?>
|
| - |
|
33 |
</div>
|
| - |
|
34 |
</div><!--rec-hldr-->
|
| - |
|
35 |
</div><!--recomended-pd-->
|
| - |
|
36 |
<?php
|
| - |
|
37 |
}?>
|
| 1 |
<?php $orderConfirmation = $recharge_orderconfirmation[0];?>
|
38 |
<?php $orderConfirmation = $recharge_orderconfirmation[0];?>
|
| 2 |
<div class="r-hldr">
|
39 |
<div class="r-hldr">
|
| 3 |
<div class="r-head">Recharge Details</div>
|
40 |
<div class="r-head">Recharge Details</div>
|
| 4 |
<div class="r-cont clearfix">
|
41 |
<div class="r-cont clearfix">
|
| 5 |
<div>Order Id</div>
|
42 |
<div>Order Id</div>
|
| Line 136... |
Line 173... |
| 136 |
}
|
173 |
}
|
| 137 |
// if(document.getElementsByClassName('order-conf')[0] != undefined){
|
174 |
// if(document.getElementsByClassName('order-conf')[0] != undefined){
|
| 138 |
// document.getElementsByClassName('order-conf')[0].style.minHeight = pheight - 153 +'px';
|
175 |
// document.getElementsByClassName('order-conf')[0].style.minHeight = pheight - 153 +'px';
|
| 139 |
// }
|
176 |
// }
|
| 140 |
</script>
|
177 |
</script>
|
| 141 |
|
- |
|
| 142 |
<?php $rechargestatus = array("RECHARGE IN PROCESS");?>
|
- |
|
| 143 |
<?php
|
- |
|
| 144 |
if(isset($privatedeals['response']['items']) && (!empty($privatedeals['response']['items']))){
|
- |
|
| 145 |
?>
|
- |
|
| 146 |
<input type="hidden" id="email" value="<?php echo $authorized['email']?>">
|
- |
|
| 147 |
<div class="recommended-cart-pd">
|
- |
|
| 148 |
<div class="head">
|
- |
|
| 149 |
<div>Recommended For You</div>
|
- |
|
| 150 |
<div id="view-more-deals" style="display:block;" onclick="showMoreDeals()">View More</div>
|
- |
|
| 151 |
</div>
|
- |
|
| 152 |
<div class="rec-cart-hldr" id="swipe_0">
|
- |
|
| 153 |
<div class="rec-cart-wrapper">
|
- |
|
| 154 |
<?php foreach ($privatedeals['response']['items'] as $product) {?>
|
- |
|
| 155 |
<input type="hidden" id="<?php echo $product['itemPojos'][0]['id'] ;?>-url" value="<?php echo $product['url'];?>">
|
- |
|
| 156 |
<div class="rec-cart-product">
|
- |
|
| 157 |
<?php if (in_array($recharge_orderconfirmation[0]->response->rechargeStatus, $rechargestatus)){ ?>
|
- |
|
| 158 |
<img src="<?php echo $product['image_url']; ?>" alt="recomended" onerror="imgDefault()"/>
|
- |
|
| 159 |
<?php } else {?>
|
- |
|
| 160 |
<a href="<?php echo base_url().$product['url'];?>"><img src="<?php echo $product['image_url']; ?>" alt="recomended" onerror="imgDefault()"/></a>
|
- |
|
| 161 |
<?php }?>
|
- |
|
| 162 |
<div class="pd-cart-name"><?php echo $product['title']; ?></div>
|
- |
|
| 163 |
<div class="pd-cart-desc"><?php echo $product['description']; ?></div>
|
- |
|
| 164 |
<div class="pd-cart-price"><span>Rs</span><span><?php if(isset($product['itemPojos'][0]['sellingPrice'])){echo $product['itemPojos'][0]['sellingPrice']; }?> </span><span style="color: red"><?php echo $product['itemPojos'][0]['dealPojo']['dealPrice']; ?></span></div>
|
- |
|
| 165 |
<?php if(!in_array($recharge_orderconfirmation[0]->response->rechargeStatus, $rechargestatus)){?>
|
- |
|
| 166 |
<div class="quickbuy-hldr clear" onclick="quickAddToCart(<?php echo $product['itemPojos'][0]['id'] ;?>,<?php echo $product['id']; ?>)">
|
- |
|
| 167 |
<div class="quickbuy-btn btn">
|
- |
|
| 168 |
add to cart
|
- |
|
| 169 |
</div>
|
- |
|
| 170 |
</div>
|
- |
|
| 171 |
<?php }?>
|
- |
|
| 172 |
</div>
|
- |
|
| 173 |
<?php } ?>
|
- |
|
| 174 |
</div>
|
- |
|
| 175 |
</div><!--rec-hldr-->
|
- |
|
| 176 |
</div><!--recomended-pd-->
|
- |
|
| 177 |
<?php
|
- |
|
| 178 |
}?>
|
- |
|