Просмотр файла modules/share/delete_comment.php
<?php /********************************** * @package: PerfCMS * * @year: 2012 * * @author: Artas * * @link: http://perfcms.pp.ua * **********************************/ $locate = 'in_share'; if($user['level'] < 5) { go('/'); } if(!empty($_GET['share_id'])) { $comments = new Comments('share', $_GET['share_id']); $comments->delete($_GET['post_id']); } else { go('/'); } ?>