From ac384ab0feee6fc6761d0030273c665264dd33e1 Mon Sep 17 00:00:00 2001 From: oweissbarth Date: Mon, 17 Mar 2014 00:38:42 +0100 Subject: added basic browsing functionality --- www/browse.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 www/browse.php (limited to 'www/browse.php') diff --git a/www/browse.php b/www/browse.php new file mode 100644 index 0000000..9c37f41 --- /dev/null +++ b/www/browse.php @@ -0,0 +1,32 @@ + + '.$file_list.'
'; + + include("static/footer.html"); +} + +function get_icon($file){ + if($file[4]=="DIRECTORY"){ + return ''.get_link($file).''; + }else{ + return ''.get_link($file).''; + } +} + +function get_link($file){ + return ''; +} + +function get_item($file){ + return ''.get_icon($file).''.get_link($file).$file[3].''; +} -- cgit v1.2.3