Ghost Exploiter Team Official
/
home
/
ramdevpcb
/
public_html
/
Nama File / Folder
Size
Action
.DS_Store
--
NONE
.well-known
--
NONE
Apple
--
NONE
Config
--
NONE
accounts.ramdevpcb.com
--
NONE
admin.ramdevpcb.com
--
NONE
ap
--
NONE
api
--
NONE
app
--
NONE
assets
--
NONE
cgi-bin
--
NONE
delivery.ramdevpcb.com
--
NONE
razorpay-php-master
--
NONE
sales.ramdevpcb.com
--
NONE
spotify
--
NONE
.htaccess
0.274KB
Hapus
Edit
Rename
MAXVEL CATALOGUE 2023.pdf
55.84MB
Hapus
Edit
Rename
Products.php
72.202KB
Hapus
Edit
Rename
Products2.php
22.467KB
Hapus
Edit
Rename
apply-coupon.php
1.237KB
Hapus
Edit
Rename
bg6.png
239.047KB
Hapus
Edit
Rename
create_order.php
1.073KB
Hapus
Edit
Rename
db.php
0.666KB
Hapus
Edit
Rename
download_invoice.php
0.395KB
Hapus
Edit
Rename
email.html
2.977KB
Hapus
Edit
Rename
footer (2).php
22.071KB
Hapus
Edit
Rename
footer.php
9.45KB
Hapus
Edit
Rename
get_product.php
3.688KB
Hapus
Edit
Rename
getcity.php
0.496KB
Hapus
Edit
Rename
googlebdc637812fd99722.html
0.052KB
Hapus
Edit
Rename
googlebfc2f3b3c36359c4.html
0.052KB
Hapus
Edit
Rename
header1.php
51.568KB
Hapus
Edit
Rename
index (44).php
90.686KB
Hapus
Edit
Rename
indexnew.php
97.6KB
Hapus
Edit
Rename
interlaced.png
16.737KB
Hapus
Edit
Rename
licenses.php
0.081KB
Hapus
Edit
Rename
myorderdetails.php
6.695KB
Hapus
Edit
Rename
myordernew.php
28.397KB
Hapus
Edit
Rename
page-login-register.php
28.91KB
Hapus
Edit
Rename
page-login-register_old.php
29.911KB
Hapus
Edit
Rename
product-right.php
82.268KB
Hapus
Edit
Rename
r&c.php
5.128KB
Hapus
Edit
Rename
raw.php
0.209KB
Hapus
Edit
Rename
s&d.php
5.673KB
Hapus
Edit
Rename
send.php
5.59KB
Hapus
Edit
Rename
shop-checkout1.php
59.101KB
Hapus
Edit
Rename
shop-wishlist.php
7.947KB
Hapus
Edit
Rename
shopcart.php
25.882KB
Hapus
Edit
Rename
shopcart1.php
16.813KB
Hapus
Edit
Rename
tracking.php
11.972KB
Hapus
Edit
Rename
<?php include('db.php'); $date = date('Y-m-d'); $assigned_categories = ''; if(!empty($_SESSION['userid'])){ $query="SELECT * FROM Users WHERE UserID=".$_SESSION['userid']; $result=mysqli_query($conn,$query); $user_details = mysqli_fetch_assoc($result); if($user_details['UserRole'] == 1){ $assigned_categories = $user_details['AssignedCategories']; } $userrole= $user_details['UserRole']; $userId = $_SESSION['userid']; } ?> <style> .header-top-ptb-1 #news-flash { min-width: 400px; font-size: 14px; line-height: 16px!important; } .sub-title { color:grey; } </style> <header class="header-area header-style-3 header-height-2"> <div class="header-top header-top-ptb-1 d-none d-lg-block"> <div class="container"> <div class="row align-items-center"> <div class="col-xl-3 col-lg-4"> <div class="header-info"> <ul> <li><i class="fi-rs-smartphone"></i> <a href="tel:+918655252402">+91 8655252402</a></li> <!--<li><i class="fi-rs-marker"></i><a href="page-contact.html">Our location</a></li>--> </ul> </div> </div> <div class="col-xl-6 col-lg-4"> <div class="text-center"> <div id="news-flash" class="d-inline-block" > <ul> <?php if($userrole == '1'){ $sql = "select * from Discounts A inner join BrandCategory B on A.CategoryID=B.CategoryID where A.UserID='$userId' and A.DiscountStartDate <= '$date' and A.DiscountEndDate>='$date' and A.cstatus='1'"; $result=mysqli_query($conn,$sql); while($row=mysqli_fetch_array($result)) { echo "<li>Get ".$row['DiscountPercent']."% Discount on ".$row['Category']."</li>"; } $sql = "select * from Discounts A inner join BrandCategory B on A.CategoryID=B.CategoryID where A.UserID='0' and A.DiscountStartDate <= '$date' and A.DiscountEndDate>='$date' and A.cstatus='1'" ; $result=mysqli_query($conn,$sql); while($row=mysqli_fetch_array($result)) { echo "<li>Get ".$row['DiscountPercent']."% Discount on ".$row['Category']."</li>"; } $sql = "select * from Discounts where UserID='0' and CategoryID='0' and DiscountStartDate <= '$date' and DiscountEndDate>='$date' and cstatus='1'"; // echo $sql; $result=mysqli_query($conn,$sql); while($row=mysqli_fetch_array($result)) { echo "<li>Get ".$row['DiscountPercent']."% Discount on All Brands</li>"; } $sql = "select * from Discounts where UserID='$userId' and CategoryID='0' and DiscountStartDate <= '$date' and DiscountEndDate>='$date' and cstatus='1'"; // echo $sql; $result=mysqli_query($conn,$sql); while($row=mysqli_fetch_array($result)) { echo "<li>Get ".$row['DiscountPercent']."% Discount on All Brands</li>"; } } else{ $sql = "select * from Discounts where UserID='0' and DiscountStartDate <= '$date' and DiscountEndDate>='$date' and cstatus='1'"; $result=mysqli_query($conn,$sql); while($row=mysqli_fetch_array($result)) { echo "<li>Get ".$row['DiscountPercent']."% Discount on Any Products Purchased from Website</li>"; } }?> </ul> </div> </div> </div> <div class="col-xl-3 col-lg-4"> <div class="header-info header-info-right"> <ul> <!-- <li> <a class="language-dropdown-active" href="#"> <i class="fi-rs-world"></i> English <i class="fi-rs-angle-small-down"></i></a> <ul class="language-dropdown"> <li><a href="#"><img src="assets/imgs/theme/flag-fr.png" alt="">Français</a></li> <li><a href="#"><img src="assets/imgs/theme/flag-dt.png" alt="">Deutsch</a></li> <li><a href="#"><img src="assets/imgs/theme/flag-ru.png" alt="">Pусский</a></li> </ul> </li>--> <?php if(isset($_SESSION['use'])) // If session is not set then redirect to Login Page { echo '<li><i class="fi-rs-user"></i><a>'.$_SESSION['SESS_USER_NAME'].'</a></li>'; echo '<li><i class="fi-rs-user-remove"></i><a href="logout.php">Logout</a></li>'; } else{ echo '<li><i class="fi-rs-user"></i><a href="page-login-register.php">Log In / Sign Up</a></li>'; } ?> </ul> </div> </div> </div> </div> </div> <div class="header-middle header-middle-ptb-1 d-none d-lg-block"> <div class="container"> <div class="header-wrap"> <div class="logo logo-width-1"> <a href="index.php"><img src="assets/imgs/theme/RamdevLogo.jpg" alt="logo" style="min-width:130px"></a> </div> <div class="header-right"> <div class="search-style-2"> <form action="#"> <!--<select class="select-active"> <?php $sql=mysqli_query($conn,"SELECT * FROM BrandSubCategory WHERE is_deleted = '0' GROUP BY SubCategory"); while($row=mysqli_fetch_array($sql)) { $subcategory=$row['SubCategory']; echo '<option value="'.$subcategory.'" '.(($subcategory == $subcategory)?'selected="selected"':"").'>'.$subcategory.'</option>'; } ?> </select>--> <input type="text" class="search-input" placeholder="Search for items..."> <div class="search-box"></div> </form> </div> <div class="header-action-right"> <div class="header-action-2"> <!--<div class="header-action-icon-2"> <a href="shop-wishlist.php"> <img class="svgInject" alt="Evara" src="assets/imgs/theme/icons/icon-heart.svg"> <span class="pro-count blue">4</span> </a> </div>--> <div class="header-action-icon-2"> <a class="mini-cart-icon" href="#"> <img alt="Evara" src="assets/imgs/theme/icons/icon-cart.svg"> <?php $id = !empty($_SESSION['userid']) ? $_SESSION['userid'] : '0'; $query = "SELECT * FROM BrandModel m, BrandCategory c, BrandSubCategory sc, Cart ca, productdetails pd, ProductColors co WHERE pd.ProductID = ca.ProductID AND m.ModelID = pd.ModelID AND c.CategoryID = pd.CategoryID AND co.ColorID = pd.ProductColorID AND sc.SubCategoryID = pd.SubCategoryID AND ca.UserID = '$id'"; $result=mysqli_query($conn,$query); $count = mysqli_num_rows($result); ?> <span class="pro-count blue"><?php echo $count ?></span> </a> <div class="cart-dropdown-wrap cart-dropdown-hm2"> <?php if($count == '0'){?> <div style="text-align:center"><p class=""><img src="assets/imgs/theme/cart.jpg" alt="" class="hover-up" width="100px"></p> <h4 style="margin-bottom:6px">Your Cart is Empty</h4> <p style="font-size:12px;margin-bottom: 10px;"> Looks like you have not added anything to your cart. Go ahead & explore top categories. </p> <form class="contact-form-style text-center" id="contact-form" action="#" method="post"> <a class="btn btn-default submit-auto-width font-xs hover-up" href="Products.php?id=all" style="padding:5px">View Products</a> </form></div> <?php }else{ ?> <ul> <?php while($row=mysqli_fetch_array($result)) { $prices = $row['BtoCPrice']; $prices_200 = $row['BtoBPrice1']; $prices_1000 = $row['BtoBPrice2']; $prices_more1000 = $row['BtoBPrice3']; if( $_SESSION['user_role'] == 1) { if ($row['ProductQuantity'] <= 100) { $prices = $prices_200; } else if ($row['ProductQuantity'] > 100 && $row['ProductQuantity'] <= 1000) { $prices = $prices_1000; } else if ($row['ProductQuantity'] > 1000) { $prices = $prices_more1000; } else { $prices = $prices; } if($row['addedfrom'] == "admin"){ $prices = $row['ProductPrice']; } } $imagesss = mysqli_query($conn, "SELECT * FROM productimages WHERE ProductID = '{$row['ProductID']}'") or die(mysqli_error($conn)); $img = mysqli_fetch_assoc($imagesss); $imagess = (!empty($img['ImageName'])) ? $img['ImageName'] : 'https://admin.ramdevpcb.com/assets/images/product_images/default_product.jpg'; $subtotal_prices += $prices * $row['ProductQuantity']; ?> <li> <div class="shopping-cart-img" style="flex: 0 0 60px;"> <a href="shop-product-right.html"><img alt="Evara" src="<?= $imagess ?>"></a> </div> <div class="shopping-cart-title"> <h5><a href="Product_Details.php?id=<?= $row['ProductID'] ?>"><?= $row['Model_No'] ?></a></h5> <h6 style="margin-bottom:8px"><?= $row['Watts'] . '-' . $row['Driver'] .' (' .ucwords(strtolower($row['ColorName'])). ')'?></h6> <h5><span><?= $row['ProductQuantity'] ?> × </span>₹<?= number_format($prices, 2) ?></h5> </div> <div class="shopping-cart-delete"> <a href="#" onclick="deletecartitem('<?= $row['CartID'] ?>')"><i class="fi-rs-trash" style="font-size:16px"></i></a> </div> </li> <?php } ?> </ul> <div class="shopping-cart-footer"> <div class="shopping-cart-total"> <h4>Total <span>₹<?= number_format($subtotal_prices, 2) ?><sub style="font-size: 12px;padding: 5px;">+18% GST</sub></span></h4> </div> <div class="shopping-cart-button"> <a href="shopcart.php" class="outline">View cart</a> <a href="checkout.php">Checkout</a> </div> </div><?php } ?> </div> </div> </div> </div> </div> </div> </div> </div> <div class="header-bottom header-bottom-bg-color sticky-bar" style="z-index:99999"> <div class="container"> <div class="header-wrap header-space-between position-relative main-nav"> <div class="logo logo-width-1 d-block d-lg-none"> <a href="index.php"><img src="assets/imgs/theme/RamdevLogo.jpg" alt="logo"></a> </div> <div class="header-nav d-none d-lg-flex"> <div class="main-categori-wrap d-none d-lg-block"> <a class="categori-button-active" href="#"> <span class="fi-rs-apps"></span> Browse Categories </a> <div class="categori-dropdown-wrap categori-dropdown-active-large"> <ul> <?php $sql=mysqli_query($conn,"SELECT * FROM BrandSubCategory WHERE is_deleted = '0' GROUP BY SubCategory ORDER BY SubCategoryID"); while($row=mysqli_fetch_array($sql)) { $subcategory=$row['SubCategory']; ?> <li class="has-children"> <a href="Products.php?SubCategory=<?= $subcategory ?>"><i class="fa fa-user"></i><?= $subcategory ?></a> <div class="dropdown-menu"> <ul class="mega-menu d-lg-flex"> <li class="mega-menu-col col-lg-7"> <ul class="d-lg-flex"> <li class="mega-menu-col col-lg-6"> <ul> <?php $sql1=mysqli_query($conn,"Select * from BrandModel A inner join BrandSubCategory B on A.SubCategoryID=B.SubCategoryID where B.SubCategory='".$subcategory."' and B.is_deleted='0' and A.is_deleted='0' group by A.Model"); while($row1=mysqli_fetch_array($sql1)) { $model=$row1['Model']; ?> <li><a class="dropdown-item nav-link nav_item" href="Products.php?Model=<?= $model ?>"><?= $model ?></a></li> <?php } ?> </ul> </li> </ul> </li> <li class="mega-menu-col col-lg-5"> <div class="header-banner2"> <img src="<?= $row['SubCategoryImage']?>" alt="menu_banner1" style=""> <!-- <div class="banne_info" style="top:80%"> <h6>10% Off</h6> <h4>New Arrival</h4> <a href="#">Shop now</a> </div>--> </div> </li> </ul> </div> </li> <?php } ?> </ul> <div class="more_categories">Show more...</div> </div> </div> <div class="main-menu main-menu-padding-1 main-menu-lh-2 d-none d-lg-block"> <nav> <style> #active{ color:#b79907 } </style> <?php $activePage = basename($_SERVER['PHP_SELF'], ".php"); ?> <ul> <li><a href="index.php" id="<?= ($activePage == 'index') ? 'active':''; ?>">Home</a></li> <!--<li><a href="index.php">Home </a>--> <!--</li>--> <li><a href="about.php" id="<?= ($activePage == 'about') ? 'active':''; ?>">About Us</a></li> <!--<li>--> <!-- <a href="about.php">About Us</a>--> <!--</li>--> <li><a href="Products.php?id=all" id="<?= ($activePage == 'Products') ? 'active':''; ?>">Products</a></li> <!--<li>--> <!-- <a href="Products.php?id=all">Products</a>--> <!--</li>--> <!--<li><a href="shop-grid-right.html">Shop <i class="fi-rs-angle-down"></i></a> <ul class="sub-menu"> <li><a href="shop-grid-right.html">Shop Grid – Right Sidebar</a></li> <li><a href="shop-grid-left.html">Shop Grid – Left Sidebar</a></li> <li><a href="shop-list-right.html">Shop List – Right Sidebar</a></li> <li><a href="shop-list-left.html">Shop List – Left Sidebar</a></li> <li><a href="shop-fullwidth.html">Shop - Wide</a></li> <li><a href="#">Single Product <i class="fi-rs-angle-right"></i></a> <ul class="level-menu"> <li><a href="shop-product-right.html">Product – Right Sidebar</a></li> <li><a href="shop-product-left.html">Product – Left Sidebar</a></li> <li><a href="shop-product-full.html">Product – No sidebar</a></li> </ul> </li> <li><a href="shop-filter.html">Shop – Filter</a></li> <li><a href="shop-wishlist.html">Shop – Wishlist</a></li> <li><a href="shop-cart.html">Shop – Cart</a></li> <li><a href="shop-checkout.html">Shop – Checkout</a></li> <li><a href="shop-compare.html">Shop – Compare</a></li> </ul> </li> <li class="position-static"><a href="#">Mega menu <i class="fi-rs-angle-down"></i></a> <ul class="mega-menu"> <li class="sub-mega-menu sub-mega-menu-width-22"> <a class="menu-title" href="#">Women's Fashion</a> <ul> <li><a href="shop-product-right.html">Dresses</a></li> <li><a href="shop-product-right.html">Blouses & Shirts</a></li> <li><a href="shop-product-right.html">Hoodies & Sweatshirts</a></li> <li><a href="shop-product-right.html">Wedding Dresses</a></li> <li><a href="shop-product-right.html">Prom Dresses</a></li> <li><a href="shop-product-right.html">Cosplay Costumes</a></li> </ul> </li> <li class="sub-mega-menu sub-mega-menu-width-22"> <a class="menu-title" href="#">Men's Fashion</a> <ul> <li><a href="shop-product-right.html">Jackets</a></li> <li><a href="shop-product-right.html">Casual Faux Leather</a></li> <li><a href="shop-product-right.html">Genuine Leather</a></li> <li><a href="shop-product-right.html">Casual Pants</a></li> <li><a href="shop-product-right.html">Sweatpants</a></li> <li><a href="shop-product-right.html">Harem Pants</a></li> </ul> </li> <li class="sub-mega-menu sub-mega-menu-width-22"> <a class="menu-title" href="#">Technology</a> <ul> <li><a href="shop-product-right.html">Gaming Laptops</a></li> <li><a href="shop-product-right.html">Ultraslim Laptops</a></li> <li><a href="shop-product-right.html">Tablets</a></li> <li><a href="shop-product-right.html">Laptop Accessories</a></li> <li><a href="shop-product-right.html">Tablet Accessories</a></li> </ul> </li> <li class="sub-mega-menu sub-mega-menu-width-34"> <div class="menu-banner-wrap"> <a href="shop-product-right.html"><img src="assets/imgs/banner/menu-banner.jpg" alt="Evara"></a> <div class="menu-banner-content"> <h4>Hot deals</h4> <h3>Don't miss<br> Trending</h3> <div class="menu-banner-price"> <span class="new-price text-success">Save to 50%</span> </div> <div class="menu-banner-btn"> <a href="shop-product-right.html">Shop now</a> </div> </div> <div class="menu-banner-discount"> <h3> <span>35%</span> off </h3> </div> </div> </li> </ul> </li> <li><a href="blog-category-grid.html">Blog <i class="fi-rs-angle-down"></i></a> <ul class="sub-menu"> <li><a href="blog-category-grid.html">Blog Category Grid</a></li> <li><a href="blog-category-list.html">Blog Category List</a></li> <li><a href="blog-category-big.html">Blog Category Big</a></li> <li><a href="blog-category-fullwidth.html">Blog Category Wide</a></li> <li><a href="#">Single Post <i class="fi-rs-angle-right"></i></a> <ul class="level-menu level-menu-modify"> <li><a href="blog-post-left.html">Left Sidebar</a></li> <li><a href="blog-post-right.html">Right Sidebar</a></li> <li><a href="blog-post-fullwidth.html">No Sidebar</a></li> </ul> </li> </ul> </li>--> <li><a href="purchase-guide.php" id="<?= ($activePage == 'purchase-guide') ? 'active':''; ?>">Purchase Guide</a></li> <!--<li><a href="purchase-guide.php">Purchase Guide</a></li>--> <!-- <li><a href="#">Pages <i class="fi-rs-angle-down"></i></a> <ul class="sub-menu"> <li><a href="page-about.html">About Us</a></li> <li><a href="page-contact.html">Contact</a></li> <li><a href="page-account.html">My Account</a></li> <li><a href="page-login-register.html">login/register</a></li> <li><a href="page-privacy-policy.html">Privacy Policy</a></li> <li><a href="page-terms.html">Terms of Service</a></li> <li><a href="page-404.html">404 Page</a></li> </ul> </li>--> <li><a href="qnow.php" id="<?= ($activePage == 'qnow') ? 'active':''; ?>">Get Quote</a></li> <!--<li><a href="qnow.php">Get Quote</a></li>--> <li><a href="contact.php" id="<?= ($activePage == 'contact') ? 'active':''; ?>">Contact</a></li> <!--<li>--> <!-- <a href="contact.php">Contact</a>--> <!--</li>--> <?php if(!empty($_SESSION['userid'])){ ?> <li><a href="my.php" id="<?= ($activePage == 'my') ? 'active':''; ?>">My Account</a></li> <!--<li>--> <!-- <a href="editProfile.php">My Profile</a>--> <!--</li>--> <!--<li><a href="myorders.php" id="<?= ($activePage == 'myorders') ? 'active':''; ?>">My Orders</a></li>--> <!--<li>--> <!-- <a href="myorders.php">My Orders</a>--> <!--</li>--> <li><a href="shopcart.php" id="<?= ($activePage == 'shopcart') ? 'active':''; ?>">My Cart</a></li> <!--<li>--> <!-- <a href="shopcart.php">My Cart</a>--> <!--</li>--> <?php } ?> </ul> </nav> </div> </div> <div class="hotline d-none d-lg-block"> <!-- <p><i class="fi-rs-headset"></i><span>Hotline</span> 1900 - 888 </p>--> </div> <!--<p class="mobile-promotion">Happy <span class="text-brand">Mother's Day</span>. Big Sale Up to 40%</p>--> <div class="header-action-right d-block d-lg-none"> <div class="header-action-2"> <div class="header-info header-info-right"> <ul> <!-- <li> <a class="language-dropdown-active" href="#"> <i class="fi-rs-world"></i> English <i class="fi-rs-angle-small-down"></i></a> <ul class="language-dropdown"> <li><a href="#"><img src="assets/imgs/theme/flag-fr.png" alt="">Français</a></li> <li><a href="#"><img src="assets/imgs/theme/flag-dt.png" alt="">Deutsch</a></li> <li><a href="#"><img src="assets/imgs/theme/flag-ru.png" alt="">Pусский</a></li> </ul> </li>--> <li><a href="page-login-register.php"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAACpklEQVRoge2Zy2oUQRSGv0y0g5qFElwJgjvjKygoiDqKBI0MWSgugi4Cgoss4g2JbnQRfANdeXkAcZVXCBpRZMZLjEJw4UaZeE2cdnFO0S2ZGburqqdb7A+aGnrq/PWfnqmu011QUvLPEABjwAOgDizrUQfu63dBbu4SUgMWgPAvxxvgRE4eu9IP3CIy+hg4BwwDm/QY1nNPYv1mNLYwmCS+AeNAX5e+FeCM9jXJFIIaYugrsDtF3B6iZEYz8JWKgGhOjFvEn9XY1+R8AxgjmhMVi/gKMK8aNRcjNoPHOa7tbaBlEd8C7ujnY45enGggV3Ong8Yu1ah7cWRJU00MOmgMqkbTiyNLzHqQu47rHCkMZSJFo0ykaLgm8lnbzQ4aW7T95GLENZH32u5w0DCxiy5GXBN5pu1+Bw0T+9zRixOHkYWsgX3R+FI1qh59paYfKcFDYMoi/oLGvqIAT4r7kCr2B+muahX4CfwC9mbgy4rryJVdASYS9J/QviFwLUNfVkyRvPgz/W5m6siBtIl4o1zZi0aZSBu2avs9QV/TZ8jj+F6oAm+RCfwwQf9HRAvhoQx9JSIATgFzRHeheWBbgtjtwItY3Jxq9fQl3RBwEViKGfkATAIDKXQ2AleAjzGdJdXO9C8XAOeR5wYzcEPPbXDQHQBOI5W00W0C0466bTnIn/ses3qu21v3tPQh82U2Ns474IivAS4jhV2IXLVeTM4DwFMds4X8Ok5Mq9gqcJXeltoV4BJRcXnDVmgEuRoryFv3vBhFyv0W0UvzxARE64LNA5NvJhEvi6S8RZ/UwAVgvX9fqVmHbKCGyHqzhk4lyoi2d5G/Vt6sAvf089E0gSb73MuHGFWibbo1dFoHlpEt5SLyhTb7MZ0S8fr0lgE+F+KSkv+C3/CHsHgox+CnAAAAAElFTkSuQmCC" style="width: 27px;margin-top: 4px;"> </a></li> </ul> </div> <!--<div class="header-action-icon-2"> <a href="shop-wishlist.php"> <img alt="Evara" src="assets/imgs/theme/icons/icon-heart.svg"> <span class="pro-count white">4</span> </a> </div>--> <?php $query = "select count(CartID) from Cart where UserID='".$_SESSION['userid']."'"; $result=mysqli_query($conn,$query); while($row=mysqli_fetch_array($result)) { $count=$row['count(id)']; } ?> <div class="header-action-icon-2"> <a class="mini-cart-icon" href="shopcart.php"> <img alt="Evara" src="assets/imgs/theme/icons/icon-cart.svg"> <span class="pro-count white"><?php echo $count; ?></span> </a> <!--<div class="cart-dropdown-wrap cart-dropdown-hm2"> <ul> <li> <div class="shopping-cart-img"> <a href="shop-product-right.html"><img alt="Evara" src="assets/imgs/shop/thumbnail-3.jpg"></a> </div> <div class="shopping-cart-title"> <h4><a href="shop-product-right.html">Plain Striola Shirts</a></h4> <h3><span>1 × </span>$800.00</h3> </div> <div class="shopping-cart-delete"> <a href="#"><i class="fi-rs-cross-small"></i></a> </div> </li> <li> <div class="shopping-cart-img"> <a href="shop-product-right.html"><img alt="Evara" src="assets/imgs/shop/thumbnail-4.jpg"></a> </div> <div class="shopping-cart-title"> <h4><a href="shop-product-right.html">Macbook Pro 2022</a></h4> <h3><span>1 × </span>$3500.00</h3> </div> <div class="shopping-cart-delete"> <a href="#"><i class="fi-rs-cross-small"></i></a> </div> </li> </ul> <div class="shopping-cart-footer"> <div class="shopping-cart-total"> <h4>Total <span>$383.00</span></h4> </div> <div class="shopping-cart-button"> <a href="shopcart.php">View cart</a> <a href="shop-checkout.php">Checkout</a> </div> </div> </div>--> </div> <div class="header-action-icon-2 d-block d-lg-none"> <div class="burger-icon burger-icon-white"> <span class="burger-icon-top"></span> <span class="burger-icon-mid"></span> <span class="burger-icon-bottom"></span> </div> </div> </div> </div> </div> </div> </div> </header> <div class="mobile-header-active mobile-header-wrapper-style"> <div class="mobile-header-wrapper-inner"> <div class="mobile-header-top"> <div class="mobile-header-logo"> <a href="index.php"><img src="assets/imgs/theme/RamdevLogo.jpg" alt="logo"></a> </div> <div class="mobile-menu-close close-style-wrap close-style-position-inherit"> <button class="close-style search-close"> <i class="icon-top"></i> <i class="icon-bottom"></i> </button> </div> </div> <div class="mobile-header-content-area"> <div class="mobile-search search-style-3 mobile-header-border"> <form action="#"> <input type="text" class="search-input" placeholder="Search for items…"> <button type="submit"><i class="fi-rs-search"></i></button> <div class="search-box"></div> </form> </div> <div class="mobile-menu-wrap mobile-header-border"> <!--<div class="main-categori-wrap mobile-header-border"> <a class="categori-button-active-2" href="#"> <span class="fi-rs-apps"></span> Browse Categories </a> <div class="categori-dropdown-wrap categori-dropdown-active-small"> <ul> <li><a href="shop-grid-right.html"><i class="evara-font-dress"></i>Women's Clothing</a></li> <li><a href="shop-grid-right.html"><i class="evara-font-tshirt"></i>Men's Clothing</a></li> <li> <a href="shop-grid-right.html"><i class="evara-font-smartphone"></i> Cellphones</a></li> <li><a href="shop-grid-right.html"><i class="evara-font-desktop"></i>Computer & Office</a></li> <li><a href="shop-grid-right.html"><i class="evara-font-cpu"></i>Consumer Electronics</a></li> <li><a href="shop-grid-right.html"><i class="evara-font-home"></i>Home & Garden</a></li> <li><a href="shop-grid-right.html"><i class="evara-font-high-heels"></i>Shoes</a></li> <li><a href="shop-grid-right.html"><i class="evara-font-teddy-bear"></i>Mother & Kids</a></li> <li><a href="shop-grid-right.html"><i class="evara-font-kite"></i>Outdoor fun</a></li> </ul> </div> </div>--> <!-- mobile menu start --> <nav> <ul class="mobile-menu"> <li class="menu-item-has-children"><span class="menu-expand"></span><a href="index.php">Home</a> <!--<ul class="dropdown"> <li><a href="index.html">Home 1</a></li> <li><a href="index-2.html">Home 2</a></li> <li><a href="index-3.html">Home 3</a></li> <li><a href="index-4.html">Home 4</a></li> </ul>--> </li> <li> <a href="about.php">About Us</a> </li> <!--<ul class="dropdown"> <li><a href="shop-grid-right.html">Shop Grid – Right Sidebar</a></li> <li><a href="shop-grid-left.html">Shop Grid – Left Sidebar</a></li> <li><a href="shop-list-right.html">Shop List – Right Sidebar</a></li> <li><a href="shop-list-left.html">Shop List – Left Sidebar</a></li> <li><a href="shop-fullwidth.html">Shop - Wide</a></li> <li class="menu-item-has-children"><span class="menu-expand"></span><a href="#">Single Product</a> <ul class="dropdown"> <li><a href="shop-product-right.html">Product – Right Sidebar</a></li> <li><a href="shop-product-left.html">Product – Left Sidebar</a></li> <li><a href="shop-product-full.html">Product – No sidebar</a></li> </ul> </li> <li><a href="shop-filter.html">Shop – Filter</a></li> <li><a href="shop-wishlist.html">Shop – Wishlist</a></li> <li><a href="shop-cart.html">Shop – Cart</a></li> <li><a href="shop-checkout.html">Shop – Checkout</a></li> <li><a href="shop-compare.html">Shop – Compare</a></li> </ul>--> </li> <li> <a href="Products.php?id=all">Product</a> </li> <!--<ul class="dropdown"> <li class="menu-item-has-children"><span class="menu-expand"></span><a href="#">Women's Fashion</a> <ul class="dropdown"> <li><a href="shop-product-right.html">Dresses</a></li> <li><a href="shop-product-right.html">Blouses & Shirts</a></li> <li><a href="shop-product-right.html">Hoodies & Sweatshirts</a></li> <li><a href="shop-product-right.html">Women's Sets</a></li> </ul> </li> <li class="menu-item-has-children"><span class="menu-expand"></span><a href="#">Men's Fashion</a> <ul class="dropdown"> <li><a href="shop-product-right.html">Jackets</a></li> <li><a href="shop-product-right.html">Casual Faux Leather</a></li> <li><a href="shop-product-right.html">Genuine Leather</a></li> </ul> </li> <li class="menu-item-has-children"><span class="menu-expand"></span><a href="#">Technology</a> <ul class="dropdown"> <li><a href="shop-product-right.html">Gaming Laptops</a></li> <li><a href="shop-product-right.html">Ultraslim Laptops</a></li> <li><a href="shop-product-right.html">Tablets</a></li> <li><a href="shop-product-right.html">Laptop Accessories</a></li> <li><a href="shop-product-right.html">Tablet Accessories</a></li> </ul> </li> </ul>--> </li> <li><a href="purchase-guide.php">Purchase Guide</a></li></a> <!--<ul class="dropdown"> <li><a href="blog-category-grid.html">Blog Category Grid</a></li> <li><a href="blog-category-list.html">Blog Category List</a></li> <li><a href="blog-category-big.html">Blog Category Big</a></li> <li><a href="blog-category-fullwidth.html">Blog Category Wide</a></li> <li class="menu-item-has-children"><span class="menu-expand"></span><a href="#">Single Product Layout</a> <ul class="dropdown"> <li><a href="blog-post-left.html">Left Sidebar</a></li> <li><a href="blog-post-right.html">Right Sidebar</a></li> <li><a href="blog-post-fullwidth.html">No Sidebar</a></li> </ul> </li> </ul>--> </li> <li><a href="qnow.php">Get Quote</a></li> <li> <a href="contact.php">Contact</a> </li> <li> <a href="my.php">My Account</a> </li> <li> <a href="shopcart.php">My Cart</a> </li> <!-- <ul class="dropdown"> <li><a href="page-about.html">About Us</a></li> <li><a href="page-contact.html">Contact</a></li> <li><a href="page-account.html">My Account</a></li> <li><a href="page-login-register.html">login/register</a></li> <li><a href="page-purchase-guide.html">Purchase Guide</a></li> <li><a href="page-privacy-policy.html">Privacy Policy</a></li> <li><a href="page-terms.html">Terms of Service</a></li> <li><a href="page-404.html">404 Page</a></li> </ul>--> <!-- <li class="menu-item-has-children"><span class="menu-expand"></span><a href="#">Language</a> <ul class="dropdown"> <li><a href="#">English</a></li> <li><a href="#">French</a></li> <li><a href="#">German</a></li> <li><a href="#">Spanish</a></li> </ul> </li>--> </ul> </nav> <!-- mobile menu end --> </div> <div class="mobile-header-info-wrap mobile-header-border"> <div class="single-mobile-header-info mt-30"> <a href="contact.html"> Our location </a> </div> <?php if(isset($_SESSION['use'])) // If session is not set then redirect to Login Page { echo '<div class="single-mobile-header-info"><a>'.$_SESSION['use'].'</a></div>'; echo '<div class="single-mobile-header-info"> <a href="logout.php">Logout</a></div>'; } else{ echo '<div class="single-mobile-header-info"> <a href="page-login-register.php">Log In / Sign Up </a> </div>'; } ?> <!--<div class="single-mobile-header-info"> <a href="tel:+91 8655252402">+91 8655252402</a> </div>--> </div> <div class="mobile-social-icon"> <h5 class="mb-15 text-grey-4">Follow Us</h5> <a href="#"><img src="assets/imgs/theme/icons/icon-facebook.svg" alt=""></a> <a href="#"><img src="assets/imgs/theme/icons/icon-twitter.svg" alt=""></a> <a href="#"><img src="assets/imgs/theme/icons/icon-instagram.svg" alt=""></a> <a href="#"><img src="assets/imgs/theme/icons/icon-pinterest.svg" alt=""></a> <a href="#"><img src="assets/imgs/theme/icons/icon-youtube.svg" alt=""></a> </div> </div> </div> </div> <script> function deletecartitem(id){ if (confirm('Do you want to remove product?') == true) { $.ajax({ type: "POST", url: "deleteproduct.php", data: { id:id} }).done(function(data){ location.reload(); }); } }; </script>