You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
1009 B
PHTML

<nav>
<div>
<form id="nigol" method="post" action="verify.php" class="menu">
<input id="prihlasovaciJmeno" name="prihlasovaciJmeno" type="text" placeholder="Nickname" size="22" >
<input id="prihlasovaciHeslo" name="prihlasovaciHeslo" type="password" placeholder="Passphrase" size="22" >
<input id="SearchButton" type="image" alt="Enter !" src="src/key-ico.png">
</form>
</div>
<div class="login"> //Honeypot
<form id="login" method="post" action="verify.php" class="login">
<input name="user" type="text" placeholder="Username" size="22" >
<input name="password" type="password" placeholder="Password" size="22" >
<input id="loginButton" type="image" alt="Enter !" src="src/key-ico.png">
</form>
</div>
</nav>
<?php
if(isset($_SESSION["wrongCr"]) && $_SESSION["wrongCr"] === true){
echo '<script>alert("Wrong Credentials")</script>';
$_SESSION["wrongCr"] = false;
}
?>