How princejabonero0/sagipalert works
SagipAlert is a PHP community emergency incident reporting and dispatch system. Residents submit incident details and optional evidence; dispatchers and administrators review and verify reports, assign responders, and coordinate status updates; responders accept assignments and document actions, while residents can follow progress. The application also provides dashboards, notifications, user administration, audit history, and date-range summaries with CSV export. PHP pages access MySQL directly, with shared authentication, role checks, incident helpers, and upload handling in bootstrap. Relationships shown are limited to the excerpts and SOURCE INDEX; unsampled page internals are not inferred.
Main entry points: bootstrap.php Shared runtime helpers · header.php Navigation and page shell · report.php Incident submission · incident.php Incident coordination
Components 18
Access and Shared Services
- Application configuration
sagipalert/config.php - Shared runtime helpers
sagipalert/inc/bootstrap.php - Account sign-in
sagipalert/login.php - Resident registration
sagipalert/register.php - Navigation and page shell
sagipalert/inc/header.php - Page footer
sagipalert/inc/footer.php
Incident Operations
- Role dashboards
sagipalert/dashboard.php - Incident submission
sagipalert/report.php - Incident search
sagipalert/incidents.php - Incident coordination
sagipalert/incident.php - Evidence files
sagipalert/storage/evidence - Evidence retrieval
sagipalert/file.php - Notifications
sagipalert/notifications.php
Administration and Reporting
- User management
sagipalert/users.php - Operational summaries
sagipalert/reports.php - Audit trail
sagipalert/audit.php
Other components
- Residents and staff
- MySQL database
Connections 38
- Residents and staff → Account sign-in: signs in
sagipalert/login.php - Residents and staff → Resident registration: registers
sagipalert/register.php - Residents and staff → Incident submission: submits report
sagipalert/report.php - Residents and staff → Role dashboards: views operations
sagipalert/dashboard.php - Shared runtime helpers → Application configuration: loads settings
sagipalert/inc/bootstrap.php - Account sign-in → Shared runtime helpers: uses helpers
sagipalert/login.php - Resident registration → Shared runtime helpers: uses helpers
sagipalert/register.php - Incident submission → Shared runtime helpers: uses helpers
sagipalert/report.php - Role dashboards → Shared runtime helpers: uses helpers
sagipalert/dashboard.php - Incident search → Shared runtime helpers: uses helpers
sagipalert/incidents.php - Incident coordination → Shared runtime helpers: uses helpers
sagipalert/incident.php - Evidence retrieval → Shared runtime helpers: uses helpers
sagipalert/file.php - Notifications → Shared runtime helpers: uses helpers
sagipalert/notifications.php - Operational summaries → Shared runtime helpers: uses helpers
sagipalert/reports.php - Audit trail → Shared runtime helpers: uses helpers
sagipalert/audit.php - User management → Shared runtime helpers: uses helpers
sagipalert/users.php - Account sign-in → MySQL database: reads and updates
sagipalert/login.php - Resident registration → MySQL database: creates account
sagipalert/register.php - Incident submission → MySQL database: records incident
sagipalert/report.php - Incident coordination → MySQL database: reads and updates
sagipalert/incident.php - Role dashboards → MySQL database: queries summaries
sagipalert/dashboard.php - Incident search → MySQL database: queries records
sagipalert/incidents.php - Operational summaries → MySQL database: queries and exports
sagipalert/reports.php - User management → MySQL database: manages accounts
sagipalert/users.php - Shared runtime helpers → MySQL database: persists audit and notices
sagipalert/inc/bootstrap.php - Incident submission → Evidence files: stores uploads
sagipalert/report.php - Evidence retrieval → Evidence files: serves files
sagipalert/file.php - Incident coordination → Shared runtime helpers: updates statuses and notifies
sagipalert/incident.php - Navigation and page shell → Shared runtime helpers: loads user and notices
sagipalert/inc/header.php - Account sign-in → Navigation and page shell: renders page
sagipalert/login.php - Resident registration → Navigation and page shell: renders page
sagipalert/register.php - Incident submission → Navigation and page shell: renders page
sagipalert/report.php - Incident coordination → Navigation and page shell: renders page
sagipalert/incident.php - Role dashboards → Navigation and page shell: renders page
sagipalert/dashboard.php - Operational summaries → Navigation and page shell: renders page
sagipalert/reports.php - User management → Navigation and page shell: renders page
sagipalert/users.php - Incident search → Navigation and page shell: renders page
sagipalert/incidents.php - Navigation and page shell → Page footer: precedes shell footer