-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCode_Detective.php
116 lines (102 loc) · 4.42 KB
/
Code_Detective.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?php
include("dbconnect.php");
if($_SESSION["in"])
{
$uid=$_SESSION["in"];
}
$pname = mysql_query("select * from users where id = '$uid'");
$prow = mysql_fetch_assoc($pname);
?>
<!DOCTYPE html>
<html>
<title>MINYSTERY</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
<style>
html,body,h1,h2,h3,h4,h5 {font-family: "Raleway", sans-serif}
.w3-sidenav a,.w3-sidenav h4 {font-weight:bold}
</style>
<body class="w3-light-grey w3-content" style="max-width:1600px">
<!-- Sidenav/menu -->
<nav class="w3-sidenav w3-collapse w3-white w3-animate-left" style="z-index:3;width:300px;" id="mySidenav"><br>
<div class="w3-container">
<a href="#" onclick="w3_close()" class="w3-hide-large w3-right w3-jumbo w3-padding" title="close menu">
<i class="fa fa-remove"></i>
</a>
<img src="http://airnativeextensions.com/images/extensions/icons/ane-gameservices-icon.png" style="width:45%;" class="w3-round"><br><br>
<h4 class="w3-padding-0"><b>Minystery</b></h4>
<p class="w3-text-grey">Series of mini-games</p>
</div>
<a href="index.php" class="w3-padding">Home</a>
<a href="Code_Login.php" class="w3-padding">Log In</a>
<a href="Code_Detective.php" class="w3-padding w3-text-teal">Detective</a>
<a href="Code_Mathematics.php" class="w3-padding">Mathematics</a>
<a href="Code_Guessing.php" class="w3-padding">Guessing</a>
<a href="Code_Miscellaneous.php" class="w3-padding">Miscellaneous</a>
<a href="Code_Score.php" class="w3-padding">Score</a>
<p>Welcome <?php
if ($_SESSION["in"]) {
echo $prow['name'] . "!, " . "<a href='logout.php'>Logout</a>";
echo "<a href='Code_Delete.php'>Delete account</a>";
}
else {
echo "Guest!";
}
?> </p>
</nav>
<!-- Overlay effect when opening sidenav on small screens -->
<div class="w3-overlay w3-hide-large w3-animate-opacity" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
<!-- !PAGE CONTENT! -->
<div class="w3-main" style="margin-left:300px">
<!-- Header -->
<header class="w3-container">
<a href="#"><img src="img_avatar_g2.jpg" style="width:65px;" class="w3-circle w3-right w3-margin w3-hide-large w3-hover-opacity"></a>
<span class="w3-opennav w3-hide-large w3-xxlarge w3-hover-text-grey" onclick="w3_open()"><i class="fa fa-bars"></i></span>
<h1><b>Detective</b></h1>
</header>
<div class="w3-row-padding">
<div class="w3-third w3-container w3-margin-bottom">
<img src="http://2.bp.blogspot.com/-oAIUcswqVuU/T47lNW8ZseI/AAAAAAAABgw/IOd0UxCmApc/s1600/Clue-Evidence.jpg" alt="Clue" style="width:85%" class="w3-hover-opacity"><br><br><br>
<div class="w3-container w3-white">
<p><b>Level 1</b></p>
<p><a href="1_bomb.php">The Gift</a></p>
<p><a href="1_ghost.php">The Ghost of Mrs Basil</a></p>
<p><a href="1_hide.php">Hide & Seek</a></p>
</div>
</div>
<div class="w3-third w3-container w3-margin-bottom">
<img src="http://static1.squarespace.com/static/5253d671e4b09b5bd4077ed2/t/5530fc6ae4b097a445f1636d/1429273708635/" alt="Clue" style="width:62%" class="w3-hover-opacity">
<div class="w3-container w3-white">
<p><b>Level 2</b></p>
<p><a href="2_murder.php">The Planned Murder</a></p>
<p><a href="2_music.php">The Unfortunate Music Party</a></p>
<p><a href="2_basil.php">Death of Mr Basil</a></p>
</div>
</div>
<div class="w3-third w3-container">
<img src="http://img01.deviantart.net/301e/i/2012/351/b/b/clue___weapons_by_virtualbarata-d5oa62f.jpg" alt="Clue" style="width:60%" class="w3-hover-opacity">
<div class="w3-container w3-white">
<p><b>Level 3</b></p>
<p><a href="3_april.php">April Fools</a></p>
<p><a href="3_fire.php">The Fire</a></p>
<p><a href="3_film.php">Rolls of Film</a></p>
</div>
</div>
</div>
<!-- End page content -->
</div>
<script>
// Script to open and close sidenav
function w3_open() {
document.getElementById("mySidenav").style.display = "block";
document.getElementById("myOverlay").style.display = "block";
}
function w3_close() {
document.getElementById("mySidenav").style.display = "none";
document.getElementById("myOverlay").style.display = "none";
}
</script>
</body>
</html>