header_excel('rekap-terbang-penerbang-' . get_safe('tanggal') . '.xls');
//tampil_nama_bulan(get_safe('tanggal'))
?>
<style type="text/css">
    table td { font-family: Arial; }
</style>
<table>
    <tr>
        <td colspan="14"></td>
        <td colspan="3">Lampiran I</td>
    </tr>
    <tr>
        <td colspan="14"></td>
        <td colspan="3">Laporan Bulan <?php 
echo tampil_nama_bulan(get_safe('tanggal'));
?>
</td>
    </tr>
    <tr>
        <td colspan="14"></td>
        <td colspan="3">Tanggal <?php 
echo indo_tgl(date("Y-m-d"));
?>
</td>
    </tr>
</table>
<table width="100%">
    <tr>
        <td colspan="17" align="center"><b>DAFTAR PEROLEHAN JAM TERBANG PENERBANG</b></td>
    </tr>
Exemplo n.º 2
0
include_once '../inc/functions.php';
?>
<link rel="stylesheet" href="../themes/theme_default/theme-print.css" />
<script type="text/javascript">
function cetak() {  		
    window.print();
    setTimeout(function(){ window.close();},300);
}
</script>
<body onload="cetak();">
<?php 
echo header_surat();
?>
<h1>
    LAPORAN ARUS STOK BULANAN <br /> BULAN <?php 
echo tampil_nama_bulan($_GET['bulan']);
?>
</h1>
<table cellspacing="0" width="100%" class="list-data-print">
<thead>
    <tr class="italic">
        <th width="2%">No.</th>
        <th width="10%">Transaksi</th>
        <th width="10%">Masuk</th>
        <th width="10%">Keluar</th>
        <th width="10%">Sisa</th>
    </tr>
</thead>
<tbody>
    <?php 
$param = array('bulan' => $_GET['bulan'], 'transaksi' => $_GET['jenis_transaksi']);