View file fnc/blog/delblog.php

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

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

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