new items for user loggedin(roles)
layouted new styles for compendium elements new styles for frontpage new styles for summary
BIN
mojotrollz/files/wowicons/Damage.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
mojotrollz/files/wowicons/Healer.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
mojotrollz/files/wowicons/Tank.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
mojotrollz/files/wowicons/m.png
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
mojotrollz/files/wowicons/mojologo.psd
Normal file
BIN
mojotrollz/files/wowicons/warcraft_volume_1_full.png
Normal file
|
After Width: | Height: | Size: 214 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
BIN
mojotrollz/files/wowicons/wow.png
Normal file
|
After Width: | Height: | Size: 524 KiB |
|
After Width: | Height: | Size: 133 KiB |
@ -49,7 +49,7 @@ body {
|
|||||||
#frame_main {
|
#frame_main {
|
||||||
//width: 1000px;
|
//width: 1000px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 1000px;
|
width: 1015px;
|
||||||
top: 20%;
|
top: 20%;
|
||||||
left: 20%;
|
left: 20%;
|
||||||
//-webkit-box-shadow: 3px 3px 4px 2px rgba(0, 0, 0, 1);
|
//-webkit-box-shadow: 3px 3px 4px 2px rgba(0, 0, 0, 1);
|
||||||
@ -91,6 +91,10 @@ body {
|
|||||||
margin-left: 320px;
|
margin-left: 320px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#frame_content_wrapper{
|
||||||
|
height: 550px;
|
||||||
|
}
|
||||||
|
|
||||||
#frame_content_right {
|
#frame_content_right {
|
||||||
float: right;
|
float: right;
|
||||||
width: 280px;
|
width: 280px;
|
||||||
@ -103,3 +107,15 @@ body {
|
|||||||
position: relative;
|
position: relative;
|
||||||
height: 26px;
|
height: 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table_summ{
|
||||||
|
color: black; padding: 10px; margin-left: 20px; margin-top: 20px; width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table_summ tr{
|
||||||
|
border-bottom: 2px black solid;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.table_summ td{
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
@ -8,7 +8,6 @@
|
|||||||
${js}
|
${js}
|
||||||
</head>
|
</head>
|
||||||
<body style="background: url(${PICPATH}wall.png);">
|
<body style="background: url(${PICPATH}wall.png);">
|
||||||
<div id="frame_logo"><img src="${PICPATH}logo.png"/></div>
|
|
||||||
<div id="frame_main">
|
<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: url(${PICPATH}background.png);">
|
||||||
<div id="frame_header" class="threecol_row">
|
<div id="frame_header" class="threecol_row">
|
||||||
|
|||||||
@ -7,8 +7,8 @@ class default_start extends SYSTEM\PAGE\Page {
|
|||||||
|
|
||||||
public function html(){
|
public function html(){
|
||||||
$vars = array();
|
$vars = array();
|
||||||
$vars['default_page_welcome'] = \SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_start/tpl/default_page_welcome.tpl'), array());
|
$vars['default_page_new_char'] = \SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_start/tpl/default_page_new_char.tpl'), array());
|
||||||
$vars['default_page_serverinfo'] = \SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_start/tpl/default_page_serverinfo.tpl'), array());
|
$vars['default_page_welcome'] = \SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_start/tpl/default_page_welcome.tpl'), array());
|
||||||
$vars['default_page_login'] = \SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_start/tpl/default_page_login.tpl'), array());
|
$vars['default_page_login'] = \SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_start/tpl/default_page_login.tpl'), array());
|
||||||
|
|
||||||
$vars['PICPATH'] = \SYSTEM\FILES\files::getURL('default_start');
|
$vars['PICPATH'] = \SYSTEM\FILES\files::getURL('default_start');
|
||||||
|
|||||||
11
mojotrollz/page/default_start/tpl/default_page_new_char.tpl
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<div>
|
||||||
|
<h4>
|
||||||
|
This site is under construction.
|
||||||
|
<br>
|
||||||
|
Feel free to snoop around.
|
||||||
|
</h4>
|
||||||
|
<div style="padding-top: 25px;"><img src="${PICPATH}help_gnome.png" width="200px;" /></div>
|
||||||
|
<div id="start" style="float: left; padding-top: 55px;">
|
||||||
|
<a href="#wizard_details"><img width="280" src="${PICPATH}button.png"/></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
@ -1,11 +1,4 @@
|
|||||||
<h3 style="color: gold;">Welcome Traveler</h3>
|
<div>
|
||||||
<h4>Welcome to WoW Hardmode.
|
<img width="300" src="http://www.mojotrollz.eu/web/mojotrollz/api.php?call=files&cat=wowicons&id=m.png"/>
|
||||||
<br>
|
<H3>Soon to come...</H3>
|
||||||
This site is under construction.
|
|
||||||
<br>
|
|
||||||
Feel free to snoop around.
|
|
||||||
</h4>
|
|
||||||
<div style="text-align: center; padding-top: 25px;"><img src="${PICPATH}help_gnome.png" width="200px;" /></div>
|
|
||||||
<div id="start" style="float: left;padding-top: 55px;">
|
|
||||||
<a href="#wizard_details"><img src="${PICPATH}button.png"/></a>
|
|
||||||
</div>
|
</div>
|
||||||
@ -8,7 +8,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="threecol_row">
|
<div class="threecol_row">
|
||||||
<div class="threecol_col" style="background: url(${PICPATH_DEFAULT}border_lefts.png) repeat-y; width: 12px;"></div>
|
<div class="threecol_col" style="background: url(${PICPATH_DEFAULT}border_lefts.png) repeat-y; width: 12px;"></div>
|
||||||
<div class="threecol_col" style="background-color: darkslategrey; padding-left: 10px;">${default_page_login}</div>
|
<div class="threecol_col" style="background: url(http://www.mojotrollz.eu/web/mojotrollz/api.php?call=files&cat=wowicons&id=background1.png); padding-left: 10px;">${default_page_login}</div>
|
||||||
<div class="threecol_col" style="background: url(${PICPATH_DEFAULT}border_rights.png) repeat-y; width: 12px;"></div>
|
<div class="threecol_col" style="background: url(${PICPATH_DEFAULT}border_rights.png) repeat-y; width: 12px;"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="threecol_row" style="height: 12px;">
|
<div class="threecol_row" style="height: 12px;">
|
||||||
@ -27,7 +27,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="threecol_row">
|
<div class="threecol_row">
|
||||||
<div class="threecol_col" style="background: url(${PICPATH_DEFAULT}border_lefts.png) repeat-y; width: 12px;"></div>
|
<div class="threecol_col" style="background: url(${PICPATH_DEFAULT}border_lefts.png) repeat-y; width: 12px;"></div>
|
||||||
<div class="threecol_col" style="background-color: darkolivegreen; padding-left: 10px;">${default_page_serverinfo}</div>
|
<div class="threecol_col" style="background: url(http://www.mojotrollz.eu/web/mojotrollz/api.php?call=files&cat=wowicons&id=background1.png); padding-left: 10px;">${default_page_new_char}</div>
|
||||||
<div class="threecol_col" style="background: url(${PICPATH_DEFAULT}border_rights.png) repeat-y; width: 12px;"></div>
|
<div class="threecol_col" style="background: url(${PICPATH_DEFAULT}border_rights.png) repeat-y; width: 12px;"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="threecol_row" style="height: 12px;">
|
<div class="threecol_row" style="height: 12px;">
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<div style="width: 180px;">
|
<div style="width: 180px;">
|
||||||
<a id="btn_news" href="#user_start"><li class="btn_blue">News</li></a>
|
<a id="btn_news" href="#user_start"><li class="btn_blue">Overview</li></a>
|
||||||
<a id="btn_achieve" href="#user_achievements_menu"><li class="btn_blue">Compendium</li></a>
|
<a id="btn_achieve" href="#user_achievements_menu"><li class="btn_blue">Compendium</li></a>
|
||||||
<a id="btn_inv" href="#"><li class="btn_blue">Inventory</li></a>
|
<a id="btn_inv" href="#"><li class="btn_blue">Inventory</li></a>
|
||||||
<a id="btn_arm" href="#"><li class="btn_blue">Armory</li></a>
|
<a id="btn_arm" href="#"><li class="btn_blue">Armory</li></a>
|
||||||
|
|||||||
35
mojotrollz/page/user_start/tpl/role_balance.tpl
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>Keep your Role... <br>updated via Character Profile</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>Tanks<br>
|
||||||
|
<img src="http://www.mojotrollz.eu/web/mojotrollz/api.php?call=files&cat=wowicons&id=Tank.png"/> count
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>physical DDs<br>
|
||||||
|
<img src="http://www.mojotrollz.eu/web/mojotrollz/api.php?call=files&cat=wowicons&id=Damage.png"/> count
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>magical DDs<br>
|
||||||
|
<img src="http://www.mojotrollz.eu/web/mojotrollz/api.php?call=files&cat=wowicons&id=Damage.png"/> count
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>Healers<br>
|
||||||
|
<img src="http://www.mojotrollz.eu/web/mojotrollz/api.php?call=files&cat=wowicons&id=Healer.png"/> count
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
@ -4,6 +4,8 @@
|
|||||||
<div class="window_bg2" style="width: 290px; min-height: 255px;">
|
<div class="window_bg2" style="width: 290px; min-height: 255px;">
|
||||||
<H3>Welcome to Mojo WoW</H3>
|
<H3>Welcome to Mojo WoW</H3>
|
||||||
<p>Site is currently <br>under construction.<br> Be gone. Shush!</p>
|
<p>Site is currently <br>under construction.<br> Be gone. Shush!</p>
|
||||||
|
<div style="float: right;"><img width="200;" src="http://www.mojotrollz.eu/web/mojotrollz/api.php?call=files&cat=wowicons&id=wow.png"/></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div style="clear: both"></div>
|
<div style="clear: both"></div>
|
||||||
<div class="window_bg2" style="width: 290px;">
|
<div class="window_bg2" style="width: 290px;">
|
||||||
@ -23,28 +25,47 @@
|
|||||||
<p>Realm Server: ${realm_status}</p>
|
<p>Realm Server: ${realm_status}</p>
|
||||||
<p>World Server: ${world_status}</p>
|
<p>World Server: ${world_status}</p>
|
||||||
<p>Players Online: ${player_online}</p>
|
<p>Players Online: ${player_online}</p>
|
||||||
</div>
|
<div style="clear: both"></div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="window_bg2" style="width: 220px;">
|
||||||
|
<H3>Daily Web Quests</H3>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align: center"><img src="http://www.mojotrollz.eu/web/mojotrollz/api.php?call=files&cat=wowicons&id=webquest.png"></td>
|
||||||
|
<td style="width: 20px;"></td>
|
||||||
|
<td style="text-align: center"><img src="http://www.mojotrollz.eu/web/mojotrollz/api.php?call=files&cat=wowicons&id=webquest.png"></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div style="clear: both"></div>
|
<div style="clear: both"></div>
|
||||||
<div id="frame_vid" class="window_bg2">
|
<div id="frame_vid" class="window_bg2">
|
||||||
<H3><a href="https://www.youtube.com/user/Mojotrolltribe">Visit the Tribe on youtube!</a></H3>
|
<H3><a href="https://www.youtube.com/user/Mojotrolltribe">Visit the Tribe on youtube!</a></H3>
|
||||||
<iframe width="400" height="230" src="//www.youtube.com/embed/Rpoy03UkZFk" frameborder="0" allowfullscreen></iframe>
|
<iframe width="400" height="230" src="//www.youtube.com/embed/Rpoy03UkZFk" frameborder="0" allowfullscreen></iframe>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="float: left">
|
||||||
|
<div id="frame_start_stats" class="window_bg2" style="">
|
||||||
|
<div style="float: left;">
|
||||||
|
<H3>Racial Pluralism</H3>
|
||||||
|
<table>${char_stats}</table>
|
||||||
|
<br>
|
||||||
|
<p><font style="font-size: 10pt;"> ${factionbalance}</font></p>
|
||||||
|
</div>
|
||||||
|
<div style="float: left; margin-left: 20px;">
|
||||||
|
<H3>Class Diffusion</H3>
|
||||||
|
<table>${class_stats}</table>
|
||||||
|
</div>
|
||||||
|
<div style="float: left; margin-left: 20px; padding-left: 20px;">
|
||||||
|
<H3>Role Balance</H3>
|
||||||
|
${role_balance}
|
||||||
|
Guilds <font style="font-size: 10pt;"> overallcount:${guildcount}</font>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="frame_start_stats" class="window_bg2" style="">
|
|
||||||
<div style="float: left;">
|
|
||||||
<H3>Racial Pluralism</H3>
|
|
||||||
<table>${char_stats}</table>
|
|
||||||
<br>
|
|
||||||
<p><font style="font-size: 10pt;"> ${factionbalance}</font></p>
|
|
||||||
</div>
|
</div>
|
||||||
<div style="float: left; margin-left: 20px;">
|
|
||||||
<H3>Class Diffusion</H3>
|
|
||||||
<table>${class_stats}</table>
|
|
||||||
</div>
|
|
||||||
<div style="float: left; margin-left: 20px; padding: 20px;">
|
|
||||||
Guilds <font style="font-size: 10pt;"> overallcount:${guildcount}</font>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -8,31 +8,6 @@ class user_start extends SYSTEM\PAGE\Page {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
private function switch_order($race){
|
|
||||||
switch($race){
|
|
||||||
case 1:
|
|
||||||
return '1';
|
|
||||||
case 2:
|
|
||||||
return '3';
|
|
||||||
case 3:
|
|
||||||
return '7';
|
|
||||||
case 4:
|
|
||||||
return '4';
|
|
||||||
case 5:
|
|
||||||
return '2';
|
|
||||||
case 6:
|
|
||||||
return '8';
|
|
||||||
case 7:
|
|
||||||
return '6';
|
|
||||||
case 8:
|
|
||||||
return '5';
|
|
||||||
default:
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public function get_char_statistics(){
|
public function get_char_statistics(){
|
||||||
$result = '';
|
$result = '';
|
||||||
$chars = \DBD\CHAR_STATS::QA();
|
$chars = \DBD\CHAR_STATS::QA();
|
||||||
@ -64,7 +39,10 @@ class user_start extends SYSTEM\PAGE\Page {
|
|||||||
$balance = \DBD\FACTION_BALANCE::Q1();
|
$balance = \DBD\FACTION_BALANCE::Q1();
|
||||||
return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'user_start/tpl/faction_balance.tpl'), $balance);
|
return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'user_start/tpl/faction_balance.tpl'), $balance);
|
||||||
}
|
}
|
||||||
|
public function get_role_balance(){
|
||||||
|
$balance = \DBD\FACTION_BALANCE::Q1();
|
||||||
|
return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'user_start/tpl/role_balance.tpl'), $balance);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public function html(){
|
public function html(){
|
||||||
@ -76,6 +54,7 @@ class user_start extends SYSTEM\PAGE\Page {
|
|||||||
$vars['world_status'] = world::status();
|
$vars['world_status'] = world::status();
|
||||||
$vars['player_online'] = database::player_online();
|
$vars['player_online'] = database::player_online();
|
||||||
$vars['factionbalance'] = $this->get_faction_balance();
|
$vars['factionbalance'] = $this->get_faction_balance();
|
||||||
|
$vars['role_balance'] =$this->get_role_balance();
|
||||||
$vars['PICPATH'] = \SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL).'api.php?call=files&cat=default_page&id=';
|
$vars['PICPATH'] = \SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL).'api.php?call=files&cat=default_page&id=';
|
||||||
$vars['PIC'] = \SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL).'api.php?call=files&cat=race&id=';
|
$vars['PIC'] = \SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL).'api.php?call=files&cat=race&id=';
|
||||||
$vars['PI'] = \SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL).'api.php?call=files&cat=class&id=';
|
$vars['PI'] = \SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_BASEURL).'api.php?call=files&cat=class&id=';
|
||||||
|
|||||||
@ -1,27 +1,30 @@
|
|||||||
<H4>Summary</H4>
|
<div style="text-align: center; color: black;">
|
||||||
<table>
|
<H4>Summary</H4>
|
||||||
<tr>
|
</div>
|
||||||
|
|
||||||
|
<table class="table_summ">
|
||||||
|
<!--<tr>
|
||||||
<th>Option</th>
|
<th>Option</th>
|
||||||
<th>Wert</th>
|
<th>Wert</th>
|
||||||
<th>Check</th>
|
<th>Check</th>
|
||||||
</tr>
|
</tr>-->
|
||||||
<tr>
|
<tr>
|
||||||
<td>Name</td>
|
<td><b>Name</b></td>
|
||||||
<td>${char_name}</td>
|
<td>${char_name}</td>
|
||||||
<td>${char_name_ok}</td>
|
<td>${char_name_ok}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Gender</td>
|
<td><b>Gender</b></td>
|
||||||
<td><img src="${WOW_GENDER}${char_gender}.png"/></td>
|
<td><img src="${WOW_GENDER}${char_gender}.png"/></td>
|
||||||
<td>${char_gender_ok}</td>
|
<td>${char_gender_ok}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Race</td>
|
<td><b>Race</b></td>
|
||||||
<td><img src="${WOW_RACE}${char_race}_${char_gender}.png"/></td>
|
<td><img src="${WOW_RACE}${char_race}_${char_gender}.png"/></td>
|
||||||
<td>${char_race_ok}</td>
|
<td>${char_race_ok}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Class</td>
|
<td><b>Class</b></td>
|
||||||
<td><img src="${WOW_CLASS}${char_class}.png"/></td>
|
<td><img src="${WOW_CLASS}${char_class}.png"/></td>
|
||||||
<td>${char_class_ok}</td>
|
<td>${char_class_ok}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -61,12 +64,12 @@
|
|||||||
<td>${char_skill_tree_ok}</td>
|
<td>${char_skill_tree_ok}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Guild</td>
|
<td><b>Guild</b></td>
|
||||||
<td>${char_guild}</td>
|
<td>${char_guild}</td>
|
||||||
<td>${char_guild_ok}</td>
|
<td>${char_guild_ok}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Spawn</td>
|
<td><b>Spawn</b></td>
|
||||||
<td><img src="${WOW_CITY}${char_spawn}.png"/></td>
|
<td><img src="${WOW_CITY}${char_spawn}.png"/></td>
|
||||||
<td>${char_spawn_ok}</td>
|
<td>${char_spawn_ok}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||