File: //home/bibuzptr/tvetelearning.bibu-edu.us/library.php
<?php
session_start();
error_reporting(E_ALL); error_reporting(-1); ini_set('error_reporting', E_ALL);
include_once('includes/db_connect.php');
//check student logged in
if(isset($_SESSION["OpenUniS^###DHSG"])){
$email = $_SESSION["OpenUniS^###DHSG"];
$chkuser = mysqli_query($con,"SELECT * FROM students WHERE email='$email'");
while($row = mysqli_fetch_assoc($chkuser)){
$id = $row["id"];
$name = $row["name"];
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
<title>Library | Breakthrough Open University</title>
<link rel="shortcut icon" type="image/x-icon" href="assets/img/logo.png">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/plugins/fontawesome/css/fontawesome.min.css">
<link rel="stylesheet" href="assets/plugins/fontawesome/css/all.min.css">
<link rel="stylesheet" href="assets/css/owl.carousel.min.css">
<link rel="stylesheet" href="assets/css/owl.theme.default.min.css">
<link rel="stylesheet" href="assets/plugins/slick/slick.css">
<link rel="stylesheet" href="assets/plugins/slick/slick-theme.css">
<link rel="stylesheet" href="assets/plugins/select2/css/select2.min.css">
<link rel="stylesheet" href="assets/plugins/aos/aos.css">
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div class="main-wrapper">
<?php include_once("includes/header.php") ?>
<section style="margin-top:2%" class="section new-course">
<div class="container">
<div class="section-header aos" data-aos="fade-up">
<div class="section-sub-head">
<h2>Elibrary</h2>
</div>
<div class="all-btn all-category d-flex align-items-center">
</div>
</div>
<div class="section-text aos" data-aos="fade-up">
<p class="mb-0">Explore learning materials and past examination papers</p>
</div>
<div class="course-feature">
<div class="row">
<div class="col-lg-4 col-md-6 d-flex">
<div class="course-box d-flex aos" data-aos="fade-up">
<div class="product">
<div class="product-img">
<div style="height:150px">
<a href="https://easytvet.com/acp5/pdf/pp/basic/num/2024m.pdf">
<img class="img-fluid1" alt="" src="assets/img/elibrary.png">
</a>
</div>
</div>
<div class="product-content">
<div style="height:60px">
<h3 class="title instructor-text">
<a href="https://easytvet.com/acp5/pdf/pp/basic/num/2024m.pdf">Demonstrate Numeracy Skills Level 5 Tvet/CDACC Term Paper</a>
</h3>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 d-flex">
<div class="course-box d-flex aos" data-aos="fade-up">
<div class="product">
<div class="product-img">
<div style="height:150px">
<a href="https://easytvet.com/acp5/pdf/pp/basic/emp/2024j.pdf">
<img class="img-fluid1" alt="" src="assets/img/elibrary.png">
</a>
</div>
</div>
<div class="product-content">
<div style="height:60px">
<h3 class="title instructor-text">
<a href="https://easytvet.com/acp5/pdf/pp/basic/emp/2024j.pdf">DEMONSTRATE EMPLOYABILITY SKILLS LEVEL 5 CDACC Term Paper</a>
</h3>
</div>
</div>
</div>
</div>
</div>
</div>
<p style="height:70px"></p>
</div>
</div>
</section>
<?php include_once('includes/footer.php') ?>
</body>
</html>