示例#1
0
文件: upload.php 项目: 4play/gazelle2
?>
</td>
		</tr>
<? } ?>
	</table>
</div>
<?
$TorrentForm->head();
switch ($UploadForm) {
	case 'Music':
	$TorrentForm->music_form($GenreTags);
	break;
		
	case 'Audiobooks':
	case 'Comedy':
		$TorrentForm->audiobook_form();
		break;
	
	case 'Applications':
	case 'Comics':
	case 'E-Books':
	case 'E-Learning Videos':
		$TorrentForm->simple_form();
		break;
	default:
		$TorrentForm->music_form($GenreTags);
}
$TorrentForm->foot();
show_footer();
?>
示例#2
0
文件: upload.php 项目: Kufirc/Gazelle
// Include the necessary form class
include SERVER_ROOT . '/classes/torrent_form.class.php';
$TorrentForm = new TORRENT_FORM();
$GenreTags = $Cache->get_value('genre_tags');
if (!$GenreTags) {
    $DB->query('
		SELECT Name
		FROM tags
		WHERE TagType=\'genre\'
		ORDER BY Name');
    $GenreTags = $DB->collect('Name');
    $Cache->cache_value('genre_tags', $GenreTags, 3600 * 24);
}
$UploadForm = $Categories[$_GET['categoryid']];
switch ($UploadForm) {
    case 'Music':
        $TorrentForm->music_form($GenreTags);
        break;
    case 'Audiobooks':
    case 'Comedy':
        $TorrentForm->audiobook_form();
        break;
    case 'Applications':
    case 'Comics':
    case 'E-Books':
    case 'E-Learning Videos':
        $TorrentForm->simple_form($_GET['categoryid']);
        break;
    default:
        echo 'Invalid action!';
}
示例#3
0
文件: upload.php 项目: Kufirc/Gazelle
}
?>
	</table>
</div><?php 
echo $HideDNU ? '<br />' : '';
$TorrentForm->head();
switch ($UploadForm) {
    case 'Music':
        $TorrentForm->music_form($GenreTags);
        break;
    case 'Audiobooks':
    case 'Comedy':
        $TorrentForm->audiobook_form();
        break;
    case 'Applications':
    case 'Comics':
    case 'E-Books':
    case 'E-Learning Videos':
        $TorrentForm->simple_form($Properties['CategoryID']);
        break;
    default:
        $TorrentForm->music_form($GenreTags);
}
$TorrentForm->foot();
?>
<script type="text/javascript">
	Format();
	Bitrate();
</script>
<?php 
View::show_footer();