aboutsummaryrefslogtreecommitdiff
path: root/share.php
blob: 7aeaf9c6bfec4b0ffd80126d801fd9b99bbf713c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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]";
}

?>