diff options
| author | Horus3 | 2014-02-09 17:21:59 +0100 |
|---|---|---|
| committer | Horus3 | 2014-02-09 17:21:59 +0100 |
| commit | 65dc06eab2305800ad862b4621807fd7d4f7fe8d (patch) | |
| tree | c8efcc90589d30ecbe838fc7822c8d031cbececa /share.php | |
| download | jungegemeinde-65dc06eab2305800ad862b4621807fd7d4f7fe8d.tar.gz | |
Init
Diffstat (limited to 'share.php')
| -rw-r--r-- | share.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/share.php b/share.php new file mode 100644 index 0000000..7aeaf9c --- /dev/null +++ b/share.php @@ -0,0 +1,21 @@ +<?php include('auth.php'); +include("header.php"); +?> + +<div id='content_container' align='center'> + <br> + <div class='kleineschrift'> + <div class='ueberschrift'><p>JUNGE GEMEINDE ADLERSHOF</p> + </div> + </div> + +<?php +$db = new SQLite3("/var/www/jungegemeinde/database/share_test.db"); + +$show_public_db = $db->query("SELECT filename FROM file WHERE private=0;"); + +while($show_public_array = $show_public_db->fetchArray() ){ + echo " $show_public_array[filename]"; +} + +?> |
