<?php
ini_set("session.cookie_lifetime",60*60*10);
ini_set("session.gc_maxlifetime", 60*60*10);
session_start();	
include("ip.php");
include("cls_conexion.php");
$CNN=new ClsMySQL();
include("conexion23.php");
//-------------------------	
$StrGT="";
$VP_RegXPag=10;
$LStrMsg="";
$LStrFoc="";
$LStrMM="";	
include("login_fun.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Iniciar sesion</title>
<script type="text/javascript" src="fe/funciones.js"></script>
<script type="text/javascript" src="fe/login.js"></script>
<style type="text/css">
<!--
body {
background-color: #CCC;
}
#Layer1 {
position:absolute;
left:345px;
top:115px;
width:123px;
height:35px;
z-index:1;
}
.centrarFrm{
width:400px;
height:400px;
position:absolute;
left:50%;
top:50%;
background-color:#006699;
margin:-200px 0 0 -200px;	
}
#Layer2 {
position:absolute;
left:409px;
top:205px;
width:82px;
height:24px;
z-index:1;
}
.Estilo1 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
color: #FFFFFF;
}
.f2 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
color: #FFF;
font-size: 12px;
}
.Estilo3 {color: #FFFFFF; font-size: 12px; font-family: Arial, Helvetica, sans-serif;}
.Estilo4 {color: #000099}
.Estilo5 {color: #000000}
#Frm center #DivFRM #layer .Estilo1 strong {
color: #900;
}

-->
</style>

</head>
<body  <?php echo $LStrMsg;?>>
<form id="Frm" name="Frm" method="post" action="login.php">
<center> 
<div Id="DivFRM"  class="centrarFrm" >
<div id="layer5" style="position:absolute; left: 60px; top: 217px; width: 134px;">
<div align="left" class="f2">NOMBRE DE USUARIO</div>
</div>
<div id="layer4" 
style="position:absolute; left: 63px; top: 294px; width: 276px; height: 26px; text-align:right">  
<input name="CmdG" type="button" id="CmdG"	 value="Iniciar sesion"	 
onclick="fGuardar();" style="width:100px" tabindex="3"/>
<input name="CmdB" type="button" id="CmdC"  
value="Salir" onclick="window.close();"  
style="width:100px"
tabindex="4"/>

</div>
<div id="layer" style="position:absolute; left: 145px; top: 26px; width: 235px; height: 25px; z-index: 100; font-weight: bold; font-family: Verdana; color: #900;">
<div align="left" >	
<input name="TxtId" type="hidden" id="TxtId" value="<?php echo $StrId;?>"/>
<input name="TxtAc" type="hidden" id="TxtAc" value="" />
<input name="TxtPag" type="hidden" id="TxtPag" value="<?php echo $LStrPag; ?>" />	
<strong>LQ IMPORT & EXPORT</strong></div>
</div>
<input name="TxtNom" type="text" id="TxtNom" 
style="position:absolute; left: 60px; top: 237px; width: 133px;"
tabindex="1"  
onKeyDown="return SoloTextoEx(event,'TxtPass');" value="" maxlength="15" />

<div id="layer2" style="position:absolute; left:57px; top: 262px; width: 278px; height: 25px;">
<div align="left" class="f2">
<input name="ChChino" tabindex="10" type="checkbox" 
id="ChChino" value="1"  /> 
ACTIVAR MENU ALERTNATIVO</div>
</div>

<div id="LblTit" style="position:absolute; left: 45px; top: 26px; width: 64px; z-index: 100;">
<div align="left" class="Estilo1">
<img src="logo_lq.png" width="92" height="117" /></div>
</div>
<div id="layer8" style="position:absolute; left: 0px; top: 0px; width: 400px; height: 164px; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000; z-index: 0;">

<div id="layer9" style="position:absolute; left:145px; top: 61px; width: 220px; height: 82px; z-index: 100; font-size:11px; font-family: Arial, Helvetica, sans-serif;">
<div align="left" >
<strong>Bienvenido </strong>al proceso de validacion y acceso de usuarios, para obtener un usuario y password comuniquese con el administrador del sistema. Actualizado al 30.11.17</div>
</div>
<div id="layer12" style="position:absolute; left: 60px; top: 191px; width: 272px; bottom: -1px;">
<div align="left" class="f2">INGRESE LOS DATOS CORRESPONDIENTES</div>
</div>
</div>
<div id="layer6" style="position:absolute; left: 201px; top: 217px; width: 134px;">
<div align="left" class="f2">PASSWORD</div>
</div>
<input name="TxtPass" type="password" id="TxtPass" 
style="position:absolute; left: 203px; top: 237px; width: 133px;"
tabindex="2"  
onkeydown="return SoloTextoEx(event,'CmdG');" value="" maxlength="10" />
<div id="layer10" style="position:absolute; left: 60px; top: 323px; width: 280px;">
<div align="left" class="f2"><?php echo "FECHA : ".date("d-m-Y");?></div>
</div>
<div id="layer11" style="position:absolute; left: 60px; top: 340px; width: 280px;">
<div align="left" class="f2"><?php echo "INICIANDO DESDE : ".Saber_IP()?></div>
</div>
<div id="layer3" style="position:absolute; left: 0px; top: 162px; width: 400px; background-color: #FFCC00; layer-background-color: #FFCC00; border: 1px none #000000; height: 5px;">
<div align="left" class="f2"></div>
</div>
</div>
</center>	
</form>
</body>
</html>
