<div class="row">
    <div class="col-sm-12">
        <table class="table table-bordered table-hover">
            <thead>
                <tr>
                    <th width="05%">NRO.</th>
                    <th width="40%">NOMBRE DE LA DRE</th>
                    <th width="30%">DRE CORTO</th>
                    <th width="10%">ESTADO</th>
                    <th width="15%">OPCIONES</th>
                </tr>
            </thead>
            <tbody>
                <?php $c=1; foreach ($dres as $reg): ?>
                <tr>
                    <td><?php echo $c++;  ?></td>
                    <td><?php echo $reg->dre_nombre; ?></td>
                    <td><?php echo $reg->dre_corto; ?></td>
                    <td style="color:<?php echo $reg->esta_color; ?>">
                        <b><?php echo $reg->esta_nombre; ?></b>
                    </td>
                    <td>
                        <a href="#" class="blue">
                            <span class="glyphicon glyphicon-pencil"></span>
                            Editar
                        </a>
                        <a href="#" class="red">
                            <span class="glyphicon glyphicon-trash"></span>
                            Eliminar
                        </a>
                    </td>
                </tr>
                <?php endforeach ?>
            </tbody>
        </table>
    </div>
</div>