define('GAME',true);
include('../_incl_data/__config.php');
include('../_incl_data/class/__db_connect.php');
$p = mysql_fetch_array(mysql_query('SELECT `id`,`login`,`level`,`sex`,`clan`,`align`,`city`,`cityreg` FROM `users` WHERE `id` = "'.mysql_real_escape_string($_GET['user']).'" LIMIT 1'));
if(isset($p['id'])) {
$st = mysql_fetch_array(mysql_query('SELECT `id` FROM `stats` WHERE `id` = "'.$p['id'].'" AND (`stats` LIKE "%|s6=0%" OR `stats` NOT LIKE "%|s6=%") LIMIT 1'));
if(!isset($st['id'])) {
$_GET['t'] = 2;
}
}
function microLogin($id,$t,$nnz = 1) {
$inf = $id;
$id = $inf['id'];
$r = '';
if($inf['align']>0)
{
$r .= '';
}
if($inf['clan']>0)
{
$cln = mysql_fetch_array(mysql_query('SELECT `id`,`name`,`name_mini`,`align`,`type_m`,`money1`,`exp` FROM `clan` WHERE `id` = "'.$inf['clan'].'" LIMIT 1'));
if(isset($cln['id']))
{
$r .= '';
}
}
if($inf['cityreg'] == '') {
$inf['cityreg'] = 'capitalcity';
}
$r .= ' '.$inf['login'].' ['.$inf['level'].']';
return $r;
}
?>
Бойцовский клуб
|
|
Copyright © www.new-combats.com
|
|