ok

Mini Shell

Direktori : /proc/self/root/proc/thread-self/root/proc/self/root/home2/selectio/www/ramali.in/
Upload File :
Current File : //proc/self/root/proc/thread-self/root/proc/self/root/home2/selectio/www/ramali.in/header2.php

text/x-generic header.php ( HTML document, ASCII text, with CRLF line terminators )
<?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 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" />

    <title>Ramali Textiles</title>

    <!-- 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;
    }
</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>
                    </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="#" class="mobile-menu-toggle  w-icon-hamburger" aria-label="menu-toggle">
                        </a>
                        <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">
                            <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;">
                                     <?php if(isset($_SESSION['ramali_textiles'])){ echo "Welcome <br>".$_SESSION['ramali_textiles']['name'];}else{ echo " Login  ";} ?> 
                                </span>
                            </a>
                        </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>
                        <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>
                        <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">
                            
                            <div class="dropdown category-dropdown show-dropdown" data-visible="true">
                                <!--<a href="#" class="text-white category-toggle" role="button" data-toggle="dropdown"
                                    aria-haspopup="true" aria-expanded="true" data-display="static"
                                    title="Browse Categories" style="background: #ec1f24;">
                                    <i class="w-icon-category"></i>
                                    <span>Top Categories</span>
                                </a>-->
                                    
                                <div class="dropdown-box">
                                    
                                    <?php 
                                        $statement1 = $pdo->prepare("SELECT * FROM `product_ads`");
                            			$statement1->execute();
                            			$res_adver = $statement1->fetchAll(PDO::FETCH_ASSOC);
                            			foreach ($res_adver as $row_advertise) {
                                    ?>
                                    
                                    
                                    <div class="category-banner banner banner-fixed br-sm" style="width: 135%;margin-top: 11%;">
                                        <figure>
                                            <img src="dashboard/upload/product-advt/<?=$row_advertise['ad1']?>" alt="Category" width="330" height="239" style="height: 293px;background-color: #605959;">
                                        </figure>
                                        
                                    </div>
                                    
                                    <?php } ?>
                                    
                                    
                                </div>
                            </div>
                            <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"; ?>

Zerion Mini Shell 1.0