From 4cf5e7b51d812fcc6e8c374f71facb28869d11a7 Mon Sep 17 00:00:00 2001 From: Erik Date: Wed, 4 Mar 2020 08:41:45 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9Ethreadr/profile/redirect.php=E2=80=9C?= =?UTF-8?q?=20hinzuf=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- threadr/profile/redirect.php | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 threadr/profile/redirect.php diff --git a/threadr/profile/redirect.php b/threadr/profile/redirect.php new file mode 100644 index 0000000..59370bd --- /dev/null +++ b/threadr/profile/redirect.php @@ -0,0 +1,37 @@ +prepare('SELECT name FROM users WHERE id = :user_id;'); // to be replaced with optional user name off the user data table +$result = $statement->execute(array('user_id' => $_SESSION['user_id'])); +$dbentry = $statement->fetch(); +$username = $dbentry['name']; + +$navbar = "profile"; +?> + + + + + ThreadR - Edit Profile + + + + + + + %NAVBAR% +
+
+

ThreadR

+
+
+

+
+ +
+
+
+