<?php
$uri ='Modules/operadores_del_monitor/operadores_del_monitor.php';
include_once($uri);

$uri2 ='Modules/configuraciones/configuraciones.php';
include_once($uri2);

$operadores_del_monitor = new operador_monitor('');
$cantidad = $operadores_del_monitor->cantidadOperadores();

$configuraciones = new configuraciones('');
$razon_social = $configuraciones->GetConfiguraciones('RazonSocial');

if ($cantidad == 0)
	header ('Location: configuracion_inicial.php');

?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="">
  <meta name="author" content="">
  <link rel="shortcut icon" href="../Web_Tools/images/favicon.png" type="image/png">

  <title>Monitor Web 3.0 - Bienvenido!</title>

  <link href="../Web_Tools/css/style.default.css" rel="stylesheet">

  <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!--[if lt IE 9]>
  <script src="js/html5shiv.js"></script>
  <script src="js/respond.min.js"></script>
  <![endif]-->
</head>

<body class="signin">

<!-- Preloader -->
<div id="preloader">
    <div id="status"><i class="fa fa-spinner fa-spin"></i></div>
</div>

<section>
  
    <div class="signinpanel">
        <div class="row pull-right">
			<div id="resultado" class="alert alert-danger hidden"> </div>
		</div>
        <div class="row">
            
            <div class="col-md-7">
                
                <div class="signin-info">
                	<h1><strong>Bienvenido!</strong></h1>
                    <div class="logopanel">
                        <h1><img src="../Web_Tools/images/logo.png" height="104" alt="logo"></h1>
                    </div><!-- logopanel -->
                
                    <div class="mb20"></div>
                
                  
                  <h4><?php echo $razon_social; ?>
                  </h4>
                </div><!-- signin0-info -->
            
            </div><!-- col-sm-7 -->
            
            <div class="col-md-5" style="background-color: darkslategray;color: azure; padding: 20px;">
                
                
                    <h4 class="nomargin">Ingresar</h4>
                    <p class="mt5 mb20">Ingrese sus datos de sesión.</p>
                <div class="form-group" id="group_usuario">
                    <input type="text" id="usuario" onBlur="validar('usuario','group_usuario');" class="form-control uname" placeholder="Nombre de Usuario" />
                </div>
                <div class="form-group" id="group_password">
                    <input type="password" id="password" onBlur="validar('password','group_password');" class="form-control pword" placeholder="Contraseña" />
                </div>  
                    <button id="login_btn" class="btn btn-success btn-block" onClick="validar_login();">Ingresar</button>
                    
            </div><!-- col-sm-5 -->
            
        </div><!-- row -->
        
        <div class="signup-footer">
        Powered By:<a href="http//www.gritec.com.ar" target="_blank">Gritec S.R.L. </a>
        </div>
        
    </div><!-- signin -->
  
</section>


<script src="../Web_Tools/js/jquery-1.10.2.min.js"></script>
<script src="../Web_Tools/js/jquery-migrate-1.2.1.min.js"></script>
<script src="../Web_Tools/js/bootstrap.min.js"></script>
<script src="../Web_Tools/js/modernizr.min.js"></script>
<script src="../Web_Tools/js/retina.min.js"></script>
<script src="../web_tools/js/bootstrap-wizard.min.js"></script>
<script src="../web_tools/js/jquery.validate.min.js"></script>
<script src="../web_tools/js/toggles.min.js"></script>
<script src="../web_tools/js/retina.min.js"></script>
<script src="../web_tools/js/jquery.cookies.js"></script>
<script src="../web_tools/js/custom.js"></script>

<script src="../Web_Tools/js/custom.js"></script>
<script src="Modules/operadores_del_monitor/js_operadores_del_monitor.js"></script>

</body>
</html>
