ok
Direktori : /proc/thread-self/root/proc/self/root/home2/selectio/public_html/ramali.in/ |
Current File : //proc/thread-self/root/proc/self/root/home2/selectio/public_html/ramali.in/header.php |
<?php include"config/config.php"; session_start(); $cart_count=0; if(isset($_SESSION['ramali_textiles'])){ $statementp=$pdo->prepare("SELECT * FROM `cart` where user_id=? group by product_id"); $statementp->execute(array($_SESSION['ramali_textiles']['id'])); $cart_count=$statementp->rowCount(); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> <title>Ramali Textiles</title> <meta name="theme-color" content="#ff4c3b" /> <meta name="keywords" content="yes" /> <meta name="description" content="black" /> <meta name="description" content="multikart" /> <meta name="author" content="images/logo/ramali_logo.png" /> <meta name="msapplication-TileColor" content="#FFFFFF" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <!-- Favicon --> <link rel="icon" type="image/png" href="images/logo/ramali_logo.png"> <!-- WebFont.js --> <script> WebFontConfig = { google: { families: ['Poppins:400,600,500,700,800', 'Zeyada: 400'] } }; (function (d) { var wf = d.createElement('script'), s = d.scripts[0]; wf.src = 'assets/js/webfont.js'; wf.async = true; s.parentNode.insertBefore(wf, s); })(document); </script> <link rel="preload" href="assets/vendor/fontawesome-free/webfonts/fa-regular-400.woff2" as="font" type="font/woff2" crossorigin="anonymous"> <link rel="preload" href="assets/vendor/fontawesome-free/webfonts/fa-solid-900.woff2" as="font" type="font/woff2" crossorigin="anonymous"> <link rel="preload" href="assets/vendor/fontawesome-free/webfonts/fa-brands-400.woff2" as="font" type="font/woff2" crossorigin="anonymous"> <link rel="preload" href="assets/fonts/wolmart87d5.woff?png09e" as="font" type="font/woff" crossorigin="anonymous"> <!-- Vendor CSS --> <link rel="stylesheet" type="text/css" href="assets/vendor/fontawesome-free/css/all.min.css"> <!-- Plugins CSS --> <link rel="stylesheet" href="assets/vendor/swiper/swiper-bundle.min.css"> <link rel="stylesheet" type="text/css" href="assets/vendor/animate/animate.min.css"> <link rel="stylesheet" type="text/css" href="assets/vendor/magnific-popup/magnific-popup.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css"> <!-- Default CSS --> <link rel="stylesheet" type="text/css" href="assets/css/demo3.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css"> </head> <style> .account .w-icon-account{ color: #ec1f24; border: 1px solid rgb(235 30 36); } .header-top .header-right a{ color: antiquewhite; font-size: 14px; } .minipopup-area{ display: none; } a.wishlist.label-down.link.d-xs-show { position: fixed; right: -2px; bottom: 100px; z-index: 20; /* width: 86px; */ } a.wishlist.label-down.link.d-xs-show img { width: 40px; } form.header-search.hs-expanded.hs-round.d-none.d-md-flex.input-wrapper.naved { display: none !important; } /*@media (max-width: 479px){*/ @media (min-width: 340px) and (max-width: 479px) { .logo img { width: 50% !important; text-align: left !important; } .logo { float: left; width: 100%; } a.wishlist.label-down.link.d-xs-show { display: flex !important; } i.w-icon-user { display: flex; } .header-middle { margin: 0% !important; } .header-middle { padding-bottom: 0px; } .header-right.ml-4 { padding-right: 15px !important; } a.compare.label-down.link.d-xs-show { display: flex !important; } .account.align-items-center.d-sm-show { display: flex !important; } a.login.inline-type.d-flex.ls-normal.d-lg-show.login.sign-in.login_btn { display: flex !important; } i.w-icon-account.d-flex.align-items-center.justify-content-center.br-50 { width: 30px; height: 30px; font-size: 15px; } a.wishlist.label-down.link.d-xs-show img { width:30px !important; } i.w-icon-user { font-size: 26px; padding-top: 4px; } .dropdown.cart-dropdown.cart-offcanvas.mr-0.mr-lg-2 { padding-top: 8px; } .header-right.ml-4 { padding-top: 20px; } a.wishlist.label-down.link.d-xs-show { position: fixed; right: 20px; bottom: 40px; z-index: 20; /* width: 86px; */ } .intro-slide { min-height: 20rem; } h4.category-name { font-size: 14px !important; } form.header-search.hs-expanded.hs-round.d-none.d-md-flex.input-wrapper.naved { display: block !important; } form.header-search.hs-expanded.hs-round.d-none.d-md-flex.input-wrapper.naved { display: flex !important; padding-left: 15px; padding-right: 15px; padding-top: 15px; } .navi { width: 100% !important; float: left !important; } } </style> <body class="home"> <div class="page-wrapper"> <h1 class="d-none"> Ramali Textiles </h1> <!-- Start of Header --> <header class="header"> <div class="header-top" style="background: #0088cc;height: 35px;"> <div class="container"> <div class="header-left"> <span class="divider d-lg-show"></span> <a href="#" class="d-lg-show" style="color: white;font-size: 13px;">Email : ramali@gmail.com</a> <span class="delimiter d-lg-show" style="padding: 6px;color: white;">/</span> <a href="tel: +91 9842759883" class="ml-0 d-lg-show login register" style="color: white;font-size: 13px;">Phone : +91 9842759883</a> <a href="#" class="mobile-menu-toggle w-icon-hamburger text-white" aria-label="menu-toggle"> </a> </div> <div class="header-right"> <span class="divider d-lg-show"></span> <?php if(isset($_SESSION['ramali_textiles'])){ ?> <a href="logout.php"><i class="bi bi-box-arrow-left"></i> Logout</a> <?php } ?> <?php if(!isset($_SESSION['ramali_textiles'])){ ?> <a href="register.php" style="padding-left: 10px;"> <i class="bi bi-clipboard-check"></i> Register</a> <?php } ?> </div> </div> </div> <!-- End of Header Top --> <div class="header-middle" style="margin-bottom: -4%;padding-top: 0%;"> <div class="container"> <div class="header-left mr-md-4"> <a href="index.php" class="logo ml-lg-0"> <img src="images/logo/ramali_logo.png" alt="logo" width="144" height="45" /> </a> <form method="get" action="#" class="header-search hs-expanded hs-round d-none d-md-flex input-wrapper"> <div class="select-box"> <select id="category" name="category" class="pb-0"> <option value="">All Categories</option> <?php $statement = $pdo->prepare("SELECT * FROM category"); $statement->execute(); $category_name = $statement->fetchAll(PDO::FETCH_ASSOC); foreach ($category_name as $row) { ?> <option value="4"><?=$row['name']?></option> <?php } ?> </select> </div> <input type="text" class="form-control" name="search" id="search" placeholder="Search in..." required /> <button class="btn btn-search" type="submit"><i class="w-icon-search"></i> </button> </form> </div> <div class="header-right ml-4"> <div class="account align-items-center d-sm-show"> <?php if(isset($_SESSION['ramali_textiles'])){ ?> <a class="login inline-type d-flex ls-normal" href="#"> <i class="w-icon-account d-flex align-items-center justify-content-center br-50"></i> <span class="d-flex flex-column justify-content-center ml-3 d-xl-show" style="color: #ec1f24;"> <?= "Welcome <br>".$_SESSION['ramali_textiles']['name']; ?> </a> <?php }else{ ?> <a class="login inline-type d-flex ls-normal d-lg-show login sign-in login_btn" href="assets/ajax/login.php"> <i class="w-icon-account d-flex align-items-center justify-content-center br-50"></i> <span class="d-flex flex-column justify-content-center ml-3 d-xl-show" style="color: #ec1f24;"> Login </a> <?php } ?> </span> </div> <a class="wishlist label-down link d-xs-show" target="_blank" href="https://wa.me/+917010081739?text='For Any Enquiry'"> <img src="images/whatsapp.png"> </a> <?php if(isset($_SESSION['ramali_textiles'])){ ?> <a class="compare label-down link d-xs-show" href="my-account.php"> <i class="w-icon-user"></i> <span class="compare-label d-lg-show">My Account</span> </a> <?php } ?> <div class="dropdown cart-dropdown cart-offcanvas mr-0 mr-lg-2"> <div class="cart-overlay"></div> <a href="cart-details.php" class="label-down link"> <i class="w-icon-cart"> <span class="cart-count" id="cart_items_count"><?=$cart_count?></span> </i> <span class="cart-label">Cart</span> </a> <div class="dropdown-box"> <div class="cart-header"> <span>Shopping Cart</span> <a href="#" class="btn-close">Close<i class="w-icon-long-arrow-right"></i></a> </div> <div class="products"> <div class="product product-cart"> <div class="product-detail"> <a href="#" class="product-name">Beige knitted elas<br>tic runner shoes</a> <div class="price-box"> <span class="product-quantity">1</span> <span class="product-price">$25.68</span> </div> </div> <figure class="product-media"> <a href="#"> <img src="assets/images/cart/product-1.jpg" alt="product" height="84" width="94" /> </a> </figure> <button class="btn btn-link btn-close" aria-label="button"> <i class="fas fa-times"></i> </button> </div> <div class="product product-cart"> <div class="product-detail"> <a href="#" class="product-name">Blue utility pina<br>fore denim dress</a> <div class="price-box"> <span class="product-quantity">1</span> <span class="product-price">$32.99</span> </div> </div> <figure class="product-media"> <a href="#"> <img src="assets/images/cart/product-2.jpg" alt="product" width="84" height="94" /> </a> </figure> <button class="btn btn-link btn-close" aria-label="button"> <i class="fas fa-times"></i> </button> </div> </div> <div class="cart-total"> <label>Subtotal:</label> <span class="price">$58.67</span> </div> <div class="cart-action"> <a href="#" class="btn btn-dark btn-outline btn-rounded">View Cart</a> <a href="#" class="btn btn-primary btn-rounded">Checkout</a> </div> </div> <!-- End of Dropdown Box --> </div> </div> </div> </div> <!-- End of Header Middle --> <div class="header-bottom sticky-content fix-top sticky-header has-dropdown" style="background: #08c;"> <div class="container-fluid"> <div class="inner-wrap"> <div class="header-left"> <nav class="main-nav"> <ul class="menu active-underline"> <?php $statement = $pdo->prepare("SELECT * FROM category"); $statement->execute(); $category_name = $statement->fetchAll(PDO::FETCH_ASSOC); foreach ($category_name as $row) { ?> <li> <a href="category.php?category=<?=$row['id']?>"><?=$row['name']?></a> <ul> <?php $statement = $pdo->prepare("SELECT * FROM `subcategory` WHERE category_id=".$row['id'].""); $statement->execute(); $sub_category_name = $statement->fetchAll(PDO::FETCH_ASSOC); foreach ($sub_category_name as $row_sub) { ?> <li> <a href="category.php?sub_category=<?=$row['id']?>"><?=$row_sub['name']?></a> </li> <?php } ?> </ul> <!-- End of Megamenu --> </li> <?php } ?> </ul> </nav> </div> </div> </div> </div> </header> <!-- End of Header --> <?php //include "assets-header-js.php"; ?>