<div class="table-responsive">
	<table class="table table-bordered table-head-bg-info table-bordered-bd-info table-striped">
	    <thead>
		    <tr>
				<!--<th>ID</th>-->
				<th>Asunto</th>
				<th>Descripcion</th>
				<th class="text-center">Imagen</th>
				<!--<th>Id Condominio</th>-->
				<!--<th>Id Autor</th>-->
				<!--<th>Fecha Registro</th>-->
				<!--<th>Fecha Modificacion</th>-->
				<!--<th>Estado</th>-->
				<th class="text-center">Actions</th>
		    </tr>
		</thead>
		<tbody>
			<?php foreach($avisos as $a){ ?>
		    <tr>
				<!--<td><?php echo $a['id']; ?></td>-->
				<td><?php echo $a['asunto']; ?></td>
				<td><?php echo $a['descripcion']; ?></td>
				<td class="text-center">
					<?php 
					if (isset($a['imagen']) && !is_null($a['imagen']))  {
						?>
							<div class="avatar">
								<img src="<?php echo $a['imagen']; ?>" alt="..." class="avatar-img rounded">
							</div>
						<?php
					}
					?>
					</td>
				<!--<td><?php echo $a['id_condominio']; ?></td>-->
				<!--<td><?php echo $a['id_autor']; ?></td>-->
				<!--<td><?php echo $a['fecha_registro']; ?></td>-->
				<!--<td><?php echo $a['fecha_modificacion']; ?></td>-->
				<!--<td><?php echo $a['estado']; ?></td>-->
				<td class="text-center">
					<button class="btn btn-sm btn-primary btn-border btn-round"><a href="<?php echo site_url('aviso/edit/'.$a['id']); ?>">Editar</a></button>
		            <button class="btn btn-sm btn-primary btn-border btn-round"><a href="<?php echo site_url('aviso/remove/'.$a['id']); ?>">Eliminar</a></button>
		        </td>
		    </tr>
			<?php } ?>
		</tbody>
	</table>
</div>
<div class="pull-right">
    <?php echo $this->pagination->create_links(); ?>    
</div>

