<?php if(count($admins)==0){ ?>
<tr class="danger">
    <td colspan="7">NO SE ENCUENTRAN REGISTROS</td>
</tr>
<?php } ?>
<?php $c=1; foreach ($admins as $reg): ?>
<tr>
    <td><?php echo $c++; ?></td>
    <td><?php echo $reg->usua_user; ?></td>
    <td><?php echo $reg->usua_pass; ?></td>
    <td><?php echo $reg->usua_nombres; ?></td>
    <td><?php echo $reg->usua_apellidos; ?></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 ?>