<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>Propiedad Id</th>
				<th>Nombre</th>
				<th>Correo</th>
				<!--<th>Direccion</th>-->
				<th>Telefono</th>
				<!--<th>Fecha Registro</th>-->
				<!--<th>Fecha Modificacion</th>-->
				<th class="text-center">Foto Perfil</th>
				<!--<th>Estado</th>-->
				<th class="text-center">Actions</th>
    		</tr>
    	</thead>
    	<tbody>
			<?php foreach($inquilinos as $i){ ?>
		    <tr>
				<!--<td><?php echo $i['id']; ?></td>-->
				<td><?php echo $i['propiedad_id']; ?></td>
				<td><?php echo $i['nombre']; ?></td>
				<td><?php echo $i['correo']; ?></td>
				<!--<td><?php echo $i['direccion']; ?></td>-->
				<td><?php echo $i['telefono']; ?></td>
				<!--<td><?php echo $i['fecha_registro']; ?></td>-->
				<!--<td><?php echo $i['fecha_modificacion']; ?></td>-->
				<td class="text-center">
					<?php 
						if (isset($i['foto_perfil']) && !is_null($i['foto_perfil']))  {
							?>
								<div class="avatar">
									<img src="<?php echo $i['foto_perfil']; ?>" alt="..." class="avatar-img rounded">
								</div>
							<?php
						}
					?>
				</td>
				<!--<td><?php echo $i['estado']; ?></td>-->
				<td class="text-center">
		            <button class="btn btn-sm btn-primary btn-border btn-round"><a href="<?php echo site_url('inquilino/edit/'.$i['id']); ?>">Editar</a></button>
		            <button class="btn btn-sm btn-primary btn-border btn-round"><a href="<?php echo site_url('inquilino/remove/'.$i['id']); ?>">Eliminar</a></button>
		        </td>
		    </tr>
			<?php } ?>
		</tbody>
	</table>
</div>
<div class="pull-right">
    <?php echo $this->pagination->create_links(); ?>    
</div>
