How suportecrede07/safc works
SAFC manages a school science-fair evaluation from institutional and project registration through jury assignment, scoring, ranking, and reporting. Administrators configure criteria, tie-break rules, and dynamic form fields; jurors evaluate assigned work through the web interface or documented Android app. The graph preserves these distinct stages and the analytics/reporting branches. Source excerpts show the web dashboards’ database, ranking, evaluation, and PDF connections; some other links reflect README-documented capabilities because their implementation was not sampled.
Main entry points: admin-dashboard.php Admin dashboard · jurado-dashboard.php Juror dashboard · admin-relatorios.php Report selection · admin-graficos.php Charts and dashboard
Components 22
Access and roles
- Admin login
html/login_adm.php - Juror login
html/login_jurado.php - Juror authentication
php/Jurado.php
Competition management
- Admin dashboard
html/admin-dashboard.php - School records
php/Cadescola.php - Juror records
php/Cadjurado.php - Work records
php/Cadtrabalho.php - Jury assignment
php/AssociarJuradoTrabalho.php - Evaluation configuration
html/admin-config.php - Dynamic fields
php/SincronizarCamposDinamicos.php - Juror email
php/EnviarLinkjurados.php
Evaluation and results
- Juror dashboard
html/jurado-dashboard.php - Evaluation actions
php/SalvarAvaliacao.php - Ranking engine
php/CalculoRanking.php - Android juror app
SAFCApp
Analytics and reports
- Charts and dashboard
html/admin-graficos.php - Report selection
html/admin-relatorios.php - PDF generation
pdf/gerar-pdf-string.php - Report exports
pdf/gerar-zip-stream.php
Other components
- Administrator
- Juror
- MySQL database
Connections 31
- Administrator → Admin login: signs in
- Juror → Juror login: signs in
- Admin login → Admin dashboard: opens panel
- Juror login → Juror authentication: authenticates
php/Jurado.php - Juror authentication → MySQL database: reads credentials
php/Jurado.php - Administrator → Admin dashboard: manages event
- Admin dashboard → MySQL database: queries data
html/admin-dashboard.php - Administrator → School records: registers schools
- Administrator → Juror records: registers jurors
- Administrator → Work records: registers work
- Administrator → Jury assignment: assigns jurors
- Administrator → Evaluation configuration: configures rules
- Evaluation configuration → Dynamic fields: defines fields
- School records → MySQL database: writes records
php/Cadescola.php - Juror records → MySQL database: writes records
php/Cadjurado.php - Work records → MySQL database: writes records
php/Cadtrabalho.php - Jury assignment → MySQL database: stores assignments
php/AssociarJuradoTrabalho.php - Juror → Juror dashboard: opens evaluations
- Android juror app → Juror dashboard: supports evaluation
- Juror dashboard → MySQL database: loads assigned work
html/jurado-dashboard.php - Juror dashboard → Evaluation actions: submits scores
html/jurado-dashboard.php - Evaluation actions → MySQL database: stores evaluations
- Admin dashboard → Ranking engine: loads ranking
html/admin-dashboard.php - Charts and dashboard → Ranking engine: uses calculations
html/admin-graficos.php - Charts and dashboard → MySQL database: queries metrics
html/admin-graficos.php - Administrator → Charts and dashboard: reviews results
- Administrator → Report selection: requests reports
- Report selection → PDF generation: loads PDF generator
html/admin-relatorios.php - PDF generation → MySQL database: reads evaluations
pdf/gerar-pdf-string.php - Report selection → Report exports: requests exports
- Administrator → Juror email: sends access link