-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
42 lines (39 loc) · 1.78 KB
/
index.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
<?php
$title = 'Smart Home | Login';
include $_SERVER["DOCUMENT_ROOT"].'/home/core/init.php';
f_logged_in_redirect();
include $_SERVER["DOCUMENT_ROOT"].'/home/includes/overall/header.php';
?>
<form class="form-horizontal" action="loginact.php" method="POST">
<div class="row">
<div class="col-lg-4">
<!-- Something -->
</div>
<div class="col-lg-4">
<div class="well bs-component">
<legend><center>User Log In</center></legend>
<div class="form-group">
<label for="inputEmail" class="col-lg-2 control-label">Username</label>
<div class="col-lg-12">
<input type="text" name="f_uname" class="form-control" required placeholder="Username">
</div>
</div>
<div class="form-group">
<label for="inputPassword" class="col-lg-2 control-label">Password</label>
<div class="col-lg-12">
<input type="password" name="f_password" class="form-control" required placeholder="Password">
</div>
</div>
<div class="form-group">
<br/>
<center><button type="submit" id="submit" value="submit" name="submit" class="btn btn-success">Login</button></center>
</div>
</form>
</form>
</div>
</div>
<div class="col-lg-4">
<!-- Something -->
</div>
</div>
<?php include $_SERVER["DOCUMENT_ROOT"].'/home/includes/overall/footer.php'; ?>