-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
44 lines (30 loc) · 1.08 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
43
44
<?php
ob_start();
require_once('includes/load.php');
if($session->isUserLoggedIn(true)) { redirect('home.php', false);}
?>
<?php include_once('layouts/header.php'); ?>
<div class="banner">
<img src="libs/images/baner-corto.jpg" >
</div><br>
<div class="login-page">
<div class="text-center">
<h1>Bienvenido</h1>
<p>Iniciar sesión </p>
</div>
<?php echo display_msg($msg); ?>
<form method="post" action="auth.php" class="clearfix">
<div class="form-group">
<label for="username" class="control-label">Usario</label>
<input type="name" class="form-control" name="username" placeholder="Usario">
</div>
<div class="form-group">
<label for="Password" class="control-label">Contraseña</label>
<input type="password" name= "password" class="form-control" placeholder="Contraseña">
</div>
<div class="form-group">
<button type="submit" class="btn btn-info pull-right">Entrar</button>
</div>
</form>
</div>
<?php include_once('layouts/footer.php'); ?>