Функция nick() переехала в класс Nick.

This commit is contained in:
Igor Barkov (iwork)
2020-08-27 15:17:02 +03:00
parent a6ec244474
commit 782aa0632d
346 changed files with 574 additions and 567 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ if($user['battle'] == 0) {
} else {
$ttt = 2;
}
if($user['invis'] == 1) { $lo = '<i><b>невидимка</b></i>'; } else { $lo = nick::id($user['id'])->short(); }
if($user['invis'] == 1) { $los = '<i><b>невидимка</b></i>'; } else { $los = nick::id($bot)->short(); }
if($user['invis'] == 1) { $lo = '<i><b>невидимка</b></i>'; } else { $lo = Nick::id($user['id'])->short(); }
if($user['invis'] == 1) { $los = '<i><b>невидимка</b></i>'; } else { $los = Nick::id($bot)->short(); }
addlog($user['battle'], '<span class=date>'.date("H:i").'</span> '.$lo.' породил своего клона '.$los.'.<BR><hr>');
mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t'.$ttt.'` = CONCAT(`t'.$ttt.'`,\';'.$bot.'\') WHERE `id` = "'.$user['battle'].'" LIMIT 1');
mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = ".$user['battle']." LIMIT 1");