Add WebGIS source code

This commit is contained in:
ocabacaa
2026-06-11 23:48:02 +07:00
parent ce48dbcddc
commit b212ca27fd
37 changed files with 5764 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
<?php
session_start();
if(!isset($_SESSION['role'])){
header("Location: ../index.php");
exit;
}
if($_SESSION['role'] != 'admin'){
header("Location: ../index.php");
exit;
}
include '../config/koneksi.php';
$id = intval($_GET['id']);
mysqli_query($conn,
"DELETE FROM laporan
WHERE id='$id'");
header("Location: validasi.php");
?>