	<?php foreach ($data as $key) { ?>
	    <div class="card card-rounded card-abu">
	        <div class="card-header">
	            <h4 class="card-title" id="heading-labels">
	                <i class="fa fa-user-o"></i> <?= $key->nama_sertifikat ?>
	                <div class="row form-detail-karyawan">
	                    <div class="col-md-12 text-right">
	                        <a href="#" class="btn btn_edit_sertifikat btn-outline-secondary round" id="<?= md5($key->id_sertifikat) ?>"> <i class="fa fa-pencil"></i> Edit Data </a>
	                        <a href="#" class="btn btn_delete_sertifikat btn-outline-secondary round" id="<?= md5($key->id_sertifikat) ?>"> <i class="fa fa-trash"></i> <?= ucwords(strtolower($this->lang->line('hapus'))) ?> Data</a>
	                    </div>
	                </div>
	            </h4>
	        </div>
	        <div class="card-body form-detail-karyawan">
	            <div class="row">
	                <div class="col-md-6">
	                    <fieldset class="form-group">
	                        <label>
	                            <?= $this->lang->line('Nama Sertifikat/Pelatihan') ?>
	                        </label>
	                        <p class="form-control-static">
	                            <?= isset($key->nama_sertifikat) ? $key->nama_sertifikat : "-" ?>
	                        </p>
	                    </fieldset>
	                </div>
	                <div class="col-md-6">
	                    <fieldset class="form-group">
	                        <label>
	                            <?= $this->lang->line('penyelanggara') ?>
	                        </label>
	                        <p class="form-control-static">
	                            <?= isset($key->penyelenggara) ? $key->penyelenggara : "-" ?>
	                        </p>
	                    </fieldset>
	                </div>
	            </div>

	            <div class="row">
	                <div class="col-md-6">
	                    <fieldset class="form-group">
	                        <label>
	                            <?= $this->lang->line('tgl_berlaku') ?>
	                        </label>
	                        <p class="form-control-static">
	                            <?= $this->fungsi->tgl_indo($key->tgl_berlaku) ?>
	                        </p>
	                    </fieldset>
	                </div>
	                <div class="col-md-6">
	                    <fieldset class="form-group">
	                        <label>
	                            <?= $this->lang->line('tgl_berakhir') ?>
	                        </label>
	                        <p class="form-control-static">
	                            <?= $this->fungsi->tgl_indo($key->tgl_berakhir) ?>
	                        </p>
	                    </fieldset>
	                </div>
	            </div>
	            <div class="row">
	                <div class="col-md-12">
	                    <fieldset class="form-group">
	                        <label>
	                            <?= $this->lang->line('deskripsi') ?>
	                        </label>
	                        <p class="form-control-static">
	                            <?= isset($key->deskripsi) ? $key->deskripsi : "-" ?>
	                        </p>
	                    </fieldset>
	                </div>
	            </div>

	            <div class="row">
	                <div class="col-md-12">
	                    <p>
	                        <?= $this->lang->line('lampiran') ?>
	                    </p>
	                    <div class="row">
	                        <div class="col-lg-4 col-md-4">
	                            <div class="card">
	                                <div class="card-body p-0" align="center">
	                                    <?php
                                        $file = $this->config->item('base_image') . 'imagebiodata?_t=file&_d=' . $key->file;
                                        ?>
	                                    <a href="<?= $file ?>" target="_blank"><img src="<?= $file ?>" width="200px" height="auto"></a>
	                                    <p class="mt-1 text-center">
	                                        File
	                                    </p>
	                                </div>
	                            </div>
	                        </div>
	                    </div>
	                </div>
	            </div>
	        </div>
	    </div>
	<?php } ?>
