View file adminka/del.php
<?php session_name("SESID"); session_start(); include ('../verh.php'); if($_SESSION['pass']!=$adminpass) {exit;} $id=intval($_REQUEST['id']); mysql_query("DELETE FROM inet_sites WHERE id='$id'"); echo "Удалено!<br/>"; echo "<a href=\"apanel.php\">Админка</a><br/>"; include ('../niz.php'); ?>