]>
Commit | Line | Data |
---|---|---|
1 | <?php | |
2 | require_once "rain/rain.tpl.class.php"; | |
3 | raintpl::configure( 'path_replace', false); | |
4 | raintpl::configure( 'tpl_dir', 'rain/template/'); | |
5 | raintpl::configure( 'cache_dir', 'rain/cache/' ); | |
6 | $tpl = new RainTPL; | |
7 | $title = "Temp File Hosting"; | |
8 | $tpl->assign("title", $title); | |
9 | $tpl->draw("header"); | |
10 | if(CONFIG_SUBUPLOAD_URL_ENABLED == 'true'){ | |
11 | $tpl->assign("url_filename", CONFIG_SUBUPLOAD_URL.'/'.$n); | |
12 | }else{ | |
13 | $tpl->assign("url_filename", CONFIG_ROOT_URL.'/files/'.$n); | |
14 | } | |
15 | $tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT); | |
16 | $tpl->draw("upload-done"); | |
17 | $tpl->draw("footer"); | |
18 | ?> |