How ericadonjo/site_web_horizon works
SiteWeb is a bilingual school information and inquiry website. Families browse school programs, facilities, staff, daily-life and enrollment information, read reviews, and can submit a contact message. The main page composes the shared header, content, and footer; database-backed counters and reviews are distinct from contact-message persistence. README documents the review-selection handler, but its implementation was not sampled, so its database link is based on that documentation.
Main entry points: index.php Page entry · body.php School and enrollment content · i18n.php Translation lookup · submit_contact.php Message submission
Components 16
School website
- Page entry
index.php - Navigation and language
header.php - Site footer
footer.php - Browser interactions
script.js - Site presentation
style.css
School information
- School and enrollment content
body.php
Family engagement
- Contact form
contact.php - Message submission
submit_contact.php - Review listing
comments_list.php
Data and language
- Translation lookup
i18n.php - French translations
lang/fr.php - English translations
lang/en.php - Database settings
config/mysql.php - PDO connection
config/databaseConnexion.php - School MySQL database
site_ecole .sql
Other components
- Family visitor
Connections 22
- Family visitor → Page entry: requests page
- Page entry → Navigation and language: includes
- Page entry → School and enrollment content: includes
- Page entry → Site footer: includes
- Page entry → Browser interactions: loads script
- Page entry → Site presentation: loads styles
- Navigation and language → Translation lookup: loads lookup
- School and enrollment content → Translation lookup: looks up text
- Site footer → Translation lookup: looks up text
- Translation lookup → French translations: loads language
- Translation lookup → English translations: loads language
- School and enrollment content → PDO connection: queries counts
- Page entry → Database settings: loads settings
- Page entry → PDO connection: opens connection
- Message submission → Database settings: loads settings
- Message submission → PDO connection: opens connection
- PDO connection → School MySQL database: connects to
- School and enrollment content → Review listing: includes listing
- Review listing → School MySQL database: selects reviews
- School and enrollment content → Contact form: includes form
- Browser interactions → Message submission: posts message
- Message submission → School MySQL database: inserts message