<?php
//var_dump($url_logsIdebo);
?>
<script src="js/jquery.nicescroll.min.js"></script>
<script type="text/javascript">url_logsIdebo = '<?= $url_logsIdebo; ?>'</script>
<div id="contentLogs">
    <label id="exotico"><b>Seleccione un local o ingrese el numero del mismo | </b></label><input type="text" name="local" id="sch-local" maxlength="3" placeholder="#Local"><button id="buscarPorNumero" class="fa fa-search"></button>
    <a id="btnVolver" href="<?= URL_SITIO; ?>" class="btn fa fa-arrow-left">Volver</a>
    <div id="tbs">
        <div class="CSSTableGenerator" id="LocV">
            <table class="th">
                <thead>
                    <tr>
                        <td>LOCAL</td>
                        <td>VERSION</td>
                        <td>IP LOCAL</td>
                    </tr>
                </thead>
            </table>
            <table class="dt">
                <tbody>
                <?php foreach ($locales as $value) { ?>
                    <tr data-local="<?php echo $value['NUMERO_LOCAL']; ?>">
                        <td title="<?php echo $value['LOCAL'] . ' - ' . $value['NUMERO_LOCAL'] ?>"><?php echo $value['LOCAL'] ? $value['LOCAL'] : $value['NUMERO_LOCAL'] ?></td>
                        <td title="<?php echo $value['FACT'] ? date('d/m/Y H:i', strtotime($value['FACT'])) : '' ?>"><?php echo $value['VERSION'] ?></td>
                        <td><?php echo $value['IP_LOCAL'] ?></td>
                    </tr>
                <?php } ?>
                </tbody>
            </table>
        </div>
    </div>
    <div id="result"></div>
    <div id="result2"></div>
</div>