The following files exists in this folder. Click to view.
signup.php53 lines UTF-8 Unix (LF)
<?php
if(isset($_GET["mess"])){
switch($_GET["mess"]){
case "occupied":
echo "<mark style=\"background-color: rgba(255, 130, 130, 1); border: 1px solid rgba(255, 0, 0, 1);\">Användarnman upptaget</mark>";
break;
}
}
else{
echo "<br>";
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login - PHiNTERNET</title>
<link rel="stylesheet" href="/spectre/spectre-master/dist/spectre.css">
<script src="https://kit.fontawesome.com/0b0c9a8dc7.js" crossorigin="anonymous"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Special+Gothic+Expanded+One&family=Special+Gothic:wght@400..700&display=swap" rel="stylesheet">
</head>
<body style="text-align: center;">
<br>
<h1 style="font-family: 'Special Gothic Expanded One', Helvetica;">PHiNTERNET</h1>
<h3 style="font-family: 'Special Gothic Expanded One', Helvetica;">Sign up</h3>
<form method="post" action="h_create_account.php">
<p>
<label for="email">Email:</label>
<input type="email" id="email" name="n_email" required maxlength="255">
</p>
<p>
<label for="displayName">Display Name:</label>
<input type="text" id="displayName" name="displayName" required maxlength="50">
</p>
<p>
<label for="pass">Password:</label>
<input type="password" id="pass" name="n_pass" required>
<br>
<input type="checkbox" onclick="passShow()" maxlength="255"> Show Password
</p>
<p>
<input type="submit" value="Sign up" class="btn btn-primary">
</p>
</form>
<a class="btn" href="login.php">I want to log in</a>
<script src="/webbserver/projekt/re_bank01/passShow.js"></script>
</body>
</html>