<?php
defined('BASEPATH') OR exit('No direct script access allowed');

?>
<div class="content-wrapper">
    <section class="content-header">
        <?php echo $pagetitle; ?>
        <?php echo $breadcrumb; ?>
    </section>
    <section class="content">
        <div class="row">
            <div class="box-header with-border" style="background-color: #E6E6E6">
                <h3 class="box-title"><b><?php echo lang('reg01_id_registro_lote'); ?>: </b></h3>
                <h3 class="box-title"><?php echo $_SESSION['identificador'] ?></h3>
            </div>
            <!-- Custom Tabs -->
            <div class="nav-tabs-custom">
                <ul class="nav nav-tabs">
                    <li class=""><a href="<?php echo site_url('cuest/reg01/vista_ident_geo/'.$_SESSION['identificador']); ?>" aria-expanded="false">Ident.  Geog.</a ></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg01_caratula');                ?>" aria-expanded="false">Caratula</a></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg02_datos_del_lote/');         ?>" aria-expanded="false">Reg02</a></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg02_ocup_i/');                 ?>" aria-expanded="false">Ocup. I</a></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg02_ocup_ii/');                ?>" aria-expanded="false">Ocup. II</a></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg02_ocup_iii/');               ?>" aria-expanded="false">Ocup. III</a></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg02_ocup_iv/');                ?>" aria-expanded="false">Ocup. IV</a></li>
                    <li class="active"><a data-toggle="tab" href="<?php echo site_url('cuest/reg01/reg02_ocup_v/');        ?>" aria-expanded="true" style="  background-color: #F0F0F0">Ocup. V</a></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg03_uso_de_la_tierra/');       ?>" aria-expanded="false">Usos</a></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg04_cultivos_agricolas/');     ?>" aria-expanded="false">Cult. Agr.</a></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg05_produccion_ganadera/');    ?>" aria-expanded="false">Prod. Gan.</a></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg06_asistencia_crediticia/');  ?>" aria-expanded="false">Asist. Cred.</a></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg07_asistencia_tecnica/');     ?>" aria-expanded="false">Asist. Técn.</a></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg08_organizacion_productor/'); ?>" aria-expanded="false">Org. Prod.</a></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg09_viviendas/');              ?>" aria-expanded="false">Viviendas</a></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg10_poblacion_censo/');        ?>" aria-expanded="false">Pob. Censo</a></li>
                    <li class=""><a href="<?php echo site_url('cuest/reg01/reg12_poblacion_actual/');       ?>" aria-expanded="false">Pob. Actual</a></li>
                </ul>
                <!-- Contenido de la pestaña -->
                <div class="tab-content" style="background-color:#F0F0F0">
                    <div id="tab_1" class="tab-pane active">
                        <div class="box-body" style="background-color:#F0F0F0" id="div_reg01">
                            <!-- Bloque de Formulario-->
                            <div class="col-md-13">
                                <div class="box box-primary">
                                    <div class="box-header with-border">
                                        <h3 class="box-title"><?php echo lang('reg02_capitulo_b_ocup'); ?></h3>
                                    </div>
                                    <div class="box-header with-border">
                                        <h3 class="box-title"><?php echo anchor('cuest/reg01/reg02_ocup_v_create', '<i class="fa fa-plus"></i> '. 'Agregar', array('class' => 'btn btn-block btn-primary btn-flat')); ?></h3>
                                    </div>
                                    <div class="box-header with-border">
                                        <?php echo lang('reg11_encabezado', 'encabezado', array('class' => 'col-sm-12 control-label', 'style' => 'text-align: center;')); ?>
                                    </div>
                                    <?php echo form_open(current_url(), array('class' => 'form-horizontal', 'id' => 'form-edit_user')); ?>
                                    <!-- Primer bloque -->
                                    <div class="box-body">
                                        <?php //echo $message;?>  
                                        <table id="tabla" class="table table-striped table-hover">
                                            <thead>
                                                <tr>
                                                    <th><?php echo lang('reg11_l18_1_reg11');?></th>
                                                    <th><?php echo lang('reg11_l18_2_reg11');?></th>
                                                    <th><?php echo lang('reg11_l18_3_reg11');?></th>
                                                    <th><?php echo lang('reg11_l18_4_reg11');?></th>
                                                    <th><?php echo lang('reg11_l18_5_reg11');?></th>
                                                    <th><?php echo lang('reg11_l18_6_reg11');?></th>
                                                    <th><?php echo lang('reg11_l18_7_reg11');?></th>
                                                    <th></th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                            <?php if ($otras_personas): ?>
                                                    <?php foreach ($otras_personas as $values):?>
                                                        <tr>
                                                            <td><?php echo htmlspecialchars($values->l18_1_reg11, ENT_QUOTES, 'UTF-8'); ?></td>
    
                                                            <td><?php echo htmlspecialchars($values->l18_2_reg11, ENT_QUOTES, 'UTF-8'); ?></td>
    
                                                            <td><?php echo htmlspecialchars($values->l18_3_reg11, ENT_QUOTES, 'UTF-8'); ?></td>                                                
                                                            <td><?php echo htmlspecialchars($values->l18_4_reg11, ENT_QUOTES, 'UTF-8'); ?></td>
    
                                                            <td><?php echo htmlspecialchars($values->l18_5_reg11, ENT_QUOTES, 'UTF-8'); ?></td>                                              
                                                            <td><?php echo htmlspecialchars($values->l18_6_reg11, ENT_QUOTES, 'UTF-8'); ?></td>
    
                                                            <td><?php echo htmlspecialchars($values->l18_7_reg11, ENT_QUOTES, 'UTF-8'); ?></td>                                              
                                                            <td align="center">
                                                            <?php echo anchor('man_espacial/geocolonias/geocolonias/edit/'.$values->id_registro_lote, lang('    actions_edit')); ?>
                                                            <?php echo '&nbsp;';?>
                                                            <?php echo anchor('man_espacial/geocolonias/geocolonias/edit/'.$values->id_registro_lote, lang('    actions_delete')); ?>
                                                            <?php echo '&nbsp;';?>
                                                            <?php echo anchor('man_espacial/geocolonias/geocolonias/edit/'.$values->id_registro_lote, lang('    actions_delete')); ?>
                                                            </td>
                                                        </tr>
                                                    <?php endforeach;?>
                                            <?php else: ?>
                                                    <tr>
                                                        <td colspan="8" align="center"><b>NO HAY RESULTADOS</b></td>
                                                    </tr>
                                            <?php endif ?>

                                         
                                            </tbody>
                                        </table>
                                        <hr></hr>
                                        <!-- Sección botones -->
                                        <div class="form-group">
                                            <div class="col-sm-offset-1 col-sm-10" align="center">
                                                <div class="btn-group">
                                                    <?php echo form_button(array('type' => 'submit', 'class' => 'btn btn-primary btn-flat', 'content' => lang('actions_submit'))); ?>
                                                    <?php echo form_button(array('type' => 'reset', 'class' => 'btn btn-warning btn-flat', 'content' => lang('actions_reset'))); ?>
                                                    <?php echo anchor('monitoreo/panel_control/panel_control/control_operador', 'ATRAS', array('class' => 'btn btn-default btn-flat')); ?>
                                                </div>
                                            </div>
                                        </div>
                                        <!-- Fin sección botones -->
                                    </div>
                                    <!-- Fin primer bloque -->
                                    <?php echo form_close();?>
                                </div>
                            </div><!-- /.box-body -->
                            <!-- Fin Bloque Formulario -->
                        </div><!-- /.tab-pane -->
                    </div><!-- /.tab-content -->
                </div>
                <!-- Fin de contenido de la pestaña -->
            </div>
        </div>
    </section>
</div>
