Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bdngeorge committed Dec 5, 2021
1 parent 283ad65 commit 6daaae5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion account/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

</head>
<body>
<?php include("../includes/header.inc.php"); ?>
<?php include("../includes/header2.inc.php"); ?>

<section class="center-items center-self body">
<h2 class="bold">Login</h2>
Expand Down
2 changes: 1 addition & 1 deletion account/signup.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$fname = htmlspecialchars(trim($_POST['fname']));
$lname = htmlspecialchars(trim($_POST['lname']));
$email = htmlspecialchars(trim($_POST['email']));
$pass = htmlspecialchars($_POST['password'])
$pass = htmlspecialchars($_POST['password']);

$fname = mysqli_real_escape_string($db, $fname);
$lname = mysqli_real_escape_string($db, $lname);
Expand Down
8 changes: 3 additions & 5 deletions includes/header.inc.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<header>
<a href="../"> <h1 class="logo left"> Textbook Buddy </h1> </a>
<ul class="hmenu">
<div>
<a href="catalog.php"><li>Catalog</li></a>
<a href="uploadBooks.php"><li>Sell</li></a>
<a href="../account/account.php"><li>Account</li></a>
</div>
<a href="catalog.php"><li>Catalog</li></a>
<a href="uploadBooks.php"><li>Sell</li></a>
<a href="../account/account.php"><li>Account</li></a>
</ul>
</header>
1 change: 0 additions & 1 deletion styles/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ h2 {
padding-bottom: 1vw;
font-variant: small-caps;
font-size: 3.5vw;
color: #449fee;
}

.body {
Expand Down

0 comments on commit 6daaae5

Please sign in to comment.