

<html>
<head>
<style type="text/css" media="print">
	table {border: none ; border-collapse: collapse; width: 100%}
	tr { border: solid 1px #000}
	td { margin-top: 40px}
	
	h3 { margin-bottom: 0px }
	h2 { margin-bottom: 0px }
</style>
<style type="text/css" media="screen">
	table {border: none; border-collapse: collapse; width: 60%}
	tr { border: solid 1px #000}

	
	td { margin: 0px 0px}
	h3 { margin-bottom: 0px }
	h2 { margin-bottom: 0px }
</style>
</head>
<style type='text/css'>
			.atas {
			margin : 0;
				padding-top : 50px;
				
				
								}
			</style>

<body onload="window.print()">

<p>&nbsp;</p>

<table width = 50px; style="border-style: hidden; padding = 100px;" >

	<tr><td class = "atas" align="center" ><b style="font-size: 21px; text-decoration:underline">SURAT 
		PERINTAH MELAKSANAKAN TUGAS</b></td></tr>
	<tr><td style="border-style: hidden; " align="center" style="border-style: hidden; " >
	
		<span "atas" style="font-weight:700"><font size="4">Nomor : RT.02.01.21A.<?php echo ($datpil1->untuk); ?>.<?php $data = "$datpil1->tgl_st"; $namafile = substr ($data,5,2); echo $namafile; ?>.<?php $data = "$datpil1->tgl_st"; $namafile = substr ($data,2,2); echo $namafile; ?>.<?php echo ($datpil1->id_st); ?></font></span></td></tr>

</table>
<p>&nbsp;</p>
<p><font size="2" class = "tulay" >Yang bertanda tangan di bawah ini memerintahkan kepada 
nama-nama tersebut di bawah ini :</font></p>
	
	
	
<table width = 100px;>
		<tr>
		<style type='text/css'>
			.baca {
			margin : 0;
				padding-left: -5000px;
				
				
								}
			</style>
		<td class = "baca" align="center" width="0" style="border-style: solid; border-width: 1px" align="center">
		<b><font size="2">No  </font></b>  </td>

		<td align="center" width="250" style="border-style: solid; border-width: 1px" align="center">
		<b><font size="2">Nama  </font></b>  </td>
		
		<td width="150" style="border-style: solid; border-width: 1px" align="center">
		<b><font size="2">Pangkat</font></b></td>
		<td width="250" style="border-style: solid; border-width: 1px" align="center">
		<b><font size="2">Jabatan</font></b></td>
		
	</tr>
	
&nbsp;<tr height="20px">
	<style type='text/css'>
			.baca {
			margin : 0;
				
				padding-top : 2;
				
								}
			</style>
			<td class = "baca" valign="top" align="center" width="0" style="border-style: solid; border-width: 1px">
		<ol><font size="2"><?php  if (!empty($datpil2)) {foreach ($datpil2 as $dp) {echo "<font size=2> <p><li></li></p>";}}?></font></td>
		
		<style type='text/css'>
			.tulis {
				padding-left: 5;
						}
			</style>
	
		
		<td class = "tulis" valign="top" width="250" style="border-style: solid; border-width: 1px ">
		<font size="2">
		<?php if (!empty($datpil2)) {foreach ($datpil2 as $dp) {echo "<font size=2><p>".$dp->nama_pegawai."</p></font>";}}?></font></td>
	
		
		
		<td class = "tulis" valign="top" width="150" style="border-style: solid; border-width: 1px ">
		<font size="2">
		<?php if (!empty($datpil2)) {foreach ($datpil2 as $dp) {echo "<font size=2><p>".$dp->pangkat."</p>";}}?></font></td>
		
		<td class = "tulis" valign="top" width="250" style="border-style: solid; border-width: 1px ">
		<font size="2">
		<?php if (!empty($datpil2)) {foreach ($datpil2 as $dp) {echo "<font size=2><p>".$dp->jabatan."</p>";}}?></font></td>
		
		
	</tr>
	</tr>
	
	
</table>
<font size="2">&nbsp;
</font>
<table mborder="1" width="100%" style="border-style: hidden; ">
	<!-- MSTableType="nolayout" -->
	<tr>
	<style type='text/css'>
			.tulay {
				padding-top: 25px;
						}
	</style>
		<td class = "tulay" width="154" style="border-style: none; " align="center">
		<p align="left" ><font size="2">&nbsp; Tugas yang diperintahkan</font></td>
		<td class = "tulay" width="46" style="border-style: none; " align="center">
		<font size="2">:</font></td>
		<td class = "tulay" align="justify" style="border-style: none; "><font size="2"><?php echo $datpil1->maksud; ?></font></td>
	</tr>
</table>

	
	

<table border="1" width="100%" style="border-style: hidden; ">
	<!-- MSTableType="nolayout" -->
	<tr>
		<td class = "tulay" width="154" style="border-style: none; " align="center">
		<p align="left" ><font size="2">&nbsp; Lama Tugas</font></td>
		<td class = "tulay" width="46" style="border-style: none; " align="center">
		<font size="2">:</font></td>
		<td class = "tulay" align="justify" style="border-style: none; "><font size="2"> <?php echo round((strtotime($datpil1->akhir_tugas) - strtotime($datpil1->awal_tugas))/(60*60*24) + 1)?> Hari</font></td>
	</tr>
</table>

	
	

<table border="1" width="100%" style="border-style: hidden; ">
	<!-- MSTableType="nolayout" -->
	<tr>
		<td class = "tulay" width="154" style="border-style: none; " align="center">
		<p align="left" ><font size="2">&nbsp; Tanggal</font></td>
		<td class = "tulay" width="46" style="border-style: none; " align="center">
		<font size="2">:</font></td>
		<td class = "tulay" align="justify" style="border-style: none; "><font size="2"><?php echo tgl_jam_sql($datpil1->awal_tugas); ?> s/d <?php echo tgl_jam_sql($datpil1->akhir_tugas); ?></font></td>
	</tr>
</table>
<table border="1" width="100%" style="border-style: hidden; ">
	<!-- MSTableType="nolayout" -->
	<tr>
		<td class = "tulay" width="154" style="border-style: hidden; " align="center">
		<p align="left" ><font size="2">&nbsp; Biaya dibebankan pada</font></td>
		<td class = "tulay" width="46" style="border-style: hidden; " align="center">
		<font size="2">:</font></td>
		<td class = "tulay" align="justify" style="border-style: hidden; "><font size="2"><?php echo ($datpil1->beban1); ?></font></td>
	
	</tr>
	<tr>
		<td class = "tulay" width="154" style="border-style: hidden; " align="center">
		<p align="left" ><font size="2">&nbsp; </font></td>
		<td class = "tulay" width="46" style="border-style: hidden; " align="center">
		<font size="2">:</font></td>
		<td class = "tulay" align="justify" style="border-style: hidden; "><font size="2"><?php echo ($datpil1->beban2); ?></font></td>
	
	</tr>
	<tr>
		<td class = "tulay" width="154" style="border-style: hidden; " align="center">
		<p align="left" ><font size="2">&nbsp; </font></td>
		<td class = "tulay" width="46" style="border-style: hidden; " align="center">
		<td class = "tulay" align="justify" style="border-style: hidden; "><font size="2">MAK.<?php echo ($datpil1->matang); ?></font></td>
	</tr>
</table>
	
	
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<p><font size="2">Agar dilaksanakan sebaik-baiknya.</font></p>

<br>
<br>




<div>
	<div font face="Arial"  style="width:400px;float:right">
		<font size="2">Dikeluarkan di : Palangka Raya<br>
		Pada tanggal : <?php echo tgl_jam_sql($datpil1->tgl_st); ?>
		<br>
		<br>
		<?php echo ($datpil1->kuasa);?> Balai Besar Pengawas Obat dan Makanan
		<br/>
		di Palangka Raya
		<br/>
		<br>
		<br>
		<br>
		<br>
		<?php  echo ($datpil1->nama);  ?><br>
		</font>
		
	</div>
	<div style="clear:both"></div>
</div>

	

</body>
</html>