• 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!

Gesior (Whoisonline.php) Outfitter.

Remember to change the path for the outfitter.php if it's not working!


are u have your file outfiter.php created?

what error have your .php ,or just see page in white?
 
I tried:
PHP:
$cp .= '<a href="?subtopic=characters&name='.urlencode($p['name']).'">'.$p['name'].'</a></td><td style="width: 10%">'.$p['level'].'</td><td style="width:20%">'.str_replace(' ','&#160;',$vocation_name[$p['promotion']][$p['vocation']]).'</td></tr>';
Above it I added:
PHP:
<TD><div style="position: relative; width: 32px; height: 32px;"><div style="background-image: url(\'[COLOR=#ff0000]outfitter.php[/COLOR]?id='.$player['looktype'].'&addons='.$player['lookaddons'].'&head='.$player['lookhead'].'&body='.$player['lookbody'].'&legs='.$player['looklegs'].'&feet='.$player['lookfeet'].'\'); position: absolute; width: 64px; height: 80px; background-position: bottom right; background-repeat: no-repeat; right: 0px; bottom: 0px;"></div></div></TD>

PHP:
td style="text-align:left;width:50%">Name&#160;&#160;<small style="font-weight:normal">[<a href="?subtopic=whoisonline&world='.$_POST['world'].'&order=name_'.($order == 'name_asc' ? 'desc' : 'asc').'">sort</a>]</small>
Above it:
PHP:
<TD CLASS=white><b>Outfit</b></TD>

But it didnt work. :/
 
version gesior? 2012?
edit index.php
here:

// true = show sent queries and SQL queries status/status code/error message
define('DEBUG_DATABASE', false);

change false to true
// true = show sent queries and SQL queries status/status code/error message
define('DEBUG_DATABASE', true);

recharge your web and give me what error have..
 

Parse error
: syntax error, unexpected '<' in C:\xampp\htdocs\pages\whoisonline.php on line 155

Line 155> This code.
PHP:
<TD><div style="position: relative; width: 32px; height: 32px;"><div style="background-image: url(\'[COLOR=#ff0000]outfitter.php[/COLOR]?id='.$player['looktype'].'&addons='.$player['lookaddons'].'&head='.$player['lookhead'].'&body='.$player['lookbody'].'&legs='.$player['looklegs'].'&feet='.$player['lookfeet'].'\'); position: absolute; width: 64px; height: 80px; background-position: bottom right; background-repeat: no-repeat; right: 0px; bottom: 0px;"></div></div></TD>
 
are u sure
PHP:
<TD><div style="position: relative; width: 32px; height: 32px;"><div style="background-image: url(\'outfitter.php?id='.$player['looktype'].'&addons='.$player['lookaddons'].'&head='.$player['lookhead'].'&body='.$player['lookbody'].'&legs='.$player['looklegs'].'&feet='.$player['lookfeet'].'\'); position: absolute; width: 64px; height: 80px; background-position: bottom right; background-repeat: no-repeat; right: 0px; bottom: 0px;"></div></div></TD>
this are your line 155?

I look your whoisonline (pastebin) url:
http://pastebin.com/hEcJ6464

and line 155 is.
just one:--

}
 
are u sure
PHP:
<TD><div style="position: relative; width: 32px; height: 32px;"><div style="background-image: url(\'outfitter.php?id='.$player['looktype'].'&addons='.$player['lookaddons'].'&head='.$player['lookhead'].'&body='.$player['lookbody'].'&legs='.$player['looklegs'].'&feet='.$player['lookfeet'].'\'); position: absolute; width: 64px; height: 80px; background-position: bottom right; background-repeat: no-repeat; right: 0px; bottom: 0px;"></div></div></TD>
this are your line 155?

I look your whoisonline (pastebin) url:
http://pastebin.com/hEcJ6464

and line 155 is.
just one:--

}

I pasted my php because I want to know if someone can tell me where I have to add those codes. It is a clean file, without modification.. So on my php I had this on lane 155.. \/
PHP:
<TD><div style="position: relative; width: 32px; height: 32px;"><div style="background-image: url(\'[COLOR=#ff0000]outfitter.php[/COLOR]?id='.$player['looktype'].'&addons='.$player['lookaddons'].'&head='.$player['lookhead'].'&body='.$player['lookbody'].'&legs='.$player['looklegs'].'&feet='.$player['lookfeet'].'\'); position: absolute; width: 64px; height: 80px; background-position: bottom right; background-repeat: no-repeat; right: 0px; bottom: 0px;"></div></div></TD>
.
 
Now looks better.
mAPeozH.png
 
Back
Top