Gazelle/sections/reports/index.php

32 lines
612 B
PHP
Raw Normal View History

2011-03-28 14:21:28 +00:00
<?
enforce_login();
2012-09-04 08:00:23 +00:00
if (empty($_REQUEST['action'])) {
$_REQUEST['action'] = '';
}
2011-03-28 14:21:28 +00:00
switch($_REQUEST['action']){
case 'report':
include('report.php');
break;
case 'takereport':
include('takereport.php');
break;
case 'takeresolve':
include('takeresolve.php');
break;
case 'stats':
include(SERVER_ROOT.'/sections/reports/stats.php');
break;
2012-09-04 08:00:23 +00:00
case 'compose':
include(SERVER_ROOT.'/sections/reports/compose.php');
break;
case 'takecompose':
include(SERVER_ROOT.'/sections/reports/takecompose.php');
break;
2011-03-28 14:21:28 +00:00
default:
include(SERVER_ROOT.'/sections/reports/reports.php');
break;
}
?>