<?PHP
include("intel_tiktsk.db.inc_.php");
$next_increment     = 0;
$qShowStatus        = "SHOW TABLE STATUS LIKE 'tltiktsk'";
$qShowStatusResult  = mysql_query($qShowStatus) or die ( "Query failed: " . mysql_error() . "<br/>" . $qShowStatus );
$row = mysql_fetch_assoc($qShowStatusResult);
$next_increment = $row['Auto_increment'];
?>
<link rel="stylesheet" type="text/css" media="all" href="jsDatePick_ltr.min.css" />
<script language="JavaScript" type="text/javascript" src="wysiwyg.js">
<script type="text/javascript" src="jsDatePick.min.1.3.js"></script>
<script type="text/javascript">
	window.onload = function(){
		new JsDatePick({
			useMode:2,
			target:"inputField",
			dateFormat:"%d/%m/%Y"
		});
	};
</script>

<script>

/*
Submit Once form validation- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

function submitonce(theform){
//if IE 4+ or NS 6+
if (document.all||document.getElementById){
//screen thru every element in the form, and hunt down "submit" and "reset"
for (i=0;i<theform.length;i++){
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
//disable em
tempobj.disabled=true
}
}
}
</script>


</head>

<body>
<table width="100%"  border="0" cellspacing="2" cellpadding="2">
  <tr>
    <td bgcolor="#FFFFFF"><form action="inc/intel_tiktskadd.php" method="post" enctype="multipart/form-data" name="form1">
      <table width="100%"  border="0" align="center" cellpadding="2" cellspacing="2">
        <tr>
          <td colspan="6">             <div align="center"></div>            
          <div align="center"><strong>KARTUTIK TERSANGKA / TERDAKWA / TERPIDANA <? $tgl=date("d/m/Y");
$th_skrg=date("Y");
$bl_skrg=date("m");
?>
          </strong></div>            
          <div align="right"><strong>R.IN.19</strong></div></td>
          </tr>
        <tr>
          <td colspan="6">&nbsp;</td>
        </tr>
        <tr>
          <td colspan="3" rowspan="3">&nbsp;</td>
          <td>No Agenda Digital </td>
          <td>:</td>
          <td><input name="i_nogen" type="text" id="i_nogen" size="5">
</td>
        </tr>
        <tr>
          <td width="25%">Tanggal Posting</td>
          <td width="2%">:</td>
          <td width="67%"><b><?php echo $tgl ?></b></td>
        </tr>
        <tr>
          <td width="25%">No Surat </td>
          <td width="2%">:</td>
          <td><input name="i_nosurat" type="text" id="i_nosurat" value="<?PHP echo "$next_increment"; ?>/<?PHP echo $kodesuratintel; ?>/XXX/<?php echo $bl_skrg ?>/<?php echo $th_skrg ?>" size="60"></td>
        </tr>
        <tr>
          <td colspan="6"><table width="100%"  border="0" cellspacing="2" cellpadding="2">
            <tr>
              <td width="6%">&nbsp;</td>
              <td width="94%"><table width="100%"  border="0" cellspacing="2" cellpadding="2">
                <tr>
                  <td colspan="7"><strong>IDENTITAS</strong>
                      <hr size="1"></td>
                </tr>
                <tr>
                  <td colspan="2"> Nama Lengkap </td>
                  <td width="1%">:</td>
                  <td colspan="4"><input name="a1" type="text" id="a1" size="40"></td>
                </tr>
                <tr>
                  <td colspan="2"> Nama Samaran </td>
                  <td>:</td>
                  <td colspan="4"><input name="a2" type="text" id="a2" size="30"></td>
                </tr>
                <tr>
                  <td colspan="2"> Tempat/Tgl.lahir/Umur</td>
                  <td>:</td>
                  <td colspan="4"><input name="a3" type="text" id="a3"></td>
                </tr>
                <tr>
                  <td colspan="2"> Jenis Kelamin </td>
                  <td>:</td>
                  <td colspan="4"><input name="a4" type="text" id="a4"></td>
                </tr>
                <tr>
                  <td colspan="2"> Bangsa/Suku </td>
                  <td>:</td>
                  <td colspan="4"><input name="a5" type="text" id="a5"></td>
                </tr>
                <tr>
                  <td colspan="2"> Kewarganegaraan  </td>
                  <td>:</td>
                  <td colspan="4"><input name="a6" type="text" id="a6" size="30"></td>
                </tr>
                <tr>
                  <td colspan="2"> Alamat/Tempat Tinggal</td>
                  <td>:</td>
                  <td colspan="4"><input name="a7" type="text" id="a7" size="60"></td>
                </tr>
                <tr>
                  <td colspan="2"> Agama/Kepercayaan</td>
                  <td>:</td>
                  <td colspan="4"><input name="a8" type="text" id="a8"></td>
                </tr>
                <tr>
                  <td colspan="2"> Pekerjaan  </td>
                  <td>:</td>
                  <td colspan="4"><input name="a9" type="text" id="a9"></td>
                </tr>
                <tr>
                  <td colspan="2"> Status Perkawinan </td>
                  <td>:</td>
                  <td colspan="4"><input name="a10" type="text" id="a10"></td>
                </tr>
                <tr>
                  <td colspan="2">Kepartaian</td>
                  <td>:</td>
                  <td colspan="4"><input name="a11" type="text" id="a11"></td>
                </tr>
                <tr>
                  <td colspan="2">Pendidikan</td>
                  <td>:</td>
                  <td colspan="4"><input name="a12" type="text" id="a12"></td>
                </tr>
                <tr>
                  <td colspan="2">&nbsp;</td>
                  <td>&nbsp;</td>
                  <td colspan="4">&nbsp;</td>
                </tr>
                <tr>
                  <td colspan="7"><strong> <strong>II. RIWAYAT PERKARA</strong>  : </strong>
                    <hr size="1"></td>
                  </tr>
                <tr>
                  <td colspan="2"> 1 Kejahatan /Pelanggaran yang dilakukan </td>
                  <td>&nbsp;</td>
                  <td colspan="4">&nbsp;</td>
                </tr>
                <tr>
                  <td><div align="center">a.</div></td>
                  <td>Kasus Posisi secara singkat </td>
                  <td>:</td>
                  <td colspan="4"><textarea name="b1" cols="50" rows="5" wrap="VIRTUAL" id="b1"></textarea></td>
                </tr>
                <tr>
                  <td width="2%"><div align="center">b.</div></td>
                  <td width="19%"> Latar belakang &amp; akibat-akibat peristiwa/Kerugian </td>
                  <td>:</td>
                  <td colspan="4"><input name="b2" type="text" id="b2" size="60"></td>
                </tr>
                <tr>
                  <td><div align="center">c.</div></td>
                  <td> SP3/SKPP </td>
                  <td>:</td>
                  <td width="4%">No :                    </td>
                  <td width="20%"><input name="b3" type="text" id="b32"></td>
                  <td width="4%">Tgl. </td>
                  <td width="50%"><input name="b4" type="text" id="b43"></td>
                </tr>
                <tr>
                  <td rowspan="3"><div align="center">d.</div></td>
                  <td rowspan="3"> Putusan Pengadilan </td>
                  <td>:</td>
                  <td>PN.                    </td>
                  <td><input name="b5" type="text" id="b53"></td>
                  <td>&nbsp;</td>
                  <td>*Beri tanda - jika kosong</td>
                </tr>
                <tr>
                  <td>:</td>
                  <td>PT.                    </td>
                  <td colspan="3"><input name="b6" type="text" id="b64"></td>
                </tr>
                <tr>
                  <td>:</td>
                  <td>MA.                    </td>
                  <td colspan="3"><input name="b7" type="text" id="b7"></td>
                </tr>
                <tr>
                  <td colspan="2"> 2. Nama Orang Tua / Alamat </td>
                  <td>:</td>
                  <td colspan="4"><input name="b8" type="text" id="b8" size="60"></td>
                </tr>
                <tr>
                  <td colspan="2">3. Nama Kawan yang dikenal </td>
                  <td>&nbsp;</td>
                  <td colspan="4"><input name="b9" type="text" id="b9" size="60"></td>
                </tr>
                <tr>
                  <td colspan="2">4. Lain - Lain </td>
                  <td>&nbsp;</td>
                  <td colspan="4"><input name="b10" type="text" id="b10" size="60"></td>
                </tr>
                <tr>
                  <td>&nbsp;</td>
                  <td>&nbsp;</td>
                  <td>&nbsp;</td>
                  <td colspan="4">&nbsp;</td>
                </tr>
                <tr>
                  <td colspan="7">&nbsp;</td>
                </tr>
                <tr>
                  <td colspan="7"><input type="reset" name="Submit2" value="Reset">
                    <input type="submit" name="Submit" value="Simpan">
* Cukup Sekali Tekan tombol simpan dan tunggu proses </td>
                </tr>
                <tr>
                  <td colspan="7">&nbsp;</td>
                </tr>
              </table></td>
            </tr>
          </table>
            </td>
        </tr>
      </table>
    </form></td>
  </tr>
</table>
