-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenrollcourse.php
More file actions
76 lines (74 loc) · 3.69 KB
/
enrollcourse.php
File metadata and controls
76 lines (74 loc) · 3.69 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
<?php
session_start();
//$con=mysqli_connect("sql113.ezyro.com","ezyro_28159409","z7n0ky94i","ezyro_28159409_ims");
$con=mysqli_connect("localhost","root","","braintech");
include 'session_check.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Braintech Technologies</title>
<link rel="icon" href="admin_area/assets/img/icon.png" sizes="32x32" type="image/png">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
<link href="css/bootstrap.css" rel="stylesheet">
<link rel="stylesheet" href="css/components.css">
<link rel="stylesheet" href="css/icons.css">
<link rel="stylesheet" href="css/responsee.css">
<link rel="stylesheet" href="owl-carousel/owl.carousel.css">
<link rel="stylesheet" href="owl-carousel/owl.theme.css">
<!-- CUSTOM STYLE -->
<link rel="stylesheet" href="css/template-style.css">
<link href="https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Mrs+Saint+Delafield&display=swap" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/jquery-ui.min.js"></script>
<style>
.bodyclass
{
background-color: #f4f5db;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
</style>
</head>
<body class="bodyclass"><center>
<div class="container-fluid padding">
<div class="row padding">
<div class="col-lg-6">
<div class="line">
<h2 class="text-extra-strong text-size-80 text-m-size-40 margin-bottom-40">Complete your Course Registration</h2>
</div>
<p><table><form method="post" action="regiscourse.php">
<tr><td>STUDENT ID:</td><td><input type="text" name="sid" value="<?php echo($_SESSION['btt']['stu_id'])?>" readonly></td></tr>
<tr><td>NAME:</td><td><input type="text" name="" value="<?php echo($_SESSION['btt']['name'])?>" readonly></td></tr>
<tr><td>COURSE ID:</td><td><select name="cid" required="" autocomplete="off">
<option value="">--Select--</option>
<?php $s=mysqli_query($con,"select * from course");
while($r=mysqli_fetch_array($s))
{
?>
<option value="<?php echo($r['c_id']); ?>"><?php echo($r['c_name']); ?></option>
<?php }?>
</select>
</td></tr>
<tr><td></td><td><button class="button text-white background-primary margin-bottom-60">Enroll Now</button></td></tr>
</form></table></p>
<br>
</div>
<!--<div class="col-lg-6">
<img src="<?php echo($_SESSION['btt']['photo'])?>" class="img-fluid" width="300px" height="auto">
</div>-->
</div>
</div></center>
<script type="text/javascript" src="js/responsee.js"></script>
<script type="text/javascript" src="owl-carousel/owl.carousel.js"></script>
<script type="text/javascript" src="js/template-scripts.js"></script>
</body>
</html>