Rev 17590 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php $wallet = $wallet[0]; ?><div class="profile-hldr"><div class="pr-heading">My Account</div><!-- <div class="head history">Order History</div> --><div class="sub-head-hldr"><a class="sub-head" href="<?php echo base_url();?>my-orders">My Orders <span>+</span></a></div><!-- <div class="head purchase">Purchase</div> --><div class="sub-head-hldr"><!-- <div class="sub-head">My Purchase <span>+</span></div> --><a class="sub-head" href="<?php echo base_url();?>my-recharges">My Recharges <span>+</span></a></div><!-- <div class="head wallet">Wallet</div> --><div class="sub-head-hldr"><div class="sub-head selected" onclick="togglelist(event,'tab1');">My Wallet <span>-</span></div><div class="sub-head-cont " id="tab1"><div class="wallet-hldr clearfix"><div>Balance</div><div><?php echo $wallet->response->walletAmount;?></div></div><!--wallet-hldr--><a class="btn click-recharge" href="<?php echo base_url().'recharge';?>">Click here to recharge using wallet</a></div><!--sub-head-cont--></div><!-- <div class="head settings">Account Settings </div><div class="sub-head-hldr"><div class="sub-head">Personal Details <span>+</span></div><div class="sub-head">Login Details <span>+</span></div><div class="sub-head">Shipping Address <span>+</span></div></div> --></div><!--profile-hldr--><?phpif(isset($privatedeals['response']['items']) && (!empty($privatedeals['response']['items']))){?><input type="hidden" id="email" value="<?php echo $authorized['email']?>"><div class="recommended-cart-pd"><div class="head"><div>Recommended For You</div><div id="view-more-deals" style="display:block;" onclick="showMoreDeals()">View More</div></div><div class="rec-cart-hldr" id="swipe_0"><div class="rec-cart-wrapper"><?php foreach ($privatedeals['response']['items'] as $product) {?><input type="hidden" id="<?php echo $product['itemPojos'][0]['id'] ;?>-url" value="<?php echo $product['url'];?>"><div class="rec-cart-product"><a href="<?php echo base_url().$product['url'];?>"><img src="<?php echo $product['image_url']; ?>" alt="recomended" onerror="imgDefault()"/></a><div class="pd-cart-name"><?php echo $product['title']; ?></div><div class="pd-cart-desc"><?php echo $product['description']; ?></div><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><div class="quickbuy-hldr clear" onclick="quickAddToCart(<?php echo $product['itemPojos'][0]['id'] ;?>,<?php echo $product['id']; ?>)"><div class="quickbuy-btn btn">add to cart</div></div></div><?php } ?></div></div><!--rec-hldr--></div><!--recomended-pd--><?php}?><script>var pheight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);if(document.getElementsByClassName('profile-hldr')[0] != undefined){document.getElementsByClassName('profile-hldr')[0].style.minHeight = pheight - 365 +'px';}</script>