How aanatasya/submission_demo works
This is a PHP submission-review system: users log in, authors create and manage article drafts, and editors review submitted articles, approving them or returning them for editing. The PHP pages combine request handling and rendered panels; db.php initializes sessions and the MySQL connection. The excerpts show the article state changes and login routing. They do not show the database schema or the contents of the standalone HTML files, so those details are omitted.
Main entry points: index.php Login · db.php DB connection · author.php Author panel · editor.php Editor panel
Components 8
Access and sessions
- Login
index.php - PHP session
- Logout
logout.php - DB connection
db.php
Author submissions
- Author panel
author.php
Editorial review
- Editor panel
editor.php
Other components
- User
- MySQL database
Connections 16
- User → Login: submits credentials
index.php - Login → MySQL database: checks credentials
index.php - Login → PHP session: sets identity
index.php - Login → Author panel: routes author
index.php - Login → Editor panel: routes editor
index.php - Author panel → MySQL database: manages articles
author.php - Editor panel → MySQL database: reviews articles
editor.php - Author panel → Logout: links to
author.php - Editor panel → Logout: links to
editor.php - Logout → PHP session: destroys session
logout.php - Logout → Login: redirects to
logout.php - Login → DB connection: loads connection
index.php - Author panel → DB connection: loads connection
author.php - Editor panel → DB connection: loads connection
editor.php - DB connection → PHP session: starts session
db.php - DB connection → MySQL database: connects to
db.php