-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path8.php
95 lines (86 loc) · 2.26 KB
/
8.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
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
<?php
$intakenum = array(
"choose"=>"choose Intake number ",
"1" => "30" ,
"2" => "31"
);
$track = array(
"choose"=>"choose track name ",
"os"=>"Open source",
"pd" => "Professional Developers" ,
"mobApp" => " Mobile application",
"unix"=>"Unix" ,
"UI" =>"User Interface"
);
$course = array(
"choose"=>"choose a subject ",
"network" => "Network" ,
"OS" => "Operating System"
);
$instructors = array(
"choose"=>"choose an instructor",
"BigBoss" => "Ahmed Gnaidy" ,
"supervisor" => "Nuha Amer"
);
?>
<html>
<head>
<title>Admin page </title>
</head>
<body>
<form action="" method="post" name="">
<table border="0">
<tr>
<td><label>Intake</label></td>
<td><select name="intake">
<?php
foreach($intakenum as $intake=>$value)
echo"<option value='$intake'>$value</option>";
?>
</td>
</tr>
<tr>
<td><label>Track</label></td>
<td><select name="track">
<?php
foreach($track as $track=>$value)
echo"<option value='$track'>$value</option>";
?>
</td>
</tr>
<tr>
<td><label>Course</label></td>
<td><select name="course">
<?php
foreach($course as $course=>$value)
echo"<option value='$course'>$value</option>";
?>
</td>
</tr>
<tr>
<td><label>Instructor</label></td>
<td><select name="instructor">
<?php
foreach($instructors as $instructor=>$value)
echo"<option value='$instructor'>$value</option>";
?>
</td>
</tr>
<tr>
<td><label>Due Date :</label></td>
<td><input type="text" name="due_date"><td>
</tr>
</table>
<table border="0">
<tr>
<td><input type="submit" value="InstructorEvaluation"/><td>
<td><input type="submit" value="CourseEvaluation"/><td/>
<td><input type="submit" value="Deactivate"/></td>
<td><input type="submit" value="Delete"/></td>
<td><input type="submit" value="Edit"/></td>
<td><input type="submit" value="LateStudent"/></td>
</tr>
</table>
</form>
</body>
</html>