<div class="panel panel-default">
	<div class="panel-heading panel-heading-transparent">
		<strong>Trainers</strong>
	</div>

	<div class="panel-body">
		<table id="user" class="table table-bordered table-striped">
			<thead>
				<tr>
					<th>No.</th>
					<th>Title</th>
					<th>Actions</th>
				</tr>
			</thead>
			<tbody>
					<?php
					$i=0;
					 foreach($news as $news):
					 $i++;
					 ?>
				<tr>
					<td><?php echo $i.'.';   ?></td>
					<td><?php echo $news['title'];?></td>
					<td><a class="btn btn-primary" href="news/<?php echo $news['newsID'];    ?>"><i class="fa fa-pencil"></i></a></td>
				</tr>
			<?php endforeach;   ?>


			</tbody>
			<tfoot>

			</tfoot>
		</table>
	</div>
</div>
