survey_seahorse

Software Engineering Project - Fall 2018
Log | Files | Refs | README

commit bc1e4a475db3c3d18b8e1db56807e744abd978aa
parent 11fbb09fc91bb4285f713d2c88549044a58cfb62
Author: David Liotta <liottad6@students.rowan.edu>
Date:   Fri, 14 Dec 2018 21:06:11 -0500

Added the navBar
Diffstat:
Mwebsite/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>