SYLLABUS ADMIN PANEL
====================

This panel converts the hard-coded syllabus list into a database-driven system.

FEATURES
- Admin login
- Upload PDF syllabus
- Category selection: UG, PG, Ph.D., Integrated, UG Pool, PG Pool, Integrated Pool, Multiskill, SEC Pool
- Programme name
- Academic session
- Semester
- Publish / Hide
- Edit
- Delete
- Search
- Public page automatically displays uploaded syllabi
- PDF-only upload, 20 MB limit
- Randomized stored filenames

INSTALLATION
1. Create/import database.sql in your MySQL database.
2. Edit config.php and enter your actual database credentials.
3. Upload the complete folder to your website.
4. Make sure uploads/syllabus/ is writable by PHP (normally 755; use 775 only if your server requires it).
5. Open admin/login.php.
6. Default demo login:
   Username: admin
   Password: ChangeMe@123
   CHANGE THIS PASSWORD IN admin/login.php BEFORE GOING LIVE.
7. Replace your existing hard-coded syllabus page with public_syllabus.php, or copy its database logic into your existing page.

IMPORTANT
- This version intentionally does not import your old hard-coded records automatically.
- Your existing page has UG/PG/Ph.D./Integrated and several pool sections; these categories are pre-created in database.sql.
- Existing PDF files can remain where they are. For old records, either re-upload them through the panel or add/import them into the syllabi table with their existing paths.
- For production, use a stronger authentication system and HTTPS.
