<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>Reservado por</th>
				<th>Amenidad</th>
				<th>Costo</th>
				<!--<th>Estado</th>-->
				<th>Día</th>
				<th>Mes</th>
				<th>Año</th>
				<!--<th>Id Condominio</th>-->
				<th>Fecha Registro</th>
				<!--<th>Fecha Modificacion</th>-->
				<th>Hora Inicio</th>
				<th>Hora Fin</th>
				<th class="text-center">Actions</th>
		    </tr>
		</thead>
		<body>
			<?php foreach($reservas as $r){ ?>
		    <tr>
				<!--<td><?php echo $r['id']; ?></td>-->
				<td><?php echo $r['id_autor']; ?></td>
				<td><?php echo $r['id_amenidad']; ?></td>
				<td><?php echo $r['costo']; ?></td>
				<!--<td><?php echo $r['estado']; ?></td>-->
				<td><?php echo $r['day']; ?></td>
				<td><?php echo $r['month']; ?></td>
				<td><?php echo $r['year']; ?></td>
				<!--<td><?php echo $r['id_condominio']; ?></td>-->
				<td><?php echo $r['fecha_registro']; ?></td>
				<!--<td><?php echo $r['fecha_modificacion']; ?></td>-->
				<td><?php echo $r['hora_inicio']; ?></td>
				<td><?php echo $r['hora_fin']; ?></td>
				<td class="text-center">
					<button class="btn btn-sm btn-primary btn-border btn-round"><a href="<?php echo site_url('reserva/detail/'.$r['id']); ?>">Detalle</a></button>
		        </td>
		    </tr>
			<?php } ?>
		</body>
	</table>
</div>
<div class="pull-right">
    <?php echo $this->pagination->create_links(); ?>    
</div>
