How zeval0420/guidance works
This is a school guidance referral web application, with admin access and referral-management pages. A user submits a referral; the application looks up form data, records the referral, and sends a notification. Admins authenticate and manage access, while referral dashboards, calendar and logbook provide separate operational views. The tree and source index establish these product areas, but several page implementations are unsampled, so their internal behavior and some data flows are not asserted.
Main entry points: PHPMailer.php Message composition · auth.php Admin authentication · index.php Referral form · session_handler.php Session handler
Components 27
Referral workflow
- Referral form
referral/index.php - Referral dashboard
referral/dashboard.php - Referral calendar
referral/calendar.php - Guidance logbook
logbook/index.php
Admin and sessions
- Admin authentication
auth.php - Admin management
admin/admins.php - Admin hub
admin/hub.php - SQL runner
admin/sql_runner.php - Password reset
reset_password.php - Admin roles
helperFiles/admin_roles.php
Shared services
- Session handler
helperFiles/session_handler.php - Database connection
helperFiles/db_connection.php - Referral notifications
referral/emailHelper.php - Mail configuration
helperFiles/mail.php - Page layout
helperFiles/header.php - Page head assets
helperFiles/headData.php - Page footer
helperFiles/footer.php
Email transport
- Message composition
PHPMailer/src/PHPMailer.php - SMTP transport
PHPMailer/src/SMTP.php - Mail exceptions
PHPMailer/src/Exception.php - OAuth provider
PHPMailer/src/OAuth.php - OAuth token interface
PHPMailer/src/OAuthTokenProvider.php - POP3 transport
PHPMailer/src/POP3.php - DSN configuration
PHPMailer/src/DSNConfigurator.php
Other components
- Referral submitter
- Application database
- SMTP service
Connections 33
- Referral submitter → Referral form: submits
referral/index.php - Referral form → Application database: queries
referral/index.php - Referral form → Referral notifications: notifies
referral/index.php - Referral dashboard → Referral notifications: uses
referral/dashboard.php - Referral notifications → Mail configuration: delegates
referral/emailHelper.php - Admin authentication → Admin roles: checks access
auth.php - Admin authentication → Message composition: creates mail
auth.php - Admin authentication → SMTP transport: uses transport
auth.php - Admin authentication → Mail exceptions: catches errors
auth.php - Admin management → Admin roles: manages access
admin/admins.php - Admin hub → Admin roles: uses access
admin/hub.php - SQL runner → Admin roles: checks access
admin/sql_runner.php - Admin authentication → Session handler: starts session
auth.php - Admin management → Session handler: starts session
admin/admins.php - Admin hub → Session handler: starts session
admin/hub.php - SQL runner → Session handler: starts session
admin/sql_runner.php - Referral dashboard → Session handler: starts session
referral/dashboard.php - Referral calendar → Session handler: starts session
referral/calendar.php - Guidance logbook → Session handler: starts session
logbook/index.php - Admin authentication → Application database: queries accounts
auth.php - Admin roles → Application database: reads and writes
helperFiles/admin_roles.php - Referral form → Page head assets: includes
referral/index.php - Referral form → Page layout: includes
referral/index.php - Referral form → Page footer: includes
referral/index.php - Message composition → SMTP transport: uses transport
PHPMailer/src/PHPMailer.php - Message composition → Mail exceptions: throws
PHPMailer/src/PHPMailer.php - SMTP transport → OAuth provider: supports OAuth
PHPMailer/src/SMTP.php - OAuth provider → OAuth token interface: implements
PHPMailer/src/OAuth.php - DSN configuration → Message composition: configures
PHPMailer/src/DSNConfigurator.php - POP3 transport → Message composition: uses
PHPMailer/src/POP3.php - Mail configuration → Message composition: creates mail
helperFiles/mail.php - Mail configuration → SMTP transport: uses transport
helperFiles/mail.php - Message composition → SMTP service: sends SMTP
PHPMailer/src/PHPMailer.php