-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcourses.php
More file actions
101 lines (89 loc) · 3.7 KB
/
courses.php
File metadata and controls
101 lines (89 loc) · 3.7 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
<?php
include("connect.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>courses</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
<link rel="stylesheet" href="css/admission.css">
</head>
<body>
<?php
include("header.php");
include("header2.php");
?>
<div id="course">
<h2 align="center">
Courses
</h2>
<p align="justify">
<a href="https://www.gpcgasr.in/myImages/EOA_2012_TO_2017.pdf">AICTE Approval</a><br><br>
<a href="https://www.gpcgasr.in/myImages/EOA_Report_2018-19_MAI_BHAGO_GPCG_ASR.PDF">AICTE Approval</a>
</p>
<h3>Courses</h3>
<table class=" table-bordered">
<thead>
<tr align="center">
<th><strong>S No.</strong></th>
<th><strong>Name of Course</strong></th>
<th><strong>duration</strong></th>
<th><strong>intake</strong></th>
<th><strong>eligibility</strong></th>
</tr>
</thead>
<tbody>
<?php
$count = 1;
$sel_query = "Select * from courses where course_type='normal' ORDER BY course_id asc ;";
$result = mysqli_query($con, $sel_query);
while ($row = mysqli_fetch_assoc($result)) { ?>
<tr>
<td ><?php echo $count; ?></td>
<td ><?php echo $row["course_name"]; ?></td>
<td ><?php echo $row["duration"]; ?></td>
<td ><?php echo $row["intake"]; ?></td>
<td ><?php echo $row["eligibility"]; ?></td>
</tr>
<?php $count++;
} ?>
</tbody>
</table>
<br><br>
<h3>Lateral Entry Courses</h3>
<table width="100%" border="1"class=" table-bordered">
<thead>
<tr align="center">
<th><strong>S No.</strong></th>
<th><strong>Name of Course</strong></th>
<th><strong>duration</strong></th>
<th><strong>intake</strong></th>
<th><strong>eligibility</strong></th>
</tr>
</thead>
<tbody>
<?php
$count = 1;
$sel_query = "Select * from courses where course_type='leet' ORDER BY course_id asc ;";
$result = mysqli_query($con, $sel_query);
while ($row = mysqli_fetch_assoc($result)) { ?>
<tr>
<td ><?php echo $count; ?></td>
<td ><?php echo $row["course_name"]; ?></td>
<td ><?php echo $row["duration"]; ?></td>
<td ><?php echo $row["intake"]; ?></td>
<td ><?php echo $row["eligibility"]; ?></td>
</tr>
<?php $count++;
} ?>
</tbody>
</table>
</div>
<?php
include("footer.php");
?>
</body>
</html>