-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
71 lines (64 loc) · 2.75 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
session_start();
unset($_SESSION['SESION_ID_USUARIO']);
unset($_SESSION['SESION_NOMBRE_USUARIO']);
unset($_SESSION['SESION_CARGO_USUARIO']);
unset($_SESSION['RS']);
?>
<!DOCTYPE HTML>
<html lang="es">
<head>
<title>Iniciar sesion</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<script src="js/jquery-1.10.2.min.js"></script>
<link href="css/bootstrap.min.css" rel='stylesheet' type='text/css' />
<link href="css/style.css" rel='stylesheet' type='text/css' />
<link href="css/font-awesome.css" rel="stylesheet">
<link href='/fonts.googleapis.com/css?family=Roboto:700,500,300,100italic,100,400' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/icon-font.min.css" type='text/css' />
</head>
<body>
<!--/login-->
<div class="error_page">
<!--/login-top-->
<div class="error-top">
<h2 class="inner-tittle page">Papeleria ERP</h2>
<div class="login">
<h3 class="inner-tittle t-inner">Ingresa a tu cuenta</h3>
<?php
if( isset($_SESSION['Mensaje_error']) && is_array($_SESSION['Mensaje_error']) && count($_SESSION['Mensaje_error']) > 0 )
{
foreach($_SESSION['Mensaje_error'] as $mensaje)
{
echo '<div style="color: red; text-align: center;">',$mensaje,'</div><br>';
}
unset($_SESSION['Mensaje_error']);
}
?>
<form action="login/login_fun.php" method="post">
<input type="email" id="correo" name="correo" required="" placeholder="Correo" />
<input type="password" name="password" required="" placeholder="Contraseña" />
<div class="submit">
<input type="submit" value="Iniciar sesion" >
</div>
<div class="clearfix"></div>
</form>
</div>
</div>
<!--//login-top-->
</div>
<!--//login-->
<!--footer section start-->
<div class="footer">
<div class="error-btn"></div>
</div>
<!--footer section end-->
<!--js -->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>