forked from Umbc-HvZ-Web-Committee/Website-2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplayerList.php
More file actions
57 lines (56 loc) · 1.73 KB
/
playerList.php
File metadata and controls
57 lines (56 loc) · 1.73 KB
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
<?php
require_once('pageIncludes/playerList.inc.php');
if (isset($_SESSION['UID'])) {
$UID = $_SESSION['UID'];
$playerData = mysql_oneline("SELECT * FROM `users` WHERE `UID`='$UID'");
} else {
$UID = null;
$playerData = array();
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><?php placeTabIcon(); ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>UMBC HvZ - Player List</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="/style.css" rel="stylesheet" type="text/css" media="all" />
<link href='https://fonts.googleapis.com/css?family=Oxygen' rel='stylesheet' type='text/css'/>
<?php htmlHeader(); ?>
</head>
<body>
<div id="wrapper">
<?php pageHeader(); ?>
<div id="page" class="container">
<div id="content">
<h1 style="text-align:center; margin-top: 10px;"><b>Player List</b></h1><br/>
<form>
<b>Order By:</b>
<input type="radio" name="order" value="name"/> Name
<input type="radio" name="order" value="kills"/> Kill Count
<input type="radio" name="order" value="survived"/> Days Survived
<input type="radio" name="order" value="creation"/> Account Creation Time
<input type="submit" value="Submit" name="submit"/>
</form><br/>
<?php
printPlayerTable();
?>
</div>
<div id="sidebar">
<div class="section1">
<?php displayLoginForm();?>
</div>
<br />
<div class="section4">
<?php retrieveSlides();?>
</div>
</div>
<div class="clearfix"> </div>
</div>
<div id="footer" class="container">
<?php printFooter(); ?>
</div>
</div>
</body>
</html>