Функция nick() переехала в класс Nick.
This commit is contained in:
+3
-3
@@ -217,7 +217,7 @@ if($user['room'] == 1052) {
|
||||
$bts = explode(';', $bot_ids);
|
||||
$is = 0;
|
||||
while($is <= count($bts)) {
|
||||
$nicks .= nick::id($bts[$is])->full(1).', ';
|
||||
$nicks .= Nick::id($bts[$is])->full(1).', ';
|
||||
$i_d .= $bts[$is].', ';
|
||||
$is++;
|
||||
}
|
||||
@@ -227,7 +227,7 @@ if($user['room'] == 1052) {
|
||||
if($user1['invis'] == 1) {
|
||||
$rr = "<b>невидимка</b> и <b>".$nicks."</b>";
|
||||
} else {
|
||||
$rr = "<b>".nick::id($user['id'])->full(1)."</b> и <b>".$nicks."</b>";
|
||||
$rr = "<b>".Nick::id($user['id'])->full(1)."</b> и <b>".$nicks."</b>";
|
||||
}
|
||||
|
||||
if(!mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE ".$who."")) { die('Error #1'.$who); }
|
||||
@@ -245,7 +245,7 @@ if($user['room'] == 1052) {
|
||||
}
|
||||
$t1 = explode(";", $bd['t1']);
|
||||
$ttt = 1;
|
||||
addlog($jert['battle'], '<span class=date>'.date("H:i").'</span> '.nick::id($user['id'])->short().' вмешался в поединок!<BR>');
|
||||
addlog($jert['battle'], '<span class=date>'.date("H:i").'</span> '.Nick::id($user['id'])->short().' вмешался в поединок!<BR>');
|
||||
mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$user['id'].'\') WHERE `id` = "'.$btl_pix['battle'].'" LIMIT 1');
|
||||
mysql_query("UPDATE `users` SET `battle` = '".$bd['id']."', `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1");
|
||||
header("Location: fbattle.php");
|
||||
|
||||
Reference in New Issue
Block a user