-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathheader.php
47 lines (38 loc) · 821 Bytes
/
header.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
<?php
include("database.php");
$rs=mysql_query("select * from mst_site");
$row=mysql_fetch_array($rs);
echo"<center><table><tr><td>";
echo "<button class='button2'><h1>".$row['site']."</h1></button>";
echo "</td</tr></table></center>";
?>
<html>
<head>
<title>Wel come to Online Exam</title>
<link rel="stylesheet" type="text/css" href="admin.css">
</head>
<br/>
<br/>
<Table width="100%">
<tr>
<?php @$_SESSION['login'];
error_reporting(1);
?>
<td>
<?php
if(isset($_SESSION['login']))
{
echo "<div align=\"right\"><a href=\"index2.php\"><h4>Home</h4></a>
<a href=\"/exam/Instructions.txt\"><h4>Instructions</h4></a>
<a href=\"/exam/signout.php\"><h4>Signout</h4></a>
</div>";
}
else
{
echo " ";
}
?>
</td>
</tr>
</table>
</html>