Gazelle/sections/better/index.php

39 lines
882 B
PHP
Raw Normal View History

2011-03-28 14:21:28 +00:00
<?
//Include all the basic stuff...
enforce_login();
if(isset($_GET['method'])) {
switch($_GET['method']) {
case 'transcode':
include(SERVER_ROOT.'/sections/better/transcode.php');
break;
case 'single':
include(SERVER_ROOT.'/sections/better/single.php');
break;
2011-03-28 14:21:28 +00:00
case 'snatch':
include(SERVER_ROOT.'/sections/better/snatch.php');
break;
case 'artistless':
include(SERVER_ROOT.'/sections/better/artistless.php');
2013-02-22 08:00:24 +00:00
break;
2011-03-28 14:21:28 +00:00
case 'tags':
include(SERVER_ROOT.'/sections/better/tags.php');
2013-02-22 08:00:24 +00:00
break;
2011-03-28 14:21:28 +00:00
case 'folders':
include(SERVER_ROOT.'/sections/better/folders.php');
break;
case 'files':
include(SERVER_ROOT.'/sections/better/files.php');
break;
case 'upload':
include(SERVER_ROOT.'/sections/better/upload.php');
break;
default:
error(404);
break;
}
} else {
include(SERVER_ROOT.'/sections/better/better.php');
}
?>