2015-10-07 19:29:01 -03:00
|
|
|
<?php
|
2016-05-14 05:55:50 -03:00
|
|
|
require_once "rain/rain.tpl.class.php";
|
2015-10-07 19:29:01 -03:00
|
|
|
raintpl::configure( 'path_replace', false);
|
2016-05-14 05:55:50 -03:00
|
|
|
raintpl::configure( 'tpl_dir', 'rain/template/');
|
|
|
|
raintpl::configure( 'cache_dir', 'rain/cache/' );
|
2015-10-07 19:29:01 -03:00
|
|
|
$tpl = new RainTPL;
|
|
|
|
$title = "Temp File Hosting";
|
|
|
|
$tpl->assign("title", $title);
|
|
|
|
$tpl->draw("header");
|
2016-05-14 17:32:12 -03:00
|
|
|
if(CONFIG_SUBUPLOAD_URL_ENABLED == 'true'){
|
|
|
|
$tpl->assign("url_filename", CONFIG_SUBUPLOAD_URL.'/'.$n);
|
|
|
|
}else{
|
|
|
|
$tpl->assign("url_filename", CONFIG_ROOT_URL.'/files/'.$n);
|
|
|
|
}
|
2016-05-14 06:47:48 -03:00
|
|
|
$tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT);
|
2015-10-07 19:29:01 -03:00
|
|
|
$tpl->draw("upload-done");
|
|
|
|
$tpl->draw("footer");
|
|
|
|
?>
|