diff --git a/mojotrollz/dbd/qq/CHAR_STATS.php b/mojotrollz/dbd/qq/CHAR_STATS.php index 2155419..37dd1aa 100644 --- a/mojotrollz/dbd/qq/CHAR_STATS.php +++ b/mojotrollz/dbd/qq/CHAR_STATS.php @@ -7,7 +7,7 @@ class CHAR_STATS extends \SYSTEM\DB\QQ { //pg '', //mys -'SELECT count(*) as count FROM characters WHERE race=1', +'SELECT race,COUNT(*) FROM characters group by race;', new \DBD\mangos_chars() );}} diff --git a/mojotrollz/page/user_start/char_stats_realm.tpl b/mojotrollz/page/user_start/char_stats_realm.tpl index e69de29..a25e80d 100644 --- a/mojotrollz/page/user_start/char_stats_realm.tpl +++ b/mojotrollz/page/user_start/char_stats_realm.tpl @@ -0,0 +1 @@ +${race} diff --git a/mojotrollz/page/user_start/user_start.tpl b/mojotrollz/page/user_start/user_start.tpl index 1552e8f..2b29679 100644 --- a/mojotrollz/page/user_start/user_start.tpl +++ b/mojotrollz/page/user_start/user_start.tpl @@ -13,4 +13,4 @@

Download realmlist.wtf

Download WoW 1.12

-${char_stats} \ No newline at end of file +
${char_stats}
diff --git a/system b/system index d3ffdf7..b3bf40d 160000 --- a/system +++ b/system @@ -1 +1 @@ -Subproject commit d3ffdf713dc55bfa59367050c4a05f58983912d8 +Subproject commit b3bf40d17d3c707d7af17943b1f6ff147c0e71a6