-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
51 lines (49 loc) · 1.65 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
45
46
47
48
49
50
51
<?php
session_start();
if (isset($_SESSION["usuario"])){
header("Location:index2.php");
}else{
?>
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>Roldy Five</title>
<link rel="stylesheet" type="text/css" href="css/materialize.css">
<link rel="stylesheet" type="text/css" href="css/iconos.css">
<link rel="shortcut icon" href="img/logo-roldyfive.png"/>
</head>
<body>
<div class="row" style="margin-top:100px;opacity:.7">
<form class="col s8 m4 card offset-s2 offset-m4" id="inicio_sesion">
<h4 class="center-align">Inicio de sesión</h4>
<div class="row">
<div class="input-field col s12 m12">
<i class="material-icons prefix">person</i>
<input id="usuario" type="text" class="validate" autofocus>
<label for="usuario">Usuario</label>
</div>
</div>
<div class="row">
<div class="input-field col s12 m12">
<i class="material-icons prefix"><i class="material-icons">visibility_off</i></i>
<input id="contrasena" type="password" class="validate">
<label for="contrasena">Contraseña</label>
</div>
</div>
<div class="row">
<div class="col s2 m2 offset-m4 offset-s2">
<button class="waves-effect waves-light btn">Iniciar</button>
</div>
</div>
</form>
</div>
<a href=""><p class="center-align">Terminos y condiciones.</p></a>
</body>
<script type="text/javascript" src="js/jquery-3.2.1.js"></script>
<script type="text/javascript" src="js/materialize.js"></script>
<script type="text/javascript" src="js/accion_inicio.js"></script>
</html>
<?php
}
?>