Improved gold packages

This commit is contained in:
evader1337
2016-09-14 13:27:49 +02:00
parent a402b87a53
commit 32e016e948
9 changed files with 125 additions and 262 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ $gameinstall = 1;
if(isset($_POST['mhpw'])) {
$password = $_POST['mhpw'];
mysqli_query("UPDATE " . TB_PREFIX . "users SET password = '" . md5($password) . "' WHERE username = 'Multihunter'");
mysqli_query($GLOBALS['link'],"UPDATE " . TB_PREFIX . "users SET password = '" . md5($password) . "' WHERE username = 'Multihunter'");
$wid = $admin->getWref(0, 0);
$uid = 5;
$status = $database->getVillageState($wid);
-8
View File
@@ -5,19 +5,11 @@
$gameinstall = 1;
include ("../../GameEngine/config.php");
include ("../../GameEngine/Database.php");
include ("../../GameEngine/Admin/database.php");
mysqli_connect(SQL_SERVER, SQL_USER, SQL_PASS);
mysqli_select_db(SQL_DB);
$database->populateOasisdata();
$database->populateOasis();
$database->populateOasisUnits2();
header("Location: ../index.php?s=6");
?>
+1
View File
@@ -80,6 +80,7 @@ echo "<div class=\"headline\"><span class=\"f10 c5\">Error creating constant.php
</td></tr><tr></tr>
<td><span class="f9 c6">Beginners protection length:</span></td><td>
<select name="beginner">
<option value="0">No protection</option>
<option value="7200">2 hours</option>
<option value="10800">3 hours</option>
<option value="18000">5 hours</option>