Function nick5() merged with nick class.
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ if($_POST['attack']) {
|
||||
$ttt = 1; $ttt2 = 2;
|
||||
}
|
||||
addch("<b>".nick::id($user['id'])->short()."</b> вмешался в <a href=logs.php?log=".$id." target=_blank>поединок »»</a>.", $user['room']);
|
||||
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'].'\'), `to'.$ttt.'` = \''.time().'\', `to'.$ttt2.'` = \''.(time()-1).'\' WHERE `id` = "'.$jert['battle'].'" LIMIT 1');
|
||||
mysql_query("UPDATE `users` SET `battle` = '".$jert['battle']."', `zayavka` = 0 WHERE `id` = '".$user['id']."' LIMIT 1");
|
||||
mysql_query('UPDATE `deztow_turnir` SET `log` = CONCAT(`log`,\''."<span class=date>".date("d.m.y H:i")."</span> ".nick::id($user['id'])->full(1)." вмешался в поединок против ".nick::id($jert['id'])->full(1)." <a href=\"logs.php?log={$jert['battle']}\" target=_blank>»»</a><BR>".'\') WHERE `active` = TRUE LIMIT 1');
|
||||
|
||||
Reference in New Issue
Block a user