View file fnc/blog/delblog.php

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

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

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