<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>Titulo</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($quejas as $q){ ?>
		    <tr>
				<!--<td><?php echo $q['id']; ?></td>-->
				<td><?php echo $q['titulo']; ?></td>
				<td><?php echo $q['descripcion']; ?></td>
				<td class="text-center">
					<?php 
						if (isset($q['imagen']) && !is_null($q['imagen']))  {
							?>
								<div class="avatar">
									<img src="<?php echo $q['imagen']; ?>" alt="..." class="avatar-img rounded">
								</div>
							<?php
						}
					?>
					
				</td>
				<!--<td><?php echo $q['id_condominio']; ?></td>-->
				<!--<td><?php echo $q['id_autor']; ?></td>-->
				<td><?php echo $q['fecha_registro']; ?></td>
				<!--<td><?php echo $q['fecha_modificacion']; ?></td>-->
				<!--<td><?php echo $q['estado']; ?></td>-->
				<td class="text-center">
					<button class="btn btn-sm btn-primary btn-border btn-round"><a href="<?php echo site_url('queja/detail/'.$q['id']); ?>">Detalle</a></button>
					<button class="btn btn-sm btn-primary btn-border btn-round"><a href="<?php echo site_url('queja/edit/'.$q['id']); ?>">Editar</a></button>
		        </td>
		    </tr>
			<?php } ?>
		</tbody>
	</table>
</div>
<div class="pull-right">
    <?php echo $this->pagination->create_links(); ?>    
</div>
