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

Solved Whoisonline vocations bug

Nibelor

New Member
Joined
Nov 21, 2012
Messages
25
Reaction score
0
Hello on my website my who is online script seems bugged.

I want it to be exactly as it is but for some reason it is not showing the vocations, just "e" "o" and so on..


I can post anything you want as long as you tell me what it is
 
It needs to be rewritten, but I can change it for you if you post the line.
 
Last edited:
Okey sec

- - - Updated - - -

PHP:
<?php    
    $cache_sec = 1;
    $info = array(
            0 => array('Europe', '20th October 2012, 18.00 CET')
    );


    $id=0;
    if(isset($_POST['world'])) {
            $f = null;
            foreach($config['site']['worlds'] as $k => $v)
                    if($v == $_POST['world']) {
                            $f = true;
                            $id = $k;
                            break;
                    }
            if(!$f)
                    $_POST['world'] = $config['site']['worlds'][0];
    } else $_POST['world'] = $config['site']['worlds'][0];


    $order = 'name_asc';
    if(isset($_REQUEST['order']) && in_array($_REQUEST['order'], array('name_desc', 'level_asc','level_desc','vocation_asc','vocation_desc')))
            $order = $_REQUEST['order'];


    if(count($config['site']['worlds']) > 1) {
            $main_content =
    '<form action="?subtopic=whoisonline" method="post">
            <div class="TableContainer">
                    <table class="Table1" cellpadding="0" cellspacing="0">
                            <div class="CaptionContainer">
                                    <div class="CaptionInnerContainer">
                                            <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span>
                                            <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span>
                                            <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span>
                                            <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span>
                                            <div class="Text">World Selection</div>
                                            <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span>
                                            <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span>
                                            <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span>
                                            <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span>
                                    </div>
                            </div>
                            <tr>
                                    <td>
                                            <div class="InnerTableContainer">
                                                    <table width="100%">
                                                            <tr>
                                                                    <td style="vertical-align:middle" class="LabelV150">World Name:</td>
                                                                    <td style="width:170px">
                                                                            <select size="1" name="world" style="width:165px">';
    foreach($config['site']['worlds'] as $v)
            $main_content .= '<option value="'.$v.'"'.($v == $_POST['world'] ? ' selected="selected"' : '').'>'.$v.'</option>';
    $main_content .= '
                                                                            </select>
                                                                    </td>
                                                                    <td style="text-align:left">
                                                                            <div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)">
                                                                                    <div onmouseover="MouseOverBigButton(this)" onmouseout="MouseOutBigButton(this)"><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif)"></div>
                                                                                            <input class="ButtonText" type="image" name="Submit" alt="Submit" src="'.$layout_name.'/images/buttons/_sbutton_submit.gif"/>
                                                                                    </div>
                                                                            </div>
                                                                    </td>
                                                            </tr>
                                                    </table>
                                            </div>
                                    </td>
                            </tr>
                    </table>
            </div>
    </form><br/>
    ';
    }
    $main_content .=
    '<div class="TableContainer">
            <table class="Table1" cellpadding="0" cellspacing="0">
                    <div class="CaptionContainer">
                            <div class="CaptionInnerContainer">
                                    <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span>
                                    <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span>
                                    <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span>
                                    <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span>
                                    <div class="Text">World Information</div>
                                    <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span>
                                    <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span>
                                    <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span>
                                    <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span>
                            </div>
                    </div>
                    <tr>
                            <td>
                                    <div class="InnerTableContainer">
                                            <table width="100%">
                                                    <tr>
                                                            <td class="LabelV150">Players Active:</td>
                                                            <td>';
    $f = 'cache/whoisonline-'.$_POST['world'].'-'.$order.'.tmp';
    $ff = 'cache/whoisonline-'.$_POST['world'].'-record.tmp';
    if(file_exists($f) && filemtime($f) > (time() - $cache_sec)) {
            $cp = file_get_contents($f);
            $cached = null;
            if(file_exists($f) && filemtime($f) > (time() - $cache_sec)) {
                    $e = explode('|', file_get_contents($ff));
                    $n = $e[0];
                    $c = $e[1];
                    $cached = true;
            }
    }
    else {
            $cp = '';
            $n = 0;
            $q = 'SELECT name,level,vocation,promotion,looktype,lookaddons,lookhead,lookbody,looklegs,lookfeet FROM players WHERE world_id='.$id.' AND online=1';
            if(in_array($order, array('name_asc','name_desc','level_asc','level_desc')))
                    $q .= ' ORDER BY '.str_replace('_', ' ', $order);


            $outfit = "outfitter.php";


            if(in_array($order, array('vocation_asc','vocation_desc'))) {
                    $a = array();
                    foreach($SQL->query($q)->fetchAll() as $p)
                            $a[] = array($p['name'], $p['level'], $vocation_name[$id][$p['promotion']][$p['vocation']], array($p['looktype'], $p['lookaddons'], $p['lookhead'], $p['lookbody'], $p['looklegs'], $p['lookfeet']));
                    function cmp($a, $b) {
                            $r = strcmp($a[2], $b[2]);
                            $r = $GLOBALS['order'] == 'vocation_desc' ? ($r == 1 ? -1 : ($r == -1 ? 1 : 0)) : $r;
                            return ($r == 0 && $a[1] < $b[1]) ? 1 : $r;
                    }
                    usort($a, 'cmp');
                    foreach($a as $p) {
                            $n++;
                            $cp .= '<tr class="'.(is_int($n/2)?'Even':'Odd').'" style="text-align:right"><td><div style="position: relative; width: 32px; height: 32px;"><div style="background-image: url(\''.$outfit.'?id='.$p[3][0].'&addons='.$p[3][1].'&head='.$p[3][2].'&body='.$p[3][3].'&legs='.$p[3][4].'&feet='.$p[3][5].'\'); position: absolute; width: 64px; height: 80px; background-position: bottom right; background-repeat: no-repeat; right: 0px; bottom: 0px;"></div></div></td><td style="width:70%;text-align:left"><a href="?subtopic=characters&name='.urlencode($p[0]).'">'.$p[0].'</a></td><td style="width:10%;text-align:center;">'.$p[1].'</td><td style="width:40%;">'.str_replace(' ',' ',$p[2]).'</td></tr>';
                    }
            }
            else {
                    $l = array();
                    foreach($SQL->query($q)->fetchAll() as $p) {
                            $n++;
                            $cp .= '<tr class="'.(is_int($n/2)?'Even':'Odd').'" style="text-align:right"><td><div style="position: relative; width: 32px; height: 32px;"><div style="background-image: url(\''.$outfit.'?id='.$p['looktype'].'&addons='.$p['lookaddons'].'&head='.$p['lookhead'].'&body='.$p['lookbody'].'&legs='.$p['looklegs'].'&feet='.$p['lookfeet'].'\'); position: absolute; width: 64px; height: 80px; background-position: bottom right; background-repeat: no-repeat; right: 0px; bottom: 0px;"></div></div></td>';
                            if($order == 'name_asc') {
                                    $tmp = strtoupper($p['name'][0]);
                                    if(!in_array($tmp, $l)) {
                                            $l[] = $tmp;
                                            $cp .= '<a name="'.$tmp.'"></a>';
                                    }
                            }
                            $cp .= '<td style="width:70%;text-align:left"><a href="?subtopic=characters&name='.urlencode($p['name']).'">'.$p['name'].'</a></td><td style="width:10%;text-align:center;">'.$p['level'].'</td><td style="width:40%;">'.str_replace(' ',' ',$vocation_name[$id][$p['promotion']][$p['vocation']]).'</td></tr>';
                    }
            }
            file_put_contents($f, $cp);
    }
    if(!$cached) {
            $r=$SQL->query('SELECT MAX(record) as r,MAX(timestamp) as t FROM server_record WHERE world_id='.$id)->fetch();
            $c = $r['r'].' players (on '.date('M d Y, H:i:s T', $r['t']).')';
            file_put_contents($ff, $n.'|'.$c);
    }
    $main_content .= $config['status']['serverStatus_players'] .'</td>
                                                    </tr>
                                                    <tr>
                                                            <td class="LabelV150">Players AFK:</td>
                                                            <td>'.($n-$config['status']['serverStatus_players']).'</td>
                                                    </tr>
                                                    <tr>
                                                            <td class="LabelV150">Online Record:</td>
                                                            <td>'.$c.'</td>
                                                    </tr>
                                                    <tr>
                                                            <td class="LabelV150">Creation Date:</td>
                                                            <td>'.$info[$id][1].'</td>
                                                    </tr>
                                                    <tr>
                                                            <td class="LabelV150">Location:</td>
                                                            <td>'.$info[$id][0].'</td>
                                                    </tr>
                                                    <tr>
                                                            <td class="LabelV150">PvP Type:</td>
                                                            <td>';
    $w=strtolower($config['server']['worldType']);
    if(in_array($w, array('pvp','2','normal','open','openpvp')))
            $main_content .= 'Open PvP';
    elseif(in_array($w, array('no-pvp','nopvp','non-pvp','nonpvp','1','safe','optional','optionalpvp')))
            $main_content .= 'Optional PvP';
    elseif(in_array($w, array('pvp-enforced','pvpenforced','pvp-enfo','pvpenfo','pvpe','enforced','enfo','3','war','hardcore','hardcorepvp')))
            $main_content .= 'Hardcore PvP';
    $main_content .= '</td>
                                                    </tr>
                                            </table>
                                    </div>
                            </td>
                    </tr>
            </table>
    </div><br/>
            <div class="TableContainer">
                    <table class="Table2" cellpadding="0" cellspacing="0"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <div class="Text">Players Online';
    if($order == 'name_asc')
            $main_content .= '<span class="tableheadlinenavigation"> [ <a href="#A">A</a> <a href="#B">B</a> <a href="#C">C</a> <a href="#D">D</a> <a href="#E">E</a> <a href="#F">F</a> <a href="#G">G</a> <a href="#H">H</a> <a href="#I">I</a> <a href="#J">J</a> <a href="#K">K</a> <a href="#L">L</a> <a href="#M">M</a> <a href="#N">N</a> <a href="#O">O</a> <a href="#P">P</a> <a href="#Q">Q</a> <a href="#R">R</a> <a href="#S">S</a> <a href="#T">T</a> <a href="#U">U</a> <a href="#V">V</a> <a href="#W">W</a> <a href="#X">X</a> <a href="#Y">Y</a> <a href="#Z">Z</a> ]</span>';
    $main_content .= '</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> </div> </div> <tr> <td> <div class="InnerTableContainer"> <table width="100%"><tr class="LabelH"><td style="text-align:center;width:5%">Outfit</td><td style="text-align:left;width:70%">Name<small style="font-weight:normal">[<a href="?subtopic=whoisonline&world='.$_POST['world'].'&order=name_'.($order == 'name_asc' ? 'desc' : 'asc').'">sort</a>]</small> <img class="sortarrow" src="'.$layout_name.'/images/'.($order == 'name_asc' ? 'content/order_desc' : ($order == 'name_desc' ? 'content/order_asc' : 'news/blank')).'.gif"/></td><td>Level<small style="font-weight:normal">[<a href="?subtopic=whoisonline&world='.$_POST['world'].'&order=level_'.($order == 'level_asc' ? 'desc' : 'asc').'">sort</a>]</small> <img class="sortarrow" src="'.$layout_name.'/images/'.($order == 'level_asc' ? 'content/order_desc' : ($order == 'level_desc' ? 'content/order_asc' : 'news/blank')).'.gif"/></td><td style="text-align:right">Vocation<small style="font-weight:normal">[<a href="?subtopic=whoisonline&world='.$_POST['world'].'&order=vocation_'.($order == 'vocation_asc' ? 'desc' : 'asc').'">sort</a>]</small> <img class="sortarrow" src="'.$layout_name.'/images/'.($order == 'vocation_asc' ? 'content/order_desc' : ($order == 'vocation_desc' ? 'content/order_asc' : 'news/blank')).'.gif"/></td></tr>'.$cp.'          </table> </div> </table></div></td></tr><br/><form action="?subtopic=characters" method="post"><div class="TableContainer"> <table class="Table1" cellpadding="0" cellspacing="0"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <div class="Text">Search Character</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> </div> </div> <tr> <td> <div class="InnerTableContainer"> <table width="100%"><tr><td style="vertical-align:middle" class="LabelV150">Character Name:</td><td style="width:170px"><input style="width:165px" name="name" value="" size="29" maxlength="29"/></td><td><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)"><div onmouseover="MouseOverBigButton(this)" onmouseout="MouseOutBigButton(this)"><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif)"></div><input class="ButtonText" type="image" name="Submit" alt="Submit" src="'.$layout_name.'/images/buttons/_sbutton_submit.gif"></div></div></td></tr> </table> </div> </table></div></td></tr></form></center>';
    ?>
 
Worked fine for me.

PHP:
<?php   
if(!defined('INITIALIZED'))
    exit;
  
    $cache_sec = 1; 
    $info = array( 
            0 => array('Europe', '20th October 2012, 18.00 CET') 
    ); 

    $id=0; 
    if(isset($_POST['world'])) { 
            $f = null; 
            foreach($config['site']['worlds'] as $k => $v) 
                    if($v == $_POST['world']) { 
                            $f = true; 
                            $id = $k; 
                            break; 
                    } 
            if(!$f) 
                    $_POST['world'] = $config['site']['worlds'][0]; 
    } else $_POST['world'] = $config['site']['worlds'][0]; 

    $order = 'name_asc'; 
    if(isset($_REQUEST['order']) && in_array($_REQUEST['order'], array('name_desc', 'level_asc','level_desc','vocation_asc','vocation_desc'))) 
            $order = $_REQUEST['order']; 

    if(count($config['site']['worlds']) > 1) { 
            $main_content = 
    '<form action="?subtopic=whoisonline" method="post"> 
            <div class="TableContainer"> 
                    <table class="Table1" cellpadding="0" cellspacing="0"> 
                            <div class="CaptionContainer"> 
                                    <div class="CaptionInnerContainer"> 
                                            <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> 
                                            <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> 
                                            <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> 
                                            <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> 
                                            <div class="Text">World Selection</div> 
                                            <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> 
                                            <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> 
                                            <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> 
                                            <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> 
                                    </div> 
                            </div> 
                            <tr> 
                                    <td> 
                                            <div class="InnerTableContainer"> 
                                                    <table width="100%"> 
                                                            <tr> 
                                                                    <td style="vertical-align:middle" class="LabelV150">World Name:</td> 
                                                                    <td style="width:170px"> 
                                                                            <select size="1" name="world" style="width:165px">'; 
    foreach($config['site']['worlds'] as $v) 
            $main_content .= '<option value="'.$v.'"'.($v == $_POST['world'] ? ' selected="selected"' : '').'>'.$v.'</option>'; 
    $main_content .= ' 
                                                                            </select> 
                                                                    </td> 
                                                                    <td style="text-align:left"> 
                                                                            <div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)"> 
                                                                                    <div onmouseover="MouseOverBigButton(this)" onmouseout="MouseOutBigButton(this)"><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif)"></div> 
                                                                                            <input class="ButtonText" type="image" name="Submit" alt="Submit" src="'.$layout_name.'/images/buttons/_sbutton_submit.gif"/> 
                                                                                    </div> 
                                                                            </div> 
                                                                    </td> 
                                                            </tr> 
                                                    </table> 
                                            </div> 
                                    </td> 
                            </tr> 
                    </table> 
            </div> 
    </form><br/> 
    '; 
    } 
    $main_content .= 
    '<div class="TableContainer"> 
            <table class="Table1" cellpadding="0" cellspacing="0"> 
                    <div class="CaptionContainer"> 
                            <div class="CaptionInnerContainer"> 
                                    <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> 
                                    <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> 
                                    <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> 
                                    <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> 
                                    <div class="Text">World Information</div> 
                                    <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> 
                                    <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> 
                                    <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> 
                                    <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> 
                            </div> 
                    </div> 
                    <tr> 
                            <td> 
                                    <div class="InnerTableContainer"> 
                                            <table width="100%"> 
                                                    <tr> 
                                                            <td class="LabelV150">Players Active:</td> 
                                                            <td>'; 
    $f = 'cache/whoisonline-'.$_POST['world'].'-'.$order.'.tmp'; 
    $ff = 'cache/whoisonline-'.$_POST['world'].'-record.tmp'; 
    if(file_exists($f) && filemtime($f) > (time() - $cache_sec)) { 
            $cp = file_get_contents($f); 
            $cached = null; 
            if(file_exists($f) && filemtime($f) > (time() - $cache_sec)) { 
                    $e = explode('|', file_get_contents($ff)); 
                    $n = $e[0]; 
                    $c = $e[1]; 
                    $cached = true; 
            } 
    } 
    else { 
            $cp = ''; 
            $n = 0; 
            $q = 'SELECT name,level,vocation,promotion,looktype,lookaddons,lookhead,lookbody,looklegs,lookfeet FROM players WHERE world_id='.$id.' AND online=1'; 
            if(in_array($order, array('name_asc','name_desc','level_asc','level_desc'))) 
                    $q .= ' ORDER BY '.str_replace('_', ' ', $order); 




            $outfit = "outfitter.php"; 




            if(in_array($order, array('vocation_asc','vocation_desc'))) { 
                    $a = array(); 
                    foreach($SQL->query($q)->fetchAll() as $p) 
                            $a[] = array($p['name'], $p['level'], $vocation_name[$p['promotion']][$p['vocation']], array($p['looktype'], $p['lookaddons'], $p['lookhead'], $p['lookbody'], $p['looklegs'], $p['lookfeet'])); 
                    function cmp($a, $b) { 
                            $r = strcmp($a[2], $b[2]); 
                            $r = $GLOBALS['order'] == 'vocation_desc' ? ($r == 1 ? -1 : ($r == -1 ? 1 : 0)) : $r; 
                            return ($r == 0 && $a[1] < $b[1]) ? 1 : $r; 
                    } 
                    usort($a, 'cmp'); 
                    foreach($a as $p) { 
                            $n++; 
                            $cp .= '<tr class="'.(is_int($n/2)?'Even':'Odd').'" style="text-align:right"><td><div style="position: relative; width: 32px; height: 32px;"><div style="background-image: url(\''.$outfit.'?id='.$p[3][0].'&addons='.$p[3][1].'&head='.$p[3][2].'&body='.$p[3][3].'&legs='.$p[3][4].'&feet='.$p[3][5].'\'); position: absolute; width: 64px; height: 80px; background-position: bottom right; background-repeat: no-repeat; right: 0px; bottom: 0px;"></div></div></td><td style="width:70%;text-align:left"><a href="?subtopic=characters&name='.urlencode($p[0]).'">'.$p[0].'</a></td><td style="width:10%;text-align:center;">'.$p[1].'</td><td style="width:40%;">'.str_replace(' ',' ',$p[2]).'</td></tr>'; 
                    } 
            } 
            else { 
                    $l = array(); 
                    foreach($SQL->query($q)->fetchAll() as $p) { 
                            $n++; 
                            $cp .= '<tr class="'.(is_int($n/2)?'Even':'Odd').'" style="text-align:right"><td><div style="position: relative; width: 32px; height: 32px;"><div style="background-image: url(\''.$outfit.'?id='.$p['looktype'].'&addons='.$p['lookaddons'].'&head='.$p['lookhead'].'&body='.$p['lookbody'].'&legs='.$p['looklegs'].'&feet='.$p['lookfeet'].'\'); position: absolute; width: 64px; height: 80px; background-position: bottom right; background-repeat: no-repeat; right: 0px; bottom: 0px;"></div></div></td>'; 
                            if($order == 'name_asc') { 
                                    $tmp = strtoupper($p['name'][0]); 
                                    if(!in_array($tmp, $l)) { 
                                            $l[] = $tmp; 
                                            $cp .= '<a name="'.$tmp.'"></a>'; 
                                    } 
                            } 
                            $cp .= '<td style="width:70%;text-align:left"><a href="?subtopic=characters&name='.urlencode($p['name']).'">'.$p['name'].'</a></td><td style="width:10%;text-align:center;">'.$p['level'].'</td><td style="width:40%;">'.str_replace(' ',' ',$vocation_name[$p['promotion']][$p['vocation']]).'</td></tr>'; 
                    } 
            } 
            file_put_contents($f, $cp); 
    } 
    if(!$cached) { 
            $r=$SQL->query('SELECT MAX(record) as r,MAX(timestamp) as t FROM server_record WHERE world_id='.$id)->fetch(); 
            $c = $r['r'].' players (on '.date('M d Y, H:i:s T', $r['t']).')'; 
            file_put_contents($ff, $n.'|'.$c); 
    } 
    $main_content .= $config['status']['serverStatus_players'] .'</td> 
                                                    </tr> 
                                                    <tr> 
                                                            <td class="LabelV150">Players AFK:</td> 
                                                            <td>'.($n-$config['status']['serverStatus_players']).'</td> 
                                                    </tr> 
                                                    <tr> 
                                                            <td class="LabelV150">Online Record:</td> 
                                                            <td>'.$c.'</td> 
                                                    </tr> 
                                                    <tr> 
                                                            <td class="LabelV150">Creation Date:</td> 
                                                            <td>'.$info[$id][1].'</td> 
                                                    </tr> 
                                                    <tr> 
                                                            <td class="LabelV150">Location:</td> 
                                                            <td>'.$info[$id][0].'</td> 
                                                    </tr> 
                                                    <tr> 
                                                            <td class="LabelV150">PvP Type:</td> 
                                                            <td>'; 
    $w=strtolower($config['server']['worldType']); 
    if(in_array($w, array('pvp','2','normal','open','openpvp'))) 
            $main_content .= 'Open PvP'; 
    elseif(in_array($w, array('no-pvp','nopvp','non-pvp','nonpvp','1','safe','optional','optionalpvp'))) 
            $main_content .= 'Optional PvP'; 
    elseif(in_array($w, array('pvp-enforced','pvpenforced','pvp-enfo','pvpenfo','pvpe','enforced','enfo','3','war','hardcore','hardcorepvp'))) 
            $main_content .= 'Hardcore PvP'; 
    $main_content .= '</td> 
                                                    </tr> 
                                            </table> 
                                    </div> 
                            </td> 
                    </tr> 
            </table> 
    </div><br/> 
            <div class="TableContainer"> 
                    <table class="Table2" cellpadding="0" cellspacing="0"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <div class="Text">Players Online'; 
    if($order == 'name_asc') 
            $main_content .= '<span class="tableheadlinenavigation"> [ <a href="#A">A</a> <a href="#B">B</a> <a href="#C">C</a> <a href="#D">D</a> <a href="#E">E</a> <a href="#F">F</a> <a href="#G">G</a> <a href="#H">H</a> <a href="#I">I</a> <a href="#J">J</a> <a href="#K">K</a> <a href="#L">L</a> <a href="#M">M</a> <a href="#N">N</a> <a href="#O">O</a> <a href="#P">P</a> <a href="#Q">Q</a> <a href="#R">R</a> <a href="#S">S</a> <a href="#T">T</a> <a href="#U">U</a> <a href="#V">V</a> <a href="#W">W</a> <a href="#X">X</a> <a href="#Y">Y</a> <a href="#Z">Z</a> ]</span>'; 
    $main_content .= '</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> </div> </div> <tr> <td> <div class="InnerTableContainer"> <table width="100%"><tr class="LabelH"><td style="text-align:center;width:5%">Outfit</td><td style="text-align:left;width:70%">Name<small style="font-weight:normal">[<a href="?subtopic=whoisonline&world='.$_POST['world'].'&order=name_'.($order == 'name_asc' ? 'desc' : 'asc').'">sort</a>]</small> <img class="sortarrow" src="'.$layout_name.'/images/'.($order == 'name_asc' ? 'content/order_desc' : ($order == 'name_desc' ? 'content/order_asc' : 'news/blank')).'.gif"/></td><td>Level<small style="font-weight:normal">[<a href="?subtopic=whoisonline&world='.$_POST['world'].'&order=level_'.($order == 'level_asc' ? 'desc' : 'asc').'">sort</a>]</small> <img class="sortarrow" src="'.$layout_name.'/images/'.($order == 'level_asc' ? 'content/order_desc' : ($order == 'level_desc' ? 'content/order_asc' : 'news/blank')).'.gif"/></td><td style="text-align:right">Vocation<small style="font-weight:normal">[<a href="?subtopic=whoisonline&world='.$_POST['world'].'&order=vocation_'.($order == 'vocation_asc' ? 'desc' : 'asc').'">sort</a>]</small> <img class="sortarrow" src="'.$layout_name.'/images/'.($order == 'vocation_asc' ? 'content/order_desc' : ($order == 'vocation_desc' ? 'content/order_asc' : 'news/blank')).'.gif"/></td></tr>'.$cp.'          </table> </div> </table></div></td></tr><br/><form action="?subtopic=characters" method="post"><div class="TableContainer"> <table class="Table1" cellpadding="0" cellspacing="0"> <div class="CaptionContainer"> <div class="CaptionInnerContainer"> <span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <div class="Text">Search Character</div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span> </div> </div> <tr> <td> <div class="InnerTableContainer"> <table width="100%"><tr><td style="vertical-align:middle" class="LabelV150">Character Name:</td><td style="width:170px"><input style="width:165px" name="name" value="" size="29" maxlength="29"/></td><td><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)"><div onmouseover="MouseOverBigButton(this)" onmouseout="MouseOutBigButton(this)"><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif)"></div><input class="ButtonText" type="image" name="Submit" alt="Submit" src="'.$layout_name.'/images/buttons/_sbutton_submit.gif"></div></div></td></tr> </table> </div> </table></div></td></tr></form></center>';
 
Thanks, but hey if I may, I have this problem that on the "highscores" names look wrong-


Highscores - Nibera Online


the text is blue or smthing

- - - Updated - - -

PHP:
<?php
if(!defined('INITIALIZED'))
	exit;

$list = 'experience';
if(isset($_REQUEST['list']))
	$list = $_REQUEST['list'];

$page = 0;
if(isset($_REQUEST['page']))
	$page = min(50, $_REQUEST['page']);

$vocation = '';
if(isset($_REQUEST['vocation']))
	$vocation = $_REQUEST['vocation'];

switch($list)
{
	case "fist":
		$id=Highscores::SKILL_FIST;
		$list_name='Fist Fighting';
		break;
	case "club":
		$id=Highscores::SKILL_CLUB;
		$list_name='Club Fighting';
		break;
	case "sword":
		$id=Highscores::SKILL_SWORD;
		$list_name='Sword Fighting';
		break;
	case "axe":
		$id=Highscores::SKILL_AXE;
		$list_name='Axe Fighting';
		break;
	case "distance":
		$id=Highscores::SKILL_DISTANCE;
		$list_name='Distance Fighting';
		break;
	case "shield":
		$id=Highscores::SKILL_SHIELD;
		$list_name='Shielding';
		break;
	case "fishing":
		$id=Highscores::SKILL_FISHING;
		$list_name='Fishing';
		break;
	case "magic":
		$id=Highscores::SKILL__MAGLEVEL;
		$list_name='Magic';
		break;
	default:
		$id=Highscores::SKILL__LEVEL;
		$list_name='Experience';
		break;
}
if(count($config['site']['worlds']) > 1)
{
	foreach($config['site']['worlds'] as $idd => $world_n)
	{
		if($idd == (int) $_REQUEST['world'])
		{
			$world_id = $idd;
			$world_name = $world_n;
		}
	}
}
if(!isset($world_id))
{
	$world_id = 0;
	$world_name = $config['server']['serverName'];
}
if(count($config['site']['worlds']) > 1)
{
	$main_content .= '<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR><TD></TD><TD>
	<FORM ACTION="" METHOD=get><INPUT TYPE="hidden" NAME="subtopic" VALUE="highscores"><TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4><TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>World Selection</B></TD></TR><TR><TD BGCOLOR="'.$config['site']['darkborder'].'">
	<TABLE BORDER=0 CELLPADDING=1><TR><TD>Best players on world:</TD><TD><SELECT SIZE="1" NAME="world">';
	foreach($config['site']['worlds'] as $wid => $world_n)
	{
		if($wid == $world_id)
			$main_content .= '<OPTION VALUE="'.htmlspecialchars($wid).'" selected="selected">'.htmlspecialchars($world_n).'</OPTION>';
		else
			$main_content .= '<OPTION VALUE="'.htmlspecialchars($wid).'">'.htmlspecialchars($world_n).'</OPTION>';
	}
	$main_content .= '</SELECT> </TD><TD><INPUT TYPE="image" NAME="Submit" ALT="Submit" SRC="'.$layout_name.'/images/buttons/sbutton_submit.gif">
		</TD></TR></TABLE></TABLE></FORM></TABLE>';
}
$offset = $page * 100;
$skills = new Highscores($id, 100, $page, $world_id, $vocation);
$main_content .= '<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR><TD><IMG SRC="'.$layout_name.'/images/blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD><TD><CENTER><H2>Ranking for '.htmlspecialchars($list_name).' on '.htmlspecialchars($world_name).'</H2></CENTER><BR>';

$main_content .= '<br><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%></TABLE><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD WIDTH=10% CLASS=whites><B>Rank</B></TD><TD WIDTH=75% CLASS=whites><B>Name</B></TD><TD WIDTH=15% CLASS=whites><b><center>Level</center></B></TD>';
if($list == "experience")
	$main_content .= '<TD CLASS=whites><b><center>Experience</center></B></TD>';
//$main_content .= '</TR><TR>';
$main_content .= '</TR>';
$number_of_rows = 0;
foreach($skills as $skill)
{
	if($list == "magic")
		$value = $skill->getMagLevel();
	elseif($list == "experience")
		$value = $skill->getLevel();
	else
		$value = $skill->getScore();
	$bgcolor = (($number_of_rows++ % 2 == 1) ?  $config['site']['darkborder'] : $config['site']['lightborder']);
	$main_content .= '<tr bgcolor="'.$bgcolor.'"><td>'.($offset + $number_of_rows).'.</td><td><a href="?subtopic=characters&name='.urlencode($skill->getName()).'">'.($skill->getOnline()>0 ? "<font color=\"green\">".htmlspecialchars($skill->getName())."</font>" : "<font color=\"red\">".htmlspecialchars($skill->getName())."</font>").'' . $skill->getFlag() . '' . $skill->getFlag() . '<br><small>'.$skill->getLevel().' '.htmlspecialchars(Website::getVocationName($skill->getVocation(), $skill->getPromotion())).'</small></td><td><center>'.$value.'</center></td>';
	if($list == "experience")
		$main_content .= '<td><center>'.$skill->getExperience().'</center></td>';
	$main_content .= '</tr>';
}
$main_content .= '</TABLE><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%>';
if($page > 0)
	$main_content .= '<TR><TD WIDTH=100% ALIGN=right VALIGN=bottom><A HREF="?subtopic=highscores&list='.urlencode($list).'&page='.($page - 1).'&vocation=' . urlencode($vocation) . '&world=' . urlencode($world_id) . '" CLASS="size_xxs">Previous Page</A></TD></TR>';
if($page < 50)
	$main_content .= '<TR><TD WIDTH=100% ALIGN=right VALIGN=bottom><A HREF="?subtopic=highscores&list='.urlencode($list).'&page='.($page + 1).'&vocation=' . urlencode($vocation) . '&world=' . urlencode($world_id) . '" CLASS="size_xxs">Next Page</A></TD></TR>';
$main_content .= '</TABLE></TD><TD WIDTH=5%><IMG SRC="'.$layout_name.'/images/blank.gif" WIDTH=1 HEIGHT=1 BORDER=0></TD><TD WIDTH=15% VALIGN=top ALIGN=right><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=whites><B>Choose a skill</B></TD></TR><TR BGCOLOR="'.$config['site']['lightborder'].'"><TD><A HREF="?subtopic=highscores&list=experience&world='.$world_id.'" CLASS="size_xs">Experience</A><BR><A HREF="?subtopic=highscores&list=magic&world='.$world_id.'" CLASS="size_xs">Magic</A><BR><A HREF="?subtopic=highscores&list=shield&world='.$world_id.'" CLASS="size_xs">Shielding</A><BR><A HREF="?subtopic=highscores&list=distance&world='.$world_id.'" CLASS="size_xs">Distance</A><BR><A HREF="?subtopic=highscores&list=club&world='.$world_id.'" CLASS="size_xs">Club</A><BR><A HREF="?subtopic=highscores&list=sword&world='.$world_id.'" CLASS="size_xs">Sword</A><BR><A HREF="?subtopic=highscores&list=axe&world='.$world_id.'" CLASS="size_xs">Axe</A><BR><A HREF="?subtopic=highscores&list=fist&world='.$world_id.'" CLASS="size_xs">Fist</A><BR><A HREF="?subtopic=highscores&list=fishing&world='.$world_id.'" CLASS="size_xs">Fishing</A><BR></TD></TR></TABLE></TD><TD><IMG SRC="'.$layout_name.'/images/blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD></TR></TABLE>';
 
PHP:
<?php
if(!defined('INITIALIZED'))
    exit;

$list = 'experience';
if(isset($_REQUEST['list']))
    $list = $_REQUEST['list'];

$page = 0;
if(isset($_REQUEST['page']))
    $page = min(50, $_REQUEST['page']);

$vocation = '';
if(isset($_REQUEST['vocation']))
    $vocation = $_REQUEST['vocation'];

switch($list)
{
    case "fist":
        $id=Highscores::SKILL_FIST;
        $list_name='Fist Fighting';
        break;
    case "club":
        $id=Highscores::SKILL_CLUB;
        $list_name='Club Fighting';
        break;
    case "sword":
        $id=Highscores::SKILL_SWORD;
        $list_name='Sword Fighting';
        break;
    case "axe":
        $id=Highscores::SKILL_AXE;
        $list_name='Axe Fighting';
        break;
    case "distance":
        $id=Highscores::SKILL_DISTANCE;
        $list_name='Distance Fighting';
        break;
    case "shield":
        $id=Highscores::SKILL_SHIELD;
        $list_name='Shielding';
        break;
    case "fishing":
        $id=Highscores::SKILL_FISHING;
        $list_name='Fishing';
        break;
    case "magic":
        $id=Highscores::SKILL__MAGLEVEL;
        $list_name='Magic';
        break;
    default:
        $id=Highscores::SKILL__LEVEL;
        $list_name='Experience';
        break;
}
if(count($config['site']['worlds']) > 1)
{
    foreach($config['site']['worlds'] as $idd => $world_n)
    {
        if($idd == (int) $_REQUEST['world'])
        {
            $world_id = $idd;
            $world_name = $world_n;
        }
    }
}
if(!isset($world_id))
{
    $world_id = 0;
    $world_name = $config['server']['serverName'];
}
if(count($config['site']['worlds']) > 1)
{
    $main_content .= '<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR><TD></TD><TD>
    <FORM ACTION="" METHOD=get><INPUT TYPE="hidden" NAME="subtopic" VALUE="highscores"><TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4><TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>World Selection</B></TD></TR><TR><TD BGCOLOR="'.$config['site']['darkborder'].'">
    <TABLE BORDER=0 CELLPADDING=1><TR><TD>Best players on world:</TD><TD><SELECT SIZE="1" NAME="world">';
    foreach($config['site']['worlds'] as $wid => $world_n)
    {
        if($wid == $world_id)
            $main_content .= '<OPTION VALUE="'.htmlspecialchars($wid).'" selected="selected">'.htmlspecialchars($world_n).'</OPTION>';
        else
            $main_content .= '<OPTION VALUE="'.htmlspecialchars($wid).'">'.htmlspecialchars($world_n).'</OPTION>';
    }
    $main_content .= '</SELECT> </TD><TD><INPUT TYPE="image" NAME="Submit" ALT="Submit" SRC="'.$layout_name.'/images/buttons/sbutton_submit.gif">
        </TD></TR></TABLE></TABLE></FORM></TABLE>';
}
$offset = $page * 100;
$skills = new Highscores($id, 100, $page, $world_id, $vocation);
$main_content .= '<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR><TD><IMG SRC="'.$layout_name.'/images/blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD><TD><CENTER><H2>Ranking for '.htmlspecialchars($list_name).' on '.htmlspecialchars($world_name).'</H2></CENTER><BR>';

$main_content .= '<br><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%></TABLE><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD WIDTH=10% CLASS=whites><B>Rank</B></TD><TD WIDTH=75% CLASS=whites><B>Name</B></TD><TD WIDTH=15% CLASS=whites><b><center>Level</center></B></TD>';
if($list == "experience")
    $main_content .= '<TD CLASS=whites><b><center>Experience</center></B></TD>';
//$main_content .= '</TR><TR>';
$main_content .= '</TR>';
$number_of_rows = 0;
foreach($skills as $skill)
{
    if($list == "magic")
        $value = $skill->getMagLevel();
    elseif($list == "experience")
        $value = $skill->getLevel();
    else
        $value = $skill->getScore();
    $bgcolor = (($number_of_rows++ % 2 == 1) ?  $config['site']['darkborder'] : $config['site']['lightborder']);
    $main_content .= '<tr bgcolor="'.$bgcolor.'"><td>'.($offset + $number_of_rows).'.</td><td><a href="?subtopic=characters&name='.urlencode($skill->getName()).'">'.($skill->getOnline()>0 ? "<font color=\"green\">".htmlspecialchars($skill->getName())."</font>" : "<font color=\"red\">".htmlspecialchars($skill->getName())."</font>").'</a><img src="./images/flags/' . $skill->getFlag() . '.png" title="Country: ' . $skill->getFlag() . '" alt="' . $skill->getFlag() . '" /><br><small>'.$skill->getLevel().' '.htmlspecialchars(Website::getVocationName($skill->getVocation(), $skill->getPromotion())).'</small></td><td><center>'.$value.'</center></td>';
    if($list == "experience")
        $main_content .= '<td><center>'.$skill->getExperience().'</center></td>';
    $main_content .= '</tr>';
}
$main_content .= '</TABLE><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%>';
if($page > 0)
    $main_content .= '<TR><TD WIDTH=100% ALIGN=right VALIGN=bottom><A HREF="?subtopic=highscores&list='.urlencode($list).'&page='.($page - 1).'&vocation=' . urlencode($vocation) . '&world=' . urlencode($world_id) . '" CLASS="size_xxs">Previous Page</A></TD></TR>';
if($page < 50)
    $main_content .= '<TR><TD WIDTH=100% ALIGN=right VALIGN=bottom><A HREF="?subtopic=highscores&list='.urlencode($list).'&page='.($page + 1).'&vocation=' . urlencode($vocation) . '&world=' . urlencode($world_id) . '" CLASS="size_xxs">Next Page</A></TD></TR>';
$main_content .= '</TABLE></TD><TD WIDTH=5%><IMG SRC="'.$layout_name.'/images/blank.gif" WIDTH=1 HEIGHT=1 BORDER=0></TD><TD WIDTH=15% VALIGN=top ALIGN=right><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD CLASS=whites><B>Choose a skill</B></TD></TR><TR BGCOLOR="'.$config['site']['lightborder'].'"><TD><A HREF="?subtopic=highscores&list=experience&world='.$world_id.'" CLASS="size_xs">Experience</A><BR><A HREF="?subtopic=highscores&list=magic&world='.$world_id.'" CLASS="size_xs">Magic</A><BR><A HREF="?subtopic=highscores&list=shield&world='.$world_id.'" CLASS="size_xs">Shielding</A><BR><A HREF="?subtopic=highscores&list=distance&world='.$world_id.'" CLASS="size_xs">Distance</A><BR><A HREF="?subtopic=highscores&list=club&world='.$world_id.'" CLASS="size_xs">Club</A><BR><A HREF="?subtopic=highscores&list=sword&world='.$world_id.'" CLASS="size_xs">Sword</A><BR><A HREF="?subtopic=highscores&list=axe&world='.$world_id.'" CLASS="size_xs">Axe</A><BR><A HREF="?subtopic=highscores&list=fist&world='.$world_id.'" CLASS="size_xs">Fist</A><BR><A HREF="?subtopic=highscores&list=fishing&world='.$world_id.'" CLASS="size_xs">Fishing</A><BR></TD></TR></TABLE></TD><TD><IMG SRC="'.$layout_name.'/images/blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD></TR></TABLE>';
 
that gives me broken flags or smthing I dont know why

- - - Updated - - -

I think its because people don't have a option to choose location when creating account
 
Hmm but i have them all

- - - Updated - - -

correct place aswell

- - - Updated - - -

It is more likely that the accounts / players does not have a country
 
Yeah, I saw. :p

In that case, add an option at createaccount.php so players can choose their country or send me a PM, and I'll give you something else.
 
Back
Top