Rachaw
Experienced Member
Ok links to look
shop system (the offers)
http://otland.net/f118/gesioracc-ronots-layout-fixes-40750/#post421261
Groups (team.php)
Alzeria - Gamemasters List
Help please fast.
woude be great if it workes 0.2 and 0.3.5 if it dosent can you make the other?
rep++ ofc /rachaw
??????????????????????++
shop system (the offers)
http://otland.net/f118/gesioracc-ronots-layout-fixes-40750/#post421261
Groups (team.php)
Alzeria - Gamemasters List
Help please fast.
woude be great if it workes 0.2 and 0.3.5 if it dosent can you make the other?
rep++ ofc /rachaw
??????????????????????++
PHP:
<?php
$list = $SQL->query('SELECT name,online,group_id,world_id FROM players WHERE players.group_id > 1 ORDER BY group_id DESC');
$showed_players = 0;
$groups = simplexml_load_file($config['site']['server_path'].'/data/XML/groups.xml') or die('<b>Could not load groups!</b>');
foreach($groups->group as $g)
$groupList[(int)$g['id']] = $g['name'];
<div class="BoxContent" style="background-image:url(layouts/tibiacom/images/content/scroll.gif);">
<center><h2>Alzeria Managers</h2></center><table border=0 cellspacing=1 cellpadding=4 width=100%>
<tr bgcolor="#505050">
<td width="20%"><font class=white><b>Group</b></font></td>
<td width="45%"><font class=white><b>Name</b></font></td>
<td width="15%"><font class=white><b>Status</b></font></td>
<tr bgcolor="#D4C0A1"><td>Alzeria Manager</td><td><a href="?subtopic=characters&name=AM+Holix">AM Holix</a></td><td><font color="red"><b>Offline</b></font></td><tr bgcolor="#F1E0C6"><td>Alzeria Manager</td><td><a href="?subtopic=characters&name=AM+Crize">AM Crize</a></td><td><font color="red"><b>Offline</b></font></td></table><center><h2>Community Managers</h2></center><table border=0 cellspacing=1 cellpadding=4 width=100%>
<tr bgcolor="#505050">
<td width="20%"><font class=white><b>Group</b></font></td>
<td width="45%"><font class=white><b>Name</b></font></td>
<td width="15%"><font class=white><b>Status</b></font></td>
<tr bgcolor="#D4C0A1"><td>Community Manager</td><td><a href="?subtopic=characters&name=CM+Nutrition">CM Nutrition</a></td><td><font color="red"><b>Offline</b></font></td></table><center><h2>Gamemasters</h2></center><table border=0 cellspacing=1 cellpadding=4 width=100%>
<tr bgcolor="#505050">
<td width="20%"><font class=white><b>Group</b></font></td>
<td width="45%"><font class=white><b>Name</b></font></td>
<td width="15%"><font class=white><b>Status</b></font></td>
<tr bgcolor="#D4C0A1"><td>Gamemaster</td><td><a href="?subtopic=characters&name=GM+Donio">GM Donio</a></td><td><font color="red"><b>Offline</b></font></td></table><center><h2>Senior Tutors</h2></center><table border=0 cellspacing=1 cellpadding=4 width=100%>
<tr bgcolor="#505050">
<td width="20%"><font class=white><b>Group</b></font></td>
<td width="45%"><font class=white><b>Name</b></font></td>
<td width="15%"><font class=white><b>Status</b></font></td>
</table><center><h2>Tutors</h2></center><table border=0 cellspacing=1 cellpadding=4 width=100%>
<tr bgcolor="#505050">
<td width="20%"><font class=white><b>Group</b></font></td>
<td width="45%"><font class=white><b>Name</b></font></td>
<td width="15%"><font class=white><b>Status</b></font></td>
</table> </div>
</div>
</div>
if($gm['online'] == 0)
$player_list_status = '<font color="red">Offline</font>';
else
$player_list_status = '<font color="green">Online</font>';
if(is_int($showed_players / 2))
$bgcolor = $config['site']['darkborder'];
else
$bgcolor = $config['site']['lightborder'];
$showed_players++;
$main_content .= '<tr bgcolor="'.$bgcolor.'"><td>' . $groupList[(int)$gm['group_id']] . '</td><td><a href="?subtopic=characters&name='.urlencode($gm['name']).'">'.$gm['name'].'</a></td><td>'.$player_list_status.'</td><td>'.$config['site']['worlds'][$gm['world_id']].'</td></tr>';
}
$main_content .= "</table>";
?>
Last edited: