info['admin']) {
die('');
}
if (isset($_GET['id_dn'])) {
$_POST['id_dn'] = $_GET['id_dn'];
$_POST['xx'] = $_GET['xx'];
$_POST['yy'] = $_GET['yy'];
}
if ($_POST['new_bot_colvo'] < 1) {
$_POST['new_bot_colvo'] = 1;
}
?>
--------------- Боты -------------:
0) {
$bot = mysql_fetch_array(mysql_query('SELECT * FROM `test_bot` WHERE `id` = "' . $pl['id_bot'] . '" LIMIT 1'));
echo $i . '.[' . $pl['id2'] . '] ' . $bot['login'] . ' [id ' . $bot['id'] . '] , [x' . $pl['colvo'] . '] удалить
';
} elseif ($pl['bot_group'] != '') {
$bots = explode(',', $pl['bot_group']);
$jjj = 0;
echo $i . ' .[' . $pl['id2'] . ']';
while ($jjj < count($bots)) {
$bot = mysql_fetch_array(
mysql_query('SELECT * FROM `test_bot` WHERE `id` = "' . $bots[$jjj] . '" LIMIT 1')
);
if (isset($bot['login'])) {
echo ' ' . $bot['login'] . ' [id ' . $bot['id'] . '], ';
}
$jjj++;
}
echo ' [x' . $pl['colvo'] . '] удалить
';
}
$i++;
}
echo '
';
?>