diff --git a/admin/template/template.php b/admin/template/template.php index 36ea0233..d5ce7caa 100644 --- a/admin/template/template.php +++ b/admin/template/template.php @@ -4,13 +4,13 @@ - - - + + + - - - + + + + - -
@@ -364,9 +362,7 @@ else if ($id > 0 && isset($account) && $account->isLoaded())
- - isLoaded()) { $account_players = array(); @@ -377,7 +373,6 @@ else if ($id > 0 && isset($account) && $account->isLoaded())

Character List:

-
@@ -401,7 +396,6 @@ else if ($id > 0 && isset($account) && $account->isLoaded())
- 0 && isset($account) && $account->isLoaded()) }; ?> -
-isLoaded()) { - ?> -
- query('DESCRIBE ' . $tableToDescribe); - $result = $statement->fetchAll(PDO::FETCH_ASSOC); - $val = 0; - foreach ($result as $column) { - // IF val = 2 MAKE TODO - ($val == 2) ? "" : ""; - ?> - - - - '; - - if ($val == 2) { - echo ""; - $val = 1; - } else { - ++$val; - } - - } ?> -
- -
+ \ No newline at end of file diff --git a/system/pages/admin/dashboard.php b/system/pages/admin/dashboard.php index 30d8611d..9d6c201c 100644 --- a/system/pages/admin/dashboard.php +++ b/system/pages/admin/dashboard.php @@ -65,7 +65,7 @@ $query = $query->fetch(); $total_houses = $query['how_much']; $points = $db->query('SELECT `premium_points`, `' . (USE_ACCOUNT_NAME ? 'name' : 'id') . '` as `name` FROM `accounts` ORDER BY `premium_points` DESC LIMIT 10;'); -$coins = $db->query('SELECT `coins`, `' . (USE_ACCOUNT_NAME ? 'name' : 'id') . '` as `name` FROM `accounts` ORDER BY `premium_points` DESC LIMIT 10;'); + $twig->display('admin.statistics.html.twig', array( 'total_accounts' => $total_accounts, @@ -79,8 +79,7 @@ $twig->display('admin.dashboard.html.twig', array( 'closed_message' => $closed_message, 'status' => $status, 'account_type' => (USE_ACCOUNT_NAME ? 'name' : 'number'), - 'points' => $points, - 'coins' => $coins + 'points' => $points )); function clearCache() { diff --git a/system/pages/admin/players.php b/system/pages/admin/players.php index 327292bf..217f79e6 100644 --- a/system/pages/admin/players.php +++ b/system/pages/admin/players.php @@ -45,8 +45,8 @@ $skills = array( ); ?> - - + + - - + + + + - + + - + +