<?php if(isset($this->data) && !empty($this->data)){ ?>
<div class="row">
	<div class="col-xs-12">
		<div class="panel panel-default">
			<div class="panel-heading">
				<i class="pe-7s-note pe-lg"></i>
				Logs
			</div>
			<div class="panel panel-body">
				<div class="col-xs-12">
					<table class="table table-bordered table-hover table-striped">
						<tr>
							<th>#</th>
							<th>Type</th>
							<th>Log</th>
							<th>date</th>
						</tr>
						<?php foreach($this->data as $var=>$each){ ?>
							<tr>
								<td><?= $var + 1 ?></td>
								<td><?= $each->type ?></td>
								<td><?= $each->log ?></td>
								<td><?= date('F d, Y H:i',strtotime($each->dateTime))  ?></td>
							</tr>
						<?php } ?>
					</table>
				</div>
			</div>
		</div>
	</div>
</div>


<?php } else { ?>
	No Logs Found!
<?php } ?>