<style>
	table.table{ border: 2px solid #444 !important; }
	table.table th, table.table td { border: 1px solid #444 !important; }
	table.table th { background-color: #F9F9F9 !important; }
</style>
<script>
$(document).ready(function() {
	$('.blk5').prepend('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
	$('.blk10').prepend('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
});
</script>


<section class="container">
	<h2>Senarai Syarikat</h2>
	
	<table class="table">
		<thead>
			<th>No.</th>
			<th class="col-sm-7">Nama Syarikat</th>
			<th>No. Pendaftaran</th>
			<th>Status</th>
			<th>Keputusan</th>
		</thead>
		<tbody>
		
		<?php
		if($companies) {
			foreach($companies as $key=>$value) {
				?>
				<tr>
					<td id="comp_1"><?php echo ($key+1); ?></td>
					<td><strong><?php echo $value['companyName']; ?></strong></td>
					<td><?php echo $value['companyNo']; ?></td>
					<td><?php echo $value['status']; ?></td>
					<td><?php echo $value['result']; ?></td>
				</tr>
				<?php
			}
		}
		?>
		</tbody>
	</table>
	
	<br><br>
	<div class="row">
		<div class="col-xs-12">
			<div class="tableTitle">
					PENGESAHAN
			</div>
			<table class="table" width = "100%">
					<tr>
							<th class="subheader" width="25%" colspan="2">JURUAUDIT I</th>
							<th class="subheader" width="25%" colspan="2">JURUAUDIT II</th>
							<th class="subheader" width="25%" colspan="2">DISEMAK</th>
							<th class="subheader" width="25%" colspan="2">DIPERAKUI</th>
					</tr>
					<tr>
							<td class="text-center">TANDATANGAN</td>
							<td class="text-center">TARIKH</td>
							<td class="text-center">TANDATANGAN</td>
							<td class="text-center">TARIKH</td>
							<td class="text-center">TANDATANGAN</td>
							<td class="text-center">TARIKH</td>
							<td class="text-center">TANDATANGAN</td>
							<td class="text-center">TARIKH</td>
					</tr>
					<tr>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
					</tr>
			</table>
		</div>
   </div>
		
</section>
