| 10582 |
lgm |
1 |
<?php $wallet = $wallet[0]; ?>
|
|
|
2 |
<div class="profile-hldr">
|
|
|
3 |
<div class="pr-heading">
|
|
|
4 |
My Account
|
|
|
5 |
</div>
|
| 11145 |
lgm |
6 |
<!-- <div class="head history">Order History</div> -->
|
| 10582 |
lgm |
7 |
<div class="sub-head-hldr">
|
|
|
8 |
<a class="sub-head" href="<?php echo base_url();?>my-orders">My Orders <span>+</span></a>
|
|
|
9 |
</div>
|
| 11145 |
lgm |
10 |
<!-- <div class="head purchase">Purchase</div> -->
|
| 10582 |
lgm |
11 |
<div class="sub-head-hldr">
|
| 10972 |
lgm |
12 |
<!-- <div class="sub-head">My Purchase <span>+</span></div> -->
|
| 11280 |
lgm |
13 |
<a class="sub-head" href="<?php echo base_url();?>my-recharges">My Recharges <span>+</span></a>
|
| 10582 |
lgm |
14 |
</div>
|
| 11145 |
lgm |
15 |
<!-- <div class="head wallet">Wallet</div> -->
|
| 10582 |
lgm |
16 |
<div class="sub-head-hldr">
|
| 10972 |
lgm |
17 |
<div class="sub-head selected" onclick="togglelist(event,'tab1');">My Wallet <span>-</span></div>
|
|
|
18 |
<div class="sub-head-cont " id="tab1">
|
| 10582 |
lgm |
19 |
<div class="wallet-hldr clearfix">
|
|
|
20 |
<div>
|
|
|
21 |
Balance
|
|
|
22 |
</div>
|
|
|
23 |
<div>
|
|
|
24 |
<?php echo $wallet->response->walletAmount;?>
|
|
|
25 |
</div>
|
|
|
26 |
</div><!--wallet-hldr-->
|
|
|
27 |
<a class="btn click-recharge" href="<?php echo base_url().'recharge';?>">Click here to recharge using wallet</a>
|
|
|
28 |
</div><!--sub-head-cont-->
|
|
|
29 |
</div>
|
| 17571 |
manish.sha |
30 |
|
| 17590 |
manish.sha |
31 |
<!-- <div class="head settings">Account Settings </div>
|
|
|
32 |
<div class="sub-head-hldr">
|
|
|
33 |
<div class="sub-head">Personal Details <span>+</span></div>
|
|
|
34 |
<div class="sub-head">Login Details <span>+</span></div>
|
|
|
35 |
<div class="sub-head">Shipping Address <span>+</span></div>
|
|
|
36 |
</div> -->
|
|
|
37 |
</div><!--profile-hldr-->
|
|
|
38 |
<?php
|
| 17571 |
manish.sha |
39 |
if(isset($privatedeals['response']['items']) && (!empty($privatedeals['response']['items']))){
|
|
|
40 |
?>
|
|
|
41 |
<input type="hidden" id="email" value="<?php echo $authorized['email']?>">
|
|
|
42 |
<div class="recommended-cart-pd">
|
|
|
43 |
<div class="head">
|
|
|
44 |
<div>Recommended For You</div>
|
|
|
45 |
<div id="view-more-deals" style="display:block;" onclick="showMoreDeals()">View More</div>
|
|
|
46 |
</div>
|
|
|
47 |
<div class="rec-cart-hldr" id="swipe_0">
|
|
|
48 |
<div class="rec-cart-wrapper">
|
|
|
49 |
<?php foreach ($privatedeals['response']['items'] as $product) {?>
|
|
|
50 |
<input type="hidden" id="<?php echo $product['itemPojos'][0]['id'] ;?>-url" value="<?php echo $product['url'];?>">
|
|
|
51 |
<div class="rec-cart-product">
|
|
|
52 |
|
|
|
53 |
<a href="<?php echo base_url().$product['url'];?>"><img src="<?php echo $product['image_url']; ?>" alt="recomended" onerror="imgDefault()"/></a>
|
|
|
54 |
<div class="pd-cart-name"><?php echo $product['title']; ?></div>
|
|
|
55 |
<div class="pd-cart-desc"><?php echo $product['description']; ?></div>
|
|
|
56 |
<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>
|
|
|
57 |
<div class="quickbuy-hldr clear" onclick="quickAddToCart(<?php echo $product['itemPojos'][0]['id'] ;?>,<?php echo $product['id']; ?>)">
|
|
|
58 |
<div class="quickbuy-btn btn">
|
|
|
59 |
add to cart
|
|
|
60 |
</div>
|
|
|
61 |
</div>
|
|
|
62 |
</div>
|
|
|
63 |
<?php } ?>
|
|
|
64 |
</div>
|
|
|
65 |
</div><!--rec-hldr-->
|
|
|
66 |
</div><!--recomended-pd-->
|
|
|
67 |
<?php
|
|
|
68 |
}?>
|
| 11329 |
lgm |
69 |
<script>
|
|
|
70 |
var pheight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
|
|
|
71 |
if(document.getElementsByClassName('profile-hldr')[0] != undefined){
|
| 17644 |
manish.sha |
72 |
document.getElementsByClassName('profile-hldr')[0].style.minHeight = pheight - 365 +'px';
|
| 11329 |
lgm |
73 |
}
|
|
|
74 |
</script>
|