コード例 #1
0
ファイル: cetaktahap1.php プロジェクト: nickohappy7/sister
<td class="text-center">'.$no.'</td>
            <td>'.$kode.'</td>
            <td>'.$nama.'</td>
            <td>'.getdepartemen($departemen).'</td>
            <td>'.getkelompok($kelompok).'</td>
			<td>'.$tgllahir.'</td>
            <td>'.$namaortu.'</td>
			<td>'.$alamat.'</td>
			<td>'.$kota.'</td>
			<td>'.$telp.'</td>
			<td>'.$hp.'</td>
			<td>'.$ket.'</td>
			<td>'.$asalsekolah.'</td>
			<td>'.$info.'</td>
			<td>'.getkelamin($kelamin).'</td>
			<td>'.getgelombang($gelombang).'</td>
</tr>';
$no++;
}
echo '</tr>';
echo '</table>';
}
/****************************/
echo "</body</html>";

if (isset($_GET['gelombang'])){
echo "<script language=javascript>
window.print();
</script>";
}
?>
コード例 #2
0
ファイル: cetaktahap3.php プロジェクト: nickohappy7/sister
	margin		: 0;
	padding		: 0;
    font-size: 1em; /* 14px/16=0.875em */
font-family: "Times New Roman", Times, serif;
    margin			: 2px 0 5px 0;
}
</style>';
echo "</head><body>";
echo'
<table align="center">
<tr><td colspan="7"><img style="margin-right:5px; margin-top:5px; padding:1px; background:#ffffff; float:left;" src="images/logo.png" height="70px"><br>
<b>Elyon Christian School</b><br>
Raya Sukomanunggal Jaya 33A, Surabaya 60187</td></tr>';

if(!$detail){
echo'<tr><td colspan="7"><h4>Laporan Tahap 3, Kelompok '.getkelompok($kelompok).', Gelombang '.getgelombang($gelombang).'</h4></td></tr>';
echo '
<tr class="border">
            <td>No</td>
            <th>Kode</th>
			<th>Nama</th>
           <th>Departemen</th>
           <th>Kelompok</th>
           <th>Diterima</th>
           <th>Joining Fee</th>
		   <th>DPP</th>
		   <th>Uang Seragam</th>
		   <th>Uang Buku</th>
		   <th>Uang Material</th>
</tr>';
$no =1;