summaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/admin.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/pages/admin.php b/pages/admin.php
index 90060c2..3685eec 100644
--- a/pages/admin.php
+++ b/pages/admin.php
@@ -6,10 +6,27 @@ htmlHeader();
<?php
topbar($Links);
+include('./includes/datas.php');
include('./includes/maps.php');
include('./includes/mapoftheday.php');
include('./includes/db.inc.php');
+if ($_GET['applyall'] == 'true') {
+ echo "Apply-All command heard. Executing...";
+
+ $x = 0;
+ while ($x <= 200) {
+ $x++;
+ $i = 0;
+ while ($i <= 4) {
+ $i++;
+ applyAchievements($x, $i);
+ }
+ }
+
+ echo "Execution complete!";
+}
+
$sql = "SELECT `ID`, `displayName`, `dateJoined`, `dateLogin`, `email`, `isAdmin` FROM `users`";
$result = mysql_query($sql);