$bot=mysql_fetch_array(mysql_query("SELECT * FROM `bots` WHERE `name` = '".mysql_real_escape_string($_POST['target'])."' AND `battle` = '".$user['battle']."' LIMIT 1"));
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");
echomysql_error();
echo"Вы переманили клона";
$vip['unclone']-=1;
mysql_query('UPDATE `abils_user` SET `unclone` = "'.$vip['unclone'].'" WHERE `id` = "'.$vip['id'].'" LIMIT 1');