<?php

session_start();
include "../../config/config.php";
include "../../../resources/select/funciones.php";
$direcciones = dameDirecciones();
$codTelefono = dameCodigosTelefono();
?>
<!DOCTYPE html>
<html lang="ES">
<head>
    <meta charset="utf-8">
    <title>Fiscalizacion | Usuarios</title>
    <link rel="stylesheet" type="text/css" href="<?php 
echo $base_url;
?>
public_html/css/bootstrap/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="<?php 
echo $base_url;
?>
public_html/css/visualizerut.css"/>
    <link href="../../../resources/jquery.confirm/jquery.confirm/jquery.confirm.css" rel="stylesheet" />
    <link rel="stylesheet" href="<?php 
echo $base_url;
?>
public_html/vendor/DataTables/media/css/jquery.dataTables.css">

    <style>
        input,select,label{
          color:black !important;
      }
    echo $_POST['direccion_patrono'];
}
?>
                                </textarea>
                                
                            </div>
                        </div>
                        
                        <div class="separador"></div>
                        <div class="row">
                            <div class="col-xs-1 form-group">
                                <label for="numero_representante"><span class="requerido"></span></label>
                                <select name="codigo_fijo_representante" id="codigo_fijo_representante" class="form-control" style="margin-top: 20px;width: 116px;height: 30px;cursor: pointer;">
                                    <option value="" style="padding: 5px; text-align: center;">Seleccione</option>
                                    <?php 
$codigos = dameCodigosTelefono();
foreach ($codigos as $indice => $registro) {
    echo "<option value=" . $registro['CODIGO_AREA'] . " style='padding: 5px; text-align: center;'>" . $registro['CODIGO_AREA'] . "</option>";
}
?>
                                </select>
                            </div>
                            <div class="col-xs-3 form-group">
                                <label for="punto_emp" style="margin-left: -80px;"><span class="requerido">*</span>Teléfono de Habitación</label>
                                <input type="text" maxlength="7" class="form-control tel_hab_rep" name="tel_hab_rep" value ="" required form="rd" style="margin-left: 40px;" placeholder="Ej:1234567"/>
                            </div>
                            <div class="col-xs-1 form-group">
                                <label for="numero_empresa"><span class="requerido"></span></label>
                                <select name="codigo_movil_representante" id="codigo_movil_representante" class="form-control" style="margin-top: 20px;width: 116px;height: 30px;cursor: pointer;">
                                    <option value="" style="padding: 5px; text-align: center;">Seleccione</option>
                                    <option value="0412" style="padding: 5px; text-align: center;">0412</option>