How josemar-rosa/portal works
This is a PHP employee and department-management portal, with role-specific screens for projects, tasks, training, performance, health, communications, and administration. A typical workflow is a user opening a role-specific page, which checks session/token state and uses shared read functions to display domain data; managers review and administer records through their own screens. The tree and excerpts support these capabilities, but the README is empty and many feature pages were not sampled, so several relationships are intentionally omitted rather than inferred.
Main entry points: read_data.php Read dispatcher · check_token.php Session token check · col_projectos.php Employee workspace · projectos.php Department workspace
Components 19
Role workspaces
- Employee workspace
col/col_projectos.php - Department workspace
chef/projectos.php - HR workspace
drhti/projectos.php - Project manager
gestProj/gestproj_projectos.php - Admin workspace
admin/users.php - Media workspace
media/media_noticias.php
Work management
- Project management
includes/projectosData.php - Task management
includes/tarefasData.php - Training records
includes/formacaoData.php - User records
includes/usuarioData.php - Health records
media/media_saude.php - Chat and news
col/col_chat.php
Shared services
- Read dispatcher
includes/read_data.php - Access control
includes/acessos.php - Session token check
includes/check_token.php - Project page body
includes/ca_projectos_body.php
Reporting
- Performance report
relatorio.php - PDF generator
fpdf/fpdf.php
Other components
- MySQL database
Connections 22
- Employee workspace → Read dispatcher: loads data
col/col_projectos.php - Employee workspace → Session token check: checks token
col/col_projectos.php - Employee workspace → Project page body: includes body
col/col_projectos.php - Department workspace → Read dispatcher: loads data
chef/projectos.php - Department workspace → Session token check: checks token
chef/projectos.php - Department workspace → Access control: checks access
chef/projectos.php - HR workspace → Read dispatcher: loads data
drhti/projectos.php - HR workspace → Session token check: checks token
drhti/projectos.php - HR workspace → Access control: checks access
drhti/projectos.php - Project manager → Read dispatcher: loads data
gestProj/gestproj_projectos.php - Project manager → Session token check: checks token
gestProj/gestproj_projectos.php - Admin workspace → Read dispatcher: loads data
admin/users.php - Admin workspace → Session token check: checks token
admin/users.php - Media workspace → Read dispatcher: loads data
media/media_noticias.php - Media workspace → Session token check: checks token
media/media_noticias.php - Read dispatcher → MySQL database: queries
includes/read_data.php - Read dispatcher → User records: uses records
includes/read_data.php - Read dispatcher → Project management: uses project data
includes/read_data.php - Read dispatcher → Training records: uses training data
includes/read_data.php - Read dispatcher → Task management: uses task data
includes/read_data.php - Performance report → PDF generator: generates PDF
relatorio.php - Performance report → MySQL database: queries scores
relatorio.php