From 099e2d5ab8effe07b0e5d8c59e18c81f519fd833 Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Sun, 13 Jan 2013 19:27:39 -0600 Subject: Added totalWins and totalTies columns to the users table. Also, removed all references to the 'statistics' table - it's not needed anymore. --- pages/admin.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pages/admin.php') diff --git a/pages/admin.php b/pages/admin.php index afc6418..0f54285 100644 --- a/pages/admin.php +++ b/pages/admin.php @@ -10,7 +10,7 @@ include_once('./includes/datas.php'); include_once('./includes/maps.php'); include_once('./includes/mapoftheday.php'); include_once('./includes/sqlEmbedded.php'); -include_once('./includes/championPoints.php'); +include_once('./includes/playerStats.php'); if ($_GET['applyall'] == 'true') { echo "Apply-All command heard. Executing..."; @@ -27,10 +27,10 @@ if ($_GET['applyall'] == 'true') { echo "Execution complete!"; } -else if ($_GET['recalcChamp'] == 'true') { - echo "Recalculating champion points..."; +else if ($_GET['recalcStats'] == 'true') { + echo "Recalculating all player stats..."; - recalculateAllPlayersChampionPoints(); + recalculateStatsForAllPlayers(); echo "Complete!"; } @@ -45,7 +45,7 @@ echo '

News:

Buttons:
- +

Hello admins, this is our current userlist.

-- cgit v1.2.3