-
Notifications
You must be signed in to change notification settings - Fork 2
/
checkPoints.php
61 lines (51 loc) · 1.49 KB
/
checkPoints.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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Urban Challenge - Check points for your team.</title>
<style type="text/css">
<!--
body,td,th {
color: #FFF;
}
body {
background-color: #000;
}
a:link {
color:#FC0;
}
a:visited {
color:#FC0;
}
a:active {
color:#FC0;
}
h2 {
color: red;
}
a:hover {
color:#FF0;
}
-->
</style></head>
<body>
<?php
if ($_GET['success'] == "epicfail") {
echo "<h2>Epic fail: Fat man is not amused. Your password was WRONG!</h2>";
echo "<img src=\"images/fatMan.jpg\"><br /><br />";
}
/******* DATABASE CONNECTION ********/
$conn = include 'admin/db_helper/db_connect.php';
echo "<img src=\"images/UCLogoInverted.jpg\"><br />";
echo "<h1>Check your team's score</h1>";
echo "<form action=\"helper/returnPoints.php\" method=\"post\">";
echo "ID Number: <input type=\"text\" name=\"tNum\" /><br />";
echo "Team Password: <input type=\"password\" name=\"pwd\" /><br />";
echo "<br /><input type=\"submit\" />";
echo "</form>";
echo "<br />";
echo "<a href=\"http://www.qldrovers.org.au/\"><img src=\"images/QLDRovers.jpg\"></a> <a href=\"http://www.scoutsqld.com.au/\"><img src=\"images/ScoutsQLD.jpg\"></a>
<p><small>System written in PHP by <a href=\"http://www.facebook.com/pages/St-Johns-Wood-Rover-Crew/141056449255004\">St John's Wood Rover</a> Emile Victor.</small></p>";
?>
</body>
</html>