<?php 
include 'ini.php';
include 'funciones.php';
session_start();
session_validation();

$strRandom = rand();
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="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" />
  
  <title>Monitor de consultas v1.0</title>
    
<!-- JQuery -->
    
    <script src="//code.jquery.com/jquery-1.9.1.min.js"></script>

    <link rel="stylesheet" href="css/jquery.mobile-1.3.2.css?<?php echo $strRandom; ?>">
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery-ui.min.js"></script>
    
    <link rel="stylesheet" href="css/jquery-ui.css?<?php echo $strRandom; ?>">
    <script src="//code.jquery.com/jquery-1.9.1.js"></script>
	<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>

    <!-- PLUGINS-->
	
	<!--<script type="text/javascript" src="js/accounting.js"></script>-->
     
<!-- GENERAL -->
    <script type="text/javascript" src="js/init.js"></script>
    <script type="text/javascript">

    var gbIntIdUsuario = <?php echo $_SESSION['user_id'];?>;
    if(gbIntIdUsuario=='' || gbIntIdUsuario==null){ document.location.href="index.php"; }

    var objUsuario = new Persona(<?php echo $_SESSION['user_id'];?>, '<?php echo $_SESSION['user_name'];?>', '', <?php echo $_SESSION['user_type'];?>, 0, <?php echo $_SESSION['intEmpresa'];?>);
    var strStartTime = '10:00:00';
    var strEndTime = '20:00:00';
    
    $(document).ready(function(){
    	TABMONVIS_Constructor();
    });
    </script>
    
    <link rel="stylesheet" type="text/css" href="css/bootstrap.css?<?php echo $strRandom; ?>">
    <link rel="stylesheet" type="text/css" href="styles.css?<?php echo $strRandom; ?>">

    <script type="text/javascript" src="js/Funciones.js?<?php echo $strRandom; ?>"></script>
    <!-- Uploader -->
    <script type="text/javascript" src="js/ajaxfileupload.js"></script>
    <script type="text/javascript" src="js/moment.js"></script>

<!-- SISTEMA -->    

    <script type="text/javascript" src="js/tabMonitorConsultas.js?<?php echo $strRandom; ?>"></script>

</head>
<body style="background: #17456d ; margin:0;">
    
  <div style='position:absolute; width:100%; height:100%; background: url(images/bgConsultorioMedico1.jpg) repeat; opacity:0.3;'></div>
  
  <div class="ui-content" style=" height: calc(100% - 44px); margin-top: 0px;" >
   
    <div id="divMonitorConsultas" style="height: 100%;"></div>

  </div>
  
  <div id="divLoading" class="divLoader" style="margin-left: 47%;">
  	<div class="divLoaderChild "><img src="images/cargando2.gif"/></div>
  </div>
  
</body>
</html>