View file fnc/book/delbook.php

File size: 228B
<?php
include"../../sys/fnc.php";

$d=filtr($_GET['d']);

if($user[leval]==4 and $d!="")
{
	if($db->query("delete from `book` where `id`='$d'"))echo'<font color="red">Сообщение удалено!</font>';
}
		
?>