Gazelle/sections/index/index.php

18 lines
297 B
PHP
Raw Normal View History

2011-03-28 14:21:28 +00:00
<?
if (isset($LoggedUser['ID'])) {
if (!isset($_REQUEST['action'])) {
include('private.php');
} else {
2013-04-23 08:01:29 +00:00
switch ($_REQUEST['action']) {
2011-03-28 14:21:28 +00:00
case 'poll':
include(SERVER_ROOT.'/sections/forums/poll_vote.php');
break;
default:
error(0);
}
}
} else {
include('public.php');
}
?>