From 08382760ad727c5cfba2d2b658e49f3c87259ab0 Mon Sep 17 00:00:00 2001 From: bindumareedu Date: Mon, 22 Apr 2019 19:58:09 -0400 Subject: [PATCH] added footer containing facebook,instagram links --- backend/connect.php | 6 ------ backend/login.php | 4 +++- gallery.php | 10 ++++++++++ portfolio.php | 10 ++++++++++ portfoliocontact.php | 11 +++++++++++ skills.php | 10 ++++++++++ 6 files changed, 44 insertions(+), 7 deletions(-) diff --git a/backend/connect.php b/backend/connect.php index ff1edc6..3e327b3 100644 --- a/backend/connect.php +++ b/backend/connect.php @@ -1,5 +1,4 @@ >>>>>> ae11e7d170e6662d61464e41d48b7411a59eaac4 ?> diff --git a/backend/login.php b/backend/login.php index 173c847..31b02ef 100644 --- a/backend/login.php +++ b/backend/login.php @@ -5,6 +5,8 @@ //3.1.1 Assigning posted values to variables. $username = $_GET['email']; $password = sha1($_GET['pass']); + echo "$password"; + //3.1.2 Checking the values are existing in the database or not $query = "SELECT * FROM public.users_info WHERE email='$username' and pass='$password'"; $result = pg_query($connection, $query) or die('Query failed: ' . pg_last_error()); @@ -27,6 +29,6 @@ } } pg_close($connection); - //3.1.4 if the user is logged in Greets the user with message +// 3.1.4 if the user is logged in Greets the user with message ?> diff --git a/gallery.php b/gallery.php index a4dce6d..55a9516 100644 --- a/gallery.php +++ b/gallery.php @@ -174,5 +174,15 @@ + \ No newline at end of file diff --git a/portfolio.php b/portfolio.php index d6545aa..d9072fb 100644 --- a/portfolio.php +++ b/portfolio.php @@ -148,4 +148,14 @@ + \ No newline at end of file diff --git a/portfoliocontact.php b/portfoliocontact.php index 8fedd83..9e7ec17 100644 --- a/portfoliocontact.php +++ b/portfoliocontact.php @@ -201,5 +201,16 @@ }); }); + + \ No newline at end of file diff --git a/skills.php b/skills.php index 793d090..ba65168 100644 --- a/skills.php +++ b/skills.php @@ -150,5 +150,15 @@ + \ No newline at end of file