Function nick5() merged with nick class.
This commit is contained in:
@@ -55,7 +55,7 @@ if($user['battle'] == 0) {
|
||||
$t1 = implode(";", $t1);
|
||||
$t2 = implode(";", $t2);
|
||||
|
||||
addlog($user['battle'],'<span class=date>'.date("H:i").'</span> '.nick5($user['id'], "B".$ttt).' переманил клона '.nick5($bot, "B".$ttt).' на свою сторону.<BR>');
|
||||
addlog($user['battle'],'<span class=date>'.date("H:i").'</span> '.nick::id($user['id'])->short().' переманил клона '.nick::id($bot)->short().' на свою сторону.<BR>');
|
||||
mysql_query('UPDATE `battle` SET `teams` = \''.serialize($battle).'\', `t1` = \''.$t1.'\', `t2` = \''.$t2.'\' WHERE `id` = "'.$user['battle'].'" LIMIT 1');
|
||||
mysql_query("UPDATE `battle` SET `to1` = '".time()."', `to2` = '".time()."' WHERE `id` = '".$user['battle']."' LIMIT 1");
|
||||
echo mysql_error();
|
||||
|
||||
Reference in New Issue
Block a user