-
Notifications
You must be signed in to change notification settings - Fork 790
/
not_logged_in.php
34 lines (26 loc) · 1.15 KB
/
not_logged_in.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!-- this is the Simple sexy PHP Login Script. You can find it on http:https://www.php-login.net ! It's free and open source. -->
<!-- errors & messages --->
<?php
// show negative messages
if ($login->errors) {
foreach ($login->errors as $error) {
echo $error;
}
}
// show positive messages
if ($login->messages) {
foreach ($login->messages as $message) {
echo $message;
}
}
?>
<!-- login form box -->
<form method="post" action="index.php" name="loginform">
<label for="login_input_username">Username</label>
<input id="login_input_username" class="login_input" type="text" name="user_name" required pattern="<?php echo Auth::$regexp['user_name']; ?>">
<label for="login_input_password">Password</label>
<input id="login_input_password" class="login_input" type="password" name="user_password" autocomplete="off" required pattern="<?php echo Auth::$regexp['user_password']; ?>">
<input type="submit" name="login" value="Log in">
</form>
<a href="register.php">Register new account</a>
<!-- this is the Simple sexy PHP Login Script. You can find it on http:https://www.php-login.net ! It's free and open source. -->