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/debutlers.com/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/u615232177/domains/debutlers.com/public_html/menu_details.php
<?php session_start();
$page_name = basename($_SERVER['PHP_SELF']); 
include("header.php"); ?>
<title><?php echo $company_name; ?>  - Menu Details</title>
<?php 
if (isset($_GET['cat'])){
    $cat = mysqli_real_escape_string($con,$_GET['cat']);
    
}
else{echo "<meta http-equiv=\"refresh\" content=\"0; url=index.php\">";exit();}
?>
        <section class="page-header">
            <div class="page-header__bg" style="background-image: url(site_img/general/<?php echo "$gen_img[8]"; ?>);"></div>
            <div class="container">
                <img src="assets/images/shapes/page-header-s-1.png" alt="Restaurant" class="page-header__shape">
                <h2 class="page-header__title"><?php echo $cat ?></h2>
                <ul class="solinom-breadcrumb list-unstyled">
                    <li><a href="index.html">Home</a></li>
                    <li><span><?php echo $cat ?></span></li>
                </ul>
            </div>
        </section>

        
<br><br>
        <section class="lunch-menu">
            <div class="container">
                <div class="row gutter-y-30">
<?php
    $stmt = $con -> prepare('SELECT * FROM meals WHERE category = ?'); 
    $stmt -> bind_param('s',$cat);
    $stmt -> execute(); 
    $stmt -> store_result(); 
    $stmt -> bind_result($id,$category,$name,$description,$price,$picture); 
    $numrows = $stmt -> num_rows();
    if($numrows > 0){
        while ($stmt -> fetch()) { 

?> 
<div class="col-lg-6">                        
    <div class="lunch-menu__item wow fadeInUp" data-wow-duration='1500ms' data-wow-delay='300ms'>
        <div class="lunch-menu__content" style='width:70%;'>
            <h4 class="lunch-menu__content__title"><?php echo $name; ?></h4>
            <p class="lunch-menu__content__text"><?php echo $description ?></p>
        </div>
        <div class="lunch-menu__price" style='width:30%;'>
            <div class="lunch-menu__price__thumb">
               <!-- <img src="assets/images/resturent/dish-1-1.png" alt="solinom image">-->
            </div>
            <span class="lunch-menu__price__item"><?php echo $currency; ?><?php echo number_format((float)$price, 2, '.', ','); ?></span>
        </div>
    </div>
</div> 
<?php } } ?>  
                </div>
            </div>
        </section>

        

<?php include("footer.php"); ?>

Al-HUWAITI Shell