<LINK href="../images/index.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
    function refreshAndClose() {
        window.opener.location.reload(true);
        window.close();
    }
</script>
<body onbeforeunload="refreshAndClose();">
<?PHP
include("intel_.db.inc.php");
$do1 = $_GET["do"];
$id1 = $_GET["id"];
$error = "";
if ($do1 == ""){$error = "DO ERROR<BR>";}
if ($id1 == ""){$error = "ID ERROR<BR>";}
mysql_connect("$server", "$username", "$password");
mysql_select_db("$database");
//----------------------------------------------------------------------
if ($do1 == "lapinsus"){
$query = "DELETE FROM tlapinsus WHERE i_id = '$id1'";
$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>BERHASIL MELAKUKAN DELETE SILAHKAN TUTUP JENDELA INI</td>
      </tr>
    </table></td>
  </tr>
</table>');
}
//----------------------------------------------------------------------START
if ($do1 == "lapinhar"){
$query = "DELETE FROM tlapinhar WHERE i_id = '$id1'";
$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>BERHASIL MELAKUKAN DELETE SILAHKAN TUTUP JENDELA INI</td>
      </tr>
    </table></td>
  </tr>
</table>');
} 
//----------------------------------------------------------------------END
//----------------------------------------------------------------------START
if ($do1 == "jadpamgal"){
$query = "DELETE FROM tljadpamgal WHERE i_id = '$id1'";
$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>BERHASIL MELAKUKAN DELETE SILAHKAN TUTUP JENDELA INI</td>
      </tr>
    </table></td>
  </tr>
</table>');
} 
//----------------------------------------------------------------------END
//----------------------------------------------------------------------START
if ($do1 == "agendaintel"){
$query = "DELETE FROM tlagendaintel WHERE i_id = '$id1'";
$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>BERHASIL MELAKUKAN DELETE SILAHKAN TUTUP JENDELA INI</td>
      </tr>
    </table></td>
  </tr>
</table>');
} 
//----------------------------------------------------------------------END
//----------------------------------------------------------------------START
if ($do1 == "kirka"){
$query = "DELETE FROM tlapkirka WHERE i_id = '$id1'";
$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>BERHASIL MELAKUKAN DELETE SILAHKAN TUTUP JENDELA INI</td>
      </tr>
    </table></td>
  </tr>
</table>');
} 
//----------------------------------------------------------------------END
//----------------------------------------------------------------------START
if ($do1 == "mip"){
$query = "DELETE FROM tlmip WHERE i_id = '$id1'";
$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>BERHASIL MELAKUKAN DELETE SILAHKAN TUTUP JENDELA INI</td>
      </tr>
    </table></td>
  </tr>
</table>');
} 
//----------------------------------------------------------------------END
//----------------------------------------------------------------------START
if ($do1 == "tiktsk"){
$query = "DELETE FROM tltiktsk WHERE i_id = '$id1'";
$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>BERHASIL MELAKUKAN DELETE SILAHKAN TUTUP JENDELA INI</td>
      </tr>
    </table></td>
  </tr>
</table>');
} 
//----------------------------------------------------------------------END
//----------------------------------------------------------------------START
if ($do1 == "tikbiodata"){
$query = "DELETE FROM tltikbiodata WHERE i_id = '$id1'";
$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>BERHASIL MELAKUKAN DELETE SILAHKAN TUTUP JENDELA INI</td>
      </tr>
    </table></td>
  </tr>
</table>');
} 
//----------------------------------------------------------------------END
//----------------------------------------------------------------------START
if ($do1 == "tikpengobatan"){
$query = "DELETE FROM tltikpengobatan WHERE i_id = '$id1'";
$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>BERHASIL MELAKUKAN DELETE SILAHKAN TUTUP JENDELA INI</td>
      </tr>
    </table></td>
  </tr>
</table>');
} 
//----------------------------------------------------------------------END
//----------------------------------------------------------------------START
if ($do1 == "tikorganisasi"){
$query = "DELETE FROM tltikorgan WHERE i_id = '$id1'";
$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>BERHASIL MELAKUKAN DELETE SILAHKAN TUTUP JENDELA INI</td>
      </tr>
    </table></td>
  </tr>
</table>');
} 
//----------------------------------------------------------------------END
//----------------------------------------------------------------------START
if ($do1 == "tikcetakan"){
$query = "DELETE FROM tltikcetakan WHERE i_id = '$id1'";
$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>BERHASIL MELAKUKAN DELETE SILAHKAN TUTUP JENDELA INI</td>
      </tr>
    </table></td>
  </tr>
</table>');
} 
//----------------------------------------------------------------------END
?>

