From 65dc06eab2305800ad862b4621807fd7d4f7fe8d Mon Sep 17 00:00:00 2001 From: Horus3 Date: Sun, 9 Feb 2014 17:21:59 +0100 Subject: Init --- account.php | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 account.php (limited to 'account.php') diff --git a/account.php b/account.php new file mode 100644 index 0000000..0717182 --- /dev/null +++ b/account.php @@ -0,0 +1,54 @@ +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

+
+
+ +
+
+ Verwalte deine Account Informationen hier. +
+
+ + + + + + +

Name: 

$username

E-Mail:

$email

Stored files:

$count

+ + +"; + + +} else { +header("Location: member_login.php"); +exit; +} + +?> -- cgit v1.2.3