sugoi/upload-done.php

19 lines
580 B
PHP
Raw Normal View History

2015-10-07 22:29:01 +00:00
<?php
2016-05-14 08:55:50 +00:00
require_once "rain/rain.tpl.class.php";
2015-10-07 22:29:01 +00:00
raintpl::configure( 'path_replace', false);
2016-05-14 08:55:50 +00:00
raintpl::configure( 'tpl_dir', 'rain/template/');
raintpl::configure( 'cache_dir', 'rain/cache/' );
2015-10-07 22:29:01 +00:00
$tpl = new RainTPL;
$title = "Temp File Hosting";
$tpl->assign("title", $title);
$tpl->draw("header");
2016-05-14 20:32:12 +00: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 09:47:48 +00:00
$tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT);
2015-10-07 22:29:01 +00:00
$tpl->draw("upload-done");
$tpl->draw("footer");
?>