UASA QUEST V1 — FULL PROJECT

Upload folder contents to:
  /public_html/uasa_v1/

IMPORTANT FOR EXISTING LIVE SITE
1. DO NOT overwrite your working config/database.local.php.
2. This ZIP intentionally does not contain database.local.php because your DB password is private.
3. If this is a fresh install:
   - copy config/database.local.example.php -> config/database.local.php
   - fill in the real database username/password
4. Existing database belajars_uasa:
   - do NOT re-import database.sql if your schema/data is already there.
   - the project expects table attempt_answers for server autosave.
5. Fresh install:
   - import sql/database.sql
   - import sql/vertical_slice_fixed_mariadb.sql if it contains the vertical-slice seed
   - configure database.local.php
   - visit setup.php once to create/reset studenttest / 123456
   - DELETE setup.php after successful setup.

MAIN PAGES
login.php
dashboard.php
exam_start.php
exam.php
result.php
correction.php
logout.php

API
api/save_answer.php
api/attempt_status.php
api/submit_attempt.php

INCLUDES
includes/auth.php
includes/functions.php
includes/attempt_helpers.php
includes/marking_engine.php

NOTES
- Exam runner shows one part at a time.
- Server autosave uses attempt_answers.
- Timer is server-backed and continues if student leaves the page.
- Original score is preserved separately from future correction progress.
- correction.php is present and safe, but the full retry/hint workflow is still a scaffold.
- Full 2025/26 paper content is NOT claimed here; the current project is the working V1/vertical-slice build.
