-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.php
executable file
·34 lines (33 loc) · 1.13 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
<?php session_start();
header("Cache-Control: must-revalidate");
header("Expires: ".gmdate ("D, d M Y H:i:s", time() + 60*60*24*30)." GMT");
include('head.html');
include('menu.php');
?>
<?php $log=$_SESSION['log']; if($log != "1"): ?>
<script type="text/javascript" defer="defer" src="js/validacion.js" ></script>
<div id="registro">
<?php include("login.html"); ?>
</div>
<?php else: ?>
<script type="text/javascript" defer="defer" src="js/validacion.js" ></script>
<h1>Registro de Asistencia</h1>
<br />
<br />
<div id="registro">
<form action="registroAsistenciaEmpleadoExecute.php" method="post" title="Formularo de Ingreso"
onsubmit="return validarVacio(this);">
<label>Clave </label>
<input type="password" title="Ingrese su Clave"
onkeypress="return permite(event , 'num')" id="Clave" name="Clave" />
<br />
<input id="registrar" type="submit" value="Registrar" />
<input type="reset" value="Limpiar"/>
</form>
</div>
<?php endif; ?>
</div>
<div class="left"><ul><?php include('vendedor.php'); ?></ul></div>
<?php
include('foot.html');
?>