Hi guys,
what's up ??
good,
today i have a small question that i thing the most relevant issue is PHP\MU
i have in my site the top player\top guild
and i can see the Admin's \ Gm's of the server...
this is not good :P
how can i remove them ?
here is the code
thanks in advance !
what's up ??
good,
today i have a small question that i thing the most relevant issue is PHP\MU
i have in my site the top player\top guild
and i can see the Admin's \ Gm's of the server...
this is not good :P
how can i remove them ?
here is the code
PHP Code:
<table id="tbl_char">
<tbody><tr>
<th>#</th>
<th>Name</th>
<th>Class</th>
<th>Level</th>
</tr>
<?
include("engine/connect_core.php");
$igcwizzy = $core_db->Execute("Select top 10 Name,cLevel,Class from Character order by cLevel desc");
$igcdrakelv = 0;
while (!$igcwizzy->EOF) {
$igcdrakelv ++;
if($igcdrakelv == 1) {
$igcdrakel = '<img src="template/'.$core['config']['template'].'/Files/1st.png" alt="first" style="vertical-align:middle;" height="24" width="17">';
}
elseif($igcdrakelv == 2) {
$igcdrakel = '<img src="template/'.$core['config']['template'].'/Files/2nd.png" alt="first" style="vertical-align:middle;" height="24" width="17">';
}
elseif($igcdrakelv == 3) {
$igcdrakel = '<img src="template/'.$core['config']['template'].'/Files/3rd.png" alt="first" style="vertical-align:middle;" height="24" width="17">';
}
else {
$igcdrakel = $igcdrakelv;
}
echo'
<tr><td>'.$igcdrakel.'</td>
<td>'.$igcwizzy->fields[0].'</td>
<td>'.decode_class($igcwizzy->fields[2]).'</td>
<td>'.$igcwizzy->fields[1].'</td>
</tr>';
$igcwizzy->MoveNext();
}
?> </tbody></table>
<table id="tbl_gld">
<tbody><tr>
<th>#</th>
<th>Name</th>
<th>Score</th>
<th>Logo</th>
</tr>
<?
include("engine/connect_core.php");
$igcwizzy2 = $core_db->Execute("Select top 10 G_Name,G_Score,G_Mark from Guild order by G_Score desc");
$igcdrakelv2 = 0;
while (!$igcwizzy2->EOF) {
$igcdrakelv2 ++;
if($igcdrakelv2 == 1) {
$igcdrakel2 = '<img src="template/'.$core['config']['template'].'/Files/1st.png" alt="first" style="vertical-align:middle;" height="24" width="17">';
}
elseif($igcdrakelv2 == 2) {
$igcdrakel2 = '<img src="template/'.$core['config']['template'].'/Files/2nd.png" alt="first" style="vertical-align:middle;" height="24" width="17">';
}
elseif($igcdrakelv2 == 3) {
$igcdrakel2 = '<img src="template/'.$core['config']['template'].'/Files/3rd.png" alt="first" style="vertical-align:middle;" height="24" width="17">';
}
else {
$igcdrakel2 = $igcdrakelv2;
}
$igcbiggirl = urlencode(bin2hex($igcwizzy2->fields[2]));
echo'
<tr><td>'.$igcdrakel2.'</td>
<td>'.$igcwizzy2->fields[0].'</td>
<td>'.$igcwizzy2->fields[1].'</td>
<td><img src="get.php?aL='. $igcbiggirl .'width="18" height="18" /></td>
</tr>';
$igcwizzy2->MoveNext();
}
?>