Viewing file: video.php (4.02 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE html> <html lang="en">
<head> <meta charset="utf-8"> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <title>ITCE (INFYSYS TECHNOLOGIES COMPUTER EDUCATION )</title> <meta name="description" content=""> <meta name="keywords" content="">
<!-- Favicons --> <link href="assets/img/favicon.png" rel="icon"> <link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
<!-- Fonts --> <link href="https://fonts.googleapis.com" rel="preconnect"> <link href="https://fonts.gstatic.com" rel="preconnect" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<!-- Vendor CSS Files --> <link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link href="assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet"> <link href="assets/vendor/aos/aos.css" rel="stylesheet"> <link href="assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet"> <link href="assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
<!-- Main CSS File --> <link href="assets/css/main.css" rel="stylesheet">
<!-- ======================================================= * Template Name: eBusiness * Template URL: https://bootstrapmade.com/ebusiness-bootstrap-corporate-template/ * Updated: Jun 23 2025 with Bootstrap v5.3.6 * Author: BootstrapMade.com * License: https://bootstrapmade.com/license/ ======================================================== --> </head>
<body class="index-page">
<?php include 'header.php'; ?> <?php include 'admin/connect.php'; ?> <main class="main"> <div class="row g-3"> <?php $sql = "SELECT * FROM videolist LIMIT 5"; if ($result = mysqli_query($link, $sql)) { if (mysqli_num_rows($result) > 0) { while ($row = mysqli_fetch_assoc($result)) { $url = $row['url']; $title = $row['title']; $lession = $row['lession']; $classses = $row['classes']; echo <<<HTML <div class="col-md-4"> <div class="card h-100 shadow-sm"> <div class="ratio ratio-16x9"> <iframe src="$url" title="$title" allowfullscreen></iframe> </div> <div class="card-body p-2"> <h6 class="card-title mb-1">$title</h6> <p class="small mb-0 text-muted">Class: $classses | Lesson: $lession</p> </div> </div> </div> HTML; } mysqli_free_result($result); } else { echo "<p>No videos found.</p>"; } } else { echo "<p class='text-danger'>Error fetching videos: " . mysqli_error($link) . "</p>"; } mysqli_close($link); ?> </div> </main>
<?php include 'footer.php'; ?>
<!-- Scroll Top --> <a href="#" id="scroll-top" class="scroll-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
<!-- Preloader --> <div id="preloader"></div>
<!-- Vendor JS Files --> <script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script> <script src="assets/vendor/php-email-form/validate.js"></script> <script src="assets/vendor/aos/aos.js"></script> <script src="assets/vendor/purecounter/purecounter_vanilla.js"></script> <script src="assets/vendor/swiper/swiper-bundle.min.js"></script> <script src="assets/vendor/glightbox/js/glightbox.min.js"></script> <script src="assets/vendor/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
<!-- Main JS File --> <script src="assets/js/main.js"></script>
</body>
</html>
|