-
Notifications
You must be signed in to change notification settings - Fork 0
/
sublist2.php
63 lines (53 loc) · 1.75 KB
/
sublist2.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
<!--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>Online Quiz-Subjects</title>
<link href="css/style_showtest.css" rel='stylesheet' type='text/css' />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="App Loction Form,Login Forms,Sign up Forms,Registration Forms,News latter Forms,Elements"./>
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
</script>
<!--webfonts-->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<!--//webfonts-->
</head>
<body>
<?php
include("header.php");
include("database.php");
if (!isset($_SESSION[login]))
{
header("Location: index2.php");
exit;
}
echo "<h2 class=head1> </h2>";
$rs=mysqli_query($cn,"select * from mst_subject");
?>
<h1><?php echo "<font color='blue'>$row1[1]</font>" ?></h1>
<div class="app-location">
<h2>Select Subject to Give Quiz</h2>
<div class="line"><span></span></div>
<?php while($row=mysqli_fetch_row($rs))
{
echo "<tr><td align=center ><a href=showtest2.php?subid=$row[0]><font size=5><font color='sky blue'>$row[1]</font></font></a>";
echo "<br>";
}?>
<div class="clear"></div>
</div>
<!--start-copyright-->
<div class="copy-right">
<p>Copyright © 2015 All rights Reserved | BIT Mesra</p>
</div>
<!--//end-copyright-->
</body>
</html>