Просмотр файла modules/downloads/delete_comment.php

Размер файла: 425B
<?php
/**********************************
*	@package: PerfCMS			  *
*	@year: 2012					  *
*	@author: Artas				  *
*	@link: http://perfcms.pp.ua	  *
**********************************/
$locate = 'in_downloads';
if($user['level'] < 5) { go('/'); exit;}
if(isset($_GET['downloads_id'])) {
$comments = new Comments('downloads', $_GET['downloads_id']);
$comments->delete($_GET['post_id']);
} else { go('/'); exit;}
?>