-
Notifications
You must be signed in to change notification settings - Fork 18
/
result1.php
55 lines (45 loc) · 1.17 KB
/
result1.php
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
<?php
session_start();
if($_SESSION['authuser']!=1)
{
echo"ACCESS DENIED";
exit();
}
$name= $_POST['myusername'];
$pass= $_POST['mypassword'];
if($name!="admin" && $pass!="admin")
{
echo"ACCESS DENIED";
exit();
}
?>
<html>
<body>
<form method="post" action="select_course.php">
COURSE ID:<input type="text" name="cname">
<input type="submit" class="myButton" name="submit" value="Students Enrolled">
</form>
<form method="post" action="select_student.php">
STUDENT NAME :<input type="text" name="name">
<input type="submit" class="myButton" name="submit" value="Courses Enrolled">
</form>
<form method="post" action="add_course.php">
<input type="submit" class="myButton" name="wel" value="ADD NEW COURSE">
</form>
<form method="post" action="admin_edit_course.php">
<input type="submit" class="myButton" name="submit" value="EDIT EXISTING STUDENT COURSE">
</form>
<footer>
<a href="default.aspx" style="color: white;">Back to home</a>
© 2013 Gaikwad Company, Inc. Course Registration System
</footer>
</body>
</html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="div1"></div>
</body>
</html>