<?PHP
include("../index.globalconfig.php");
include("intel_.db.inc.php");
$mytable = "tlapinsus";
$uid1 = $_GET["id"];
//$session1 = $HTTP_GET_VARS["session"];
$query = "Select * from $mytable where i_id = '$uid1'"; 
$result = mysql_query($query); 
//$query2 = "UPDATE $mytable SET ntfy_spdpprint = '2' WHERE uid = '$uid1'";
//$result2 = mysql_query($query2);
if($row = mysql_fetch_array($result)){
//if ($row[k_session] == $session1){
?>
<style type="text/css">
<!--
.style1 {color: #999999}
-->
</style>
<table width="90%"  border="0" align="center" cellpadding="4" cellspacing="4">
  <tr>
    <td><table width="100%"  border="0" cellspacing="2" cellpadding="2">
        <tr>
          <td bgcolor="#FFFFFF">
              <table width="100%"  border="0" cellspacing="4" cellpadding="4">
                <tr>
                  <td><div align="center" class="style1">R A H A S I A</div></td>
                </tr>
              </table>
              <table width="100%"  border="0" cellspacing="2" cellpadding="2">
                <tr>
                  <td width="26%"><div align="center"><strong><b><?PHP echo $satker; ?></b></strong>                    <strong> </strong></div></td>
                  <td width="74%"><div align="right"><strong>L.IN. 2 </strong></div></td>
                </tr>
                <tr>
                  <td><div align="center">SEKSI INTELIJEN </div></td>
                  <td>&nbsp;</td>
                </tr>
                <tr>
                  <td colspan="2"><div align="center"><b> LAPORAN INFORMASI KHUSUS </b>
                    <hr width="300" size="1">
                  </div></td>
                </tr>
                <tr>
                  <td colspan="2"><div align="center"><b> NOMOR : R-LIK <?PHP print (''.$row['i_no'].''); ?></b></div></td>
                </tr>
                <tr>
                  <td colspan="2">&nbsp; </td>
                </tr>
                <tr>
                  <td colspan="2"><table width="100%"  border="0" cellspacing="2" cellpadding="2">
                      <tr>
                        <td width="9%">&nbsp;</td>
                        <td colspan="5">PERIHAL:</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td colspan="3"><b><?PHP print (''.$row['i_hal'].''); ?></b></td>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td colspan="5">&nbsp;</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td colspan="5"> I. INFORMASI YANG DIPEROLEH </td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td width="3%">&nbsp;</td>
                        <td colspan="3"><b><?PHP print (''.$row['i_info'].''); ?></b> </td>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td colspan="4">&nbsp;</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td colspan="5">II. TREND PERKEMBANGAN/PERKIRAAN </td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp; </td>
                        <td colspan="3"><b><?PHP print (''.$row['i_trend'].''); ?></b></td>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td colspan="5">&nbsp;</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td colspan="5"> III. SARAN/PENDAPAT </td>
                      </tr>
                      <tr>
                        <td rowspan="2">&nbsp;</td>
                        <td rowspan="2">&nbsp;</td>
                        <td colspan="3"><b><?PHP print (''.$row['i_saran'].''); ?></b></td>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td colspan="4">&nbsp;</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td width="28%"><div align="center"></div></td>
                        <td width="23%">&nbsp;</td>
                        <td width="29%"><div align="center"><strong><b><?PHP echo $kota; ?></b></strong>, <b><?PHP print (''.$row['i_tgl'].''); ?></b></div></td>
                        <td width="8%">&nbsp;</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td><p align="center"><strong>OTENTIKASI KASI INTELIJEN </strong>
                        
                        </td>
                        <td>&nbsp;</td>
                        <td><p align="center"><strong>KEPALA KEJAKSAAN NEGERI </strong></p>
                        </td>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td><div align="center"></div></td>
                        <td>&nbsp;</td>
                        <td><div align="center"></div></td>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td rowspan="3">&nbsp;</td>
                        <td rowspan="3">&nbsp;</td>
                        <td>&nbsp;</td>
                        <td rowspan="3">&nbsp;</td>
                        <td>&nbsp;</td>
                        <td rowspan="3">&nbsp;</td>
                      </tr>
                      <tr>
                        <td><div align="center"><strong><b><?PHP echo $kasiintel; ?></b></strong></div></td>
                        <td><div align="center"><strong><b><?PHP echo $kajari; ?></b></strong></div></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td colspan="6"><table width="100%"  border="0" cellspacing="2" cellpadding="2" class="panel">
                            <tr>
                              <td><table width="100%"  border="0" cellspacing="2" cellpadding="2">
                                  <tr>
                                    <td>SARAN KEPALA KEJAKSAAN NEGERI </td>
                                    <td width="7%" rowspan="2"><div align="center"><img src="print-icon.png" width="32" height="32" border="0"></div></td>
                                  </tr>
                                  <tr>
                                    <td width="93%"><b><?PHP print (''.$row['i_pdpt_kajari'].''); ?></b></td>
                                  </tr>
                              </table></td>
                            </tr>
                        </table></td>
                      </tr>
                  </table></td>
                </tr>
          </table></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<? } ?>