commit a60c7bc96abe9e173817d290782f3099db46cb5e parent 11fbb09fc91bb4285f713d2c88549044a58cfb62 Author: David Liotta <liottad6@students.rowan.edu> Date: Fri, 14 Dec 2018 21:06:23 -0500 Merge pull request #5 from JKubach/liottad6-patch-1 Added the navBar Diffstat:
M | website/profile.php | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/website/profile.php b/website/profile.php @@ -24,6 +24,15 @@ $sql = "SELECT title FROM survey WHERE survey_id IN (SELECT survey_id FROM answe echo "Surveys that ", $user, " has taken: ", $surveys_taken['title'], "<br>"; ?> +<link rel = "stylesheet" href= "res/nav.css"> +<div class= nav> + <a href="index.php" target="_blank"> Home </a> + <a href="profile.php" target="_blank"> <?php echo $user; ?>'s Profile </a> + <a href="directory.php" target="_blank"> Surveys </a> + <a href="createsurvey.php" target="_blank"> Create a Survey </a> +</div> +<br><br> + <h2> Username: <?php echo $user; ?> </h2> <h2> Email: <?php echo $email; ?> </h2> <h2> UserID: <?php echo $uid; ?> </h2>