nick3() and partially nick7() functions replaced by nick class
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ if($rand < 15 && $user['battle'] == 0) {
|
||||
mysql_query("INSERT INTO `battle`(`teams`, `timeout`, `type`, `status`, `t1`, `t2`, `to1`, `to2`) VALUES ('".serialize($teams)."', '3', '1', '0', '".$user['id']."', '".$bot."', '".time()."', '".time()."')");
|
||||
$id = mysql_insert_id();
|
||||
mysql_query("UPDATE `bots` SET `battle` = {$id} WHERE `id` = {$bot} LIMIT 1");
|
||||
$rr = "<b>".nick3($user['id'])."</b> и <b>".nick3($bot)."</b>";
|
||||
$rr = "<b>".nick::id($user['id'])->full(1)."</b> и <b>".nick::id($bot)->full(1)."</b>";
|
||||
addlog($id,"Часы показывали <span class=date>".date("Y.m.d H.i")."</span>, когда ".$rr." бросили вызов друг другу. <br />");
|
||||
mysql_query("UPDATE `users` SET `battle` = {$id}, `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1");
|
||||
addchp ('<b style="color:#990000">Внимание!</b> На вас напал "'.$bots[$rbot].'". ','{[]}'.nick7 ($user["id"]).'{[]}');
|
||||
|
||||
Reference in New Issue
Block a user