Gazelle/sections/rules/index.php

33 lines
756 B
PHP
Raw Normal View History

2011-03-28 14:21:28 +00:00
<?
//Include all the basic stuff...
enforce_login();
2013-05-01 08:00:16 +00:00
if (!isset($_GET['p'])) {
2011-03-28 14:21:28 +00:00
require(SERVER_ROOT.'/sections/rules/rules.php');
} else {
2013-05-01 08:00:16 +00:00
switch ($_GET['p']) {
2011-03-28 14:21:28 +00:00
case 'ratio':
require(SERVER_ROOT.'/sections/rules/ratio.php');
break;
case 'clients':
require(SERVER_ROOT.'/sections/rules/clients.php');
break;
case 'chat':
require(SERVER_ROOT.'/sections/rules/chat.php');
break;
case 'upload':
require(SERVER_ROOT.'/sections/rules/upload.php');
break;
case 'requests';
require(SERVER_ROOT.'/sections/rules/requests.php');
break;
case 'collages';
require(SERVER_ROOT.'/sections/rules/collages.php');
break;
case 'tag':
require(SERVER_ROOT.'/sections/rules/tag.php');
break;
default:
error(0);
}
}