-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnot_logged_in.php
executable file
·65 lines (57 loc) · 2.61 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php include('header.php'); ?>
<body style=" background-image: url('img/bg_black_metal_01.jpg');">
<div >
<p><img src="img/login.png" alt="Pic" height="50%" width="100%"> </p>
</div>
<div class="login_wrapper" >
<?php
if ($login->errors) {
foreach ($login->errors as $error) {
?>
<div class="login_message error">
<?php echo $error; ?>
</div>
<?php
}
}
if ($login->messages) {
foreach ($login->messages as $message) {
?>
<div class="login_message success">
<?php echo $message; ?>
</div>
<?php
}
}
?>
<form method="post" action="index.php" name="loginform" id="loginform">
<div class="login" >
<div id="login_avatar" >
<img id="login_avatar" src="img/avatar_standard.jpg" style="width:125px; height:125px;" />
</div>
<div style="width: 250px; height: 125px; float:left; margin:0;">
<div style="width: 250px; height: 62px; float:left; margin:0; border-bottom: 1px solid #e6e6e6;">
<?php //if (empty($login->view_user_name)) { ?>
<input id="login_input_username" class="login_input" type="text" name="user_name" value="Username" />
<?php //} ?>
</div>
<div style="width: 250px; height: 62px; float:left; margin:0;">
<?php //if (empty($login->view_user_name)) { ?>
<input id="login_input_password_label" class="login_input" type="text" value="Password" />
<?php //} ?>
<input id="login_input_password" class="login_input" type="password" name="user_password" autocomplete="off" />
</div>
</div>
<div style="width: 124px; height: 125px; float:left; margin:0; border-left: 1px solid #e6e6e6;">
<div class="login_submit">
<input type="submit" name="login" style="width:124px; height:125px; padding-top: 60px; text-align: center; font-size:11px; font-family: 'Droid Sans', sans-serif; color:#666666; border:0; background: transparent; cursor: pointer;" value="Submit" />
</div>
</div>
</div>
<div style="width:500px; height: 40px; line-height: 40px; text-align: right; color:#ccc; font-size:11px; font-family: 'Droid Sans', sans-serif; ">
<a class="login_link" href="index.php?register">Create new Account</a>
</div>
</form>
</div>
<!-- this is the Simple sexy PHP Login Script. You can find it on http://www.php-login.net ! It's free and open source. -->
<?php include('footer.php'); ?>