How raihannawawi/pbl110_ruang_aman works
RuangAman is a PHP prototype for campus violence and harassment reporting, case follow-up, education, and emergency support. The intended reporter journey covers identity, incident and evidence details, confirmation, submission, then ticket-based tracking; Satgas and administrator screens represent separate case-handling and account-management capabilities. In the inspected code, these are static/demo interfaces routed by index.php, not a live reporting system: authentication, persistence, and server-side processing are explicitly unimplemented. Edges are limited to routes and references visible in the excerpts or README; unsampled page links are not inferred.
Main entry points: index.php Page router · login.php Login screen · dashboard-admin.php Admin dashboard · app.php App configuration
Components 34
Routing and Setup
- Page router
index.php - App configuration
backend/config/app.php - Reusable layout
frontend/js/layout.js - Login screen
frontend/pages/login.php - Reporter login
frontend/pages/login-pelapor.php - Satgas login
frontend/pages/login-satgas.php - Admin login
frontend/pages/login-admin.php - Magic link
frontend/pages/magic-link.php
Reporter Journey
- Reporter identity
frontend/pages/data-diri.php - Incident details
frontend/pages/detail-kejadian.php - Perpetrator and evidence
frontend/pages/pelaku-bukti.php - Report confirmation
frontend/pages/konfirmasi.php - Submission result
frontend/pages/berhasil.php - Identified result
frontend/pages/berhasil-identitas.php - Report tracking
frontend/pages/lacak-laporan.php - Reporter case view
frontend/pages/detail-laporan.php - Reporter dashboard
frontend/pages/dashboard-pelapor.php
Casework and Administration
- Satgas dashboard
frontend/pages/dashboard-satgas.php - Case verification
frontend/pages/verifikasi-laporan-satgas.php - Verification result
frontend/pages/hasil-verifikasi-laporan-satgas.php - Satgas case detail
frontend/pages/detail-laporan-satgas.php - Case conversation
frontend/pages/chat-detail.php - Conversation list
frontend/pages/chat-list.php - Admin dashboard
frontend/pages/dashboard-admin.php - Admin case detail
frontend/pages/detail-laporan-admin.php - User management
frontend/pages/pengguna-admin.php - User detail
frontend/pages/detail-pengguna-admin.php - User account form
frontend/pages/form-pengguna-admin.php
Information and Support
- Education articles
frontend/pages/edukasi.php - Article detail
frontend/pages/detail-edukasi.php - Emergency contacts
frontend/pages/kontak-darurat.php - Support detail
frontend/pages/detail-kontak.php - Home page
frontend/pages/beranda.php
Other components
- Campus community
Connections 27
- Campus community → Page router: opens pages
README.md - Page router → Login screen: routes to
index.php - Page router → Reporter login: routes to
index.php - Page router → Satgas login: routes to
index.php - Page router → Admin login: routes to
index.php - Page router → Magic link: routes to
index.php - Page router → Home page: routes to
index.php - Page router → Education articles: routes to
index.php - Page router → Article detail: routes to
index.php - Page router → Emergency contacts: routes to
index.php - Page router → Support detail: routes to
index.php - Page router → Report tracking: routes to
index.php - Page router → Perpetrator and evidence: routes to
index.php - Page router → Report confirmation: routes to
index.php - Page router → Submission result: routes to
index.php - Page router → Identified result: routes to
index.php - Page router → Reporter dashboard: routes to
index.php - Page router → Satgas case detail: routes to
index.php - Page router → Case verification: routes to
index.php - Page router → Verification result: routes to
index.php - Page router → Conversation list: routes to
index.php - Page router → Case conversation: routes to
index.php - Page router → User management: routes to
index.php - Page router → User detail: routes to
index.php - Page router → User account form: routes to
index.php - Login screen → App configuration: reads config
frontend/pages/login.php - Admin dashboard → Reusable layout: loads layout
frontend/pages/dashboard-admin.php