first commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
include('../koneksi.php');
|
||||
if ($_POST['riwayat_kegiatan_id']) {
|
||||
$riwayat_kegiatan_id=$_POST['riwayat_kegiatan_id'];
|
||||
} else {
|
||||
$riwayat_kegiatan_id='0';
|
||||
}
|
||||
?>
|
||||
<input type="hidden" value="<?php echo $riwayat_kegiatan_id; ?>" id="riwayat_kegiatan_id">
|
||||
<?php
|
||||
$data_pdf=pg_query("SELECT pdf_spt,id FROM riwayat_kegiatan WHERE id='$riwayat_kegiatan_id' ORDER BY id DESC");
|
||||
while($rdata_pdf=pg_fetch_array($data_pdf)) {$pdf=$rdata_pdf[0];
|
||||
if (($pdf==NULL) || ($pdf=='')) {/*echo "File PDF belum diupload..";*/} else {
|
||||
?>
|
||||
<div class="gal-detail thumb" style="height:345px;background-color:#ece9d8;">
|
||||
<embed src="app/cekpeserta/peserta/pdf/<?php echo $pdf; ?>#toolbar=1" width="100%" height="300"></embed>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user