ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/home2/selectio/www/caliberembedded.com/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/home2/selectio/www/caliberembedded.com/course-details.php

<?php include 'header.php';

$course_id = $_GET['course'];

?>

<style>
    .about-img-box::before{
        background-image: none;
    }
</style>

<style>
    .main-banner-in{
        padding-bottom: 40px;
    }
    .main-banner-in .h1-title{
        margin-top: -10%;
    }
</style>


<?php 
    $query = $pdo->prepare("SELECT * FROM tbl_courses WHERE course_type=1 AND id=".$course_id);
    $query->execute();
    $result_details = $query->fetchAll(PDO::FETCH_ASSOC);
    
    
?>

<section class="main-banner-in">
        <span class="shape-1 animate-this">
            <img src="assets/images/shape-1.png" alt="shape">
        </span>
        <span class="shape-2 animate-this">
            <img src="assets/images/shape-2.png" alt="shape">
        </span>
        <span class="shape-3 animate-this">
            <img src="assets/images/shape-3.png" alt="shape">
        </span>
        <span class="shape-4 animate-this">
            <img src="assets/images/shape-4.png" alt="shape">
        </span>
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="h1-title"><?=$result_details[0]['course_name']?></h1>
                </div>
            </div>
        </div>
</section>



<!--About Us Start-->
    <section class="main-about-us-in">
    <div class="container">
        <div class="row align-items-center">
            <div class="col-lg-6">
                <div class="about-img-box wow fadeInLeft animated" data-wow-delay=".4s">
                    <div class="about-img" style="margin-left: 20%;">
                        <img src="admin/<?=$result_details[0]['image']?>" alt="about us">
                    </div>
                </div>
            </div>
            <div class="col-lg-6">
                <div class="about-us-content">
                    
                   

                    
                    <div class="about-us-title">
                        <h2 class="h2-subtitle"><?=$result_details[0]['course_name']?></h2>
                        <!--<h2 class="h2-title">We Have Best Online Education</h2>-->
                    </div>
                    
                    <?php 
                        
                        
                        foreach ($result_details as $row_course){
                    ?>
                    
                    
                    <p>
                        <?=nl2br($row_course['description'])?>
                    </p>
                    
                    <?php } ?>
                    
                </div>
            </div>
        </div>
    </div>
    </section>
    <!--About Us End-->


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

Zerion Mini Shell 1.0