<?php
session_start();
include("cls_conexion.php");$CNN=new ClsMySQL();include("conexion23.php");
//++++++
$_SESSION['ENT_CONTROL_ID']="";
$_SESSION['ENT_PER_ID']="";
$_SESSION['ENT_ARE_ID']="";
$_SESSION['ENT_ARE']="";
$_SESSION['ENT_SYS_HW']="";
//++++
?>
<html>
<head>
<title>Redcotea - Login</title> 
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<?php
AddJs();
?>
<link href="bo_css/bootstrap.css" rel="stylesheet">
<script src="funciones.js" type="text/javascript"></script>
<script src="red_login.js" type="text/javascript"></script>
<style>
.tableFixHead          { overflow-y: auto; height: 280px; }
.tableFixHead thead th { position: sticky; top: 0; }

/* Just common table stuff. Really. */
table  { border-collapse: collapse; width: 100%; }
th, td { padding: 3px 3px;  }
th     { background:#666; }

.cmd{
	width:8rem;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

</style>
<script>
$(document).ready(function(){  
   Inicializar();
   jF("TxtNom"); 
 
});

</script>
<?php
$StrGT="";
$SYS_MSG="";
include("inicio_fun.php");
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<?php
$CX=1;
?>
<body style="background-color:#FFF" <?php echo $LStrMsg;?> >
  <div class="container" style="background-color:#FFF; padding-bottom:30px; max-width:100% ">  
   <form id="Frm" name="Frm" action="inicio.php" method="post"  autocomplete="off" >
   <input name="TxtAc" type="hidden" value="<?php echo $StrCmd;?>" id="TxtAc">
   <input name="SYS_MSG" type="hidden" value="<?php echo $SYS_MSG;?>" id="SYS_MSG">   
   
    <div class="form-row" style="margin:0 0 0 0; padding: 0 0 0 0;">
        <div style="width:100%; background-color:#2E4994; padding-top:20px; padding-bottom:20px">
            <table width="100%" border="0">
            <tr>
            <td style="color:#FFF; font-size:2rem" align="center"></td>
            </tr>
            <tr>
            <td style="color:#FFF; font-size:2rem" align="center"><b>SOUND</b></td>
            </tr>
            <tr>
            <td style="color:#FFF" align="center">&nbsp;</td>
            </tr>
            </table>
        </div>
    </div>    
   
   
    <div class="form-row justify-content-center"  style="vertical-align:middle">
    
    	<div class="form-group col-sm-4" style="margin:0 0 0 0; padding: 0 0 0 0;">
        <table style="margin:0 0 0 0; padding: 0 0 0 0; "> 
        
        <tr>
        <td align="center" style="padding-top:20px">USUARIO</td>
        </tr>
        
        <tr>
        <td  align="center">
        <input name="TxtNom" type="text" class="form-control lt" id="TxtNom" 
        style="max-width:50%; text-align:center"  tabindex="<?php echo $CX++?>" >
        </td>
        </tr>
        
        <tr>
        <td align="center">       
        <label >PASSWORD</label>
        </td>
        </tr>
        
        <tr>
        <td  align="center">
        <input name="TxtPass" type="password" class="form-control lt" id="TxtPass"  
        style="max-width:50%; text-align:center"  tabindex="<?php echo $CX++?>" >
        </td>
        </tr>
        
        <tr>
        <td  align="center" style="padding-top:20px">
        
            <table width="100%" border="0">
            <tr>
            <td align="right" width="44%">
            <button type="button" class="btn btn-primary cmd lt" 
	        id="CmdLog" name="CmdLog" 
            onClick="fGuardar()" tabindex="<?php echo $CX++?>" >Iniciar</button>
            </td>
            
            <td width="2%">&nbsp;</td>
            
            <td align="left" width="44%">
            <button type="button" class="btn btn-primary cmd lt" 
	        id="CmdSal" name="cmdSal" 
            onClick="fSalir()" tabindex="<?php echo $CX++?>">Salir</button>
            </td>
            </tr>
            </table>
            
        </td>
        </tr>        
        
        </table> 
        </div>       
        
	</div> 
</form>
</div> 
</body>
</html>