D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
realadss
/
kavyaeventz.in
/
Filename :
event.php
back
Copy
<?php include('admin/connection.php'); ?> <?php include 'admin/connection.php'; $service = $_SERVER['REQUEST_URI']; // echo $service; $slug_url = str_replace("/","",$service); $cat_query = mysqli_query($conn, "select * from products where meta4 = '$slug_url'"); $cat_data = mysqli_fetch_array($cat_query); $description = $cat_data['description']; $meta1 = $cat_data['meta1']; $meta2 = $cat_data['meta2']; $meta3 = $cat_data['meta3']; $meta4 = $cat_data['meta4']; $script = $cat_data['script']; $pixcel = $cat_data['pixcel']; // print_r($pixcel); $category = $cat_data['catagory']; $pname = $cat_data['pname']; $detail_image = explode(',', $cat_data['detail_image']); $img_count2 = count($detail_image); $thumbnail_image = explode(',', $cat_data['thumbnail_image']); $img_count = count($thumbnail_image); $url = $cat_data['video1']; $id = ''; // Check for different types of YouTube URLs and extract the video ID if (preg_match('/youtu\.be\/(.+)$/', $url, $matches)) { // Shortened URL $id = $matches[1]; } elseif (preg_match('/youtube\.com.*[\\?\\&]v=([^\\?\\&]+)/', $url, $matches)) { // Full URL $id = $matches[1]; } elseif (preg_match('/youtube\.com\/shorts\/(.+)$/', $url, $matches)) { // YouTube Shorts URL $id = $matches[1]; } // If a video ID was found, construct the embed URL if (!empty($id)) { $youtubeVideo = "https://www.youtube.com/embed/$id"; } $url2 = $cat_data['video2']; $id2 = ''; // Check for different types of YouTube URLs and extract the video ID if (preg_match('/youtu\.be\/(.+)$/', $url2, $matches)) { // Shortened URL $id2 = $matches[1]; } elseif (preg_match('/youtube\.com.*[\\?\\&]v=([^\\?\\&]+)/', $url2, $matches)) { // Full URL $id2 = $matches[1]; } elseif (preg_match('/youtube\.com\/shorts\/(.+)$/', $url2, $matches)) { // YouTube Shorts URL $id2 = $matches[1]; } // If a video ID was found, construct the embed URL if (!empty($id2)) { $youtubeVideo2 = "https://www.youtube.com/embed/$id2"; } ?> <!DOCTYPE html> <html dir="ltr" lang="en"> <head> <meta charset="utf-8"> <title><?= $meta1;?></title> <meta name="keywords" content="<?= $meta2;?>"> <meta name="description" content="<?= $meta3;?>"> <?= $pixcel;?> <!-- Stylesheets --> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/flipclock.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.6/dist/jquery.fancybox.min.css" /> <script src="https://code.jquery.com/jquery-1.7.2.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.6/dist/jquery.fancybox.min.js"></script> <!-- Responsive --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <link href="css/bootstrap-margin-padding.css" rel="stylesheet"> <link href="css/responsive.css" rel="stylesheet"> <link rel="icon" type="image/x-icon" href="images/fevicon.jpg"> <script src="<?= $script;?>"></script> </head> <style> @media screen and (max-width: 462px) { .pleft { padding-left: 83px; } } </style> <body> <div class="page-wrapper"> <!-- Preloader --> <!-- Main Header --> <header class="main-header" id="main-header"> <!-- Header Top --> <div class="header-top"> <div class="auto-container clearfix"> <!-- Top Left --> <div class="top-left"> <ul class="clearfix"> <li><a href="#" class="pleft" ><span class="fa fa-circle"></span>Welcome to Kavya Eventz</a></li> </ul> </div> <!-- Top Right --> <div class="top-right"> <ul class="clearfix"> <li><a href="tel:+91 7717783586"><span class="fa fa-phone"></span> +91 7717783586</a></li> <li><a href="mailto:info@kavyaeventz.com"><span class="fa fa-envelope"></span> info@kavyaeventz.com</a></li> </ul> </div> </div> </div> <!-- Header Top End --> <!-- Header Lower --> <div class="header-lower"> <div class="auto-container clearfix"> <!--Outer Box--> <div class="outer-box"> <!-- Logo --> <div class="logo"> <a href="index.php"><img class="img-responsive" src="images/kelogo2.png" style="width: 180px;"alt="garnen-help"></a> </div> <!-- Main Menu --> <nav class="main-menu"> <div class="navbar-header"> <!-- Toggle Button --> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="navbar-collapse collapse clearfix"> <ul class="navigation"> <li><a href="index.php">Home</a> </li> <li><a href="about-us.php">About Us</a></li> <li class="dropdown"><a href="services.php">Services</a> <ul> <?php $cat_query1 = mysqli_query($conn, "select * from service_cat"); while($cat_data1 = mysqli_fetch_array($cat_query1)){ ?> <li class="dropdown"><a href="wedding-planner.php?service=<?= $cat_data1['name'];?>"><?= $cat_data1['name'];?></a> <ul> <?php $service2 = $cat_data1['name']; $cat_query2 = mysqli_query($conn, "select * from products where catagory = '$service2'"); while($cat_data2 = mysqli_fetch_array($cat_query2)){ ?> <li><a href="<?= $cat_data2['meta4'];?>"><?= $cat_data2['pname'];?></a></li> <?php } ?> </ul> </li> <?php } ?> </ul> </li> <li><a href="blog.php">Blog</a></li> <li><a href="gallery.php">Gallery</a></li> <li><a href="contact-us.php">Contact Us</a></li> </ul> </div> </nav> <!-- Main Menu End--> <!--RSVP Button--> </div> </div> </div> <!-- Header Lower End--> </header> <!--End Main Header --> <?php include 'sibebar.php'; ?> <!--Page Title--> <section class="page-title" data-bg-img="admin/images/new/<?= $cat_data['banner'];?>"> <div class="auto-container"> <h1><?= $cat_data['pname'];?></h1> <ul class="bread-crumb"> <li><a href="index.php">Home</a></li> <li style="color:white;"><?= $cat_data['pname'];?></li> </ul> </div> <!--Go Down Button--> <div class="go-down"> <div class="curve scroll-to-target" data-target="#sidebar-section"><span class="icon fa fa-arrow-down"></span></div> </div> </section> <!--Sidebar Section--> <div class="sidebar-section" id="sidebar-section"> <div class="auto-container"> <div class="row clearfix"> <!--Content Side--> <div class="col-md-9 col-sm-8 col-xs-12 content-side"> <section class="service-details"> <figure class="full-image"><a href="#"><img class="img-responsive" src="admin/images/new/<?php echo trim($thumbnail_image[0]); ?>" alt=""></a></figure> <div class="content-outer"> <?= $description;?> <br> <div class="row clearfix"> <div class="col-md-12 "> <h3>Our Mission & Vision</h3> <?= $cat_data['additional'];?> </div> <!--<div class="col-md-5 col-sm-6 col-xs-12">--> <!--<figure class="image"><img class="img-responsive" src="admin/images/new/<?php echo trim($thumbnail_image[1]); ?>" class="img-responsive" alt=""></figure>--> <!--</div>--> </div> </div> </section> </div> <!--Sidebar--> <div class="col-md-3 col-sm-4 col-xs-12"> <aside class="sidebar p-xs-15"> <div class="widget links-widget"> <?php include("enquiry.php"); ?><br><br> <!--<figure class="image"><img class="img-responsive" src="admin/images/new/<?php echo trim($thumbnail_image[1]); ?>" class="img-responsive" alt=""></figure>--> </div> <div class="widget links-widget"> <h3><?= $category;?></h3> <ul> <?php $sqldata = mysqli_query($conn, "select * from products where catagory = '$category'"); while($datasss = mysqli_fetch_array($sqldata)){ ?> <li><a href="<?= $datasss['meta4']?>"><?= $datasss['pname']?></a></li> <?php } ?> </ul> </div> </aside> </div> </div> </div> </div> <!--video section--> <?php if($url != ""){?> <section> <div class="container"> <div class="row"> <div class="sec-title style-two"> <h3 class="text-white" style="color:black !important;">OUR VIDEOS</h3> <h2 class="text-white" style="color:black !important;">WE OFFER YOU THE BEST SUPPORT</h2> <div class="line"></div> </div> <div class="col-md-6 col-sm-6 col-xs-12 "> <iframe style="width: 100%;height: 300px;" src="<?= $youtubeVideo;?>" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </div> <div class="col-md-6 col-sm-6 col-xs-12 "> <iframe style="width: 100%;height: 300px;" src="<?= $youtubeVideo2;?>" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </div> </div> </div> </section> <?php }?> <style> .fgjvuj{ width:288px!important; height:245px!important; } @media screen and (min-device-width: 320px) and (max-device-width: 768px) { /*.overlay-box{*/ /* width:288px;*/ /* height:245px;*/ /*}*/ } </style> <!--Gallery Section--> <section class="gallery-section parallax"> <div class="container"> <div class="sec-title style-two"> <h3 class="text-white" style="color:black !important;">OUR PHOTO GALLERY</h3> <h2 class="text-white" style="color:black !important;">WE OFFER YOU THE BEST SUPPORT</h2> <div class="line"></div> </div> <div class="sec-content mt-50"> <div class="row m-0"> <?php for ($i = 0; $i < $img_count2; $i++) { ?> <!--Column--> <div class="col-md-3 col-sm-4 col-xs-12 column wow fadeIn p-2" data-wow-delay="0ms" data-wow-duration="1500ms"> <figure class="image mr-5"> <a href="admin/images/new/<?php echo trim($detail_image[$i]); ?>" class="lightbox-image"><img class="fgjvuj" src="admin/images/new/<?php echo trim($detail_image[$i]); ?>" alt=""></a> <div class="overlay-box"><a href="admin/images/new/<?php echo trim($detail_image[$i]); ?>" class="link lightbox-image" title="Games & Activities" data-fancybox="gallery"><span class="txt font-30"><i class="fa fa-camera"></i></span></a></div> </figure> </div> <?php } ?> </div> </div> </div> </section> <style> .panel-group .panel { border-radius: 0; box-shadow: none; border-color: #EEEEEE; } .panel-default > .panel-heading { padding: 0; border-radius: 0; color: #212121; background-color: #FAFAFA; border-color: #EEEEEE; } .panel-title { font-size: 14px; } .panel-title > a { display: block; padding: 15px; text-decoration: none; } .more-less { float: right; color: #212121; } .panel-default > .panel-heading + .panel-collapse > .panel-body { border-top-color: #EEEEEE; } </style> <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <script> function toggleIcon(e) { $(e.target) .prev('.panel-heading') .find(".more-less") .toggleClass('glyphicon-plus glyphicon-minus'); } $('.panel-group').on('hidden.bs.collapse', toggleIcon); $('.panel-group').on('shown.bs.collapse', toggleIcon); </script> <section class=""> <div class="container"> <div class="sec-title style-two"> <h3 class="text-white" style="color:black !important;">FAQ's</h3> <!--<h2 class="text-white" style="color:black !important;">WE OFFER YOU THE BEST SUPPORT</h2>--> <div class="line"></div> </div> <div class="container demo"> <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> <?php $sno = 1; $faqsql = mysqli_query($conn, "select * from faqs where sub_category = '$pname'"); while($faqdata = mysqli_fetch_array($faqsql)){ ?> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="<?= $faqdata['id'];?>"> <h4 class="panel-title"> <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse<?= $faqdata['id'];?>" aria-expanded="true" aria-controls="collapseOne"> <i class="more-less glyphicon glyphicon-plus"></i> <?= $sno++;?>. <b><?= $faqdata['question'];?> </a> </h4> </div> <div id="collapse<?= $faqdata['id'];?>" class="panel-collapse collapse" role="tabpanel" aria-labelledby="<?= $faqdata['id'];?>"> <div class="panel-body"> <?= $faqdata['answer'];?> </div> </div> </div> <?php } ?> </div><!-- panel-group --> </div> </div> </section> <?php include("include/footer.php"); ?>