Function nick5() merged with nick class.

This commit is contained in:
lopar
2018-11-05 22:15:13 +02:00
parent 7514cd121a
commit 073d56fc6b
124 changed files with 232 additions and 245 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ if($user['room'] == 1052) {
}
$t1 = explode(";", $bd['t1']);
$ttt = 1;
addlog($jert['battle'], '<span class=date>'.date("H:i").'</span> '.nick5($user['id'], "B".$ttt).' вмешался в поединок!<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");