AVE.CMS v3.28
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

92 lines
1.3 KiB

<?php
/**
* AVE.cms
*
* @package AVE.cms
* @version 3.x
* @filesource
* @copyright © 2007-2014 AVE.cms, http://www.ave-cms.ru
*
* @license GPL v.2
*/
if (!defined('ACP'))
{
header('Location:index.php');
exit;
}
require_once(BASE_DIR . '/class/class.logs.php');
$AVE_Logs = new AVE_Logs;
$AVE_Template->config_load(BASE_DIR . '/admin/lang/' . $_SESSION['admin_language'] . '/logs.txt', 'logs');
switch ($_REQUEST['action'])
{
case '':
if (check_permission_acp('logs_view'))
{
$AVE_Logs->logList();
}
break;
case 'log404':
if (check_permission_acp('logs_view'))
{
$AVE_Logs->List404();
}
break;
case 'logsql':
if (check_permission_acp('logs_view'))
{
$AVE_Logs->ListSql();
}
break;
case 'delete':
if (check_permission_acp('logs_clear'))
{
$AVE_Logs->logDelete();
}
break;
case 'deletesql':
if (check_permission_acp('logs_clear'))
{
$AVE_Logs->DeleteSql();
}
break;
case 'delete404':
if (check_permission_acp('logs_clear'))
{
$AVE_Logs->Delete404();
}
break;
case 'export':
if (check_permission_acp('logs_view'))
{
$AVE_Logs->logExport();
}
break;
case 'export404':
if (check_permission_acp('logs_view'))
{
$AVE_Logs->Export404();
}
break;
case 'exportsql':
if (check_permission_acp('logs_view'))
{
$AVE_Logs->ExportSql();
}
break;
}
?>