| Line 1... |
Line -... |
| 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>
|
1 |
|
| 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 |
}?>
|
- |
|
| 38 |
<?php $orderConfirmation = $recharge_orderconfirmation[0];?>
|
2 |
<?php $orderConfirmation = $recharge_orderconfirmation[0];?>
|
| 39 |
<div class="r-hldr">
|
3 |
<div class="r-hldr">
|
| 40 |
<div class="r-head">Recharge Details</div>
|
4 |
<div class="r-head">Recharge Details</div>
|
| 41 |
<div class="r-cont clearfix">
|
5 |
<div class="r-cont clearfix">
|
| 42 |
<div>Order Id</div>
|
6 |
<div>Order Id</div>
|
| Line 173... |
Line 137... |
| 173 |
}
|
137 |
}
|
| 174 |
// if(document.getElementsByClassName('order-conf')[0] != undefined){
|
138 |
// if(document.getElementsByClassName('order-conf')[0] != undefined){
|
| 175 |
// document.getElementsByClassName('order-conf')[0].style.minHeight = pheight - 153 +'px';
|
139 |
// document.getElementsByClassName('order-conf')[0].style.minHeight = pheight - 153 +'px';
|
| 176 |
// }
|
140 |
// }
|
| 177 |
</script>
|
141 |
</script>
|
| - |
|
142 |
|
| - |
|
143 |
<?php $rechargestatus = array("RECHARGE IN PROCESS");?>
|
| - |
|
144 |
<?php
|
| - |
|
145 |
if(isset($privatedeals['response']['items']) && (!empty($privatedeals['response']['items']))){
|
| - |
|
146 |
?>
|
| - |
|
147 |
<input type="hidden" id="email" value="<?php echo $authorized['email']?>">
|
| - |
|
148 |
<div class="recommended-cart-pd">
|
| - |
|
149 |
<div class="head">
|
| - |
|
150 |
<div>Recommended For You</div>
|
| - |
|
151 |
<div id="view-more-deals" style="display:block;" onclick="showMoreDeals()">View More</div>
|
| - |
|
152 |
</div>
|
| - |
|
153 |
<div class="rec-cart-hldr" id="swipe_0">
|
| - |
|
154 |
<div class="rec-cart-wrapper">
|
| - |
|
155 |
<?php foreach ($privatedeals['response']['items'] as $product) {?>
|
| - |
|
156 |
<input type="hidden" id="<?php echo $product['itemPojos'][0]['id'] ;?>-url" value="<?php echo $product['url'];?>">
|
| - |
|
157 |
<div class="rec-cart-product">
|
| - |
|
158 |
<?php if (in_array($recharge_orderconfirmation[0]->response->rechargeStatus, $rechargestatus)){ ?>
|
| - |
|
159 |
<img src="<?php echo $product['image_url']; ?>" alt="recomended" onerror="imgDefault()"/>
|
| - |
|
160 |
<?php } else {?>
|
| - |
|
161 |
<a href="<?php echo base_url().$product['url'];?>"><img src="<?php echo $product['image_url']; ?>" alt="recomended" onerror="imgDefault()"/></a>
|
| - |
|
162 |
<?php }?>
|
| - |
|
163 |
<div class="pd-cart-name"><?php echo $product['title']; ?></div>
|
| - |
|
164 |
<div class="pd-cart-desc"><?php echo $product['description']; ?></div>
|
| - |
|
165 |
<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>
|
| - |
|
166 |
<?php if(!in_array($recharge_orderconfirmation[0]->response->rechargeStatus, $rechargestatus)){?>
|
| - |
|
167 |
<div class="quickbuy-hldr clear" onclick="quickAddToCart(<?php echo $product['itemPojos'][0]['id'] ;?>,<?php echo $product['id']; ?>)">
|
| - |
|
168 |
<div class="quickbuy-btn btn">
|
| - |
|
169 |
add to cart
|
| - |
|
170 |
</div>
|
| - |
|
171 |
</div>
|
| - |
|
172 |
<?php }?>
|
| - |
|
173 |
</div>
|
| - |
|
174 |
<?php } ?>
|
| - |
|
175 |
</div>
|
| - |
|
176 |
</div><!--rec-hldr-->
|
| - |
|
177 |
</div><!--recomended-pd-->
|
| - |
|
178 |
<?php
|
| - |
|
179 |
}?>
|