[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
BACKUP C 19-12
/
XAMPP74
/
htdocs
/
simkeu
/
application
/
views
/
admin
/
biaya
/
[
Home
]
File: cetak.php
<html> <style type="text/css"> body { margin: 0.1in; } #kiri { width: 20%; float: left; padding: 10px; } #kanan { width: 80%; } h1, h2, h3, h4, h5, h6, li, blockquote, p, th, td { font-family: Helvetica, Arial, Verdana, sans-serif; /*Trebuchet MS,*/ } h1, h2, h3, h4 { color: #000000; font-weight: normal; } h4, h5, h6 { color: #000000; } h2 { margin: 0 auto auto auto; font-size: x-large; } li, blockquote, p, th, td { font-size: 80%; } ul { list-style: url(/img/bullet.gif) none; } #footer { border-top: 1px solid #000000; text-align: right; } table, th, td { border: 1px solid black; border-collapse: collapse; font-family: "Trebuchet MS", Arial, sans-serif; color: black; } td, th { padding: 4px; } P.breakhere {page-break-after: always} </style> <body> <div id="kiri"> <img align="left" src="<?php echo base_url();?>images/logo_ueu.gif" width="75" height="75" /> </div> <div id="kanan"> <h4 align="center">DAFTAR STANDAR BIAYA <?php echo date("Y");?></h4> <h4 align="center"><?php echo strtoupper($info->row()->namapt);?></h4> </div> </br> <table width="100%" border="1" cellpadding="5"> <?php $no=1;?> <thead> <tr> <th>No</th> <th>Item</th> <th>Standar Minimal (Rp)</th> <th>Standar Maksimal (Rp)</th> <th >Jenis Belanja</th> <th>Keterangan</th> </tr> </thead> <?php if ($biaya->num_rows()>0){ foreach($biaya->result() as $row){ switch($row->jenis){ case 1: $jenis = 'Blj. Pegawai'; break; case 2: $jenis = 'Blj. Barang-Jasa'; break; case 3: $jenis = 'Blj. Aset'; break; default: $jenis = ''; break; break; } ?> <tr> <td align="center"><?=$no?></td> <td align="left"><?=$row->item?></td> <td align="right"><?=number_format($row->stmin,2,',','.')?></td> <td align="right"><?=number_format($row->stmak,2,',','.')?></td> <td align="left"><?=$jenis?></td> <td align="left"><?=$row->ket?></td> </tr> <?php $no++; } } ?> </table> </body> </html>