1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00
php-e107/e107_admin/modcomment.php

30 lines
587 B
PHP
Raw Normal View History

2006-12-02 04:36:16 +00:00
<?php
/*
2009-11-12 14:30:07 +00:00
* e107 website system
*
2014-01-20 03:26:15 -08:00
* Copyright (C) 2008-2014 e107 Inc (e107.org)
2009-11-12 14:30:07 +00:00
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
2014-01-20 03:26:15 -08:00
* Exists only for BC.
2009-11-12 14:30:07 +00:00
*/
2006-12-02 04:36:16 +00:00
require_once("../class2.php");
if (!getperms("B"))
{
e107::redirect('admin');
2006-12-02 04:36:16 +00:00
exit;
}
2009-08-28 16:11:02 +00:00
2014-01-20 03:26:15 -08:00
$tmp = explode(".", e_QUERY);
$table = $tmp[0];
$id = intval($tmp[1]);
$editid = intval($tmp[2]);
$url = e_ADMIN_ABS."comment.php?searchquery=".$id."&filter_options=comment_type__".e107::getComment()->getCommentType($table);
e107::getRedirect()->go($url);
exit;