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");
|
2017-01-17 01:33:03 +01:00
|
|
|
|
|
|
|
if (!getperms("B"))
|
|
|
|
{
|
2016-01-13 19:17:37 -08:00
|
|
|
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;
|
|
|
|
|