<?PHP
mysql_connect("localhost", "root", "benk");
mysql_select_db("cma_pidsus");
$mytable2 = "p_perkara";
$uid1 = $_GET["id"];
$query2 = "Select * from $mytable2 where uid = '$uid1'"; 
$result2 = mysql_query($query2); 
if($row2 = mysql_fetch_array($result2)){
?>
<style type="text/css">
<!--
.style1 {color: #999999}
-->
</style>
<table width="100%"  border="0" cellspacing="4" cellpadding="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="32%"><div align="center"><strong>KEJAKSAAN NEGERI</strong><strong> </strong></div></td>
                  <td width="68%">
                    <div align="left"></div>                    </td>
                </tr>
                <tr>
                  <td><div align="center">SEKSI PIDSUS </div></td>
                  <td>&nbsp;</td>
                </tr>
                <tr>
                  <td colspan="2"><div align="center"><b> DETAIL PERKARA PENYIDIKAN NON KEJAKSAAN </b></div></td>
                </tr>
                <tr>
                  <td colspan="2"><div align="center"><b> </b></div> </td>
                </tr>
                <tr>
                  <td colspan="2"><table width="100%"  border="0" cellspacing="2" cellpadding="2">
                      <tr>
                        <td width="78">&nbsp;</td>
                        <td><div align="center"> I. </div></td>
                        <td width="1136">TANGGAL SPDP </td>
                      </tr>
                      <tr>
                        <td rowspan="2">&nbsp;</td>
                        <td width="38" rowspan="2"><div align="center"></div></td>
                        <td><b><?PHP print ('Tanggal Terima Surat : '.$row2['spdp_tgl'].''); ?></b> / <b><?PHP print (' Tanggal Agenda Surat : '.$row2['spdp_terimatgl'].''); ?></b></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td><div align="center">II. </div></td>
                        <td>NAMA TERSANGKA </td>
                      </tr>
                      <tr>
                        <td rowspan="2">&nbsp;</td>
                        <td rowspan="2"> <div align="center"></div></td>
                        <td><b><?PHP print (''.$row2['spdp_namatsk'].''); ?></b></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td><div align="center">III.</div></td>
                        <td>PASAL SANGKAAN </td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td><b><?PHP print (''.$row2['spdp_pasal'].''); ?></b></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                      </tr>
                  </table></td>
                </tr>
          </table></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<? } ?>