stats (where the fucking hell does that mojopulse come from o.O?

This commit is contained in:
Tobi 2014-10-29 09:51:54 +01:00
parent ab6d9e5641
commit 2be5138691
4 changed files with 28 additions and 6 deletions

View File

@ -8,7 +8,7 @@
</head>
<body style="background: url(${PICPATH}wall.png);">
<div id="frame_main">
<div id="frame_content_wrapper" class="threecol_parent" style="background: url(${PICPATH}background.png);">
<div id="frame_content_wrapper" class="threecol_parent" style="background: black;">
<div id="frame_header" class="threecol_row">
<div class="threecol_col" style="background: url(${PICPATH}border_top_l.png) no-repeat;"></div>
<div class="threecol_col" style="background: url(${PICPATH}border_top_m.png) repeat-x;"></div>
@ -17,10 +17,9 @@
<div class="threecol_row" style="">
<div id="frame_left_border" class="threecol_col" style="background: url(${PICPATH}border_left.png) repeat-y;"></div>
<div id="frame_content_user">
<div id="frame_menu">
menu
<div id="frame_menu" style="">
</div>
<div id="frame_content"></div>
<div id="frame_content" style=""></div>
<div id="frame_character"></div>
</div>
<div id="frame_right_border" class="threecol_col" style="background: url(${PICPATH}border_right.png) repeat-y;"></div>

View File

@ -2,4 +2,6 @@
<li><a id="btn_news" href="#">News</a></li>
<li><a id="btn_db" href="#">Database</a></li>
<li><a id="btn_logout" href="#">Logout</a></li>
</div>

View File

@ -3,6 +3,13 @@
class user_start extends SYSTEM\PAGE\Page {
public function html(){
$vars = array();
$vars['realm_status'] = realm::status();
$vars['world_status'] = world::status();
$vars['player_online'] = database::player_online();
$vars['PICPATH'] = \SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL).'api.php?call=files&cat=default_page&id=';
$vars = array_merge($vars, \SYSTEM\locale::getStrings(DBD\locale_string::VALUE_CATEGORY_MAINPAGE),
\SYSTEM\locale::getStrings(DBD\locale_string::VALUE_CATEGORY_WOW_SERVERINFO),
\SYSTEM\locale::getStrings(DBD\locale_string::VALUE_CATEGORY_BASIC));
return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'user_start/user_start.tpl'), $vars);
}
}

View File

@ -1 +1,15 @@
News
<div style="float: left;">
<H3>Server Info</H3>
<p>Realmlist: ${realmlist}</p>
<p>Server Version: ${server_version}</p>
<p>Client Version: ${client_version}</p>
<br>
<p>Realm Server: ${realm_status}</p>
<p>World Server: ${world_status}</p>
<p>Players Online: ${player_online}</p>
<H3>Server Help</H3>
<p><a href="${url_realmlistwtf}" target="_blank">Download realmlist.wtf</a></p>
<p><a href="${url_wowclient}" target="_blank">Download WoW 1.12</a></p>
</div>