Mini Shell

Direktori : /home2/aravindar/public_html/
Upload File :
Current File : /home2/aravindar/public_html/course-details.php

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Sri Aravindar College of Arts and Science | Quality Education in pondicherry - india</title>
    <meta name="keywords" content="Sri Aravindar Arts and Science College ,Puducherry Arts College , Top Arts and Science colleges in Puducherry, Best colleges in Puducherry ">
    <meta name="description" content="Sri Aravindar College of Arts and Science offers quality education in pondicherry , providing a range of undergraduate and postgraduate programs. Explore our campus and academic offerings today.">
    <meta property="og:title" content="Sri Aravindar College of Arts and Science | Quality Education in pondicherry - india">
    <meta property="og:description" content="Discover Sri Aravindar College of Arts and Science in pondicherry - india. Explore our range of undergraduate and postgraduate programs and our commitment to academic excellence.">
    <meta property="og:url" content="https://www.aravindarcollege.com/">
    <meta property="og:type" content="website">
    <meta property="og:image" content="https://www.aravindarcollege.com/images/logo.jpg">
    <link rel="icon" type="image/x-icon" href="assets/img/logo/favicon.png">
    <link rel="stylesheet" href="assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="assets/css/all-fontawesome.min.css">
    <link rel="stylesheet" href="assets/css/animate.min.css">
    <link rel="stylesheet" href="assets/css/magnific-popup.min.css">
    <link rel="stylesheet" href="assets/css/owl.carousel.min.css">
    <link rel="stylesheet" href="assets/css/style.css">
</head>

<body>
    <!-- header start -->
    <?php include_once "tb-sec/header.php" ?>
    <!-- header end -->

    <main class="main A-sub-course">
        <div class="department-single-area pt-30 pb-50">
            <div class="container-fluid">
                <div class="department-single-wrapper">
                    <div class="row">
                        <?php include_once "up-course-tab.php" ?>
                        <?php
                        $id = base64_decode($_GET['id']);
                        $sql = "SELECT * FROM `tb1_ugcourses` WHERE `course_id` = $id  ORDER BY updated_log DESC";

                        $result = $conn->query($sql);
                        if ($result->num_rows > 0) {
                            while ($row = $result->fetch_assoc()) {
                        ?>
                                <div class=" col-xl-9 col-lg-9 order-1 order-lg-1">
                                    <!-- Main content area -->

                                    <div class="department-details">
                                        <div class="row">

                                            <div class="col-md-4">
                                                <div class="team-single-img">
                                                    <img src="./admin/dynamic_image/course/<?= $row['course_img'] ?>" alt="">
                                                </div>
                                            </div>
                                            <div class="col-md-8" style="background:var(--theme-bg-light);">
                                                <div class="team-details">
                                                    <h3><?= $row['short_name'] ?> - <span> <?= $row['course_name'] ?></span></h3>
                                                    <!-- <strong>We are affiliated to Annamalai University</strong> -->
                                                    <p class="mt-3 index-05">
                                                        <?= str_replace('?', '<br>', $row['para1']) ?></p>

                                                    <div class="team-details-info">
                                                        <ul>
                                                            <li><a><i class="far fa-alarm-clock"></i> Duration - <?= $row['duration'] ?></a>
                                                            </li>
                                                            <li><a href="./admin/dynamic_image/course/<?= $row['syllabus'] ?>"><i class="far fa-calendar-alt"></i> <span class="__cf_email__" data-cfemail="791a180b0a1617391c01181409151c571a1614">
                                                                        Course Syllabus - Download</span></a>
                                                            </li>

                                                        </ul>
                                                    </div>

                                                </div>
                                            </div>

                                        </div>

                                        <h3>Mission</h3>
                                        <p class="mt-2 index-05"><?= str_replace('?', '<br>', $row['para2']) ?></p>
                                        <!-- <p class="mt-2 index-05">To develop communication skills to secure a meaningful career
                                            in the IT market.</p>
                                        <p class="mt-2 index-05">To impart knowledge in cutting-edge technologies on par with
                                            industrial standards.</p> -->



                                        <h3>Vision</h3>
                                        <p class="mt-2 index-05"><?= $row['career_prospect_para'] ?></p>

                                        <?php
                                        if ($row['lab_image']) {
                                        ?>
                                            <div class="row py-3">
                                                <div class="col">
                                                    <div class="team-single-img">

                                                        <img src="./admin/dynamic_image/course/<?= $row['lab_image'] ?>" alt="">
                                                    </div>
                                                </div>
                                            </div>
                                        <?php }
                                        ?>
                                        <div class="row">
                                            <div class="col-md-6 mb-20 order-1">
                                                <h5>JOB OPPORTUNITIES</h5>

                                                <div>
                                                    <ul class="department-single-list">
                                                        <?php
                                                        $namesArray = explode(',', $row['career_prospect_content']);
                                                        foreach ($namesArray as $name) {
                                                            echo '<li><i class="fas fa-check-circle"></i>' . htmlspecialchars($name) . '</li>';
                                                        }
                                                        ?>


                                                    </ul>
                                                </div>
                                            </div>
                                        </div>



                                        <div class="faq-area">
                                            <div class="col-lg-12">
                                                <div class="accordion" id="accordionExample">
                                                    <div class="accordion-item">
                                                        <h2 class="accordion-header" id="headingOne">
                                                            <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
                                                                <span><i class="far fa-question"></i></span>Higher
                                                                Studies</button>
                                                        </h2>

                                                        <div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne" data-bs-parent="#accordionExample">
                                                            <div class="accordion-body">

                                                                <ul class="department-single-list">
                                                                    <?php
                                                                    // Your text
                                                                    // $text = "B.Ed.,?B.PEd.,?B.L.I.S.,?L.L.B.,";

                                                                    // Split the text into an array using the delimiter
                                                                    $items = explode('?', $row['study_post_para']);
                                                                    ?>

                                                                    <ul>
                                                                        <?php foreach ($items as $item) : ?>
                                                                            <?php if (!empty(trim($item))) : ?>
                                                                                <li><i class="fas fa-paper-plane"></i><?= $item ?></li>
                                                                            <?php endif; ?>
                                                                        <?php endforeach; ?>
                                                                    </ul>

                                                                </ul>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                </div>
                        <?php
                            }
                        } ?>
                    </div>
                </div>
            </div>
        </div>
        <?php include_once "brand.php" ?>
    </main>
    <?php include_once "tb-sec/fotter.php" ?>
    <a href="#" id="scroll-top"><i class="far fa-arrow-up-from-arc"></i></a>
    <script src="assets/js/jquery-3.7.1.min.js"></script>
    <script src="assets/js/modernizr.min.js"></script>
    <script src="assets/js/bootstrap.bundle.min.js"></script>
    <script src="assets/js/imagesloaded.pkgd.min.js"></script>
    <script src="assets/js/jquery.magnific-popup.min.js"></script>
    <script src="assets/js/isotope.pkgd.min.js"></script>
    <script src="assets/js/jquery.appear.min.js"></script>
    <script src="assets/js/jquery.easing.min.js"></script>
    <script src="assets/js/owl.carousel.min.js"></script>
    <script src="assets/js/counter-up.js"></script>
    <script src="assets/js/wow.min.js"></script>
    <script src="assets/js/main.js"></script>
</body>

</html>

Zerion Mini Shell 1.0