Skip to content

Commit

Permalink
added footer containing facebook,instagram links
Browse files Browse the repository at this point in the history
  • Loading branch information
bindumareedu committed Apr 22, 2019
1 parent f534cca commit 0838276
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 7 deletions.
6 changes: 0 additions & 6 deletions backend/connect.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
<<<<<<< HEAD
$connection = pg_connect("host=ec2-54-227-245-146.compute-1.amazonaws.com
dbname=d2kuab01c8dti4 port=5432 user=uxaxldrtjmmrxj password=05baad5cb66858815c641ff304a9bb2b115a1d0fad29703e038b61c916826795")
or die('Could not connect: ' . pg_last_error());
Expand All @@ -9,9 +8,4 @@
// $select_db = mysqli_select_db($connection, 'test');
// if (!$select_db){
// die("Database Selection Failed" . mysqli_error($connection));
=======
$connection = pg_connect("host=ec2-54-227-245-146.compute-1.amazonaws.com
dbname=d2kuab01c8dti4 port=5432 user=uxaxldrtjmmrxj password=05baad5cb66858815c641ff304a9bb2b115a1d0fad29703e038b61c916826795")
or die('Could not connect: ' . pg_last_error());
>>>>>>> ae11e7d170e6662d61464e41d48b7411a59eaac4
?>
4 changes: 3 additions & 1 deletion backend/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand All @@ -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

?>
10 changes: 10 additions & 0 deletions gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,15 @@
</header>
</div>
</div>
<footer class="w3-container w3-padding-64 w3-light-grey w3-center w3-opacity w3-xlarge" style="margin:-24px;padding-left:160px;">
<i class="fa fa-facebook-official w3-hover-opacity"></i>
<i class="fa fa-instagram w3-hover-opacity"></i>
<i class="fa fa-snapchat w3-hover-opacity"></i>
<i class="fa fa-pinterest-p w3-hover-opacity"></i>
<i class="fa fa-twitter w3-hover-opacity"></i>
<i class="fa fa-linkedin w3-hover-opacity"></i>
<!-- <p class="w3-medium">Powered by <a href="https://www.w3schools.com/w3css/default.asp" target="_blank" class="w3-hover-text-green">w3.css</a></p> -->
<!-- End footer -->
</footer>
</body>
</html>
10 changes: 10 additions & 0 deletions portfolio.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,14 @@
</div>
</div>
</body>
<footer class="w3-container w3-padding-64 w3-light-grey w3-center w3-opacity w3-xlarge" style="margin:-24px;padding-left:160px;">
<i class="fa fa-facebook-official w3-hover-opacity"></i>
<i class="fa fa-instagram w3-hover-opacity"></i>
<i class="fa fa-snapchat w3-hover-opacity"></i>
<i class="fa fa-pinterest-p w3-hover-opacity"></i>
<i class="fa fa-twitter w3-hover-opacity"></i>
<i class="fa fa-linkedin w3-hover-opacity"></i>
<!-- <p class="w3-medium">Powered by <a href="https://www.w3schools.com/w3css/default.asp" target="_blank" class="w3-hover-text-green">w3.css</a></p> -->
<!-- End footer -->
</footer>
</html>
11 changes: 11 additions & 0 deletions portfoliocontact.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,5 +201,16 @@
});
});
</script>

<footer class="w3-container w3-padding-64 w3-light-grey w3-center w3-opacity w3-xlarge" style="margin:-24px;padding-left:160px;">
<i class="fa fa-facebook-official w3-hover-opacity"></i>
<i class="fa fa-instagram w3-hover-opacity"></i>
<i class="fa fa-snapchat w3-hover-opacity"></i>
<i class="fa fa-pinterest-p w3-hover-opacity"></i>
<i class="fa fa-twitter w3-hover-opacity"></i>
<i class="fa fa-linkedin w3-hover-opacity"></i>
<!-- <p class="w3-medium">Powered by <a href="https://www.w3schools.com/w3css/default.asp" target="_blank" class="w3-hover-text-green">w3.css</a></p> -->
<!-- End footer -->
</footer>
</body>
</html>
10 changes: 10 additions & 0 deletions skills.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,15 @@
</header>
</div>
</div>
<footer class="w3-container w3-padding-64 w3-light-grey w3-center w3-opacity w3-xlarge" style="margin:-24px;padding-left:160px;">
<i class="fa fa-facebook-official w3-hover-opacity"></i>
<i class="fa fa-instagram w3-hover-opacity"></i>
<i class="fa fa-snapchat w3-hover-opacity"></i>
<i class="fa fa-pinterest-p w3-hover-opacity"></i>
<i class="fa fa-twitter w3-hover-opacity"></i>
<i class="fa fa-linkedin w3-hover-opacity"></i>
<!-- <p class="w3-medium">Powered by <a href="https://www.w3schools.com/w3css/default.asp" target="_blank" class="w3-hover-text-green">w3.css</a></p> -->
<!-- End footer -->
</footer>
</body>
</html>

0 comments on commit 0838276

Please sign in to comment.