-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhints.php
executable file
·57 lines (53 loc) · 2.38 KB
/
hints.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-signin-client_id" content="307712715810-5gqv439ef8l9hmmod3ggpbdplcc7t7gq.apps.googleusercontent.com">
<meta name="description" content="Paradox - Team .EXE is the technical team of Computer Science & Engineering Department for technical fest NIMBUS at NIT Hamirpur.">
<meta name="author" content="Team .EXE">
<link rel="icon" href="images/head.png">
<meta name="description" content="Paradox is an online event by Team .EXE which is the technical team of Computer
Science & Engineering Department at NIT Hamirpur">
<meta name="keywords" content="paradox, paradox nith, paradox team .exe, paradox nimbus, paradox nimbus 2016,
team .exe, exe, NITH , nit hamirpur, CSED, CSED NITH, team exe, paradox, web-o-magica, nimbus nith
nimbus 2016, nimbus 2k16, nit hamirpur, nith">
<meta property="og:title" content="Paradox - Team .EXE">
<meta property="og:image" content="http://exe.nith.ac.in/images/paradox.jpeg">
<meta property="og:description" content="Paradox is an online event by Team .EXE which is the technical team of Computer Science & Engineering Department at NIT Hamirpur">
<title>Paradox - Team .EXE</title>
<style type="text/css">
.table-responsive {
padding:5% 5% 5% 5%;
text-align: center;
}
</style>
</head>
<?php
session_start();
include_once('stylesheets.php');
include_once('header.php');
include_once('dbconnect.php');
echo '<div class="table-responsive">';
echo '<table class="table table-hover"><tr><b>';
echo "<td>Level</td>";
echo "<td>Hint 1</td>";
echo "<td>Hint 2</td>";
echo "<td>Hint 3</td><tr></b>";
$result = mysqli_query($link,"select * from hints");
if(!$result)die ("Database access failed:". mysqli_error($link));
while($row=mysqli_fetch_array($result))
{
?>
<tr>
<td><?php echo $row['level']; ?></td>
<td><?php echo $row['h1']; ?></td>
<td><?php echo $row['h2']; ?></td>
<td><?php echo $row['h3']; ?></td>
</tr>
<?php
}
echo "</table></div>";
include_once('footer.php');
?>