mirror of
https://github.com/jcreek/Assassins-Mission-Control.git
synced 2026-07-12 18:43:43 +00:00
Some small cosmetic changes and failed fix of bug
Bug is on admin-tools/reset-all.php and seems to be failing to load base.php
This commit is contained in:
@@ -59,7 +59,7 @@ foreach($files as $file){ // iterate files
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Echo "<br>"
|
||||
Echo "End of the reset page reached. Unless there are error messages above everything is reset!"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
echo "<h1>Admin Task Completed</h1>";
|
||||
echo "<p>Click below to return to the admin tools page.</p>";
|
||||
echo '<a href="../admin.php">Return to admin tools page</a>';
|
||||
echo "<p>Click below to return to the Command Centre.</p>";
|
||||
echo '<a href="../command-centre.php">Return to Command Centre</a>';
|
||||
?>
|
||||
@@ -3,6 +3,7 @@
|
||||
</head>
|
||||
|
||||
<?php //this code creates the database connection for all pages that need it
|
||||
echo '<p>Loaded base</p>';
|
||||
session_start();
|
||||
|
||||
$dbhost = "localhost"; // this will ususally be 'localhost', but can sometimes differ
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Assassins Mission Control</title>
|
||||
<title>Assassins :: COMMAND CENTRE</title>
|
||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="main" style='width: 90%;'>
|
||||
<h1 style='text-align: center; padding-bottom: 15px;'>Mission Control Admin Tools</h1>
|
||||
<h1 style='text-align: center; padding-bottom: 15px;'>Command Centre Admin Tools</h1>
|
||||
<div style='float:left; border-style: dotted; padding: 2%; width: 60%;'>
|
||||
<p><a href="admin-tools/create-users-table.php">Create users table</a></p>
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
- Add function for hit list where after a given length of time anyone who hasn't already made a kill can be killed by anyone
|
||||
- Add a text log admin file recording who has killed who along with timestamps
|
||||
- Add an admin tool to kill a player and give their assassin a new target without incrementing their kill number
|
||||
- Add an admin tool to correct an erroneous kill
|
||||
- (Potential) Add a new column to the table for the name of a player's killer
|
||||
|
||||
|
||||
>> THINGS REQUIRING FIDDLING WITH THE TABLE STRUCTURE
|
||||
-------------------------------------------------------
|
||||
|
||||
- Add function for hit list where after a given length of time anyone who hasn't already made a kill can be killed by anyone
|
||||
+ This I want to be performed by Admins so there needs to be the following:
|
||||
- A dropdown box containing the names of everyone who hadn't made a kill in the given length of time which will be used by players to report that they have killed one of those poor assassins
|
||||
+ This will probably require an extra column in the database tables
|
||||
- An email will be sent to the target to inform them that they have allegedly been killed and they need to act fast to inform admins if this was not the case.
|
||||
- An email will be sent to the admin to inform them that the target has allegedly been killed.
|
||||
- The admin will need to be able to choose the names of the killer and target from two dropdown boxes of everyone playing (Alphabetised would probably be best?) and then click a buttom to submit that kill
|
||||
- (Potential) Add a new column to the table for the name of a player's killer
|
||||
Reference in New Issue
Block a user