From 82185753906709f9944a07c35a809736cf979afe Mon Sep 17 00:00:00 2001 From: root Date: Sun, 2 Mar 2014 00:13:01 +0100 Subject: new folder etc --- www/account.php | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 www/account.php (limited to 'www/account.php') diff --git a/www/account.php b/www/account.php new file mode 100644 index 0000000..2db7e85 --- /dev/null +++ b/www/account.php @@ -0,0 +1,58 @@ +query("SELECT email FROM user where name='$safe_username';"); + while($email_array = $email_db->fetchArray(SQLITE3_NUM)){ + foreach($email_array as $thirdelement){ + $email=$thirdelement; + } + } + + /*Anzahl der hochgeladenen Dateien.*/ + $count_db = $db_check->query("SELECT count(*) as count FROM file where fk=(SELECT id from user where name='$safe_username');"); + $count_array = $count_db->fetchArray(); + $count = $count_array["count"]; + + +//echo "$username Test $email"; +echo " +
JUNGE GEMEINDE ADLERSHOF
+Name: | $username |
E-Mail: | |
Stored files: | $count |