<div class="container">
<div class="row">
<div class="col-sm-12">
<?php if (isset($ket)){ echo $ket; }?>
<div class="box-body table-responsive no-padding">
<table id="dynamic-table" class="table table-striped table-bordered table-hover">
		<thead class="thin-border-bottom">
			<tr>
				<th class="center" width="50">No</th>
				<th class="center" width="200">Nama</th>
				<th class="center">Unit Kerja</th>
				<th class="center">Status Kehadiran</th>
				<th class="center">Tanda Tangan</th>
			</tr>
		</thead>
		<tbody>
<?php $no=1; foreach($peserta as $s){?>
<tr>
	
	<td class="center"><?php echo $no;?></td>
	<td><a href="#"><?php echo $s->nama;?></a></td>
	<td><?php echo $s->unit_kerja;?></td>
	<td><?php if($s->sts==1){echo '<i class="fa fa-fw fa-check-square"></i> HADIR';}else{ echo "";}?></td>
	<td>
	<?php if($s->ttd==NULL){echo '';}else{?>
	<img width="50%" height="50%" src="<?php echo base_url();?>upload/<?php echo $s->ttd;?>" >
	<?php }?>
	</td>
	</tr>
<?php $no++;}?>
		</tbody>
	</table>
</div>	
</div>
</div>
</div>