-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathcourses.php
More file actions
135 lines (119 loc) · 3.99 KB
/
courses.php
File metadata and controls
135 lines (119 loc) · 3.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<?php
include('includes/dbconnection.php');
session_start();
error_reporting(0);
?>
<!doctype html>
<html lang="en">
<head>
<title>College Adnission Management System||Courses</title>
<!-- web fonts -->
<link href="//fonts.googleapis.com/css?family=Work+Sans:100,200,300,400,500,600,700,800,900&display=swap" rel="stylesheet">
<!-- //web fonts -->
<!-- Favicons -->
<link rel="icon" href="./assets/images/favicon/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" sizes="180x180" href="./assets/images//favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images//favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./assets/images//favicon/favicon-16x16.png">
<!-- Template CSS -->
<link rel="stylesheet" href="assets/css/style-starter.css">
</head>
<body>
<?php include_once("includes/header.php"); ?>
<section class="w3l-service-breadcrum">
<div class="breadcrum-bg py-sm-5 py-4">
<div class="container py-lg-3">
<h2>Our Courses</h2>
<p><a href="index.php">Home</a> / Courses</p>
</div>
</div>
</section>
<section class="w3l-pricing-7" id="pricing">
<div class="w3l-pricing-7_sur py-5">
<div class="container py-md-3">
<div class="heading text-center mx-auto">
<h3 class="head">See Our Courses</h3>
</div>
<div class="row w3l-pricing-7-gd-top pt-3 mt-5">
<?php
$ret = mysqli_query($con, "select * from tblcourse");
$cnt = 1;
while ($row = mysqli_fetch_array($ret)) {
?>
<div class="col-lg-4 col-md-6 mt-md-0 mt-4 w3l-pricing-7-gd-left active">
<div class="w3l-pricing-7 pric-7 active">
<h6><?php echo $row['CourseName']; ?></h6>
<div class="w3l-pricing-7-top p-2">
<p><?php echo $row['CourseDescription']; ?></p>
</div>
<br>
</div>
</div><?php
$cnt = $cnt + 1;
} ?>
</div>
</div>
</div>
</section>
<section class="w3l-features-4">
<!-- /features -->
<!-- //features -->
</section>
<?php include_once("includes/footer.php"); ?>
<script src="assets/js/jquery-3.3.1.min.js"></script>
<!-- //footer-28 block -->
</section>
<script>
$(function() {
$('.navbar-toggler').click(function() {
$('body').toggleClass('noscroll');
})
});
</script>
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous">
</script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous">
</script>
<!-- Smooth scrolling -->
<!-- <script src="assets/js/smoothscroll.js"></script> -->
<script src="assets/js/owl.carousel.js"></script>
<!-- script for -->
<script>
$(document).ready(function() {
$('.owl-one').owlCarousel({
loop: true,
margin: 0,
nav: true,
responsiveClass: true,
autoplay: false,
autoplayTimeout: 5000,
autoplaySpeed: 1000,
autoplayHoverPause: false,
responsive: {
0: {
items: 1,
nav: false
},
480: {
items: 1,
nav: false
},
667: {
items: 1,
nav: true
},
1000: {
items: 1,
nav: true
}
}
})
})
</script>
<!-- //script -->
</body>
</html>
<!-- // grids block 5 -->