<LINK href="images/index.css" rel="stylesheet" type="text/css">
<?PHP 
include("index.db.php"); 
include("../index.globalconfig.php"); 
$ukey1 = $_GET['ukey'];
$t1 = $_GET['t'];
mysql_connect("$server", "$username", "$password");
mysql_select_db("$database");
$sql=mysql_query("select * from $tahun_now where UKEY ='$ukey1'");
if($row=mysql_fetch_array($sql)){

$day = date("d");
$month = date("m");
$year = date("Y");
?>
<table width="100%"  border="0" cellspacing="4" cellpadding="4" class="panel">
  <tr>
    <td>TAHAPAN BARANG BUKTI <b><? echo $row['TERDAKWA']; ?></b> | Pasal : <b><? echo $row['PASAL']; ?></b></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><? if ($t1 == "keluar"){ ?>
		<br>
		<form name="form1" method="post" action="index.bbsidangpost.add.php">
		  <table width="100%"  border="0" cellspacing="4" cellpadding="4">
            <tr>
              <td colspan="3"><strong>TAHAP PELIMPAHAN BARANG BUKTI </strong></td>
            </tr>
            <tr>
              <td colspan="3">Beberapa Kejaksaan Negeri Tidak Melimpahkan Barang Bukti oleh karena Pengadilan Negeri memberlakukan pelimpahan tanpa disertai barang bukti sehingga barang bukri terdapat digudang maupun dirupabasan atau dalam titipan.</td>
            </tr>
            <tr>
              <td colspan="3">&nbsp;</td>
            </tr>
            <tr>
              <td width="16%">Diproses Tanggal</td>
              <td width="1%">:</td>
              <td width="83%"> <?PHP echo $day; ?>/<?PHP echo $month; ?>/<?PHP echo $year; ?> </td>
            </tr>
            <tr>
              <td>Dikirim ke PN </td>
              <td>:</td>
              <td><?PHP echo $tempat; ?> 
             </td>
            </tr>
            <tr>
              <td>Berupa</td>
              <td>:</td>
              <td><b><?PHP echo $row['NAMABARANG']; ?></b></td>
            </tr>
            <tr>
              <td>
                <input name="day" type="hidden" id="day7" value="<?PHP echo $day; ?>">
                <input name="month" type="hidden" id="month5" value="<?PHP echo $month; ?>">
                <input name="year" type="hidden" id="year5" value="<?PHP echo $year; ?>">
              <input name="do" type="hidden" id="do" value="keluar">
              <input name="id" type="hidden" id="id" value="<? echo $row['ID']; ?>"></td>
              <td>&nbsp;</td>
              <td><input type="submit" name="Submit3" value="Simpan"></td>
            </tr>
          </table>
		</form>
        <?
}
?>
        <? if ($t1 == "kembali"){ ?>		<br>
		<br>
		<form name="form1" method="post" action="index.bbsidangpost.add.php">
          <table width="100%"  border="0" cellspacing="4" cellpadding="4">
            <tr>
              <td colspan="3"><strong>TAHAP PENGEMBALIAN BARANG </strong></td>
            </tr>
            <tr>
              <td colspan="3">Beberapa Kejaksaan Negeri Tidak Melimpahkan Barang Bukti oleh karena Pengadilan Negeri memberlakukan pelimpahan tanpa disertai barang bukti sehingga barang bukri terdapat digudang maupun dirupabasan atau dalam titipan.</td>
            </tr>
            <tr>
              <td colspan="3">&nbsp;</td>
            </tr>
            <tr>
              <td width="16%">Diproses Tanggal</td>
              <td width="2%">:</td>
              <td width="82%"> <?PHP echo $day; ?>/<?PHP echo $month; ?>/<?PHP echo $year; ?> </td>
            </tr>
            <tr>
              <td>Disimpan di </td>
              <td>:</td>
              <td><select name="simpan">
          <option value="1" selected>GUDANG KEJARI</option>
          <option value="2">RUBASAN</option>
          <option value="3">PENITIPAN</option>
          <option value="4">LAINNYA</option>
        </select>
        Pilih tempat penyimpanan </td>
            </tr>
            <tr>
              <td>Berupa</td>
              <td>:</td>
              <td><b><? echo $row['NAMABARANG']; ?></b></td>
            </tr>
            <tr>
              <td>
                <input name="day" type="hidden" id="day3" value="<?PHP echo $day; ?>">
                <input name="month" type="hidden" id="month3" value="<?PHP echo $month; ?>">
                <input name="year" type="hidden" id="year3" value="<?PHP echo $year; ?>">
                <input name="do" type="hidden" id="do" value="kembali">
                <input name="id" type="hidden" id="id" value="<? echo $row['ID']; ?>"></td>
              <td>&nbsp;</td>
              <td><input type="submit" name="Submit32" value="Simpan"></td>
            </tr>
          </table>
	  </form>
		<?
}
?>        <?
}
?>