diff --git a/mojotrollz/page/account_serverstatus/account_serverstatus.php b/mojotrollz/page/account_serverstatus/account_serverstatus.php new file mode 100644 index 0000000..9fee92e --- /dev/null +++ b/mojotrollz/page/account_serverstatus/account_serverstatus.php @@ -0,0 +1,22 @@ +SERVERPATH(), $vars);} + + $vars['realm_online'] = \SAI\saimod_mojotrollz_server_handling::sai_mod__SAI_saimod_mojotrollz_server_handling_action_run_tbc_realm_status() == 1 ? 'online' : 'offline'; + $vars['world_online'] = \SAI\saimod_mojotrollz_server_handling::sai_mod__SAI_saimod_mojotrollz_server_handling_action_run_tbc_world_status() == 1 ? 'online' : 'offline'; + $vars['test_online'] = \SAI\saimod_mojotrollz_server_handling::sai_mod__SAI_saimod_mojotrollz_server_handling_action_run_tbc_world_test_status() == 1 ? 'online' : 'offline'; + return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('account_serverstatus/tpl/account_serverstatus.tpl'))->SERVERPATH(), $vars); + } + + public static function css() {return array();} +} \ No newline at end of file diff --git a/mojotrollz/page/account_serverstatus/autoload.inc b/mojotrollz/page/account_serverstatus/autoload.inc new file mode 100644 index 0000000..e2c9da4 --- /dev/null +++ b/mojotrollz/page/account_serverstatus/autoload.inc @@ -0,0 +1,2 @@ + +

Server Status

+
+ + + + + + + + + + + + + +
+ Realm Server:   + + ${realm_online}   +
+ World Server: + + ${world_online}   +
+ Test Server: + + ${test_online}   +
+
+ \ No newline at end of file diff --git a/mojotrollz/page/account_tbc/tpl/account_tbc.tpl b/mojotrollz/page/account_tbc/tpl/account_tbc.tpl index fa85d67..e7be014 100644 --- a/mojotrollz/page/account_tbc/tpl/account_tbc.tpl +++ b/mojotrollz/page/account_tbc/tpl/account_tbc.tpl @@ -4,7 +4,7 @@
Username
Chars
-
Online
+
Online
${wow_accounts} ${wow_accounts_confirm} diff --git a/mojotrollz/page/account_tbc_account/tpl/account_tbc_account.tpl b/mojotrollz/page/account_tbc_account/tpl/account_tbc_account.tpl index 97c9353..ae9731e 100644 --- a/mojotrollz/page/account_tbc_account/tpl/account_tbc_account.tpl +++ b/mojotrollz/page/account_tbc_account/tpl/account_tbc_account.tpl @@ -4,7 +4,7 @@
Character
Level
-
Online
+
Online
${wow_characters} ${account_changepassword} diff --git a/mojotrollz/page/account_tbc_account/tpl/wow_character.tpl b/mojotrollz/page/account_tbc_account/tpl/wow_character.tpl index 86acd99..d556fd1 100644 --- a/mojotrollz/page/account_tbc_account/tpl/wow_character.tpl +++ b/mojotrollz/page/account_tbc_account/tpl/wow_character.tpl @@ -1,5 +1,5 @@
${name}
${level}
-
+
\ No newline at end of file diff --git a/mojotrollz/page/autoload.inc b/mojotrollz/page/autoload.inc index e7b8c0d..58b044f 100644 --- a/mojotrollz/page/autoload.inc +++ b/mojotrollz/page/autoload.inc @@ -14,6 +14,7 @@ require_once dirname(__FILE__).'/default_resetpassword/autoload.inc'; require_once dirname(__FILE__).'/account_website/autoload.inc'; require_once dirname(__FILE__).'/account_changepassword/autoload.inc'; require_once dirname(__FILE__).'/account_changeemail/autoload.inc'; +require_once dirname(__FILE__).'/account_serverstatus/autoload.inc'; require_once dirname(__FILE__).'/account_tbc/autoload.inc'; require_once dirname(__FILE__).'/account_tbc_new/autoload.inc'; diff --git a/mojotrollz/page/default_account/tpl/loggedin.tpl b/mojotrollz/page/default_account/tpl/loggedin.tpl index 61e4c02..18256eb 100644 --- a/mojotrollz/page/default_account/tpl/loggedin.tpl +++ b/mojotrollz/page/default_account/tpl/loggedin.tpl @@ -6,8 +6,9 @@

Account