<?
/*
Autor: Lic. Carlos Alberto Vaca Coronado
Version: 3.2.0
*/

session_name('portal_absa');
session_start();
session_destroy();
?>
<html>
<head>
<title>Login - Portal de Proveedores</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script language="javascript" src="libs/js/jquery.min1.6.2.js"></script>
<script language="javascript" type="text/javascript" src="libs/js/funciones.js"></script>
<!--<script language="javascript" src="libs/Vanadium/vanadium.js"></script>
<script language="javascript" src="libs/rico/src/prototype.js"></script>-->
<link rel="stylesheet" href="libs/jQueryValidation/css/validationEngine.jquery.css" type="text/css"/>
<link rel="stylesheet" href="libs/jQueryValidation/css/template.css" type="text/css"/>
<!--<script src="libs/jQueryValidation/js/jquery-1.6.min.js" type="text/javascript"></script>-->
<script src="libs/jQueryValidation/js/languages/jquery.validationEngine-es.js" charset="utf-8" type="text/javascript"></script>
<script src="libs/jQueryValidation/js/jquery.validationEngine.js" charset="utf-8" type="text/javascript"></script>
<script>
jQuery.noConflict();
jQuery(document).ready(function(){
	jQuery("#Login").validationEngine();
	jQuery("#tbl_1").width(jQuery(window).width());
	jQuery("#tbl_1").height(jQuery(window).height());
	jQuery("#td_1").width(jQuery(window).width());
	jQuery("#td_1").height(jQuery(window).height());
	if(!jQuery.browser.msie){
		jQuery("#navegadores").hide();
	}
	
	jQuery('#loading').hide();
    jQuery().ajaxStart(function() {
        jQuery('#loading').show();
        jQuery('#resultLogin').hide();
    }).ajaxStop(function() {
        jQuery('#loading').hide();
        jQuery('#resultLogin').fadeIn('slow');
    });
	
	jQuery('#form, #fat, #Login').submit(function() {
        jQuery.ajax({
            type: 'POST',
            url: jQuery(this).attr('action'),
            data: jQuery(this).serialize(),
            success: function(data) {
					jQuery('#resultLogin').html(data);
            }
        })
        
        return false;
    });
});
</script>
<link href="CSS/super_css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.headDiv{
behavior: url('CSS/ie-css3.htc');
box-shadow: -3px 3px 20px #333333;
-webkit-box-shadow: -3px 3px 20px #333333;
-moz-box-shadow: -3px 3px 20px #333333;
width:100%;
height: 20px;
border:0px;
background-color: #00263C;
font-size: 10px;
color: #CCCCCC;
z-index:200;
position:fixed;
left: 0;
top: 0;
}
html { overflow-x:hidden; overflow-y:hidden;}
</style>
<!--[if lte IE 7]>
<style type="text/css">
.headDiv{
behavior: url('CSS/ie-css3.htc');
box-shadow: -3px 3px 20px #333333;
width:100%;
height: 20px;
border:0px;
background-color: #00263C;
font-size: 10px;
color: #CCCCCC;
z-index:200;
position: absolute;
left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}
</style>
<![EndIf]-->
</head>

<body>
<div class="headDiv">
Facturaci&oacute;n Electr&oacute;nica - Portal de Clientes
</div>
<table style="height: 100%; width: 100%; border: 0px">
<tr>
<td valign="center" align="center">
<center>
<table width="800" height="400" border="0" id="tbl_1">
  <tr>
	<td width="800" height="400" valign="center" align="center" id="td_1">
	  <form name="Login" id="Login" method="post" action="login.php?razonSocial=<?=$_GET['razonSocial']?>&usuarioActivar=<?=$_GET['usuario']?>&accion=<?=$_GET['accion']?>">
	  <table border="0">
		<tr>
			<td align="center" valign="center">
					<table class="roundDiv">
						<tr>
						<td colspan="2">
							<img src="Imagenes/1200Sombra.gif" width="400px" height="100"/>
							<div style="border: 1px solid gray"></div><br/>
						</td>
						</tr>
						<tr>
						<td class="txt_logindat_17" colspan="2" align="center"><img src="Imagenes/key.png" width="16" height="16">&nbsp;&nbsp;Ingrese su cuenta <div id="loading"><img src="Imagenes/loading.gif" width="28" height="25"></div>
						</td>
						</tr>
						<tr>
							<td class="txt_logindat_17" align="right">
								&nbsp;Usuario:
							</td>
							<td>
								<input type="text" name="user" id="user" size="45" class="validate[required] text-input" data-prompt-position="topRight:-70"/>
							</td>
						</tr>
						<tr>
							<td class="txt_logindat_17" align="right">
								&nbsp;Contrase&ntilde;a:
							</td>
							<td>
								<input type="password" name="pass" id="pass" size="45" class="validate[required] text-input" data-prompt-position="topRight:-30"/>
							</td>
						</tr>
						<tr>
							<td></td>
							<td><input type="submit" value="Entrar"/></td>
						</tr>
						<tr>
							<td colspan="2"><br/>
								<div style="border: 1px solid gray"></div>
							</td>
						</tr>
						<tr>
							<td align="center" colspan="2">
								<a href="admin.php?modulo=REGUSUARIOS" target="_self">Registrarse</a>&nbsp;&nbsp;&nbsp;
								<a href="admin.php?modulo=RECUERDAPASS" target="_self">żOlvid&oacute; su contrase&ntilde;a?</a>
							</td>
						</tr>
						<!--<tr>
							<td colspan="2" align="center" class="pie">Todos los derechos reservados para DisXII&reg; <a class="pie" href="http://www.disxii.com" target="_blank">www.disxii.com</a></td>
						</tr>-->
						<tr>
							<td colspan="2" align="center" class="pie"><a class="pie" href="http://www.disxii.com" target="_blank">www.disxii.com</a></td>
						</tr>
					</table>
				<center><br/><div id="navegadores">
<table class="roundDiv"><tr><td style="font-size: 15;" class="pie" align="center">Con los siguientes navegadores se ve mejor</td></tr><tr><td align="center">
<img onClick="window.location.href='https://www.google.com.mx/chrome/?brand=ECSB&installdataindex=no-apps-no-promo&hl=es-419&gclid=CJPB6_fwna4CFYPd4AodYwLddg'" style="cursor: pointer" src="Imagenes/chrome.jpg" width="64" height="64"><img onClick="window.location.href='http://www.mozilla.org/en-US/firefox/new/'" style="cursor: pointer" src="Imagenes/firefox.jpg" width="64" height="64"><img onClick="window.location.href='http://www.apple.com/safari/download/'" style="cursor: pointer" src="Imagenes/safari.jpg" width="64" height="64"><img onClick="window.location.href='http://www.opera.com/download/'" style="cursor: pointer" src="Imagenes/opera.jpg" width="64" height="64">
</td></tr></table></div></center>
			</td>
		</tr>
	  </table>
	  </form>
      </td>
  </tr>
</table>
</center>
</td>
</tr>
</table>
<div id="resultLogin"></div>
</body>
</html>
