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 @@
-${char_stats} \ No newline at end of file +