mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-11 23:14:39 +02:00
Added login site.
This commit is contained in:
parent
0876b293e8
commit
94db8336df
20 changed files with 2362 additions and 0 deletions
50
www/control_panel.php
Normal file
50
www/control_panel.php
Normal file
|
@ -0,0 +1,50 @@
|
|||
<?php
|
||||
|
||||
error_reporting(E_ALL | E_STRICT);
|
||||
|
||||
include("config.php");
|
||||
include("database.php");
|
||||
include("control_panel_common.php");
|
||||
|
||||
$g_userCharacters = GetUserCharacters($g_databaseConnection, $g_userId);
|
||||
|
||||
?>
|
||||
<!DOCTYPE HTML>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Seventh Umbral Server</title>
|
||||
<link rel="stylesheet" type="text/css" href="css/reset.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/global.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<?php include("control_panel_header.php"); ?>
|
||||
<p>
|
||||
<div class="edit">
|
||||
<h2>Characters</h2>
|
||||
<br />
|
||||
<table class="editForm">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
<?php
|
||||
foreach($g_userCharacters as $character)
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $character["name"]; ?></td>
|
||||
<td>
|
||||
<a href="control_panel_edit_character.php?id=<?php echo $character["id"]; ?>">
|
||||
Edit
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue