-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
54 lines (51 loc) · 1.95 KB
/
login.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
<?php
include_once "app/config/checkLogged.php";
include_once "app/config/conn.php";
include "app/controller/loginController.php";
$pageOpt = array(
"title" => "FitConnect . Login",
'navName' => "",
'cssIncludes' => "",
"jsIncludes" => "",
);
?>
<!DOCTYPE html>
<head>
<?php include_once "app/views/meta.php"; ?>
</head>
<body>
<div id='fixed-bg'> </div>
<div id='main-content'>
<!-- Content -->
<div class='view' style='margin-right: 0'>
<!-- Not Registered Display -->
<div class='homepage-info vert-center'>
<img src='assets/img/logos/fitconnect-logo-text.png' alt='logo' class='full-logo'/>
<br /> <big> No Account? Register </big> <br />
<a href='register.php' class='custom-btn small-button dark-color model-popup'> Register </a>
</div>
<!-- Login Form -->
<form action='' method='post' name='login' id='register-form' class="pure-form pure-form-stacked modulated-box vert-center">
<h1> Login </h1>
<?php if(isset($feedback)) {
echo "<div class='feedback-msg ".$feedback['type']."'>".$feedback['message']."</div>";
} ?>
<fieldset>
<div class="pure-g">
<div class="pure-u-1 pure-u-md-1-1">
<label for="u_username">Username <span></span></label>
<input type='text' name='u_username' id='u_username'/>
</div>
<div class="pure-u-1 pure-u-md-1-1">
<label for="u_password">Password <span></span></label>
<input type='password' name='u_password' id='u_password'/>
</div>
<input type='submit' name='login' id='login' value='Login'/>
</div>
</fieldset>
</form>
</div>
</div>
<?php include_once "app/views/scripts.php"; ?>
</body>
</html>