<?php include_once('include/main.inc.php');
$hover = "home";
$homepage = mysqli_query($GLOBALS['dbconn'], "select pageDesc,pageTitle, pageImage, page_keyword, page_metadesc, page_metatitle, pageBanner from static_pages where pageID='1' and status='Y'");
$home_res = mysqli_fetch_array($homepage);
$page_metatitle = $home_res['page_metatitle'];
$page_metakey = $home_res['page_keyword'];
$page_metadesc = $home_res['page_metadesc'];
$blog = mysqli_query($GLOBALS['dbconn'], "select blogDate,catImage,catName,blogDname,catDesc,blog_written from blog_tbl order by catID DESC  limit 0,3");
if (strpos($_SERVER['REQUEST_URI'], "?") !== false) {
    $uri_parts = explode('?', $_SERVER['REQUEST_URI']);
    $linksLoc = $uri_parts[0];
    header("Location: " . site_url . $linksLoc);
    exit;
}

?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <?php include "app_top.php"; ?>
</head>

<body>
    <?php include "app_header.php"; ?>
    <div class="home_slider">
        <div id="carouselExampleAutoplaying" class="carousel slide carousel-fade" data-bs-ride="carousel" data-bs-interval="3000" data-bs-pause="false">
            <div class="carousel-inner">
                <?php
                $i = 1;
                $sql_banner = mysqli_query($GLOBALS['dbconn'], "Select bannerImage, personName  from banner_tbl where status='Y' order by bannerorder ASC");
                while ($res_banner = mysqli_fetch_array($sql_banner)) {
                ?>
                    <div class="carousel-item <?= $i == 1 ? 'active' : ''; ?>">
                        <picture>
                            <source media="(max-width:650px)" srcset="<?= getImage($res_banner['bannerImage'], 800, 355, $res_banner['personName'], "/uploaded-files/banner-image/"); ?>">
                            <img <?= $i == 1 ? 'fetchpriority="high"' : ''; ?> src="<?= site_url; ?>/uploaded-files/banner-image/<?= $res_banner['bannerImage']; ?>" alt="<?= $res_banner['personName']; ?> in <?= $admin_res['targetlocation']; ?>" title="<?= $res_banner['personName']; ?> in <?= $admin_res['targetlocation']; ?>" width="1600" height="583">
                        </picture>
                    </div>
                <?php $i++;
                } ?>
            </div>
            <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleAutoplaying" data-bs-slide="prev">
                <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                <span class="visually-hidden">Previous</span>
            </button>
            <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleAutoplaying" data-bs-slide="next">
                <span class="carousel-control-next-icon" aria-hidden="true"></span>
                <span class="visually-hidden">Next</span>
            </button>
        </div>
    </div>
    <section class="welcomeSection">
        <div class="container">
            <div class="welcomeText">
                <h1>Kids Indoor and Outdoor <span>Play Equipments in Delhi</span></h1>
                <?= html_entity_decode($home_res['pageDesc']); ?>
                <a class="read_more" href="<?= site_url; ?>/about-us.htm" title="View More">View More About</a>
            </div>
        </div>
    </section>
    <section class="home_featured">
        <div class="container-fluid">
            <div class="title_2">Hot Selling Products</div>
            <p class="text-center">Check out our latest collection of <strong>school furniture</strong> and<strong>Composite Science Lab Setup</strong>.</p>
            <div class="clearfix"></div>
            <div class="categorySlider">
                <div class="swiper-wrapper">
                    <?php
                    $home_cat1 = mysqli_query($GLOBALS['dbconn'], "select catImage, catName, displayName, catDesc, catID from category_tbl where home_category='1' and status='Y' order by homeorder asc limit 0,10");
                    while ($home_cat_res2 = mysqli_fetch_assoc($home_cat1)) {
                        if ($home_cat_res2['catImage'] != '') {
                            $imglink = getImage($home_cat_res2[catImage], 451, 451, $home_cat_res2[catName], "/uploaded-files/category/images/");
                        } else {
                            $imglink = getImage("noimage.png", 451, 451, "noimages", "/uploaded-files/category/images/");
                        }
                    ?>
                        <div class="swiper-slide">
                            <div class="feature_item wow fadeInDown" data-wow-delay=".2s">
                                <a href="<?= site_url; ?>/<?= getValidFileName($home_cat_res2['catName']); ?>.htm"
                                    title="<?= $home_cat_res2['displayName']; ?> in <?= $admin_res['targetlocation']; ?>">
                                    <div class="feature_image">
                                        <div class="image">
                                            <img loading="lazy" src="<?= site_url; ?>/designer/images/loader.gif" class="lozad"
                                                data-src="<?= $imglink; ?>"
                                                alt="<?= $home_cat_res2['displayName']; ?> in <?= $admin_res['targetlocation']; ?>"
                                                title="<?= $home_cat_res2['displayName']; ?> in <?= $admin_res['targetlocation']; ?>" width="451" height="451">
                                        </div>
                                    </div>
                                </a>
                                <div class="feature_sec">
                                    <h4 class="title_h3 p-0"><a
                                            href="<?= site_url; ?>/<?= getValidFileName($home_cat_res2['catName']); ?>.htm"
                                            title="<?= $home_cat_res2['displayName']; ?> in <?= $admin_res['targetlocation']; ?>"><?= $home_cat_res2['displayName']; ?></a>
                                    </h4>
                                    <a class="read_more"
                                        href="<?= site_url; ?>/<?= getValidFileName($home_cat_res2['catName']); ?>.htm"
                                        title="View More">View More</a>
                                </div>
                            </div>
                        </div>
                    <?php } ?>
                </div>
                <div class="swiper-pagination"></div>
            </div>
        </div>
    </section>
    <div class="why_choose_us">
        <div class="container">
            <div class="row">
                <div class="col-lg-12 col-md-12 text-center wow zoomIn" data-wow-delay=".1s">
                    <div class="title_2">Why <span>Choose Us</span></div>
                    <p class="whyText">Choose Picano Interio LLP for innovative, durable, and aesthetically pleasing
                        furniture solutions. With a commitment to quality, we transform spaces and exceed expectations.
                        Your satisfaction is our priority.</p>
                </div>
                <div class="clearfix"></div>
                <div class="advantage-list">
                    <div class="row">
                        <div class="col-lg-4 col-md-4 wow fadeInLeft" data-wow-delay=".2s">
                            <div class="number">01</div>
                            <div class="advantage-block">
                                <div class="title3">Exceptional Quality</div>
                                <p>Uncompromising commitment to premium materials and craftsmanship ensures furniture
                                    that stands the test of time.</p>
                            </div>
                        </div>
                        <div class="col-lg-4 col-md-4 wow zoomIn" data-wow-delay=".3s">
                            <div class="number">02</div>
                            <div class="advantage-block">
                                <div class="title3">Innovative Designs</div>
                                <p>Stay ahead with our cutting-edge designs, blending functionality and aesthetics for
                                    spaces that inspire and impress.</p>
                            </div>
                        </div>
                        <div class="col-lg-4 col-md-4 wow fadeInRight" data-wow-delay=".4s">
                            <div class="number">03</div>
                            <div class="advantage-block">
                                <div class="title3">Customer-Centric Approach</div>
                                <p>Your satisfaction is our priority. We listen, understand, and tailor solutions to
                                    meet your unique needs.</p>
                            </div>
                        </div>
                        <div class="col-lg-4 col-md-4 wow fadeInLeft" data-wow-delay=".5s">
                            <div class="number">04</div>
                            <div class="advantage-block">
                                <div class="title3">Diverse Product Range:</div>
                                <p>From classrooms to offices, our extensive product line caters to diverse
                                    requirements, ensuring a one-stop solution.</p>
                            </div>
                        </div>
                        <div class="col-lg-4 col-md-4 wow zoomIn" data-wow-delay=".6s">
                            <div class="number">05</div>
                            <div class="advantage-block">
                                <div class="title3">Sustainable Practices:</div>
                                <p>We embrace eco-friendly practices, prioritizing sustainability in our manufacturing
                                    processes for a greener future.</p>
                            </div>
                        </div>
                        <div class="col-lg-4 col-md-4 wow fadeInRight" data-wow-delay=".6s">
                            <div class="number">06</div>
                            <div class="advantage-block">
                                <div class="title3">Timely Delivery</div>
                                <p>Count on us for prompt and reliable delivery, ensuring your projects are completed
                                    seamlessly and on schedule.</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <section class="services-style5-area">
        <div class="container">
            <div class="title_2">Composite Science Lab Setup</div>
            <div class="clearfix"></div>
            <div class="row">
                <?php
                $home_cat11 = mysqli_query($GLOBALS['dbconn'], "select catImage, catName, displayName, catDesc, catID from category_tbl where parentID='4' and status='Y' order by catOrder asc limit 0,6");
                while ($home_cat_res2 = mysqli_fetch_assoc($home_cat11)) {
                    if ($home_cat_res2['catImage'] != '') {
                        $imglink = getImage($home_cat_res2[catImage], 516, 516, $home_cat_res2[catName], "/uploaded-files/category/images/");
                    } else {
                        $imglink = getImage("noimage.png", 516, 516, "noimages", "/uploaded-files/category/images/");
                    }
                ?>
                    <div class="col-lg-4 col-md-4 wow fadeInLeft" data-wow-delay=".1s">
                        <div class="single-service-style5">
                            <div class="img-holder">
                                <div class="inner">
                                    <img loading="lazy" src="<?= $imglink; ?>"
                                        alt="<?= $home_cat_res2['displayName']; ?> in <?= $admin_res['targetlocation']; ?>"
                                        title="<?= $home_cat_res2['displayName']; ?> in <?= $admin_res['targetlocation']; ?>" width="516" height="516">
                                </div>
                                <div class="overlay-style-two"></div>
                                <div class="text-holder">
                                    <h4><a href="<?= site_url; ?>/<?= getValidFileName($home_cat_res2['catName']); ?>.htm"
                                            title="<?= $home_cat_res2['displayName']; ?> in <?= $admin_res['targetlocation']; ?>"><?= $home_cat_res2['displayName']; ?></a>
                                    </h4>
                                    <div class="text">
                                        <!-- <span>Untrammelled when we nothing</span> -->
                                        <p><?= substr($home_cat_res2['catDesc'], 0, 100); ?>...</p>
                                    </div>
                                    <div class="readmore">
                                        <div class="overlay-button">
                                            <a href="<?= site_url; ?>/<?= getValidFileName($home_cat_res2['catName']); ?>.htm"
                                                title="View More">View More</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                <?php } ?>

            </div>
        </div>
    </section>
    <?php include "app_testimonials.php"; ?>
    <section class="webpulse-home_blog">
        <div class="container">
            <div class="title_2 wow fadeInDown" data-wow-delay=".1s">Latest Blogs</div>
            <div class="clearfix"></div>
            <div class="row">
                <?php
                while ($blog_res = mysqli_fetch_array($blog)) {
                    if ($blog_res['catImage'] != '') {
                        $blog_img =  getImage($blog_res['catImage'], 476, 476, $blog_res['catName'], "/uploaded-files/blog/images/");
                    } else {
                        $blog_img = NO_IMG_URL;
                    }
                ?>
                    <div class="col-xxl-4 col-xl-4 col-lg-4 col-md-6 col-sm-12 col-12">
                        <div class="blogPost">
                            <div class="image">
                                <img loading="lazy" src="<?= $blog_img; ?>" alt="<?= $blog_res['blogDname']; ?>"
                                    title="<?= $blog_res['blogDname']; ?>" width="476" height="476">
                                <!-- <div class="postDate">
                            <span>20</span>Feb
                            </div> -->
                            </div>
                            <div class="postInfo">
                                <h5 class="title_h4"><a
                                        href="<?= site_url; ?>/blog/<?= getValidFileName($blog_res['catName']); ?>.htm"
                                        title="<?= $blog_res['blogDname']; ?>"><span><?= $blog_res['blogDname']; ?></span></a>
                                </h5>
                                <p><?= html_entity_decode(substr($blog_res['catDesc'], 0, 200)); ?>...</p>

                                <a class="read_more"
                                    href="<?= site_url; ?>/blog/<?= getValidFileName($blog_res['catName']); ?>.htm"
                                    title="View More">View More <svg xmlns="http://www.w3.org/2000/svg" width="16"
                                        height="16" fill="currentColor" viewBox="0 0 16 16">
                                        <path fill-rule="evenodd"
                                            d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z">
                                        </path>
                                    </svg></a>
                            </div>
                        </div>
                    </div>
                <?php } ?>

            </div>
        </div>
    </section>
    <div class="home_blog video_gallery bg-white">
        <div class="container">
            <div class="title-headings">

                <div class="title_2">Latest Videos From Our YouTube Channel</div>
                <!-- <p class="text-center">
        Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic iure explicabo exercitationem voluptatem nisi architecto perferendis culpa totam. Tenetur sequi dicta minima aut, corrupti eligendi fugit voluptatem ipsam sunt aspernatur!         
        </p> -->
            </div>
            <div class="row g-2 mb-0">
                <?php
                $video_sql = mysqli_query($GLOBALS['dbconn'], "select slink_title, slink_url from video_tbl");
                while ($video_res = mysqli_fetch_array($video_sql)) { ?>

                    <div class="col-lg-4 col-md-6 col-12">
                        <div class="vd_bx">
                            <img loading="lazy" src="https://img.youtube.com/vi/<?= $video_res['slink_url']; ?>/hqdefault.jpg"
                                alt="<?= $video_res['slink_title']; ?>" title="<?= $video_res['slink_title']; ?>"
                                width="480" height="360">
                            <a href="https://www.youtube.com/watch?v=<?= $video_res['slink_url']; ?>" data-fancybox="" class="video-play-icon"
                                title="<?= $video_res['slink_title']; ?>">
                                <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
                                    class="bi bi-play-fill" viewBox="0 0 16 16">
                                    <path
                                        d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z">
                                    </path>
                                </svg>
                            </a>
                        </div>
                    </div>

                <?php } ?>



            </div>

        </div>
    </div>
    <?php include "app_clients.php"; ?>
    <?php include "app_footer.php"; ?>
    <?php include "app_bottom.php"; ?>
</body>

</html>