diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000..ea09401
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,7 @@
+.git
+.gitignore
+.env
+.coolify-local.json
+Dockerfile.coolify
+db/
+*.md
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..cc91f52
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+
+# Coolify Local Debugger config
+.env
+.coolify-local.json
+Dockerfile.coolify
diff --git a/01/import_db.php b/01/import_db.php
index 66a339e..c49d41c 100644
--- a/01/import_db.php
+++ b/01/import_db.php
@@ -12,6 +12,7 @@ $queries[] = "CREATE TABLE IF NOT EXISTS jalan (
id INT(11) AUTO_INCREMENT PRIMARY KEY,
nama_jalan VARCHAR(100) NOT NULL,
status_jalan VARCHAR(50) NOT NULL,
+ panjang_jalan DOUBLE DEFAULT NULL,
geojson TEXT NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;";
@@ -30,12 +31,27 @@ $queries[] = "CREATE TABLE IF NOT EXISTS parsil (
$queries[] = "CREATE TABLE IF NOT EXISTS spbu (
id INT(11) AUTO_INCREMENT PRIMARY KEY,
nama_spbu VARCHAR(100) NOT NULL,
- alamat TEXT NOT NULL,
+ no_whatsapp VARCHAR(50) DEFAULT NULL,
+ status_24jam VARCHAR(10) DEFAULT 'Tidak',
latitude VARCHAR(50) NOT NULL,
longitude VARCHAR(50) NOT NULL,
geojson TEXT DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;";
+// 4. Buat tabel users (untuk login)
+$queries[] = "CREATE TABLE IF NOT EXISTS users (
+ id INT(11) AUTO_INCREMENT PRIMARY KEY,
+ username VARCHAR(50) NOT NULL UNIQUE,
+ password VARCHAR(255) NOT NULL,
+ nama_lengkap VARCHAR(100) NOT NULL,
+ role VARCHAR(30) NOT NULL DEFAULT 'admin'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;";
+
+// 5. Masukkan akun default jika belum ada
+$queries[] = "INSERT IGNORE INTO users (id, username, password, nama_lengkap, role) VALUES
+(1, 'admin', 'admin123', 'Diva Schenka (Admin)', 'admin'),
+(2, 'walikota', 'walikota123', 'Bapak Walikota', 'walikota');";
+
// Eksekusi pembaruan
$success = 0;
foreach ($queries as $index => $sql) {
diff --git a/01/koneksi.php b/01/koneksi.php
index 6b1432a..a6afba4 100644
--- a/01/koneksi.php
+++ b/01/koneksi.php
@@ -1,19 +1,79 @@
+
-WebGIS Pontianak — Portal Sistem Informasi Geografis
+WebGIS Pontianak — Portal Sistem Informasi Geografis
@@ -47,7 +47,7 @@
line-height: 1.6;
}
- /* ── NAVBAR ── */
+ /* ── NAVBAR ── */
.navbar {
background: var(--navy);
padding: 0 2rem;
@@ -82,7 +82,7 @@
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
- /* ── HERO ── */
+ /* ── HERO ── */
.hero {
background: var(--navy2);
position: relative; overflow: hidden;
@@ -124,10 +124,10 @@
}
.hero-chip svg { width: 12px; height: 12px; }
- /* ── MAIN ── */
+ /* ── MAIN ── */
.main { max-width: 960px; margin: 0 auto; padding: 2.5rem 1.5rem 3rem; }
- /* ── PORTAL LABEL ── */
+ /* ── PORTAL LABEL ── */
.section-label {
font-size: 11px; font-weight: 600; letter-spacing: .1em;
text-transform: uppercase; color: var(--text3);
@@ -136,7 +136,7 @@
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
- /* ── PORTAL CARDS ── */
+ /* ── PORTAL CARDS ── */
.portal-grid {
display: grid;
grid-template-columns: 1fr 1fr;
@@ -215,7 +215,7 @@
.portal-enter:hover { opacity: .9; transform: translateX(2px); }
.portal-enter svg { width: 15px; height: 15px; }
- /* ── STAT BAR ── */
+ /* ── STAT BAR ── */
.stat-bar {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
@@ -234,7 +234,7 @@
.sb-label { font-size: 11px; color: var(--text3); margin-bottom: 1px; }
.sb-val { font-size: 19px; font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
- /* ── BOTTOM GRID ── */
+ /* ── BOTTOM GRID ── */
.bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 1.5rem; }
@media(max-width:600px){ .bottom-grid { grid-template-columns: 1fr; } }
@@ -398,7 +398,7 @@
@@ -566,7 +566,7 @@
@@ -575,7 +575,7 @@
@@ -584,7 +584,7 @@
@@ -593,7 +593,7 @@
@@ -602,7 +602,7 @@
@@ -665,7 +665,7 @@
Aktivitas Sistem
- —
+ —
@@ -675,7 +675,7 @@
Data jalan diperbarui
-
Folder 01 · edit_jalan.php
+
Folder 01 · edit_jalan.php
@@ -684,7 +684,7 @@
Parsil baru disimpan
-
Folder 01 · simpan_parsil.php
+
Folder 01 · simpan_parsil.php
@@ -693,7 +693,7 @@
Radius ibadah diperbarui
-
Folder 02 · update_radius.php
+
Folder 02 · update_radius.php
@@ -702,7 +702,7 @@
Laporan pengaduan masuk
-
Folder 02 · simpan_laporan_cepat.php
+
Folder 02 · simpan_laporan_cepat.php
@@ -740,11 +740,11 @@