<?php 
require_once "ini.php";

session_start();
session_destroy();

$strRandom = rand();
?>
<!DOCTYPE html>
<html lang="en">
<head><meta charset="euc-jp">
    
    <title>Expediente Medico</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="application-name" content="Expediente Medico"/>
    <meta name="msapplication-tooltip" content="Expediente Medico"/>
    <meta name="msapplication-starturl" content="https://www.exxmed.com"/>
    <meta name="apple-mobile-web-app-capable" content="yes">

    <link rel="icon" sizes="192x192" href="images/icon192.png">
    <link rel="apple-touch-icon" sizes="72x72" href="images/icon72.png" /> 
    <link rel="apple-touch-icon" sizes="114x114" href="images/icon114.png" />

    <meta name="description" content="Expediente Medico">
    <meta name="keywords" content="Expediente Medico, Expediente Clinico, Expediente Medico Familiar, Expediente Clinico Familiar, administracion, consultorios, medicos, expediente, clinico, electronico, hospitales, recetas, recetas medicas">
    <meta name="author" content="Expediente Medico">
    <link rel="stylesheet" href="css/bootstrap.css?<?php echo $strRandom; ?>" type="text/css"/>
    <link rel="stylesheet" href="css/styles.css?<?php echo $strRandom; ?>" type="text/css"/>
    <script type="text/javascript">
		var gbIntTipoUsuario = 0;
	</script>

	<!-- JQuery -->
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery-ui.min.js"></script>
	
	<script type="text/javascript" src="js/Funciones.js"></script>
	<!--<script type="text/javascript" src="js/core.js"></script>-->
</head>
<body style="" class="clsBody">
    
<div id="divBody" style="width:100%; height:100%; background: url(images/background2.jpg) repeat; position:absolute; opacity:0.4;">
 
</div>
   
    <div id="divForm" class="clsFormAutentificar">
        <div style=" padding-top:40px; margin-bottom:10px; font-size:20px; color:#000; font-family:Arial, Helvetica, sans-serif; letter-spacing:1px; /*text-shadow:2px 2px #000;*/"><?php echo $BRANCHNAME;?></div>

        <div id="divLoginForm" style="font-family:arial, tahoma, helvetica, sans-serif; font-size:18px; text-align:center; padding:10px; background:#fff; border-radius:4px; border:1px solid #d6d6d6; box-shadow:#ccc 0px 0px 20px 0px;">
            <form id="form" action="login.php" class="clsFormulario">
                <table style="width: 80%; margin: 20px auto 20px auto;">
                	<tr><th colspan="2"><b>Favor de autentificarse</b></th></tr>
                    <tr>
                        <td height="12" ></td>
                    </tr>
                    <tr>
                        <td style="padding: 6px;text-align:left;"><h1 style="text-align:left;">Email:</h1><input type="text" id="txtUser" name="txtUser" style="width:95%;" class="clsTextFormulario"/></td>
                    </tr>
                    <tr>
                        <td style="padding: 6px;text-align:left;"><h1 style="text-align:left;">Contraseña:</h1><input type="password" id="txtUserPassword" name="txtUserPassword" style="width:95%;" class="clsTextFormulario"/></td>
                    </tr>
                    <tr>
                        <td style="padding: 6px;text-align:left;">
                            <div style="float:left;padding-top: 8px;width: 70%;">
                                <a href="javascript: reccon();" style="font-size:14px; color: #000;">¿Olvido su contraseña?</a>
                            </div>
                            <div style="float:left;width: 30%;">
                                <input type="submit" id="btnLogin" name="btnLogin" value="Entrar" class="custom-buttonBuscar"/>
                            </div>
                        </td>
                    </tr>
                </table>
<?php 
	if(isset($_REQUEST['Leyenda'])){
?>
        <br />
        <div align="center" style=" width:98%; padding-top:3px; padding-bottom:3px; background-color:#FF0000;"><strong><font color="#FFF">Favor de revisar sus datos de acceso.</font></strong></div>
<?php } ?>
			</form>
        </div>
        
        <table width="100%"  border="0" style="height:100px;">
            <tr>
                <td width="120">
                    Funciona mejor con:
                </td>
                <td width="90">
                    <a href="http://www.google.com/chrome?hl=es" target="_blank"><img src="images/logoChrome.png" border="0" align="absmiddle" style="margin-right:7px;">Chrome</a>
                </td>
                <td width="12">
                     ó
                </td>
                <td width="140">
                    <a href="http://www.mozilla.com/es-ES/" target="_blank"><img src="images/logoFirefox.png" border="0" align="absmiddle" style="margin-right:7px;">Firefox</a>
                </td>
            </tr>
        </table>

    </div>

</body>
</html>
