<table class="table table-striped table-condensed table-hover" id="list-table">
	<thead><tr>
		<th><?php echo $index; ?></th>
		<?php foreach ($th as $i) : ?>
			<th><?php echo $o->friendly($i); ?></th>
		<?php endforeach ?>
	</tr></thead>

	<tbody>
		<?php foreach ($td as $i => $details) : ?>
			<tr>
				<td><?php echo $i; ?></td>

				<?php foreach ($th as $k) : ?>
					<td><?php echo $details[$k]; ?></td>
				<?php endforeach ?>
			</tr>
		<?php endforeach ?>
	</tbody>
</table>
