File size: 745B
<?
error_reporting(0);include "config.php";include "head.php";if ($status=="admin"){if(!$act){echo "Подтверждаем удаление?<br/><a href=\"deluser.php?act=delguest&usnumb=$usnumb&str=$str&pass=$pass&n=$n&rum=$rum&task=$task\">Да</a> <a href=\"index.php?pass=$pass&n=$n&rum=$rum&task=$task\">Нет</a><br/>";}if ($act=="delguest"){$basedel = "users.dat";$basestr = file("$basedel");$delstr = trim($basestr[$str]);$buff=file_get_contents($basedel);$buff=str_replace("$delstr\r\n","",$buff);$file = fopen("$basedel","w");fputs($file,"$buff");fclose($file);unlink("users/$usnumb.$antihack.dat");header ("Location: users.php?pass=$pass&n=$n&rum=$rum&task=$task");}}else{echo 'Доступ запрещен!<br/>';}echo "$end";
?>