This commit is contained in:
louiscklaw
2025-01-31 21:09:49 +08:00
parent 130daf5bae
commit 653422de08
1475 changed files with 330350 additions and 0 deletions

View File

@@ -0,0 +1,263 @@
<h1><a id="user-content-fyp" class="anchor" aria-hidden="true" href="#fyp"><span aria-hidden="true" class="octicon octicon-link"></span></a>FYP</h1>
<ul>
<li>Good day learning center by PHP and Mysql</li>
<li>28-Mar-2023, 1-Jun-2023</li>
<li><a href="https://github.com/lahirudanushka/School-Management-System---PHP-MySQL">https://github.com/lahirudanushka/School-Management-System---PHP-MySQL</a></li>
<li><a href="http://schoolms.gearhostpreview.com/" rel="nofollow">http://schoolms.gearhostpreview.com/</a></li>
</ul>
<h3><a id="user-content-網站名-good-day-learning-center-by-php-and-mysql" class="anchor" aria-hidden="true" href="#網站名-good-day-learning-center-by-php-and-mysql"><span aria-hidden="true" class="octicon octicon-link"></span></a>網站名: Good day learning center by PHP and Mysql</h3>
<h2><a id="user-content-時間" class="anchor" aria-hidden="true" href="#時間"><span aria-hidden="true" class="octicon octicon-link"></span></a>時間:</h2>
<ul>
<li>4 月 21 完成紅字既part (milestone 1)</li>
<li>6 月 1 完成埋剩餘既部分 (milestone 2)</li>
</ul>
<h2><a id="user-content-roles-of-users-and-the-functions" class="anchor" aria-hidden="true" href="#roles-of-users-and-the-functions"><span aria-hidden="true" class="octicon octicon-link"></span></a>Roles of users and the functions</h2>
<h3><a id="user-content-administrator" class="anchor" aria-hidden="true" href="#administrator"><span aria-hidden="true" class="octicon octicon-link"></span></a>Administrator</h3>
<ul>
<li>
<p>4月21</p>
<ul>
<li><del>Update, Add, Delete Subject (4月21)</del></li>
<li><del>Update, Add, Delete Schedule (4月21)</del></li>
<li><del>Update, Add, Delete Class room (4月21)</del></li>
<li><del>Update, Add, Delete Student (4月21)</del></li>
<li><del>Update, Add, Delete Teacher (4月21)</del></li>
<li><del>Update, Add, Delete User (4月21)</del></li>
</ul>
</li>
<li>
<p>6月1號</p>
<ul>
<li>
<p>Update, Add, Delete Attendance</p>
<ul>
<li><a target="_blank" rel="noopener noreferrer" href="img/admin-attendance-list.png"><img src="img/admin-attendance-list.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
<li>
<p>Update, Add, Delete Exam</p>
<ul>
<li><a target="_blank" rel="noopener noreferrer" href="img/admin-exam-list.png"><img src="img/admin-exam-list.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
<li>
<p>Update, Add, Delete Exam result</p>
<ul>
<li><a target="_blank" rel="noopener noreferrer" href="img/admin-exam-result-list.png"><img src="img/admin-exam-result-list.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
<li>
<p>Update, Add Payment info</p>
<ul>
<li><a target="_blank" rel="noopener noreferrer" href="img/admin-payment-info.png"><img src="img/admin-payment-info.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
<li>
<p>Print payment receipt</p>
<ul>
<li><a target="_blank" rel="noopener noreferrer" href="img/admin-print-recipt.png"><img src="img/admin-print-recipt.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
<li>
<p>Update, Add, Delete Student</p>
<ul>
<li>加多個subject既欄位, 比student揀反subject喺自己profile度.</li>
<li><a target="_blank" rel="noopener noreferrer" href="img/admin-edit-student.png"><img src="img/admin-edit-student.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
<li>
<p>Update, Add, Delete Teacher</p>
<ul>
<li>加多個subject既欄位, 比老師揀反subject喺自己profile度.</li>
<li><a target="_blank" rel="noopener noreferrer" href="img/teacher-edit-teacherinfo.png"><img src="img/teacher-edit-teacherinfo.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
<li>
<p>Update Add, Delete Schedule</p>
<ul>
<li>schedule 想有subject name, teacher name, classroom, day, start time and end time.</li>
</ul>
</li>
<li>
<p>Update, Add, Delete Class room</p>
<ul>
<li>classroom table list想show埋class room既location</li>
<li><a target="_blank" rel="noopener noreferrer" href="img/admin-classroom-list.png"><img src="img/admin-classroom-list.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
</ul>
</li>
</ul>
<h3><a id="user-content-teacher" class="anchor" aria-hidden="true" href="#teacher"><span aria-hidden="true" class="octicon octicon-link"></span></a>Teacher:</h3>
<ul>
<li>
<p>4月21</p>
<ul>
<li><del>Update , Add Student (4月21)</del></li>
<li><del>Update Teacher (4月21)</del></li>
<li><del>Update Subject (4月21)</del></li>
<li><del>Update Add, Delete Schedule (4月21)</del></li>
<li><del>View class room (4月21)</del></li>
</ul>
</li>
<li>
<p>6月1號</p>
<ul>
<li>
<p>Update <del>Add, Delete</del> Attendance</p>
<ol>
<li>list schedules ?</li>
<li>user click schedule to update</li>
<li>tick student</li>
<li>click update</li>
</ol>
</li>
<li>
<p>Update, Add, Delete Exam</p>
</li>
<li>
<p>Add Exam result</p>
<ul>
<li><a target="_blank" rel="noopener noreferrer" href="img/teacher-update-exam-result-list.png"><img src="img/teacher-update-exam-result-list.png" alt="" style="max-width: 100%;"></a></li>
<li><a target="_blank" rel="noopener noreferrer" href="img/teacher-update-exam-result-edit.png"><img src="img/teacher-update-exam-result-edit.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
<li>
<p>Send Notice to student and Administrator</p>
</li>
<li>
<p>Update , Add Student</p>
<ul>
<li>可以update student既class room, (classroom 跟 subject)</li>
<li>-&gt; update student既subject</li>
<li><a target="_blank" rel="noopener noreferrer" href="img/teacher-view-student-subject.png"><img src="img/teacher-view-student-subject.png" alt="" style="max-width: 100%;"></a></li>
<li><a target="_blank" rel="noopener noreferrer" href="img/teacher-edit-student-subject.png"><img src="img/teacher-edit-student-subject.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
<li>
<p>Update Teacher</p>
<ul>
<li>加多個subject既欄位, 比老師揀反subject喺自己profile度.</li>
<li><a target="_blank" rel="noopener noreferrer" href="img/update-teacher-info-with-subects.png"><img src="img/update-teacher-info-with-subects.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
<li>
<p>Update Add, Delete Schedule</p>
<ul>
<li>schedule 想有
<ul>
<li>subject name,</li>
<li>teacher name,</li>
<li>classroom,</li>
<li>day,</li>
<li>start time and</li>
<li>end time.</li>
<li><a target="_blank" rel="noopener noreferrer" href="img/schedule-update-with-teacher-student-display.png"><img src="img/schedule-update-with-teacher-student-display.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
</ul>
</li>
<li>
<p>View class room</p>
<ul>
<li>classroom table list想show埋class room既location
<ul>
<li><a target="_blank" rel="noopener noreferrer" href="img/teacher-classroom-table.png"><img src="img/teacher-classroom-table.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h3><a id="user-content-student" class="anchor" aria-hidden="true" href="#student"><span aria-hidden="true" class="octicon octicon-link"></span></a>Student:</h3>
<ul>
<li>
<p>4月21</p>
<ul>
<li><del>View Schedule (4月21)</del></li>
</ul>
</li>
<li>
<p>6月1號</p>
<ul>
<li>View Notice
<ul>
<li><a target="_blank" rel="noopener noreferrer" href="img/view-notices.png"><img src="img/view-notices.png" alt="" style="max-width: 100%;"></a></li>
<li><a target="_blank" rel="noopener noreferrer" href="img/view-notice.png"><img src="img/view-notice.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
<li>View Exam Results
<ul>
<li><a href="http://localhost:3000/showStudentExamResults" rel="nofollow">http://localhost:3000/showStudentExamResults</a></li>
<li><a target="_blank" rel="noopener noreferrer" href="img/student-exam-results.png"><img src="img/student-exam-results.png" alt="" style="max-width: 100%;"></a></li>
<li><a target="_blank" rel="noopener noreferrer" href="img/student-exam-result.png"><img src="img/student-exam-result.png" alt="" style="max-width: 100%;"></a></li>
</ul>
</li>
</ul>
</li>
</ul>
<h3><a id="user-content-login-system" class="anchor" aria-hidden="true" href="#login-system"><span aria-hidden="true" class="octicon octicon-link"></span></a>Login system:</h3>
<ul>
<li>
<p>Registeration (註冊賬號)</p>
<ul>
<li><a target="_blank" rel="noopener noreferrer" href="img/register-triage.png"><img src="img/register-triage.png" alt="register-triage.png" style="max-width: 100%;"></a></li>
<li><a target="_blank" rel="noopener noreferrer" href="img/register-student.png"><img src="img/register-student.png" alt="register-student.png" style="max-width: 100%;"></a></li>
<li><a target="_blank" rel="noopener noreferrer" href="img/register-teacher.png"><img src="img/register-teacher.png" alt="register-teacher.png" style="max-width: 100%;"></a></li>
</ul>
</li>
<li>
<p>forgot password (忘記密碼)</p>
<ul>
<li>
<a target="_blank" rel="noopener noreferrer" href="img/recover-password.png"><img src="img/recover-password.png" alt="" style="max-width: 100%;"></a> <a target="_blank" rel="noopener noreferrer" href="img/password-recovery-email.png"><img src="img/password-recovery-email.png" alt="" style="max-width: 100%;"></a>
</li>
</ul>
</li>
<li>
<p>如果打錯賬號密碼會有 error prompt 出來</p>
<ul>
<li>
<p><a target="_blank" rel="noopener noreferrer" href="img/wrong-password.png"><img src="img/wrong-password.png" alt="" style="max-width: 100%;"></a></p>
</li>
<li>
<p>User申請完成之後用反自己account登入系統.</p>
</li>
<li>
<p>每個user都有自己獨立的account.</p>
</li>
</ul>
</li>
</ul>
<h2><a id="user-content-ui" class="anchor" aria-hidden="true" href="#ui"><span aria-hidden="true" class="octicon octicon-link"></span></a>UI:</h2>
<ul>
<li>簡潔就可</li>
<li><a target="_blank" rel="noopener noreferrer" href="./UI.png"><img src="./UI.png" alt="" style="max-width: 100%;"></a></li>
</ul>
<h2><a id="user-content-docs" class="anchor" aria-hidden="true" href="#docs"><span aria-hidden="true" class="octicon octicon-link"></span></a>DOCS:</h2>
<ul>
<li>Project Proposal</li>
<li>Initial Report~</li>
<li>prototype Demo - 1st version</li>
<li>之後六月再做好另外果一半既網站,
<ul>
<li>先交document and user guide</li>
</ul>
</li>
<li>當save或者edit完一個item既時候,
<ul>
<li>喺畫面上面show save successfully or failed.</li>
</ul>
</li>
</ul>
<h2><a id="user-content-schema" class="anchor" aria-hidden="true" href="#schema"><span aria-hidden="true" class="octicon octicon-link"></span></a>schema:</h2>
<ul>
<li>show tables used
<ul>
<li>e.g. <code>2023_03_29_171749_create_notice_student_rel.php</code>
</li>
</ul>
</li>
</ul>

View File

@@ -0,0 +1,165 @@
# 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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -ex
# sudo npm install markdown-to-html -g
github-markdown digest.md > digest.html

View File

@@ -0,0 +1,12 @@
{
"name": "_hidden",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"gitUpdate": "git add . && git commit -m\"update docs,\""
},
"keywords": [],
"author": "",
"license": "ISC"
}

View File

@@ -0,0 +1,10 @@
<?php
$a = [1,2,3,4,5];
if (in_array(1, $a)){
echo 'helloworld 1';
}
if (in_array(10, $a)){
echo 'helloworld 10';
}

View File

@@ -0,0 +1,10 @@
<?php
$a = [1,2,3,4,5];
if (in_array(1, $a)){
echo 'helloworld 1';
}
if (in_array(10, $a)){
echo 'helloworld 10';
}

Binary file not shown.

View File

@@ -0,0 +1,48 @@
# for Teacher update exam result
teacher (`amy_tsui@school.com` / `amy_tsui`)
student (`john_ho@school.com/john_ho`)
1. teacher: add new exam `tourism and hospital mid term exam`
- add remarks as well `tourism and hospital mid term exam`
1. teacher: edit just created exam -> add members
1. teacher: add student `john_ho@school.com`
- that means john_ho@school.com in the exam
1. change to student view (`john_ho@school.com/john_ho`)
1. student: look exam overview show on dashboard
- 1 exam exist
1. 現實世界 __wait for exam complete__
1. 咁呀 john_ho 等緊 result 喇喎
1. 咁呢result 就出左黎嘞...
1. teacher:
- click exam result -> Exam `tourism and hospital mid term exam`
- update result of `john_ho@school.com` -> 78
1. student: click exam result
- refresh exam result
- found Exam `tourism and hospital mid term exam` result
1. 咁如果老師踼第二個 test 去比阿 `john_ho@school.com`
1. teacher: click exam on sidebar
- click science mid term
- click `edit`
- add `john_ho@school.com`
- click `save`
- click `exam results` on sidebar
- click `update results` on Science mid term
- update `john_ho@school.com` exam result.
- click `save`
-
1. student: click `exam results` on sidebar
- `Science mid term` and result updated.
1. end

Binary file not shown.

View File

@@ -0,0 +1,23 @@
# Teacher send notice to student
teacher (`amy_tsui@school.com` / `amy_tsui`)
student (`john_ho@school.com/john_ho`)
1. teacher: add new notice
1. add new notice
- select `john_ho@school.com` from student list
- fill subject `A warm greetings from teacher`(__REQUIRED !!!__)
- fill content `Hello welcome to the class` (__REQUIRED !!!__)
1. click `add` button
1. student:
1. on dashboard page
- new notice found (notice count on left side bar notice button +1)
1. click notice button on left side bar
1. read new notice
- click read button
1. click back
1. new notice remains = 1
1. end

Binary file not shown.

View File

@@ -0,0 +1,45 @@
# Teacher take attendance
## characters:
1. teacher (`amy_tsui@school.com` / `amy_tsui`)
1. student_john (`john_ho@school.com/john_ho`)
1. student_sarah (`sarah_fung@school.com/sarah_fung`)
## steps:
1. teacher: click left sidebar `Apply schedule`
1. tick `Design and Technology`
1. click `save`
1. back to dashboard
1. `schedule overview` -> `Design and Technology` have been added !
1. student_john: click left sidebar `Apply subject`
1. tick `Design and Technology`
1. click `save`
1. back to dashboard
1. `schedule overview` -> `Design and Technology` have been added !
1. student_sarah: click left sidebar `Apply subject`
1. tick `Design and Technology`
1. click `save`
1. back to dashboard
1. `schedule overview` -> `Design and Technology` have been added !
1. teacher: `Applicable schedule`
1. find `Subject: Design and Technology Course`
1. click `update attendance`
1. tick `present`
1. click `save`
1. redirect to `Applicable schedule`
1. click `view attendance`
1. `john_ho@school.com` present
1. `sarah_fung@school.com` not present
1. end