You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.4 KiB
53 lines
1.4 KiB
<?php
|
|
session_start();
|
|
include("init.php");
|
|
$ptitle = "Registrace";
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Document</title>
|
|
<link rel="stylesheet" href="css/bootstrap.css">
|
|
</head>
|
|
<body class="d-flex flex-column min-vh-100">
|
|
<div class="container">
|
|
|
|
<?php
|
|
include "menu.php";
|
|
?>
|
|
<?php
|
|
if(isset($_GET["error"])){
|
|
if ($_GET["error"] == "1") {
|
|
echo "<h2>Hesla nejsou stejná</h2>";
|
|
}
|
|
}
|
|
?>
|
|
<form action="action_reg.php" method="post">
|
|
<label for="username" class="form-label">Přihlašovací jméno:</label><br>
|
|
<input type="text" name="username" id="username" class="form-control">
|
|
<br>
|
|
|
|
<label for="pw1" class="form-label">Heslo:</label><br>
|
|
<input type="password" name="pw1" id="pw1" class="form-control">
|
|
<br>
|
|
|
|
<label for="pw2" class="form-label">Opakovat heslo:</label><br>
|
|
<input type="password" name="pw2" id="pw2" class="form-control">
|
|
<br>
|
|
|
|
<br>
|
|
<input type="submit" value="Registrovat" class="btn btn-primary">
|
|
|
|
</form>
|
|
</div>
|
|
|
|
<?php
|
|
include "footer.php";
|
|
?>
|
|
<script src="js/bootstrap.bundle.js"></script>
|
|
|
|
</body>
|
|
</html>
|