<?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('man_espacial/distritos/distritos/create', '<i class="fa fa-plus"></i> '. lang('distritos_create'), array('class' => 'btn btn-block btn-primary btn-flat')); ?></h3>
                                </div>
                                <div class="box-body">
                                    <table id="tabla_listado" class="table table-striped table-hover">
                                        <thead>
                                            <tr>
											    <th><?php echo lang('distritos_dpto');?></th>
                                              <!--  <th><?php// echo lang('distritos_dpto_desc');?></th>-->
                                                <th><?php echo lang('distritos_distrito');?></th>
                                                <th><?php echo lang('distritos_dist_desc');?></th>
                                                <th><?php echo lang('distritos_action');?></th>
                                            </tr>
                                        </thead>
                                        <tbody> 
                                        
<?php foreach ($distritos as $values):?>
                                            <tr>
                                                <td><?php echo htmlspecialchars($values->dpto, ENT_QUOTES, 'UTF-8');      ?></td>												
												<!--<td><?php// echo htmlspecialchars($values->dpto_desc, ENT_QUOTES, 'UTF-8'); ?></td>	-->

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

                                               <!-- <td>
                                                    <?php //echo anchor('man_espacial/distritos/distritos/edit/'.$values->gid, lang('actions_edit')); ?>
                                                </td>-->
                                                 <td align="center">
                                                    <?php echo anchor('man_espacial/distritos/distritos/edit/'.$values->gid, lang('actions_edit')); ?>
                                                    <?php echo '&nbsp;';?>

                                                    <?php echo anchor('man_espacial/distritos/distritos/delete/'.$values->gid, lang('actions_delete')); ?>
                                                </td>

                                            </tr>
<?php endforeach;?>
                                        </tbody>
                                    </table>                                    
                                </div>
                            </div>
                         </div>
                    </div>
                </section>
            </div>


