<?php
require "../../include/bittorrent.php";
header ( "Content-Type: text/html; charset=Windows-1251" );
dbconn ( true );
validcan ( false, "can_admin" );
$id = ( int ) $_POST ["id"];
if ($id)
	sql_query ( "DELETE FROM shablons WHERE shabid=" . $id ) or sqlerr(__FILE__, __LINE__);
print ( "Успешно!" );
?>