Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<?php
session_start();
?>
<html>
<head>
<title>Login</title>
<link rel="stylesheet" href="css/main.css" type="text/css">
</head>
<body>
<div class="form-body">
<div class="form-container">
<form action="includes/login.php" method="POST">
<div class="login-form">
<div>
<input type="text" name="uid" placeholder="Username">
</div>
<div>
<input type="password" name="pwd" placeholder="Password">
</div>
</div>
<button type="submit">Log In</button>
</form>
<?php
if (isset($_SESSION['id'])) {
$_SESSION['id'];
}
else {
echo "";
}
?>
<div class="signup-form">
<form action="includes/signup.php" method="POST">
<div>
<input type="text" name="first" placeholder="First Name">
</div>
<div>
<input type="text" name="last" placeholder="Last Name">
</div>
<div>
<input type="text" name="uid" placeholder="Username">
</div>
<div>
<input type="password" name="pwd" placeholder="Password">
</div>
<button type="submit">Sign Up</button>
</form>
</div>
</div>
</div>
</body>
</html>