Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux us-phx-web1202.main-hosting.eu 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64
User : u615232177 ( 615232177)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /home/u615232177/domains/poiseseat.com/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/u615232177/domains/poiseseat.com/public_html/header.php
<?php include("minks.php"); ?>
<?php
if (isset($_SESSION['email'])){
	$email = $_SESSION['email'];
	$first_name = $_SESSION['first_name'];
	$user_id = $_SESSION['user_id'];
	}
else{
	$email ="";
	$first_name = "";
	$user_id = "";
    }
	?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!--===============================================================================================-->
    <link rel="icon" type="image/png" href="images/favicon.png" />
    <!--===============================================================================================-->
    <link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css">
    <!--===============================================================================================-->
    <link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/font-awesome.min.css">
    <!--===============================================================================================-->
    <link rel="stylesheet" type="text/css" href="fonts/themify/themify-icons.css">
    <!--===============================================================================================-->
    <link rel="stylesheet" type="text/css" href="fonts/Linearicons-Free-v1.0.0/icon-font.min.css">
    <!--===============================================================================================-->
    <link rel="stylesheet" type="text/css" href="fonts/elegant-font/html-css/style.css">
    <!--===============================================================================================-->
    <link rel="stylesheet" type="text/css" href="vendor/animate/animate.css">
    <!--===============================================================================================-->
    <link rel="stylesheet" type="text/css" href="vendor/css-hamburgers/hamburgers.min.css">
    <!--===============================================================================================-->
    <link rel="stylesheet" type="text/css" href="vendor/animsition/css/animsition.min.css">
    <!--===============================================================================================-->
    <link rel="stylesheet" type="text/css" href="vendor/select2/select2.min.css">
    <!--===============================================================================================-->
    <link rel="stylesheet" type="text/css" href="vendor/daterangepicker/daterangepicker.css">
    <!--===============================================================================================-->
    <link rel="stylesheet" type="text/css" href="vendor/slick/slick.css">
    <!--===============================================================================================-->
    <link rel="stylesheet" type="text/css" href="vendor/lightbox2/css/lightbox.min.css">
    <!--===============================================================================================-->
    <link rel="stylesheet" type="text/css" href="css/util.css">
    <link rel="stylesheet" type="text/css" href="css/main.css">
    <!--===============================================================================================-->
    <link href="https://fonts.googleapis.com/css?family=Montserrat:100,300,400,700,900&display=swap" rel="stylesheet">

    <!-- lightbox for images -->
    <link rel="stylesheet" href="popup_master/magnific-popup.css">
    <link href="aos/aos.css" rel="stylesheet">
</head>

<body class="animsition">

    <!-- Header -->
    <header class="header1">
        <!-- Header desktop -->
        <div class="container-menu-header">
            <div class="topbar">
                <div class="topbar-social">
                    <a href="https://instagram.com/" class="topbar-social-item fa fa-instagram" style='color:crimson;'></a>
                    <a href="https://wa.link/" class="topbar-social-item fa fa-whatsapp" style='color:forestgreen;'></a>
                </div>

                <span class="topbar-child1">
                    <?php
	$stmt_ann = $con -> prepare('SELECT * FROM announcements'); 
	$stmt_ann -> execute(); 
	$stmt_ann -> store_result(); 
	$stmt_ann -> bind_result($iddddd,$top_parag); 
	$numrows_ann = $stmt_ann -> num_rows();
	if($numrows_ann > 0){
		while ($stmt_ann -> fetch()) { 
echo"$top_parag";
 } } ?>
                </span>

                <div class="topbar-child2">
                    <span class="topbar-email">
                        <?php echo $company_email; ?>
                    </span>


                </div>
            </div>

            <div class="wrap_header">
                <!-- Logo -->
                <a href="index.php" class="logo">
                    <img src="images/logo.png" alt="IMG-LOGO">
                </a>

                <!-- Menu -->
                <div class="wrap_menu">
                    <nav class="menu">
                        <ul class="main_menu">
                            <li <?php if($page_name =="index.php"){echo"class='sale-noti'";} ?>>
                                <a href="index.php">Home</a>
                            </li>
                            <li <?php if($page_name =="shop.php"){echo"class='sale-noti'";} ?>>
                                <a href="shop.php">Shop</a>
                            </li>

                            <li>
                                <a href="#">Categories</a>
                                <ul class="sub_menu">
                                    <?php 
	$get_categories = mysqli_query($con,"SELECT * FROM categories");
		$count_categories = mysqli_num_rows($get_categories);
		if($count_categories > 0){
			while($row = mysqli_fetch_array($get_categories)){
			$cat_id = $row["cat_id"];
			$cat_title = $row["cat_title"];
			echo"
				<li><a href='categories.php?id=$cat_id&nm=$cat_title'>$cat_title</a></li>	
			";
			
			}//end of while loop
		}
?>

                                </ul>
                            </li>

                            <li>
                                <a href="#">Account</a>
                                <ul class="sub_menu">
                                    <li><a href="your_account.php">Account</a></li>
                                    <li><a href="your_orders.php">Orders</a></li>
                                    <li><a href="cart.php">Cart</a></li>
                                    <?php if(isset($_SESSION["user_id"])){ ?>
                                    <li><a href="logout.php">Logout</a></li>
                                    <?php } ?>
                                </ul>
                            </li>

                            <li>
                                <a href="book.php">Book Appointment</a>
                            </li>

                            <li>
                                <a href="contact.php">Contact</a>
                            </li>
                        </ul>
                    </nav>
                </div>

                <!-- Header Icon -->
                <div class="header-icons">
                    <?php 
					if(!isset($_SESSION["user_id"])){echo"
						<a href='sign_in.php'>Sign in</a>&nbsp;&nbsp; <a href='sign_up.php'>Sign up</a>
					";}
					else{echo"
						&nbsp;
						<a href='your_account.php' class='header-wrapicon1 dis-block'>
							<img title='Hello' src='images/icons/icon-header-01.png' class='header-icon1'>
						</a>
					";}
					?>


                    <span class="linedivide1"></span>

                    <div class="header-wrapicon2">
                        <img src="images/icons/icon-header-02.png" class="header-icon1 js-show-header-dropdown" alt="ICON">
                        <a href="cart.php" class="w3view-cart"><span class="header-icons-noti badge">0</span></a>

                        <!-- Header cart noti -->
                        <div class="header-cart header-dropdown">
                            <div id="cart_product"></div>

                            <div class="header-cart-buttons">
                                <div class="header-cart-wrapbtn">
                                    <!-- Button -->

                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Header Mobile -->
        <div class="wrap_header_mobile">
            <!-- Logo moblie -->
            <a href="index.php" class="logo-mobile">
                <img src="images/logo.png" alt="">
            </a>

            <!-- Button show menu -->
            <div class="btn-show-menu">
                <!-- Header Icon mobile -->
                <div class="header-icons-mobile">
                    <?php 
					if(!isset($_SESSION["user_id"])){echo"
						
					";}
					else{echo"
						<a href='your_account.php' class='header-wrapicon1 dis-block'>
							<img title='Hello!' src='images/icons/icon-header-01.png' class='header-icon1'>
						</a>
					";}
					?>

                    <span class="linedivide2"></span>

                    <div class="header-wrapicon2">
                        <img src="images/icons/icon-header-02.png" class="header-icon1 js-show-header-dropdown" alt="ICON">
                        <span class="header-icons-noti badge">0</span>

                        <div class="header-cart header-dropdown">
                            <div id="cart_product_mobile"></div>
                            <div class="header-cart-buttons">
                                <div class="header-cart-wrapbtn">


                                </div>
                                <div class="header-cart-wrapbtn">


                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="btn-show-menu-mobile hamburger hamburger--squeeze">
                    <span class="hamburger-box">
                        <span class="hamburger-inner"></span>
                    </span>
                </div>
            </div>
        </div>

        <!-- Menu Mobile -->
        <div class="wrap-side-menu">
            <nav class="side-menu">
                <ul class="main-menu">
                    <li class="item-topbar-mobile p-l-20 p-t-8 p-b-8">
                        <span class="topbar-child1">

                        </span>
                    </li>

                    <li class="item-topbar-mobile p-l-20 p-t-8 p-b-8">
                        <div class="topbar-child2-mobile">
                            <span class="topbar-email">
                                <?php echo $company_email; ?>
                            </span>


                        </div>
                    </li>

                    <li class="item-topbar-mobile p-l-10">
                        <div class="topbar-social-mobile">
                            <a href="https://instagram.com/" class="topbar-social-item fa fa-instagram"></a>
                            <a href="https://wa.link/" class="topbar-social-item fa fa-whatsapp"></a>
                        </div>
                    </li>

                    <li class="item-menu-mobile">
                        <a href="index.php">Home</a>
                    </li>
                    <li class="item-menu-mobile">
                        <a href="shop.php">Shop</a>
                    </li>

                    <li class='item-menu-mobile'>
                        <a>Categories</a>
                        <ul class="sub-menu">
                            <?php 
	$get_categories = mysqli_query($con,"SELECT * FROM categories");
		$count_categories = mysqli_num_rows($get_categories);
		if($count_categories > 0){
			while($row = mysqli_fetch_array($get_categories)){
			$cat_id = $row["cat_id"];
			$cat_title = $row["cat_title"];
			echo"
				<li><a href='categories.php?id=$cat_id&nm=$cat_title'>$cat_title</a></li>	
			";
			
			}//end of while loop
		}
?>

                        </ul>
                        <i class="arrow-main-menu fa fa-angle-right" aria-hidden="true"></i>
                    </li>



                    <li class="item-menu-mobile">
                        <a href="#">Account</a>
                        <ul class="sub-menu">
                            <li><a href="your_account.php">Account</a></li>
                            <li><a href="cart.php">Cart</a></li>
                            <li><a href="your_orders.php">Orders</a></li>
                            <?php if(isset($_SESSION["user_id"])){ ?>
                            <li><a href="logout.php">logout</a>
                            </li>
                            <?php } ?>
                        </ul>
                        <i class="arrow-main-menu fa fa-angle-right" aria-hidden="true"></i>
                    </li>

                    <li class='item-menu-mobile'>
                        <a href="book.php">Book Appointment</a>
                    </li>

                    <li class="item-menu-mobile">
                        <a href="contact.php">Contact us</a>
                    </li>
                    <?php 
					if(isset($_SESSION["user_id"])){
						echo"
						
						<li class='item-menu-mobile'>
							<a href='logout.php'>Logout</a>
						</li>
						";
					}
					else{
						echo"
						<li class='item-menu-mobile'>
							<a href='sign_up.php'>Sign up</a>
						</li>
						<li class='item-menu-mobile'>
							<a href='your_account.php'>Account</a>
						</li>
						";
					}
					?>
                </ul>
            </nav>
        </div>
    </header>

Al-HUWAITI Shell