• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[php] need help, a donation script and support list.

Rachaw

Experienced Member
Joined
Oct 17, 2009
Messages
602
Reaction score
1
Location
Tha Sweden
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

??????????????????????++

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:
only got email ;s

i pm u

here is in div

PHP:
   <div id="team" class="Box"> 
    <div class="Corner-tl" style="background-image:url(layouts/tibiacom/images/content/corner-tl.gif);"></div> 
    <div class="Corner-tr" style="background-image:url(layouts/tibiacom/images/content/corner-tr.gif);"></div> 
    <div class="Border_1" style="background-image:url(layouts/tibiacom/images/content/border-1.gif);"></div> 
    <div class="BorderTitleText" style="background-image:url(layouts/tibiacom/images/content/title-background-green.gif);"></div> 
    <img class="Title" src="layouts/tibiacom/images/header/headline-team.gif" alt="Contentbox headline" /> 
    <div class="Border_2"> 
      <div class="Border_3"> 
        <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> 
    <div class="Border_1" style="background-image:url(layouts/tibiacom/images/content/border-1.gif);"></div>
 
Back
Top