MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.83
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/imyrqtmy/public_html/giftsglobal/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/giftsglobal/shop.php
<?php 
    include("admin/includes/config.php"); 

    ?>
<!doctype html>
<html class="no-js" lang="en">


<?php require "inc/head.php"; ?>

<body>

<!-- Main Wrapper Start -->
<div id="main-wrapper" class="section">
    

    <!-- Header Section Start -->
    <?php require "inc/header.php"; ?>
    <!-- Header Section End -->
    
       
    <!-- Page Banner Section Start-->
    <div class="page-banner-section section" style="background-image: url(img/bg/page-banner.jpg)">
        <div class="container">
            <div class="row">
                
                <!-- Page Title Start -->
                <div class="page-title text-center col">
                    <!--<h1>shop page</h1>-->
                </div><!-- Page Title End -->
            </div>
        </div>
    </div><!-- Page Banner Section End-->

    <!-- Product Section Start-->
<div class="product-section section pt-120 pb-120">
    <div class="container">
        <div class="row">

            <!-- Sidebar with Categories Start-->
            <div class="col-md-3">
                <div class="sidebar">
                    <h4>Categories</h4>
                    <ul class="category-list">

                            <?php
                                $query = "SELECT * FROM categories";
                                $query_run =mysqli_query($conn, $query);
                                    
                                if(mysqli_num_rows($query_run) > 0){
                                    foreach($query_run as $row){    
                            ?>
                                <li><a href="shopbycat.php?category_id=<?php echo $row['id']; ?>"><?php echo $row['cat_name'] ?></a></li>

                                <?php }} ?>
                        <!-- <li><a href="#">Holiday Decor</a></li>
                        <li><a href="#">Christmas Gifts</a></li>
                        <li><a href="#">Winter Collection</a></li>
                        <li><a href="#">New Year Special</a></li> -->
                        <!-- Add more categories as needed -->
                    </ul>
                </div>
            </div>
            <!-- Sidebar with Categories End-->

            <!-- Product Wrapper Start-->
            <div class="col-md-9">
                <div class="row">

                    <!-- Product Start-->

                    <?php
                        // $cat_id = $_GET['category_id'];
                        $query = "SELECT * FROM products";
                        $query_run =mysqli_query($conn, $query);
                            
                        if(mysqli_num_rows($query_run) > 0){
                            foreach($query_run as $row){    
                    ?>

                    <div class="col-lg-4 col-md-6 col-12 mb-60">
                    <div class="product">
                        <div class="image">
                            <a href="product-details.php?id=<?php echo $row['id']; ?>" class="img"><img src="<?php echo "admin/products/" . $row['photo']; ?>" alt="Product"></a>
                        </div>
                        <div class="content">
                            <div class="head fix">
                                <div class="title-category float-left">
                                    <h5 class="title"><a href="product-details.php?id=<?php echo $row['id']; ?>"><?php echo  $row['product_name'];?></a></h5>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                
                <?php }} ?>
                

                 

                <!-- <div class="col-lg-4 col-md-6 col-12 mb-60">
                    <div class="product">
                        <div class="image">
                            <a href="product-details.php" class="img"><img src="img/product/2.jpg" alt="Product"></a>
                        </div>
                        <div class="content">
                            <div class="head fix">
                                <div class="title-category float-left">
                                    <h5 class="title"><a href="product-details.php">Christmas Tree</a></h5>
                                </div>
                            </div>
                        </div>
                    </div>
                </div> -->

                
                <!-- <div class="col-lg-4 col-md-6 col-12 mb-60">
                    <div class="product">
                        <div class="image">
                            <a href="product-details.php" class="img"><img src="img/product/3.jpg" alt="Product"></a>
                        </div>
                        <div class="content">
                            <div class="head fix">
                                <div class="title-category float-left">
                                    <h5 class="title"><a href="product-details.php">Santa Claus Doll</a></h5>
                                </div>
                            </div>
                        </div>
                    </div>
                </div> -->
                
                <!-- Product Start-->
                <!-- <div class="col-lg-4 col-md-6 col-12 mb-60">
                    <div class="product">
                        <div class="image">
                            <a href="product-details.php" class="img"><img src="img/product/4.jpg" alt="Product"></a>
                        </div>
                        <div class="content">
                            <div class="head fix">
                                <div class="title-category float-left">
                                    <h5 class="title"><a href="product-details.php">Holiday Cap</a></h5>
                                </div>
                            </div>
                        </div>
                    </div>
                </div> -->

                <!-- <div class="col-lg-4 col-md-6 col-12 mb-60">
                    <div class="product">
                        <div class="image">
                            <a href="product-details.php" class="img"><img src="img/product/5.jpg" alt="Product"></a>
                        </div>
                        <div class="content">
                            <div class="head fix">
                                <div class="title-category float-left">
                                    <h5 class="title"><a href="product-details.php">Holiday Doll</a></h5>
                                </div>
                            </div>
                            
                        </div>

                    </div>
                    
                </div> -->
                
                <!-- <div class="col-lg-4 col-md-6 col-12 mb-60">
                   
                    <div class="product">
                        <div class="image">
                            <a href="product-details.php" class="img"><img src="img/product/6.jpg" alt="Product"></a>
                        </div>
                        

                        <div class="content">
                            
                           
                            <div class="head fix">
                               
                               
                                <div class="title-category float-left">
                                    <h5 class="title"><a href="product-details.php">Holiday Candle</a></h5>
                                 
                                </div>
                            </div>
                        </div>

                    </div>
                    
                </div> -->
            
                
            </div>
            <!-- Product Wrapper End-->


                    <!-- Repeat similar product structure for other products -->
                    
                </div><!-- Product Row End-->
            </div><!-- Product Wrapper End-->

        </div><!-- Row End-->
    </div><!-- Container End-->
</div><!-- Product Section End-->

    
       
    <!-- Product Section Start-->
    <!-- <div class="product-section section pt-120 pb-120">
        <div class="container">
            
           
            <div class="row">
                
               
                <div class="col-lg-4 col-md-6 col-12 mb-60">
                    <div class="product">
                        <div class="image">
                            <a href="product-details.php" class="img"><img src="img/product/1.jpg" alt="Product"></a>
                        </div>
                        <div class="content">
                            <div class="head fix">
                                <div class="title-category float-left">
                                    <h5 class="title"><a href="product-details.php">Holiday Candle</a></h5>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                

                <div class="col-lg-4 col-md-6 col-12 mb-60">
                    <div class="product">
                        <div class="image">
                            <a href="product-details.php" class="img"><img src="img/product/2.jpg" alt="Product"></a>
                        </div>
                        <div class="content">
                            <div class="head fix">
                                <div class="title-category float-left">
                                    <h5 class="title"><a href="product-details.php">Christmas Tree</a></h5>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="col-lg-4 col-md-6 col-12 mb-60">
                    <div class="product">
                        <div class="image">
                            <a href="product-details.php" class="img"><img src="img/product/3.jpg" alt="Product"></a>
                        </div>
                        <div class="content">
                            <div class="head fix">
                                <div class="title-category float-left">
                                    <h5 class="title"><a href="product-details.php">Santa Claus Doll</a></h5>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
               
                <div class="col-lg-4 col-md-6 col-12 mb-60">
                    <div class="product">
                        <div class="image">
                            <a href="product-details.php" class="img"><img src="img/product/4.jpg" alt="Product"></a>
                        </div>
                        <div class="content">
                            <div class="head fix">
                                <div class="title-category float-left">
                                    <h5 class="title"><a href="product-details.php">Holiday Cap</a></h5>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-lg-4 col-md-6 col-12 mb-60">
                    <div class="product">
                        <div class="image">
                            <a href="product-details.php" class="img"><img src="img/product/5.jpg" alt="Product"></a>
                        </div>
                        <div class="content">
                            <div class="head fix">
                                <div class="title-category float-left">
                                    <h5 class="title"><a href="product-details.php">Holiday Doll</a></h5>
                                </div>
                            </div>
                            
                        </div>

                    </div>
                    
                </div>
                
                <div class="col-lg-4 col-md-6 col-12 mb-60">
                   
                    <div class="product">
                        <div class="image">
                            <a href="product-details.php" class="img"><img src="img/product/6.jpg" alt="Product"></a>
                        </div>
                        
                        
                        <div class="content">
                            
                          
                            <div class="head fix">
                               
                               
                                <div class="title-category float-left">
                                    <h5 class="title"><a href="product-details.php">Holiday Candle</a></h5>
                                  
                                </div>
                            </div>
                        </div>

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

       
    <!-- Footer Section Start-->
    <?php require "inc/footer.php"; ?>
    <!-- Footer Section End-->
    

</div><!-- Main Wrapper End -->

<!-- JS
============================================ -->

<!-- jQuery JS -->
<script src="js/vendor/jquery-1.12.0.min.js"></script>
<script src="js/vendor/jquery-migrate-1.4.1.min.js"></script>
<!-- Popper JS -->
<script src="js/popper.min.js"></script>
<!-- Bootstrap JS -->
<script src="js/bootstrap.min.js"></script>
<!-- Plugins JS -->
<script src="js/plugins.js"></script>
<!-- Ajax Mail JS -->
<script src="js/ajax-mail.js"></script>
<!-- Main JS -->
<script src="js/main.js"></script>
</body>

</html>

MMCT - 2023