forked from SansBailmare/wtlproject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaddvalue.php
More file actions
56 lines (53 loc) · 1.8 KB
/
Copy pathaddvalue.php
File metadata and controls
56 lines (53 loc) · 1.8 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
<style type="text/css">
#prn{
display: none !important;
}
</style>
<?php session_start();
echo " <html>";
echo"<body>";
echo"<table>";
echo"<form method='POST' action='add.php'>";
$l=1001;
$_SESSION['l']=$l;
$b="115A";
echo"<tr>";
echo"<th>";
echo"<select name='subject'>";
echo" <option value='0'>subject</option>";
echo" <option value='cn'>CN</option>";
echo" <option value='wtl'>WTL</option>";
echo" <option value='os'>OS</option>";
echo" <option value='mp'>MP</option>";
echo" <option value='sooad'>SOOAD</option>";
echo" <option value='bce'>BCE</option>";
echo" </select>";
echo" </th>";
echo" <th>Monday</th>";
echo" <th>Tuesday</th>";
echo" <th>Wednesday</th>";
echo" <th>Thursday</th>";
echo" <th>Friday</th>";
echo" </tr>";
$c=$b.$l;
while($l<1011){
echo" <tr>";
echo" <th>";
echo"<td>$c</td>";
echo" </th>";
echo"<input id='prn' name='".$c."' value=$c>";
echo" <td><input type='checkbox' name='m".$l."' value='PRESENT'></td>";
echo" <td><input type='checkbox' name='t".$l."' value='PRESENT'></td>";
echo" <td><input type='checkbox' name='w".$l."' value='PRESENT'></td>";
echo" <td><input type='checkbox' name='th".$l."'value='PRESENT'></td>";
echo" <td><input type='checkbox' name='f".$l."' value='PRESENT'></td>";
echo" </tr>";
$l++;
$c=$b.$l;
}
echo" <input type='submit' value='submit'>";
echo" </form>";
echo" </table>";
echo"</body>";
echo"</html>";
?>