Yeah i had done actually, it was taking forever to load the page for 9 members
Would you believe it eh? The things you can do by mistake
Thanks for all your help fella, much appreciated
<?php
$varStats = $SDK->get_pst(urlencode(The Very End));
?>
[COLOR=#000000][COLOR=#000000][COLOR=#000000][COLOR=#0000bb]$varStats [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000bb]$SDK[/COLOR][COLOR=#007700]->[/COLOR][COLOR=#0000bb]get_pst[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000bb]urlencode[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000bb]The Very End[/COLOR][COLOR=#007700]));[/COLOR][/COLOR][/COLOR][/COLOR]
[COLOR=#0000bb][COLOR=#000000][COLOR=#000000][COLOR=#000000]$varStats [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000bb]$SDK[/COLOR][COLOR=#007700]->[/COLOR][COLOR=#0000bb]get_pst[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000bb]urlencode[/COLOR][COLOR=#007700]("[/COLOR][COLOR=#0000bb]The Very End"[/COLOR][COLOR=#007700]));[/COLOR][/COLOR][/COLOR][/COLOR]
$racer = "The Very End";
$varStats = $SDK->get_pst(urlencode($racer));
<?php
function convert_car_bits($bits) {
$data = array();
if ($bits & 1)
$data[1] = 'XFG';
if ($bits & 2)
$data[2] = 'XRG';
if ($bits & 4)
$data[4] = 'XRT';
if ($bits & 8)
$data[8] = 'RB4';
if ($bits & 16)
$data[16] = 'FXO';
if ($bits & 32)
$data[32] = 'LX4';
if ($bits & 64)
$data[64] = 'LX6';
if ($bits & 128)
$data[128] = 'MRT';
if ($bits > 128)
$data['raw'] += $bits;
return $data;
}
?>
<?php
$cars = array(
'XFG' => array('name'=>'XF GTI' ,'bit'=>1 ),
'XRG' => array('name'=>'XR GT' ,'bit'=>2 ),
'XRT' => array('name'=>'XR GT Turbo' ,'bit'=>4 ),
'RB4' => array('name'=>'RB4 GT' ,'bit'=>8 ),
'FXO' => array('name'=>'FXO Turbo' ,'bit'=>16 ),
'LX4' => array('name'=>'LX4' ,'bit'=>32 ),
'LX6' => array('name'=>'LX6' ,'bit'=>64 ),
'MRT' => array('name'=>'MTR5' ,'bit'=>128 ),
'UF1' => array('name'=>'UF 1000' ,'bit'=>256 ),
'RAC' => array('name'=>'RaceAbout' ,'bit'=>512 ),
'FZ5' => array('name'=>'FZ50' ,'bit'=>1024 ),
'FOX' => array('name'=>'Formula XR' ,'bit'=>2048 ),
'XFR' => array('name'=>'XF GTR' ,'bit'=>4096 ),
'UFR' => array('name'=>'UF GTR' ,'bit'=>8192 ),
'FO8' => array('name'=>'Formula V8' ,'bit'=>16384 ),
'FXR' => array('name'=>'FXO GTR' ,'bit'=>32768 ),
'XRR' => array('name'=>'XR GTR' ,'bit'=>65536 ),
'FZR' => array('name'=>'FZ50 GTR' ,'bit'=>131072),
'BF1' => array('name'=>'BMW Sauber' ,'bit'=>262144),
'FBM' => array('name'=>'Formula BMW' ,'bit'=>524288),
);
$cars_c = array(
'ALL' => array('name'=>'All' ,'bit'=>1048575),
'STD' => array('name'=>'STD Class' ,'bit'=>259 ),
'TBO' => array('name'=>'TBO Class' ,'bit'=>28 ),
'LRF' => array('name'=>'LRF Class' ,'bit'=>1600 ),
'FWD' => array('name'=>'FWD Class' ,'bit'=>12561 ),
'GTR' => array('name'=>'GTR Class' ,'bit'=>229376 ),
'S-S' => array('name'=>'S-S Class' ,'bit'=>804992 ),
);
function lfsw_get_host_cars_array($bits) {
global $cars, $cars_c;
$tmp = array();
foreach ($cars_c as $k => $class) {
if (($class['bit'] & $bits) == $class['bit']) {
$tmp[$k] = &$cars_c[$k];
$bits -= $class['bit'];
if ($bits==0) {return $tmp;}
}
}
foreach ($cars as $k => $car) {
if (($car['bit'] & $bits) == $car['bit']) {
$tmp[$k] = &$cars[$k];
$bits -= $car['bit'];
if ($bits==0) {return $tmp;}
}
}
return $tmp;
}
?>
<?php
php
include('lfsworldsdk.php');
print_r($SDK->get_hl(array('Ulisse', 'filur', 'Victor', 'glyphon')));
echo '<!-- get_ch -->Test<p />';
?>
<?php
php
include('lfsworldsdk.php');
echo '<!-- get_hl --><p />';
print_r($SDK->get_hl(array('kiste', 'FXR', )));
//
?>
<?php
php
include('lfsworldsdk.php');
echo '<!-- get_hl --><p />';
print_r($SDK->get_hl('kiste, array('KY2' 'AS7'), array('FXR'))));
//
?>
<?php
print_r($SDK->get_hl('kiste', array('KY2' 'AS7'), array('FXR'))));
?>
<?php
print_r($SDK->get_hl('kiste, array('KY2' 'AS7'), array('FXR))));
?>
[COLOR=#000000][COLOR=#DD0000]('[/COLOR][COLOR=#0000BB]KY2[/COLOR][COLOR=#DD0000]' '[/COLOR][COLOR=#0000BB]AS7[/COLOR][COLOR=#DD0000]')[/COLOR][/COLOR]
<?php
print_r($SDK->get_hl('kiste', array('KY2', 'AS7'), array('FXR'))));
?>