mirror of
https://github.com/nokonoko/Uguu.git
synced 2024-01-06 13:35:15 +00:00
24 lines
457 B
PHP
24 lines
457 B
PHP
<?php
|
|
require_once "rain/rain.tpl.class.php";
|
|
|
|
raintpl::configure( 'path_replace', false);
|
|
raintpl::configure( 'tpl_dir', 'rain/template/');
|
|
raintpl::configure( 'cache_dir', 'rain/cache/' );
|
|
|
|
$tpl = new RainTPL;
|
|
|
|
$title = "Temp File Hosting";
|
|
if(isset($_GET['info']))
|
|
$title = "Info";
|
|
|
|
$tpl->assign("title", $title);
|
|
$tpl->draw("header");
|
|
|
|
if(isset($_GET['info'])) {
|
|
$tpl->draw("info");
|
|
} else {
|
|
$tpl->draw("upload");
|
|
}
|
|
|
|
$tpl->draw("footer");
|
|
?>
|