-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.php
More file actions
47 lines (30 loc) · 1.02 KB
/
Copy pathmain.php
File metadata and controls
47 lines (30 loc) · 1.02 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
<!DOCTYPE html>
<html>
<div id="content" align="center">
<body>
<h1>Game Battle System</h1>
</div>
<?php
function gamebattle(){
}
if (isset($_COOKIE["username"])) {
$username = $_COOKIE["username"];
$password = $_COOKIE["password"];
$conn = mysql_connect("17carson.cs.uleth.ca",$username,$password) or
die(mysql_error());
mysql_select_db($username,$conn) or die(mysql_error());
echo "Date:" . date ("Y/m/d") . "<br>";
echo "<font color=#ff0000> click this link to</font> ";
echo "<a href=\"insert_player.php\">insert a player</a></p>";
echo " <font color=##00FFFF> click this link to ";
echo " <a href =\"select_player.php\"> select a player</a></p>";
echo " <font color=##00FFFF> click this link to ";
echo " <a href =\"update_player.php\"> update a player</a></p>";
echo "<font color=#ff0000> click this link to</font> ";
echo " <a href =\"delete_player.php\"> delete a player</a></p>";
//<input type="button" onClick="parent.location='select_player.php'" VALUE="what">
}
?>
</form>
</div>
</html>