<?php 
$cek = $this->Content_m->get_value('bbmc_re_laboratorium_kecuali','tindakan_lab',$tindakan_lab,'tindakan_lab');
if($cek == ''){ 

if($active == 'pemeriksaan_lab'  && $file == ''){ ?>
<input type="file" name="file" class="sel-file" data-id="<?=$selupload?>" data-dokumen="<?=$id_re_laboratorium?>_<?=$tindakan_lab?>_<?=$id_kunjungan?>" data-tindakan="<?=$tindakan_lab?>" data-kunjungan="<?=$id_kunjungan?>" accept=".pdf,.png,.jpg,.jpeg;capture=camera"/>
<div style="width:100%; height:10px; margin-top: 5px; background:silver; display: none;" class="progres_bar1_div_<?=$id_re_laboratorium?>_<?=$tindakan_lab?>_<?=$id_kunjungan?>">
  <div class="progress mb-3">
      <div class="progress-bar_<?=$id_re_laboratorium?>_<?=$tindakan_lab?>_<?=$id_kunjungan?> progress-bar-striped bg-primary" role="progressbar" style="" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100"></div>
  </div> 
</div>
<?php }?>

<?php if($file != ''){ ?>

<a class="hasil blink_me" target="_Blank" href="<?=base_url()?>media/hasil_lab/<?=$file?>?<?=date('Ymdhis')?>" style="color:blue; float: left;">
<i class="fa fa-print"></i> Lihat Hasil 
</a>  
<a class="" onclick="return confirm('Apakah anda yakin menghapus data ini ?')" href="<?=site_url()?>/front_office/ugd_dir/ugd/delete_file/<?=$file?>" style="color:red; margin-left: 10px; float: left;">
<i class="fa fa-times"></i> Hapus  
</a>  
<br>
<?php }?>

<?php }?>