# FYP

- Good day learning center by PHP and Mysql
- 28-Mar-2023, 1-Jun-2023
- https://github.com/lahirudanushka/School-Management-System---PHP-MySQL
- http://schoolms.gearhostpreview.com/

### 網站名: Good day learning center by PHP and Mysql

## 時間:

- 4 月 21 完成紅字既 part (milestone 1)
- 6 月 1 完成埋剩餘既部分 (milestone 2)

## Roles of users and the functions

### Administrator

- 4 月 21

  - ~~Update, Add, Delete Subject (4 月 21)~~
  - ~~Update, Add, Delete Schedule (4 月 21)~~
  - ~~Update, Add, Delete Class room (4 月 21)~~
  - ~~Update, Add, Delete Student (4 月 21)~~
  - ~~Update, Add, Delete Teacher (4 月 21)~~
  - ~~Update, Add, Delete User (4 月 21)~~

- 6 月 1 號

  - Update, Add, Delete Attendance
    - ![](img/admin-attendance-list.png)
  - Update, Add, Delete Exam
    - ![](img/admin-exam-list.png)
  - Update, Add, Delete Exam result
    - ![](img/admin-exam-result-list.png)
  - Update, Add Payment info
    - ![](img/admin-payment-info.png)
  - Print payment receipt

    - ![](img/admin-print-recipt.png)

  - Update, Add, Delete Student
    - 加多個 subject 既欄位, 比 student 揀反 subject 喺自己 profile 度.
    - ![](img/admin-edit-student.png)
  - Update, Add, Delete Teacher
    - 加多個 subject 既欄位, 比老師揀反 subject 喺自己 profile 度.
    - ![](img/teacher-edit-teacherinfo.png)
  - Update Add, Delete Schedule
    - schedule 想有 subject name, teacher name, classroom, day, start time and end time.
  - Update, Add, Delete Class room
    - classroom table list 想 show 埋 class room 既 location
    - ![](img/admin-classroom-list.png)

### Teacher:

- 4 月 21

  - ~~Update , Add Student (4 月 21)~~
  - ~~Update Teacher (4 月 21)~~
  - ~~Update Subject (4 月 21)~~
  - ~~Update Add, Delete Schedule (4 月 21)~~
  - ~~View class room (4 月 21)~~

- 6 月 1 號

  - Update ~~Add, Delete~~ Attendance

    1. list schedules ?
    1. user click schedule to update
    1. tick student
    1. click update

  - Update, Add, Delete Exam

  - Add Exam result

    - ![](img/teacher-update-exam-result-list.png)
    - ![](img/teacher-update-exam-result-edit.png)

  - Send Notice to student and Administrator

  - Update , Add Student

    - 可以 update student 既 class room, (classroom 跟 subject)
    - -> update student 既 subject
    - ![](img/teacher-view-student-subject.png)
    - ![](img/teacher-edit-student-subject.png)

  - Update Teacher

    - 加多個 subject 既欄位, 比老師揀反 subject 喺自己 profile 度.
    - ![](img/update-teacher-info-with-subects.png)

  - Update Add, Delete Schedule

    - schedule 想有
      - subject name,
      - teacher name,
      - classroom,
      - day,
      - start time and
      - end time.
      - ![](img/schedule-update-with-teacher-student-display.png)

  - View class room
    - classroom table list 想 show 埋 class room 既 location
      - ![](img/teacher-classroom-table.png)

### Student:

- 4 月 21

  - ~~View Schedule (4 月 21)~~

- 6 月 1 號
  - View Notice
    - ![](img/view-notices.png)
    - ![](img/view-notice.png)
  - View Exam Results
    - http://localhost:3000/showStudentExamResults
    - ![](img/student-exam-results.png)
    - ![](img/student-exam-result.png)

### Login system:

- Registeration (註冊賬號)

  - ![register-triage.png](img/register-triage.png)
  - ![register-student.png](img/register-student.png)
  - ![register-teacher.png](img/register-teacher.png)

- forgot password (忘記密碼)

  - ![](img/recover-password.png) ![](img/password-recovery-email.png)

- 如果打錯賬號密碼會有 error prompt 出來

  - ![](img/wrong-password.png)
  - User 申請完成之後用反自己 account 登入系統.

  - 每個 user 都有自己獨立的 account.

## UI:

- 簡潔就可
- ![](./UI.png)

## DOCS:

- Project Proposal
- Initial Report~
- prototype Demo - 1st version
- 之後六月再做好另外果一半既網站,
  - 先交 document and user guide
- 當 save 或者 edit 完一個 item 既時候,
  - 喺畫面上面 show save successfully or failed.

## schema:

- show tables used
  - e.g. `2023_03_29_171749_create_notice_student_rel.php`

## remarks

- to change logo in printed pdf
