MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.21.246.53
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/.ecp_conf/../.quarantine/../bsaec.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/.ecp_conf/../.quarantine/../bsaec.in/sub-course.php
<?php
    include_once('admin/config.php');
    $slug_name = $_GET['slug_url'];
    if(isset($_SERVER['PATH_INFO'])){
    $slug_name=$_SERVER['PATH_INFO'];
    $querydt="SELECT * FROM `tb_services` WHERE `slug_url`='$slug_name'";
    $rundt = mysqli_query($db,$querydt) 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">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <title><?php echo $datadt["meta_title"];?></title>
    <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 py-6 my-6 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["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 style="color:white !important" class=" text-primary active" aria-current="page"> <?php echo $datadt["name"];?></li>
                </ol>
            </nav>
        </div>
    </div>
    <!-- Page Header End -->
    
    <!-- Courses Start -->
    <div class="container-xxl courses my-6 py-6 pb-0">
        <div class="container">
            <div class="text-center mx-auto mb-5 wow fadeInUp" data-wow-delay="0.1s">
                <h6 class="text-primary text-uppercase mb-2">Our Courses</h6>
                <h1 class="display-6 mb-4">Baba Saheb Ambedkar Education Center is committed to providing the best services to students. </h1>
            </div>
            <div class="row g-4 justify-content-center">
                <!-- row 1 -->
                <?php
                    $id=$datadt["id"];
                    $sql6 = "SELECT * FROM `tb5_courses` WHERE main_id='$id'";
                    $run6 = mysqli_query($db,$sql6) or die("Query Not run");
                    while($data6 = mysqli_fetch_assoc($run6)){
                ?>
                <div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="0.1s">
                    <div class="courses-item d-flex flex-column bg-white overflow-hidden" style="box-shadow: rgb(12 43 75) 0px 5px 15px;">
                        <div class="position-relative mt-auto" style="height: 135px;">
                            <img height="150px!important" class="img-fluid" src="<?php echo $wspath?>img/<?php echo $data6['course_image']?>" alt="<?php echo $data6['course_name']?>">
                            <div class="courses-overlay">
                                <a class="btn btn-outline-primary border-2" href="<?php echo $wspath?>detail<?php echo $data6['title_url']?>.html">Read More</a>
                            </div>
                        </div>
                        <div class="text-center p-4 pt-0">
                            <a href="<?php echo $wspath?>detail<?php echo $data6['title_url']?>.html"><h5 class="my-3"><?php echo $data6['course_name']?></h5></a>
                            <p><?php echo substr($data6['course_desc'],0,60) ?></p>
                        </div>
                    </div>
                </div>
                <?php } ?>
            </div>
            <?php include 'form.php';?>
        </div>
    </div>
    <!-- Courses End -->

    <!-- Courses Start -->
    <?php
    // include 'index-courses.php';
    ?>
    <!-- Courses End -->


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

MMCT - 2023