Gazelle/sections/reports/index.php

41 lines
887 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;
2012-12-10 08:00:21 +00:00
case 'add_notes':
include(SERVER_ROOT.'/sections/reports/ajax_add_notes.php');
break;
case 'claim':
include(SERVER_ROOT.'/sections/reports/ajax_claim_report.php');
break;
2012-12-12 08:00:17 +00:00
case 'unclaim':
include(SERVER_ROOT.'/sections/reports/ajax_unclaim_report.php');
break;
2011-03-28 14:21:28 +00:00
default:
include(SERVER_ROOT.'/sections/reports/reports.php');
break;
}
?>