<?PHP
include("intel_tikcetakan.db.inc_.php");
include("../index.globalconfig.php");
$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){
$identitas = $row["i_identitas"];;
$cuts = explode("|", $identitas);
$biografi = $row["i_biografi"];;
$cuts1 = explode("|", $biografi);
?>

<div id="printData"><LINK href="../images/index.css" rel="stylesheet" type="text/css">
<table width="100%"  border="0" align="center" cellpadding="2" cellspacing="2">
  <tr>
    <td bgcolor="#FFFFFF">
      <table width="100%"  border="0" align="center" cellpadding="2" cellspacing="2">
        <tr>
          <td width="91%">             <div align="center"></div>            <div align="center"></div>            <div align="right">
            <table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td>&nbsp;</td>
              </tr>
            </table>
            <table width="100%"  border="0" cellspacing="1" cellpadding="0">
  <tr>
    <td width="35%"><div align="center"><strong><?PHP echo $satker; ?>
      </strong></div>
      <hr width="200" size="1"></td>
    <td width="35%">&nbsp;</td>
    <td width="30%"><div align="center"><strong>R.IN.16 </strong></div></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><div align="center"><strong>KARTU TIK BIODATA </strong>
      <hr width="200" size="1">
    </div></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><div align="center"><b>NOMOR : <?PHP print (''.$row['i_no'].''); ?></b></div></td>
    <td>&nbsp;</td>
  </tr>
</table>
</div></td>
        </tr>
        <tr>
          <td>
          </td>
        </tr>
        <tr>
          <td><table width="100%"  border="0" cellspacing="2" cellpadding="2">
            <tr>
              <td width="3%">&nbsp;</td>
              <td width="97%">                <table width="100%"  border="0" cellspacing="2" cellpadding="2">
                  <tr>
                    <td colspan="4"><strong>IDENTITAS</strong>
                        <hr size="1"></td>
                  </tr>
                  <tr>
                    <td colspan="2"> Nama barang cetakan</td>
                    <td width="2%">:</td>
                    <td width="73%"><b><?PHP echo $cuts[0]; ?></b></td>
                  </tr>
                  <tr>
                    <td colspan="2"> Penerbit</td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts[1]; ?></b></td>
                  </tr>
                  <tr>
                    <td colspan="2"> Pengarang/ Penanggungjawab</td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts[2]; ?></b></td>
                  </tr>
                  <tr>
                    <td colspan="2"> Waktu peredaran</td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts[3]; ?></b></td>
                  </tr>
                  <tr>
                    <td colspan="2"> Daerah peredaran</td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts[4]; ?></b></td>
                  </tr>
                  <tr>
                    <td colspan="2"> Pencetak</td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts[5]; ?></b></td>
                  </tr>
                  <tr>
                    <td colspan="2"> Nama Pimpinan Redaksi</td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts[6]; ?></b></td>
                  </tr>
                  <tr>
                    <td colspan="2"> Alamat penerbit</td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts[7]; ?></b></td>
                  </tr>
                  <tr>
                    <td colspan="2"> Alamat percetakan</td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts[8]; ?></b></td>
                  </tr>
                  <tr>
                    <td colspan="2"> Jumlah Oplah</td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts[9]; ?></b></td>
                  </tr>
                  <tr>
                    <td width="4%">&nbsp;</td>
                    <td width="21%">&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td colspan="4"><strong> <strong>BIOGRAFI INTELIJEN </strong> : </strong>
                        <hr size="1"></td>
                  </tr>
                  <tr>
                    <td colspan="2"> Kasus/ masalah yang terjadi </td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts1[0]; ?></b></td>
                  </tr>
                  <tr>
                    <td colspan="2"> Latar belakang dan akibatnya </td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts1[1]; ?></b></td>
                  </tr>
                  <tr>
                    <td colspan="2"> Tindakan yang dilakukan oleh </td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts1[2]; ?></b></td>
                  </tr>
                  <tr>
                    <td><div align="center">a.</div></td>
                    <td> Kejaksaan </td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts1[3]; ?></b></td>
                  </tr>
                  <tr>
                    <td><div align="center">b.</div></td>
                    <td> Kepolisian </td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts1[4]; ?></b></td>
                  </tr>
                  <tr>
                    <td><div align="center">c.</div></td>
                    <td> Putusan Pengadilan </td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts1[5]; ?></b></td>
                  </tr>
                  <tr>
                    <td colspan="2"> Keterangan lain-lain </td>
                    <td>:</td>
                    <td><b><?PHP echo $cuts1[6]; ?></b></td>
                  </tr>
                  <tr>
                    <td colspan="4">&nbsp;</td>
                  </tr>
                </table></td>
            </tr>
          </table>
          </td>
        </tr>
      </table>
   </td>
  </tr>
</table></div>
<table width="100%"  border="0" cellspacing="4" cellpadding="4">
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><table width="100%"  border="0" cellspacing="1" cellpadding="1">
      <tr>
        <td width="10%">&nbsp;</td>
        <td width="79%" bgcolor="#99CC33"><table width="100%"  border="0" cellspacing="1" cellpadding="1">
            <tr>
              <td width="90%"><div align="center"><strong>Anda ingin print data ini silahkan tekan icon printer disamping ini </strong></div></td>
              <td width="10%"><div align="center"><a href="#"  onClick="printF('printData')"><img src="print-icon.png" border="0"></a></div></td>
            </tr>
        </table></td>
        <td width="11%">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<?PHP } ?>