<?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="col-md-12">
                             <div class="box">
                                <!--<div class="box-header with-border">
                                    <h3 class="box-title"><?php echo anchor('cuest/reg01/create', '<i class="fa fa-plus"></i> '. lang('in_temp_create'), array('class' => 'btn btn-block btn-primary btn-flat')); ?></h3>
                                </div>-->

                                <div class="box-body">
                                    <table id="tabla" class="table table-striped table-hover">
                                        <thead>
                                            <tr>
											    <th><?php echo lang('reg01_dpto');?></th>
                                                <th><?php echo lang('reg01_distrito');?></th>
                                                <th><?php echo lang('reg01_barrio');?></th>
                                                <th><?php echo lang('reg01_colonia');?></th>
                                                <th><?php echo lang('reg01_ae');?></th>
                                                <th><?php echo lang('reg01_manzana');?></th>
                                                <th><?php echo lang('reg01_lote_a');?></th>
                                                <th><?php echo lang('reg01_lote_b');?></th>
                                                <th><?php echo lang('reg01_finca');?></th>
                                                <th><?php echo lang('reg01_padron');?></th>
                                                <th><?php echo lang('reg01_cuest');?></th>
                                                <th></th>
                                            </tr>
                                        </thead>
                                        <tbody>
<?php foreach ($reg01 as $values):?>
                                            <tr>
                                                <td><?php echo htmlspecialchars($values->dpto, ENT_QUOTES, 'UTF-8'); ?></td>

                                                <td><?php echo htmlspecialchars($values->distrito, ENT_QUOTES, 'UTF-8'); ?></td>

												<td><?php echo htmlspecialchars($values->barrio, ENT_QUOTES, 'UTF-8'); ?></td>												
                                                <td><?php echo htmlspecialchars($values->colonia, ENT_QUOTES, 'UTF-8'); ?></td>

                                                <td><?php echo htmlspecialchars($values->ae, ENT_QUOTES, 'UTF-8'); ?></td>												
                                                <td><?php echo htmlspecialchars($values->manzana, ENT_QUOTES, 'UTF-8'); ?></td>

                                                <td><?php echo htmlspecialchars($values->lote_a, ENT_QUOTES, 'UTF-8'); ?></td>												
                                                <td><?php echo htmlspecialchars($values->lote_b, ENT_QUOTES, 'UTF-8'); ?></td>

                                                <td><?php echo htmlspecialchars($values->finca, ENT_QUOTES, 'UTF-8'); ?></td>

                                                <td><?php echo htmlspecialchars($values->padron, ENT_QUOTES, 'UTF-8'); ?></td>

                                                <td><?php echo htmlspecialchars($values->cuest, ENT_QUOTES, 'UTF-8'); ?></td>

                                                <td>
                                                    <?php
                                                    echo anchor('cuest/reg01/vista_ident_geo/'. $values->id_registro_lote, lang('reg01_cuest')); 
                                                    ?>
                                                </td>
                                            </tr>
<?php endforeach;?>
                                        </tbody>
                                    </table>                                    
                                </div>
                            </div>
                         </div>
                    </div>
                </section>
            </div>
