<LINK href="../images/index.css" rel="stylesheet" type="text/css">
<?PHP
$ttglpost1=date("d/m/Y");
$tagenda1 = $_POST["a0"];
$tkegiatan1 = $_POST["a1"];
$tkldi1 = $_POST["a2"];
$tjenisproyek1 = $_POST["a3"];
$tpagu1 = $_POST["a4"];
$tdana1 = $_POST["a5"];
$ttahapan1 = $_POST["a6"];
$tkawal1 = $_POST["a7"];
$tsprint1 = $_POST["a8"];
$tserap1 = $_POST["a9"];
$tket1 = $_POST["a10"];
$error = "";
if ($tagenda1 == ""){$error = "TERJADI ERROR SILAHKAN HUB ADMIN<BR>";}
if ($tdana1 == ""){$error = "SUMBER DANA BELUM DIPILIH<BR>";}
include("intel_tp4.db.inc.php");
$query = "UPDATE $mytable SET tagenda = '$tagenda1', ttglpost = '$ttglpost1', tkegiatan = '$tkegiatan1', tkldi = '$tkldi1', tjenisproyek = '$tjenisproyek1', tpagu = '$tpagu1',tdana  = '$tdana1', ttahapan  = '$ttahapan1',tkawal  = '$tkawal1',tsprint  = '$tsprint1',tserap  = '$tserap1', tket  = '$tket1' WHERE tid = '$tagenda1'"; //UNTUK PENYETINGAN SEMENTARA JIKA SUDAH BERI TANDA //
$result = mysql_query($query);
print ('<table width="100%"  border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td><table width="100%"  border="0" cellspacing="4" cellpadding="4">
      <tr>
        <td><a href="../index.php?g=tp4&d=inc" class="menu">PERUBAHAN DATA TP4 BERHASIL DISIMPAN KLIK UNTUK KEMBALI<a></td>
      </tr>
    </table></td>
  </tr>
</table>');


?>

