mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
42 lines
980 B
PHP
42 lines
980 B
PHP
<?
|
|
//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 'transcode_beta':
|
|
include(SERVER_ROOT.'/sections/better/transcode_beta.php');
|
|
break;
|
|
case 'single':
|
|
include(SERVER_ROOT.'/sections/better/single.php');
|
|
break;
|
|
case 'snatch':
|
|
include(SERVER_ROOT.'/sections/better/snatch.php');
|
|
break;
|
|
case 'artistless':
|
|
include(SERVER_ROOT.'/sections/better/artistless.php');
|
|
break;
|
|
case 'tags':
|
|
include(SERVER_ROOT.'/sections/better/tags.php');
|
|
break;
|
|
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');
|
|
}
|
|
?>
|