aboutsummaryrefslogtreecommitdiff
path: root/share.php
diff options
context:
space:
mode:
Diffstat (limited to 'share.php')
-rw-r--r--share.php21
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]";
+}
+
+?>