├── source ├── logo.jpg ├── CSS │ └── style.css └── js │ └── loginValidate.js ├── module ├── images │ ├── ad-123-0.jpg │ ├── ad-123-1.jpg │ ├── ad-123-2.jpg │ ├── ad-123-3.jpg │ ├── st-123-1.jpg │ ├── st-123-3.jpg │ ├── st-124-1.jpg │ ├── st-125-1.jpg │ ├── st-126-1.jpg │ ├── sta-123-1.jpg │ ├── sta-123-3.jpg │ ├── sta-124-1.jpg │ ├── sta-125-1.jpg │ ├── te-123-1.jpg │ ├── te-124-1.jpg │ ├── te-125-1.jpg │ ├── te-126-1.jpg │ └── te-127-1.jpg ├── admin │ ├── JS │ │ ├── currentDate.js │ │ ├── login_logout.js │ │ ├── getClassName.js │ │ ├── searchStaff.js │ │ ├── searchCourse.js │ │ ├── searchParent.js │ │ ├── searchStudent.js │ │ ├── searchTeacher.js │ │ ├── searchPayment.js │ │ ├── searchForUpdateStaff.js │ │ ├── searchForUpdateStudent.js │ │ ├── searchForUpdateParent.js │ │ ├── searchForUpdateTeacher.js │ │ ├── searchForUpdateStaffSalary.js │ │ ├── searchForUpdateExamSchedule.js │ │ ├── searchForUpdateTeacherSalary.js │ │ ├── newParentValidation.js │ │ ├── newTeacherValidation.js │ │ ├── newStaffValidation.js │ │ ├── newStudentValidation.js │ │ └── getCourseIdAndNAme.js │ ├── logout.php │ ├── deletePaymentableData.php │ ├── main.php │ ├── myattendancestaffall.php │ ├── myattendanceteacherall.php │ ├── searchClassName.php │ ├── myattendancestaffabsentall.php │ ├── myattendanceteacherabsentall.php │ ├── deleteCourseTableData.php │ ├── attendStaff.php │ ├── attendTeacher.php │ ├── myattendancestaffthismonth.php │ ├── myattendanceteacherthismonth.php │ ├── searchCourseName.php │ ├── getTeacherNameid.php │ ├── deleteParentTableData.php │ ├── myattendancestaffabsentthismonth.php │ ├── myattendanceteacherabsentthismonth.php │ ├── deleteStaffTableData.php │ ├── deleteStudentTableData.php │ ├── deleteTeacherTableData.php │ ├── searchTeacher.php │ ├── searchPayment.php │ ├── searchCourse.php │ ├── searchParent.php │ ├── searchForUpdateExamSchedule.php │ ├── searchForUpdateStaffSalary.php │ ├── searchForUpdateTeacherSalary.php │ ├── searchStaff.php │ ├── submitStudentCourse.php │ ├── searchStudent.php │ ├── examSchedule.php │ ├── searchForUpdateParent.php │ ├── course.php │ ├── attendance.php │ ├── searchForUpdateTeacher.php │ ├── searchForUpdateStaff.php │ ├── manageStaff.php │ ├── manageParent.php │ ├── manageStudent.php │ ├── manageTeacher.php │ ├── index.php │ ├── searchForUpdateStudent.php │ ├── payment.php │ ├── viewExamSchedule.php │ ├── report.php │ ├── deleteCourse.php │ ├── staffAttendance.php │ ├── teacherAttendance.php │ ├── salary.php │ └── deletePayment.php ├── parent │ ├── JS │ │ ├── currentDate.js │ │ ├── login_logout.js │ │ └── modifyValidate.js │ ├── logout.php │ ├── modifysave.php │ ├── main.php │ ├── myattendanceall.php │ ├── mychildclass.php │ ├── mycourse.php │ ├── mycourseinfo.php │ ├── myattendanceabsentall.php │ ├── mycoursereportinfo.php │ ├── myattendancethismonth.php │ ├── myattendanceabsentthismonth.php │ ├── mychildpaymentinfo.php │ ├── mycourseteacher.php │ ├── mychildinfo.php │ ├── checkchild.php │ ├── modify.php │ ├── childpayment.php │ ├── index.php │ ├── studentClassCourse.js │ ├── Attendance.js │ ├── childcourse.php │ └── childreport.php ├── staff │ ├── JS │ │ ├── currentDate.js │ │ ├── login_logout.js │ │ └── modifyValidate.js │ ├── logout.php │ ├── myattendanceall.php │ ├── main.php │ ├── myattendanceabsentall.php │ ├── myattendancethismonth.php │ ├── modifysave.php │ ├── myattendanceabsentthismonth.php │ ├── staffAttendance.js │ ├── salary.php │ ├── index.php │ └── attendance.php ├── student │ ├── JS │ │ ├── currentDate.js │ │ ├── login_logout.js │ │ ├── modifyValidate.js │ │ ├── searchStudent.js │ │ ├── newTeacherValidation.js │ │ └── newStudentValidation.js │ ├── logout.php │ ├── modifysave.php │ ├── myattendanceall.php │ ├── main.php │ ├── mycourseinfo.php │ ├── myattendanceabsentall.php │ ├── mycourse.php │ ├── getcurrentexamschedule.php │ ├── myattendancethismonth.php │ ├── myattendanceabsentthismonth.php │ ├── mycourseteacher.php │ ├── studentAttendance.js │ ├── studentClassCourse.js │ ├── modify.php │ ├── exam.php │ ├── course.php │ ├── attendance.php │ └── index.php └── teacher │ ├── JS │ ├── currentDate.js │ ├── login_logout.js │ ├── searchStudent.js │ ├── searchTeacher.js │ ├── searchForUpdateTeacher.js │ └── newTeacherValidation.js │ ├── Updategrade.php │ ├── logout.php │ ├── myattendanceall.php │ ├── myc.php │ ├── main.php │ ├── mycourseinfo.php │ ├── mycourse.php │ ├── stattendanceall.php │ ├── myattendanceabsentall.php │ ├── mystudents.php │ ├── mystudent.php │ ├── myattendancethismonth.php │ ├── stattendanceabsentall.php │ ├── stattendancethismonth.php │ ├── reportupdate.php │ ├── myattendanceabsentthismonth.php │ ├── stattendanceabsentthismonth.php │ ├── exam.php │ ├── courseindex.php │ ├── makeattendance.php │ ├── succeed.php │ ├── mycourseteacher.php │ ├── viewProfile.php │ ├── courses.php │ ├── searchForUpdateTeacher.php │ ├── grade.php │ ├── Attendance.js │ ├── stdatt.php │ ├── salary.php │ ├── course.php │ ├── index.php │ ├── searchStudent.php │ ├── stdatt.js │ ├── updateTeacher.php │ ├── updateatt.php │ ├── deleteatt.php │ ├── studentClassCourse.js │ ├── atn.php │ ├── deleterep.php.bak │ ├── report.php │ ├── updateAttendence.php │ ├── attendance.php │ ├── viewAttendance.php │ └── deleterep.php ├── service ├── mysqlcon.php └── check.access.php ├── .gitattributes └── index.php /source/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/source/logo.jpg -------------------------------------------------------------------------------- /module/images/ad-123-0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/ad-123-0.jpg -------------------------------------------------------------------------------- /module/images/ad-123-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/ad-123-1.jpg -------------------------------------------------------------------------------- /module/images/ad-123-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/ad-123-2.jpg -------------------------------------------------------------------------------- /module/images/ad-123-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/ad-123-3.jpg -------------------------------------------------------------------------------- /module/images/st-123-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/st-123-1.jpg -------------------------------------------------------------------------------- /module/images/st-123-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/st-123-3.jpg -------------------------------------------------------------------------------- /module/images/st-124-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/st-124-1.jpg -------------------------------------------------------------------------------- /module/images/st-125-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/st-125-1.jpg -------------------------------------------------------------------------------- /module/images/st-126-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/st-126-1.jpg -------------------------------------------------------------------------------- /module/images/sta-123-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/sta-123-1.jpg -------------------------------------------------------------------------------- /module/images/sta-123-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/sta-123-3.jpg -------------------------------------------------------------------------------- /module/images/sta-124-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/sta-124-1.jpg -------------------------------------------------------------------------------- /module/images/sta-125-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/sta-125-1.jpg -------------------------------------------------------------------------------- /module/images/te-123-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/te-123-1.jpg -------------------------------------------------------------------------------- /module/images/te-124-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/te-124-1.jpg -------------------------------------------------------------------------------- /module/images/te-125-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/te-125-1.jpg -------------------------------------------------------------------------------- /module/images/te-126-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/te-126-1.jpg -------------------------------------------------------------------------------- /module/images/te-127-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Prosen-Ghosh/School-Management-System-With-PHP/HEAD/module/images/te-127-1.jpg -------------------------------------------------------------------------------- /module/admin/JS/currentDate.js: -------------------------------------------------------------------------------- 1 | function date(){ 2 | var date = new Date(); 3 | document.getElementById('date').innerHTML = date; 4 | } 5 | -------------------------------------------------------------------------------- /module/parent/JS/currentDate.js: -------------------------------------------------------------------------------- 1 | function date(){ 2 | var date = new Date(); 3 | document.getElementById('date').innerHTML = date; 4 | } 5 | -------------------------------------------------------------------------------- /module/staff/JS/currentDate.js: -------------------------------------------------------------------------------- 1 | function date(){ 2 | var date = new Date(); 3 | document.getElementById('date').innerHTML = date; 4 | } 5 | -------------------------------------------------------------------------------- /module/student/JS/currentDate.js: -------------------------------------------------------------------------------- 1 | function date(){ 2 | var date = new Date(); 3 | document.getElementById('date').innerHTML = date; 4 | } 5 | -------------------------------------------------------------------------------- /module/teacher/JS/currentDate.js: -------------------------------------------------------------------------------- 1 | function date(){ 2 | var date = new Date(); 3 | document.getElementById('date').innerHTML = date; 4 | } 5 | -------------------------------------------------------------------------------- /module/teacher/Updategrade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /module/admin/logout.php: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /module/parent/logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /module/staff/logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /module/student/logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /module/teacher/logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /module/admin/JS/login_logout.js: -------------------------------------------------------------------------------- 1 | function changemouseover(_this){ 2 | _this.textContent = "Logout"; 3 | } 4 | function changemouseout(_this,name){ 5 | _this.textContent = name; 6 | } 7 | -------------------------------------------------------------------------------- /module/staff/JS/login_logout.js: -------------------------------------------------------------------------------- 1 | function changemouseover(_this){ 2 | _this.textContent = "Logout"; 3 | } 4 | function changemouseout(_this,name){ 5 | _this.textContent = name; 6 | } 7 | -------------------------------------------------------------------------------- /module/parent/JS/login_logout.js: -------------------------------------------------------------------------------- 1 | function changemouseover(_this){ 2 | _this.textContent = "Logout"; 3 | } 4 | function changemouseout(_this,name){ 5 | _this.textContent = name; 6 | } 7 | -------------------------------------------------------------------------------- /module/student/JS/login_logout.js: -------------------------------------------------------------------------------- 1 | function changemouseover(_this){ 2 | _this.textContent = "Logout"; 3 | } 4 | function changemouseout(_this,name){ 5 | _this.textContent = name; 6 | } 7 | -------------------------------------------------------------------------------- /module/teacher/JS/login_logout.js: -------------------------------------------------------------------------------- 1 | function changemouseover(_this){ 2 | _this.textContent = "Logout"; 3 | } 4 | function changemouseout(_this,name){ 5 | _this.textContent = name; 6 | } 7 | -------------------------------------------------------------------------------- /module/admin/deletePaymentableData.php: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /service/mysqlcon.php: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /module/parent/JS/modifyValidate.js: -------------------------------------------------------------------------------- 1 | function modifyValidate() { 2 | 3 | var pass = document.getElementById('password').value; 4 | 5 | if(pass == null || pass == ""){ 6 | alert("Password must be filled out"); 7 | return false; 8 | } 9 | 10 | else{ 11 | return true; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /module/parent/modifysave.php: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /module/student/JS/modifyValidate.js: -------------------------------------------------------------------------------- 1 | function modifyValidate() { 2 | 3 | var pass = document.getElementById('password').value; 4 | 5 | if(pass == null || pass == ""){ 6 | alert("Password must be filled out"); 7 | return false; 8 | } 9 | 10 | else{ 11 | return true; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /module/student/modifysave.php: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /module/admin/main.php: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /module/staff/myattendanceall.php: -------------------------------------------------------------------------------- 1 | Attend All Dates:"; 6 | while($r=mysql_fetch_array($resmon)) 7 | { 8 | echo "<",$r['date'],""; 9 | 10 | } 11 | ?> 12 | -------------------------------------------------------------------------------- /module/student/myattendanceall.php: -------------------------------------------------------------------------------- 1 | Attend All Dates:"; 6 | while($r=mysql_fetch_array($resmon)) 7 | { 8 | echo "<",$r['date'],""; 9 | 10 | } 11 | ?> 12 | -------------------------------------------------------------------------------- /module/teacher/myattendanceall.php: -------------------------------------------------------------------------------- 1 | Attend All Dates:"; 6 | while($r=mysql_fetch_array($resmon)) 7 | { 8 | echo "<",$r['date'],""; 9 | 10 | } 11 | ?> 12 | -------------------------------------------------------------------------------- /module/teacher/myc.php: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /module/staff/main.php: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /module/student/main.php: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /module/teacher/main.php: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /module/parent/main.php: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /module/parent/myattendanceall.php: -------------------------------------------------------------------------------- 1 | Attend All Dates:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo "<",$r['date'],""; 10 | 11 | } 12 | ?> 13 | -------------------------------------------------------------------------------- /module/admin/myattendancestaffall.php: -------------------------------------------------------------------------------- 1 | Attend All Dates:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo "<",$r['date'],""; 10 | 11 | } 12 | ?> 13 | -------------------------------------------------------------------------------- /module/admin/myattendanceteacherall.php: -------------------------------------------------------------------------------- 1 | Attend All Dates:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo "<",$r['date'],""; 10 | 11 | } 12 | ?> 13 | -------------------------------------------------------------------------------- /module/student/mycourseinfo.php: -------------------------------------------------------------------------------- 1 | Grade "; 10 | while($r=mysql_fetch_array($resc)) 11 | { 12 | echo " ",$r['grade'],""; 13 | 14 | } 15 | 16 | 17 | ?> 18 | -------------------------------------------------------------------------------- /module/teacher/mycourseinfo.php: -------------------------------------------------------------------------------- 1 | Grade "; 10 | while($r=mysql_fetch_array($resc)) 11 | { 12 | echo " ",$r['grade'],""; 13 | 14 | } 15 | 16 | 17 | ?> 18 | -------------------------------------------------------------------------------- /module/admin/searchClassName.php: -------------------------------------------------------------------------------- 1 | SELECT AN OPTION"; 5 | $sql = "SELECT * FROM class"; 6 | $res = mysql_query($sql); 7 | while($row = mysql_fetch_array($res)){ 8 | $string .= ""; 9 | } 10 | echo $string; 11 | ?> 12 | -------------------------------------------------------------------------------- /module/teacher/mycourse.php: -------------------------------------------------------------------------------- 1 | ',$r['name'],''; 12 | 13 | } 14 | 15 | 16 | ?> 17 | -------------------------------------------------------------------------------- /module/teacher/stattendanceall.php: -------------------------------------------------------------------------------- 1 | Attend All Dates:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo "<",$r['date'],""; 10 | 11 | } 12 | ?> 13 | -------------------------------------------------------------------------------- /module/staff/myattendanceabsentall.php: -------------------------------------------------------------------------------- 1 | Absent All Dates:"; 6 | while($r=mysql_fetch_array($resmon)) 7 | { 8 | echo "<",$r['date'],""; 9 | 10 | } 11 | ?> 12 | -------------------------------------------------------------------------------- /module/admin/JS/getClassName.js: -------------------------------------------------------------------------------- 1 | function getClassNameAndId(){ 2 | var xhttp; 3 | xhttp = new XMLHttpRequest(); 4 | xhttp.onreadystatechange = function() { 5 | if (xhttp.readyState == 4 && xhttp.status == 200) { 6 | document.getElementById("className").innerHTML = xhttp.responseText; 7 | } 8 | }; 9 | xhttp.open("GET", "searchClassName.php?",true); 10 | xhttp.send(); 11 | } 12 | -------------------------------------------------------------------------------- /module/parent/mychildclass.php: -------------------------------------------------------------------------------- 1 | ',$cln['name'],''; 11 | 12 | } 13 | 14 | 15 | ?> 16 | 17 | 18 | -------------------------------------------------------------------------------- /module/student/myattendanceabsentall.php: -------------------------------------------------------------------------------- 1 | Absent All Dates:"; 6 | while($r=mysql_fetch_array($resmon)) 7 | { 8 | echo "<",$r['date'],""; 9 | 10 | } 11 | ?> 12 | -------------------------------------------------------------------------------- /module/teacher/myattendanceabsentall.php: -------------------------------------------------------------------------------- 1 | Absent All Dates:"; 6 | while($r=mysql_fetch_array($resmon)) 7 | { 8 | echo "<",$r['date'],""; 9 | 10 | } 11 | ?> 12 | -------------------------------------------------------------------------------- /module/teacher/mystudents.php: -------------------------------------------------------------------------------- 1 | ',$r['name'],''; 13 | 14 | } 15 | 16 | 17 | ?> 18 | -------------------------------------------------------------------------------- /module/parent/mycourse.php: -------------------------------------------------------------------------------- 1 | ',$r['name'],''; 13 | 14 | } 15 | 16 | 17 | ?> 18 | -------------------------------------------------------------------------------- /module/parent/mycourseinfo.php: -------------------------------------------------------------------------------- 1 | Grade "; 10 | while($r=mysql_fetch_array($resc)) 11 | { 12 | echo " ",$r['grade'],""; 13 | 14 | } 15 | 16 | 17 | ?> 18 | -------------------------------------------------------------------------------- /module/teacher/mystudent.php: -------------------------------------------------------------------------------- 1 | ',$r['name'],''; 13 | 14 | } 15 | 16 | 17 | ?> 18 | -------------------------------------------------------------------------------- /module/student/mycourse.php: -------------------------------------------------------------------------------- 1 | ',$r['name'],''; 12 | 13 | } 14 | 15 | 16 | ?> 17 | -------------------------------------------------------------------------------- /module/parent/myattendanceabsentall.php: -------------------------------------------------------------------------------- 1 | Absent All Dates:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo "<",$r['date'],""; 10 | 11 | } 12 | ?> 13 | -------------------------------------------------------------------------------- /module/admin/myattendancestaffabsentall.php: -------------------------------------------------------------------------------- 1 | Absent All Dates:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo "<",$r['date'],""; 10 | 11 | } 12 | ?> 13 | -------------------------------------------------------------------------------- /module/parent/mycoursereportinfo.php: -------------------------------------------------------------------------------- 1 | Report Message "; 10 | while($r=mysql_fetch_array($resc)) 11 | { 12 | echo " ",$r['message'],""; 13 | 14 | } 15 | 16 | 17 | ?> 18 | -------------------------------------------------------------------------------- /module/staff/myattendancethismonth.php: -------------------------------------------------------------------------------- 1 | <Attend Current Month Date:"; 6 | while($r=mysql_fetch_array($resmon)) 7 | { 8 | echo "",$r['date'],""; 9 | 10 | } 11 | ?> 12 | -------------------------------------------------------------------------------- /module/student/getcurrentexamschedule.php: -------------------------------------------------------------------------------- 1 | Exam Date:Exam Time:"; 10 | while($r=mysql_fetch_array($resc)) 11 | { 12 | echo "",$r['examdate'],"",$r['time'],""; 13 | 14 | } 15 | 16 | 17 | ?> 18 | -------------------------------------------------------------------------------- /module/student/myattendancethismonth.php: -------------------------------------------------------------------------------- 1 | <Attend Current Month Date:"; 6 | while($r=mysql_fetch_array($resmon)) 7 | { 8 | echo "",$r['date'],""; 9 | 10 | } 11 | ?> 12 | -------------------------------------------------------------------------------- /module/teacher/myattendancethismonth.php: -------------------------------------------------------------------------------- 1 | <Attend Current Month Date:"; 6 | while($r=mysql_fetch_array($resmon)) 7 | { 8 | echo "",$r['date'],""; 9 | 10 | } 11 | ?> 12 | -------------------------------------------------------------------------------- /module/admin/myattendanceteacherabsentall.php: -------------------------------------------------------------------------------- 1 | Absent All Dates:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo "<",$r['date'],""; 10 | 11 | } 12 | ?> 13 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /module/teacher/stattendanceabsentall.php: -------------------------------------------------------------------------------- 1 | Absent All Dates:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo "<",$r['date'],""; 10 | 11 | } 12 | ?> 13 | -------------------------------------------------------------------------------- /module/admin/deleteCourseTableData.php: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /module/admin/attendStaff.php: -------------------------------------------------------------------------------- 1 | 16 | -------------------------------------------------------------------------------- /module/parent/myattendancethismonth.php: -------------------------------------------------------------------------------- 1 | Attend Current Month Date:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo $id,"
"; 10 | echo "",$r['date'],""; 11 | 12 | } 13 | ?> 14 | -------------------------------------------------------------------------------- /module/admin/attendTeacher.php: -------------------------------------------------------------------------------- 1 | 16 | -------------------------------------------------------------------------------- /module/admin/myattendancestaffthismonth.php: -------------------------------------------------------------------------------- 1 | Attend Current Month Date:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo $id,"
"; 10 | echo "",$r['date'],""; 11 | 12 | } 13 | ?> 14 | -------------------------------------------------------------------------------- /module/admin/myattendanceteacherthismonth.php: -------------------------------------------------------------------------------- 1 | Attend Current Month Date:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo $id,"
"; 10 | echo "",$r['date'],""; 11 | 12 | } 13 | ?> 14 | -------------------------------------------------------------------------------- /module/teacher/stattendancethismonth.php: -------------------------------------------------------------------------------- 1 | <Attend Current Month Date:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo "",$r['date'],""; 10 | 11 | } 12 | ?> 13 | -------------------------------------------------------------------------------- /module/staff/modifysave.php: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /module/teacher/reportupdate.php: -------------------------------------------------------------------------------- 1 | 24 | -------------------------------------------------------------------------------- /module/admin/searchCourseName.php: -------------------------------------------------------------------------------- 1 | SELECT AN OPTION"; 8 | $sql = "SELECT * FROM availablecourse WHERE classid = '$ar[0]'"; 9 | $res = mysql_query($sql); 10 | while($row = mysql_fetch_array($res)){ 11 | $string .= ""; 12 | } 13 | echo $string; 14 | ?> 15 | -------------------------------------------------------------------------------- /module/admin/getTeacherNameid.php: -------------------------------------------------------------------------------- 1 | SELECT AN OPTION"; 6 | $sql="SELECT * FROM teachers WHERE id = (SELECT teacherid FROM takencoursebyteacher WHERE courseid = '$searchKey')"; 7 | $res = mysql_query($sql); 8 | while($row = mysql_fetch_array($res)){ 9 | echo $row['id'].'
'; 10 | $string .= ""; 11 | } 12 | echo $string; 13 | ?> 14 | -------------------------------------------------------------------------------- /module/admin/JS/searchStaff.js: -------------------------------------------------------------------------------- 1 | function getStaff(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("staffList").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("staffList").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchStaff.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/admin/JS/searchCourse.js: -------------------------------------------------------------------------------- 1 | function getCourse(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("courseList").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("courseList").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchCourse.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/admin/JS/searchParent.js: -------------------------------------------------------------------------------- 1 | function getParent(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("parentList").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("parentList").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchParent.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/admin/JS/searchStudent.js: -------------------------------------------------------------------------------- 1 | function getStudent(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("txtHint").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("studentList").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchStudent.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/admin/JS/searchTeacher.js: -------------------------------------------------------------------------------- 1 | function getTeacher(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("txtHint").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("teacherList").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchTeacher.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/admin/JS/searchPayment.js: -------------------------------------------------------------------------------- 1 | function getPayment(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("paymentList").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("paymentList").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchPayment.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/student/JS/searchStudent.js: -------------------------------------------------------------------------------- 1 | function getStudent(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("txtHint").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("studentList").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchStudent.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/teacher/JS/searchStudent.js: -------------------------------------------------------------------------------- 1 | function getStudent(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("txtHint").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("studentList").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchStudent.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/teacher/JS/searchTeacher.js: -------------------------------------------------------------------------------- 1 | function getTeacher(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("txtHint").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("teacherList").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchTeacher.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/staff/myattendanceabsentthismonth.php: -------------------------------------------------------------------------------- 1 | <Absent Date:"; 6 | while($r=mysql_fetch_array($resmon)) 7 | { 8 | echo "",$r['date'],""; 9 | 10 | } 11 | ?> 12 | -------------------------------------------------------------------------------- /module/admin/JS/searchForUpdateStaff.js: -------------------------------------------------------------------------------- 1 | function getStaffForUpdate(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("updateStaffData").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("updateStaffData").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchForUpdateStaff.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/admin/JS/searchForUpdateStudent.js: -------------------------------------------------------------------------------- 1 | function getStudentForUpdate(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("txtHint").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("updateStudentData").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchForUpdateStudent.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/student/myattendanceabsentthismonth.php: -------------------------------------------------------------------------------- 1 | <Absent Date:"; 6 | while($r=mysql_fetch_array($resmon)) 7 | { 8 | echo "",$r['date'],""; 9 | 10 | } 11 | ?> 12 | -------------------------------------------------------------------------------- /module/teacher/JS/searchForUpdateTeacher.js: -------------------------------------------------------------------------------- 1 | function getStudentForUpdate(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("txtHint").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("updateStudentData").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchForUpdateStudent.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/teacher/myattendanceabsentthismonth.php: -------------------------------------------------------------------------------- 1 | <Absent Date:"; 6 | while($r=mysql_fetch_array($resmon)) 7 | { 8 | echo "",$r['date'],""; 9 | 10 | } 11 | ?> 12 | -------------------------------------------------------------------------------- /module/admin/JS/searchForUpdateParent.js: -------------------------------------------------------------------------------- 1 | function getParentForUpdate(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("updateParentData").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("updateParentData").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchForUpdateParent.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/admin/deleteParentTableData.php: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /source/CSS/style.css: -------------------------------------------------------------------------------- 1 | .divtopcorner{ 2 | position:absolute; 3 | top:0px; 4 | right: 150px; 5 | color:black; 6 | text-align:center; 7 | padding:5px; 8 | } 9 | .header{ 10 | color:black; 11 | text-align:center; 12 | padding:5px; 13 | } 14 | .manulist{ 15 | display:inline; 16 | left:100px; 17 | } 18 | .menulista { 19 | background-color: black; 20 | color: white; 21 | padding: 10px 20px; 22 | text-decoration: none; 23 | border-radius: 4px 4px 0 0; 24 | } 25 | 26 | .menulista:hover { 27 | background-color: orange; 28 | } 29 | -------------------------------------------------------------------------------- /module/admin/JS/searchForUpdateTeacher.js: -------------------------------------------------------------------------------- 1 | function getTeacherForUpdate(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("updateTeacherData").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("updateTeacherData").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchForUpdateTeacher.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/admin/JS/searchForUpdateStaffSalary.js: -------------------------------------------------------------------------------- 1 | function getStaffForUpdateSalary(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("updateStaffSalary").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("updateStaffSalary").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchForUpdateStaffSalary.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/parent/myattendanceabsentthismonth.php: -------------------------------------------------------------------------------- 1 | Absent Date:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo "",$r['date'],""; 10 | 11 | } 12 | ?> 13 | -------------------------------------------------------------------------------- /module/admin/JS/searchForUpdateExamSchedule.js: -------------------------------------------------------------------------------- 1 | function getExamScheduleForUpdate(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("updateExamSchedule").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("updateExamSchedule").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchForUpdateExamSchedule.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/admin/myattendancestaffabsentthismonth.php: -------------------------------------------------------------------------------- 1 | Absent Date:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo "",$r['date'],""; 10 | 11 | } 12 | ?> 13 | -------------------------------------------------------------------------------- /module/admin/JS/searchForUpdateTeacherSalary.js: -------------------------------------------------------------------------------- 1 | function getTeacherForUpdateSalary(str){ 2 | var xhttp; 3 | if (str == "") { 4 | document.getElementById("updateTeacherSalary").innerHTML = ""; 5 | return; 6 | } 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("updateTeacherSalary").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchForUpdateTeacherSalary.php?key="+str, true); 14 | xhttp.send(); 15 | } 16 | -------------------------------------------------------------------------------- /module/admin/myattendanceteacherabsentthismonth.php: -------------------------------------------------------------------------------- 1 | Absent Date:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo "",$r['date'],""; 10 | 11 | } 12 | ?> 13 | -------------------------------------------------------------------------------- /module/admin/deleteStaffTableData.php: -------------------------------------------------------------------------------- 1 | 18 | -------------------------------------------------------------------------------- /module/admin/deleteStudentTableData.php: -------------------------------------------------------------------------------- 1 | 18 | -------------------------------------------------------------------------------- /module/admin/deleteTeacherTableData.php: -------------------------------------------------------------------------------- 1 | 18 | -------------------------------------------------------------------------------- /module/teacher/stattendanceabsentthismonth.php: -------------------------------------------------------------------------------- 1 | <Absent Date:"; 7 | while($r=mysql_fetch_array($resmon)) 8 | { 9 | echo "",$r['date'],""; 10 | 11 | } 12 | ?> 13 | -------------------------------------------------------------------------------- /source/js/loginValidate.js: -------------------------------------------------------------------------------- 1 | function loginValidate() { 2 | var id = document.getElementById('myid').value; 3 | var pass = document.getElementById('mypassword').value; 4 | if ((id == null || id == "") && (pass == null || pass == "")){ 5 | alert("ID and Pasword both must be filled out"); 6 | return false; 7 | } 8 | else if (id == null || id == "") { 9 | alert("ID must be filled out"); 10 | return false; 11 | } 12 | else if(pass == null || pass == ""){ 13 | alert("Password must be filled out"); 14 | return false; 15 | } 16 | else{ 17 | return true; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /module/parent/mychildpaymentinfo.php: -------------------------------------------------------------------------------- 1 | Payment ID 7 | Child ID 8 | Payment Amount 9 | Payment Month 10 | Payment Year"; 11 | while($stinfo=mysql_fetch_array($resmon)) 12 | { 13 | echo "",$stinfo['id']," 14 | ",$stinfo['studentid']," 15 | ",$stinfo['amount']," 16 | ",$stinfo['month']," 17 | ",$stinfo['year'],""; 18 | 19 | } 20 | ?> 21 | -------------------------------------------------------------------------------- /module/admin/searchTeacher.php: -------------------------------------------------------------------------------- 1 | '.$row['id'].''.$row['name']. 11 | ''.$row['phone'].''.$row['email']. 12 | ''.$row['address'].''.$row['sex'].''.$row['dob']. 13 | ''.$row['hiredate'].''.$row['salary'].''; 14 | } 15 | echo $string; 16 | ?> 17 | -------------------------------------------------------------------------------- /module/teacher/exam.php: -------------------------------------------------------------------------------- 1 | "; 9 | echo ""; 10 | echo "ID NAME DATE TIME CLASS
"; 11 | echo " "; 12 | echo "".$row[1]."".$row[0]." ".$row[2]." ".$row[3]."".$row[4].""; 13 | echo ""; 14 | echo""; 15 | } 16 | ?> 17 | -------------------------------------------------------------------------------- /module/admin/searchPayment.php: -------------------------------------------------------------------------------- 1 | "; 9 | echo " ". 10 | " Student ID: ".$r['studentid']." Payment Amount:".$r['amount']. 11 | " Month :".$r['month']." Year :".$r['year']. 12 | "".""; 13 | echo "
"; 14 | } 15 | 16 | ?> 17 | -------------------------------------------------------------------------------- /module/teacher/courseindex.php: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | Attendance Department Wise 13 | 14 |
15 |

Please Select Department To Make All Staff Attendance

16 |
17 | Select Course: 28 | 29 | 30 |
31 | 32 | -------------------------------------------------------------------------------- /module/teacher/makeattendance.php: -------------------------------------------------------------------------------- 1 | 29 | 30 |
31 |

Attendance Successfully.

32 |

go home page.click Home button.

33 |

34 | -------------------------------------------------------------------------------- /module/admin/searchCourse.php: -------------------------------------------------------------------------------- 1 | 6 | ID 7 | Name 8 | Teacher ID 9 | Student ID 10 | Class ID 11 | "; 12 | $sql = "SELECT * FROM course WHERE id like '$searchKey%' OR name like '$searchKey%' OR teacherid like '$searchKey%' OR classid = '$searchKey' OR studentid like '$searchKey%'"; 13 | $res = mysql_query($sql); 14 | while($row = mysql_fetch_array($res)){ 15 | $string .= ''.$row['id'].''.$row['name']. 16 | ''.$row['teacherid'].''.$row['studentid']. 17 | ''.$row['classid'].''; 18 | } 19 | echo $string; 20 | ?> 21 | -------------------------------------------------------------------------------- /module/teacher/succeed.php: -------------------------------------------------------------------------------- 1 |
2 | 34 |
35 | -------------------------------------------------------------------------------- /module/student/mycourseteacher.php: -------------------------------------------------------------------------------- 1 | "; 15 | echo "Teacher Name: ",$rn['name'],"
"; 16 | echo "Teacher Email: ",$rn['email'],"
"; 17 | echo " Your Section : ",$st['section'],"
"; 18 | echo " Your Class Room : ",$st['room'],"
"; 19 | 20 | 21 | } 22 | 23 | 24 | ?> 25 | -------------------------------------------------------------------------------- /module/teacher/mycourseteacher.php: -------------------------------------------------------------------------------- 1 | "; 15 | echo "Teacher Name: ",$rn['name'],"
"; 16 | echo "Teacher Email: ",$rn['email'],"
"; 17 | echo " Your Section : ",$st['section'],"
"; 18 | echo " Your Class Room : ",$st['room'],"
"; 19 | 20 | 21 | } 22 | 23 | 24 | ?> 25 | -------------------------------------------------------------------------------- /module/parent/mycourseteacher.php: -------------------------------------------------------------------------------- 1 | "; 14 | echo "Teacher Name: ",$rn['name'],"
"; 15 | echo "Teacher Email: ",$rn['email'],"
"; 16 | echo " Your Section : ",$st['section'],"
"; 17 | echo " Your Class Room : ",$st['room'],"
"; 18 | 19 | 20 | } 21 | 22 | 23 | 24 | 25 | 26 | ?> 27 | -------------------------------------------------------------------------------- /module/admin/searchParent.php: -------------------------------------------------------------------------------- 1 | 6 | ID 7 | Password 8 | Father Name 9 | Mother Name 10 | Father Phone 11 | Mother Phone 12 | Address 13 | "; 14 | $sql = "SELECT * FROM parents WHERE id like '$searchKey%' OR fathername like '$searchKey%' OR mothername like '$searchKey%'"; 15 | $res = mysql_query($sql); 16 | while($row = mysql_fetch_array($res)){ 17 | $string .= ''.$row['id'].''.$row['password']. 18 | ''.$row['fathername'].''.$row['mothername']. 19 | ''.$row['fatherphone'].''.$row['motherphone']. 20 | ''.$row['address'].''; 21 | } 22 | echo $string; 23 | ?> 24 | -------------------------------------------------------------------------------- /module/staff/JS/modifyValidate.js: -------------------------------------------------------------------------------- 1 | function modifyValidate() { 2 | var phone = document.getElementById('phone').value; 3 | var email = document.getElementById('email').value; 4 | var pass = document.getElementById('password').value; 5 | var address = document.getElementById('address').value; 6 | 7 | if (phone == null || phone == "") { 8 | alert("Phone number must be filled out"); 9 | return false; 10 | } 11 | else if(email == null || email == ""){ 12 | alert("Email address must be filled out"); 13 | return false; 14 | } 15 | else if(pass == null || pass == ""){ 16 | alert("Password must be filled out"); 17 | return false; 18 | } 19 | else if(address == null || address == ""){ 20 | alert("address must be filled out"); 21 | return false; 22 | } 23 | 24 | 25 | else{ 26 | return true; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /module/admin/searchForUpdateExamSchedule.php: -------------------------------------------------------------------------------- 1 | 6 | ID 7 | Exam Date 8 | Exam Time 9 | Course ID 10 | "; 11 | $sql = "SELECT * FROM examschedule WHERE id like '$searchKey%' OR examdate like '$searchKey%' OR courseid like '$searchKey%' AND MONTH(examdate) = MONTH(CURRENT_DATE) AND YEAR(examdate)=YEAR(CURRENT_DATE)"; 12 | $res = mysql_query($sql); 13 | while($row = mysql_fetch_array($res)){ 14 | $string .= "". 15 | "". 16 | "". 17 | "".""; 18 | } 19 | echo $string.""; 20 | ?> 21 | -------------------------------------------------------------------------------- /module/teacher/viewProfile.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 |
9 | <?php echo $check ?> 10 |
11 | 12 | 13 |
14 | "; 19 | echo "ID: ".$row['id']."
"; 20 | echo "Name: ".$row['name']."
"; 21 | echo "Phone: ".$row['phone']."
"; 22 | echo "Date of Birth: ".$row['dob']."
"; 23 | echo "Phone ".$row['phone']."
"; 24 | echo "Email Address: ".$row['email']."
"; 25 | echo "Sex: ".$row['sex']."
"; 26 | echo "Hire DAte: ".$row['hiredate']."
"; 27 | echo "Salary: ".$row['salary']."
"; 28 | echo "
"; 29 | 30 | } 31 | ?> 32 | 33 | 34 | -------------------------------------------------------------------------------- /module/admin/searchForUpdateStaffSalary.php: -------------------------------------------------------------------------------- 1 | 6 | ID 7 | Name 8 | Salary 9 | Payable Salary 10 | "; 11 | $sql = "SELECT s.id,s.name,s.salary,ROUND(s.salary*count(a.date)/300) AS currentmonthlysalary FROM staff s,attendance a WHERE s.id=a.attendedid AND s.id like '$searchKey%' AND MONTH(a.date)=(SELECT month(curdate()) FROM dual) GROUP BY a.attendedid"; 12 | $res = mysql_query($sql); 13 | while($row = mysql_fetch_array($res)){ 14 | $string .= "". 15 | "". 16 | "". 17 | "".$row['currentmonthlysalary'].""; 18 | } 19 | echo $string.""; 20 | ?> 21 | -------------------------------------------------------------------------------- /module/admin/searchForUpdateTeacherSalary.php: -------------------------------------------------------------------------------- 1 | 6 | ID 7 | Name 8 | Salary 9 | Payable Salary 10 | "; 11 | $sql = "SELECT t.id,t.name,t.salary,ROUND(t.salary*count(a.date)/300) AS currentmonthlysalary FROM teachers t,attendance a WHERE t.id=a.attendedid AND t.id like '$searchKey%' AND MONTH(a.date)=(SELECT month(curdate()) FROM dual) GROUP BY a.attendedid"; 12 | $res = mysql_query($sql); 13 | while($row = mysql_fetch_array($res)){ 14 | $string .= "". 15 | "". 16 | "". 17 | "".$row['currentmonthlysalary'].""; 18 | } 19 | echo $string.""; 20 | ?> 21 | -------------------------------------------------------------------------------- /module/admin/searchStaff.php: -------------------------------------------------------------------------------- 1 | 7 | ID 8 | Name 9 | Password 10 | Phone 11 | Email 12 | Gender 13 | DOB 14 | Hire Date 15 | Address 16 | Salary 17 | Picture 18 | "; 19 | $sql = "SELECT * FROM staff WHERE id like '$searchKey%' OR name like '$searchKey%'"; 20 | $res = mysql_query($sql); 21 | while($row = mysql_fetch_array($res)){ 22 | $picname = $row['id']; 23 | $string .= ''.$row['id'].''.$row['name'].''.$row['password']. 24 | ''.$row['phone'].''.$row['email']. 25 | ''.$row['sex'].''.$row['dob']. 26 | ''.$row['hiredate'].''.$row['address']. 27 | ''.$row['salary']. 28 | "$picname".''; 29 | } 30 | echo $string; 31 | ?> 32 | -------------------------------------------------------------------------------- /module/admin/submitStudentCourse.php: -------------------------------------------------------------------------------- 1 | 31 | -------------------------------------------------------------------------------- /module/parent/mychildinfo.php: -------------------------------------------------------------------------------- 1 | Child ID 7 | Child Name 8 | Child Phone 9 | Child Email 10 | Child Gender 11 | Child DOB 12 | Child Admission Date 13 | Child Address 14 | Child Parent ID 15 | Child class ID 16 | Child Image"; 17 | while($stinfo=mysql_fetch_array($resmon)) 18 | { 19 | echo "",$stinfo['id']," 20 | ",$stinfo['name']," 21 | ",$stinfo['phone']," 22 | ",$stinfo['email']," 23 | ",$stinfo['sex']," 24 | ",$stinfo['dob']," 25 | ",$stinfo['addmissiondate']," 26 | ",$stinfo['address']," 27 | ",$stinfo['parentid']," 28 | ",$stinfo['classid'],""; 29 | echo " 30 | "; 31 | 32 | } 33 | ?> 34 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | School Management System 18 | 19 | 20 |
21 | 22 |
23 | $login_message";?> 24 |

25 |


26 |


27 | 28 |
29 |
30 | 31 | 32 | -------------------------------------------------------------------------------- /module/admin/searchStudent.php: -------------------------------------------------------------------------------- 1 | 7 | ID 8 | Name 9 | Phone 10 | Email 11 | Gender 12 | DOB 13 | Addmission Date 14 | Address 15 | Parent Id 16 | Class Id 17 | Picture 18 | "; 19 | $sql = "SELECT * FROM students WHERE id like '$searchKey%' OR name like '$searchKey%' OR classid = '$searchKey';"; 20 | $res = mysql_query($sql); 21 | while($row = mysql_fetch_array($res)){ 22 | $picname = $row['id']; 23 | $string .= ''.$row['id'].''.$row['name']. 24 | ''.$row['phone'].''.$row['email']. 25 | ''.$row['sex'].''.$row['dob']. 26 | ''.$row['addmissiondate'].''.$row['address']. 27 | ''.$row['parentid'].''.$row['classid']. 28 | "$picname".''; 29 | } 30 | echo $string; 31 | ?> 32 | -------------------------------------------------------------------------------- /module/admin/examSchedule.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |

School Management System

11 |
12 | School Management System 13 |
14 |

15 | 27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /service/check.access.php: -------------------------------------------------------------------------------- 1 | 41 | -------------------------------------------------------------------------------- /module/admin/searchForUpdateParent.php: -------------------------------------------------------------------------------- 1 | 7 | ID 8 | Password 9 | Father Name 10 | Mother Name 11 | Father Phone 12 | Mother Phone 13 | Address 14 | "; 15 | $sql = "SELECT * FROM parents WHERE id like '$searchKey%' OR fathername like '$searchKey%' OR mothername like '$searchKey%'"; 16 | $res = mysql_query($sql); 17 | while($row = mysql_fetch_array($res)){ 18 | $string .= "". 19 | "". 20 | "". 21 | "". 22 | "". 23 | "". 24 | "".""; 25 | } 26 | echo $string.""; 27 | ?> 28 | -------------------------------------------------------------------------------- /module/teacher/courses.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | Select Class: 35 |
36 |
38 |
39 | 40 | 41 | 42 |
43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /module/teacher/searchForUpdateTeacher.php: -------------------------------------------------------------------------------- 1 | 5 | ID 6 | Name 7 | Password 8 | Phone 9 | Email 10 | Gender 11 | DOB 12 | Address 13 | "; 14 | $sql = "SELECT * FROM teachers WHERE id='$check';"; 15 | $res = mysql_query($sql); 16 | while($row = mysql_fetch_array($res)){ 17 | $string .= "". 18 | "". 19 | "". 20 | "". 21 | "". 22 | "". 23 | "". 24 | "". 25 | ""; 26 | } 27 | echo $string.""; 28 | ?> 29 | 31 | -------------------------------------------------------------------------------- /module/teacher/grade.php: -------------------------------------------------------------------------------- 1 | 12 | student id:
13 | Course id:
14 | Grade:
15 | 16 | "; 17 | echo $string; 18 | } 19 | 20 | 21 | ?> 22 | 23 | 34 | student id:
35 | Course id:
36 | Grade:
37 | 38 | "; 39 | echo $string; 40 | } 41 | 42 | ?> -------------------------------------------------------------------------------- /module/admin/JS/newParentValidation.js: -------------------------------------------------------------------------------- 1 | function newParentValidation(){ 2 | var _Id = document.getElementById('id').value; 3 | var _password = document.getElementById('password').value; 4 | var _fathername = document.getElementById('fathername').value; 5 | var _mothername = document.getElementById('mothername').value; 6 | var _fatherphone = document.getElementById('fatherphone').value; 7 | var _motherphone = document.getElementById('motherphone').value; 8 | var _address = document.getElementById('address').value; 9 | if(!_Id){ 10 | alert('Parent Id Must be fild out.'); 11 | return false; 12 | } 13 | else if(!_password){ 14 | alert('Parent Password must be fild out.'); 15 | return false; 16 | } 17 | else if(!_fathername){ 18 | alert('Father Name must be fild out.'); 19 | return false; 20 | } 21 | else if(!_mothername){ 22 | alert('Mother Name must be fild out.'); 23 | return false; 24 | } 25 | else if(!_fatherphone){ 26 | alert('Father Phone must be fild out.'); 27 | return false; 28 | } 29 | else if(!_motherphone){ 30 | alert('Mother Phone must be fild out.'); 31 | return false; 32 | } 33 | else if(!_address){ 34 | alert('Address must be fild out.'); 35 | return false; 36 | } 37 | else return true; 38 | alert('h'); 39 | } 40 | -------------------------------------------------------------------------------- /module/staff/staffAttendance.js: -------------------------------------------------------------------------------- 1 | function ajaxRequestToGetAttendancePresentThisMonth() 2 | { 3 | $.ajax({ 4 | url: 'myattendancethismonth.php', 5 | success: function(response){ 6 | $('#mypresent').html(response); 7 | ajaxRequestToGetAttendanceAbsentThisMonth(); 8 | 9 | }, 10 | error: function (xmlHttpRequest, textStatus, errorThrown) { 11 | alert(errorThrown); 12 | } 13 | }); 14 | } 15 | 16 | function ajaxRequestToGetAttendancePresentAll() 17 | { 18 | 19 | $.ajax({ 20 | url: 'myattendanceall.php', 21 | success: function(response){ 22 | $('#mypresent').html(response); 23 | 24 | }, 25 | error: function (xmlHttpRequest, textStatus, errorThrown) { 26 | alert(errorThrown); 27 | } 28 | }); 29 | } 30 | function ajaxRequestToGetAttendanceAbsentThisMonth() 31 | { 32 | $.ajax({ 33 | url: 'myattendanceabsentthismonth.php', 34 | success: function(response){ 35 | $('#myabsent').html(response); 36 | 37 | }, 38 | error: function (xmlHttpRequest, textStatus, errorThrown) { 39 | alert(errorThrown); 40 | } 41 | }); 42 | } 43 | 44 | function ajaxRequestToGetAttendanceAbsentAll() 45 | { 46 | 47 | $.ajax({ 48 | url: 'myattendanceabsentall.php', 49 | success: function(response){ 50 | $('#myabsent').html(response); 51 | 52 | }, 53 | error: function (xmlHttpRequest, textStatus, errorThrown) { 54 | alert(errorThrown); 55 | } 56 | }); 57 | } -------------------------------------------------------------------------------- /module/student/studentAttendance.js: -------------------------------------------------------------------------------- 1 | function ajaxRequestToGetAttendancePresentThisMonth() 2 | { 3 | $.ajax({ 4 | url: 'myattendancethismonth.php', 5 | success: function(response){ 6 | $('#mypresent').html(response); 7 | ajaxRequestToGetAttendanceAbsentThisMonth(); 8 | 9 | }, 10 | error: function (xmlHttpRequest, textStatus, errorThrown) { 11 | alert(errorThrown); 12 | } 13 | }); 14 | } 15 | 16 | function ajaxRequestToGetAttendancePresentAll() 17 | { 18 | 19 | $.ajax({ 20 | url: 'myattendanceall.php', 21 | success: function(response){ 22 | $('#mypresent').html(response); 23 | 24 | }, 25 | error: function (xmlHttpRequest, textStatus, errorThrown) { 26 | alert(errorThrown); 27 | } 28 | }); 29 | } 30 | function ajaxRequestToGetAttendanceAbsentThisMonth() 31 | { 32 | $.ajax({ 33 | url: 'myattendanceabsentthismonth.php', 34 | success: function(response){ 35 | $('#myabsent').html(response); 36 | 37 | }, 38 | error: function (xmlHttpRequest, textStatus, errorThrown) { 39 | alert(errorThrown); 40 | } 41 | }); 42 | } 43 | 44 | function ajaxRequestToGetAttendanceAbsentAll() 45 | { 46 | 47 | $.ajax({ 48 | url: 'myattendanceabsentall.php', 49 | success: function(response){ 50 | $('#myabsent').html(response); 51 | 52 | }, 53 | error: function (xmlHttpRequest, textStatus, errorThrown) { 54 | alert(errorThrown); 55 | } 56 | }); 57 | } -------------------------------------------------------------------------------- /module/teacher/Attendance.js: -------------------------------------------------------------------------------- 1 | 2 | function ajaxRequestToGetAttendancePresentThisMonth() 3 | { 4 | $.ajax({ 5 | url: 'myattendancethismonth.php', 6 | success: function(response){ 7 | $('#mypresent').html(response); 8 | ajaxRequestToGetAttendanceAbsentThisMonth(); 9 | 10 | }, 11 | error: function (xmlHttpRequest, textStatus, errorThrown) { 12 | alert(errorThrown); 13 | } 14 | }); 15 | } 16 | 17 | function ajaxRequestToGetAttendancePresentAll() 18 | { 19 | 20 | $.ajax({ 21 | url: 'myattendanceall.php', 22 | success: function(response){ 23 | $('#mypresent').html(response); 24 | 25 | }, 26 | error: function (xmlHttpRequest, textStatus, errorThrown) { 27 | alert(errorThrown); 28 | } 29 | }); 30 | } 31 | function ajaxRequestToGetAttendanceAbsentThisMonth() 32 | { 33 | $.ajax({ 34 | url: 'myattendanceabsentthismonth.php', 35 | success: function(response){ 36 | $('#myabsent').html(response); 37 | 38 | }, 39 | error: function (xmlHttpRequest, textStatus, errorThrown) { 40 | alert(errorThrown); 41 | } 42 | }); 43 | } 44 | 45 | function ajaxRequestToGetAttendanceAbsentAll() 46 | { 47 | 48 | $.ajax({ 49 | url: 'myattendanceabsentall.php', 50 | success: function(response){ 51 | $('#myabsent').html(response); 52 | 53 | }, 54 | error: function (xmlHttpRequest, textStatus, errorThrown) { 55 | alert(errorThrown); 56 | } 57 | }); 58 | } -------------------------------------------------------------------------------- /module/teacher/stdatt.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 |
20 | Select Class:

37 | Select Course
40 |
41 | 42 | Select Student



45 | 46 | 47 | 48 |
49 | 50 | 51 | 52 |
53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /module/admin/course.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 33 |
34 | 35 | 36 | -------------------------------------------------------------------------------- /module/admin/attendance.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 33 |
34 | 35 | 36 | -------------------------------------------------------------------------------- /module/admin/searchForUpdateTeacher.php: -------------------------------------------------------------------------------- 1 | 7 | ID 8 | Name 9 | Password 10 | Phone 11 | Email 12 | Address 13 | Gender 14 | DOB 15 | Hire Date 16 | Salary 17 | "; 18 | $sql = "SELECT * FROM teachers WHERE id like '$searchKey%' OR name like '$searchKey%';"; 19 | $res = mysql_query($sql); 20 | while($row = mysql_fetch_array($res)){ 21 | $string .= "". 22 | "". 23 | "". 24 | "". 25 | "". 26 | "". 27 | "". 28 | "". 29 | "". 30 | "". 31 | "". 32 | ""; 33 | } 34 | echo $string.""; 35 | ?> 36 | -------------------------------------------------------------------------------- /module/admin/JS/newTeacherValidation.js: -------------------------------------------------------------------------------- 1 | var teaGender = ''; 2 | function newTeacherValidation(){ 3 | var teaId = document.getElementById('teaId').value; 4 | var teaName = document.getElementById('teaName').value; 5 | var teaPassword = document.getElementById('teaPassword').value; 6 | var teaPhone = document.getElementById('teaPhone').value; 7 | var teaEmail = document.getElementById('teaEmail').value; 8 | var teaDOB = document.getElementById('teaDOB').value; 9 | var teaHireDate = document.getElementById('teaHireDate').value; 10 | var teaSalary = document.getElementById('teaSalary').value; 11 | if(!teaId){ 12 | alert('Teacher Id Must be fild out.') 13 | return false; 14 | } 15 | else if(!teaName){ 16 | alert('Teacher Name must be fild out.') 17 | return false; 18 | } 19 | else if(!teaPassword){ 20 | alert('Teacher Password must be fild out.') 21 | return false; 22 | } 23 | else if(!teaPhone){ 24 | alert('Teacher Phone must be fild out.') 25 | return false; 26 | } 27 | else if(!teaEmail){ 28 | alert('Teacher Email must be fild out.') 29 | return false; 30 | } 31 | else if(!teaGender){ 32 | alert('Teacher Gender must be fild out.') 33 | return false; 34 | } 35 | else if(!teaDOB){ 36 | alert('Teacher Date Of Birth must be fild out.') 37 | return false; 38 | } 39 | else if(!teaParentId){ 40 | alert('Teacher Salary must be fild out.') 41 | return false; 42 | } 43 | else return true; 44 | } 45 | -------------------------------------------------------------------------------- /module/student/JS/newTeacherValidation.js: -------------------------------------------------------------------------------- 1 | var teaGender = ''; 2 | function newTeacherValidation(){ 3 | var teaId = document.getElementById('teaId').value; 4 | var teaName = document.getElementById('teaName').value; 5 | var teaPassword = document.getElementById('teaPassword').value; 6 | var teaPhone = document.getElementById('teaPhone').value; 7 | var teaEmail = document.getElementById('teaEmail').value; 8 | var teaDOB = document.getElementById('teaDOB').value; 9 | var teaHireDate = document.getElementById('teaHireDate').value; 10 | var teaSalary = document.getElementById('teaSalary').value; 11 | if(!teaId){ 12 | alert('Teacher Id Must be fild out.') 13 | return false; 14 | } 15 | else if(!teaName){ 16 | alert('Teacher Name must be fild out.') 17 | return false; 18 | } 19 | else if(!teaPassword){ 20 | alert('Teacher Password must be fild out.') 21 | return false; 22 | } 23 | else if(!teaPhone){ 24 | alert('Teacher Phone must be fild out.') 25 | return false; 26 | } 27 | else if(!teaEmail){ 28 | alert('Teacher Email must be fild out.') 29 | return false; 30 | } 31 | else if(!teaGender){ 32 | alert('Teacher Gender must be fild out.') 33 | return false; 34 | } 35 | else if(!teaDOB){ 36 | alert('Teacher Date Of Birth must be fild out.') 37 | return false; 38 | } 39 | else if(!teaParentId){ 40 | alert('Teacher Salary must be fild out.') 41 | return false; 42 | } 43 | else return true; 44 | } 45 | -------------------------------------------------------------------------------- /module/teacher/JS/newTeacherValidation.js: -------------------------------------------------------------------------------- 1 | var teaGender = ''; 2 | function newTeacherValidation(){ 3 | var teaId = document.getElementById('teaId').value; 4 | var teaName = document.getElementById('teaName').value; 5 | var teaPassword = document.getElementById('teaPassword').value; 6 | var teaPhone = document.getElementById('teaPhone').value; 7 | var teaEmail = document.getElementById('teaEmail').value; 8 | var teaDOB = document.getElementById('teaDOB').value; 9 | var teaHireDate = document.getElementById('teaHireDate').value; 10 | var teaSalary = document.getElementById('teaSalary').value; 11 | if(!teaId){ 12 | alert('Teacher Id Must be fild out.') 13 | return false; 14 | } 15 | else if(!teaName){ 16 | alert('Teacher Name must be fild out.') 17 | return false; 18 | } 19 | else if(!teaPassword){ 20 | alert('Teacher Password must be fild out.') 21 | return false; 22 | } 23 | else if(!teaPhone){ 24 | alert('Teacher Phone must be fild out.') 25 | return false; 26 | } 27 | else if(!teaEmail){ 28 | alert('Teacher Email must be fild out.') 29 | return false; 30 | } 31 | else if(!teaGender){ 32 | alert('Teacher Gender must be fild out.') 33 | return false; 34 | } 35 | else if(!teaDOB){ 36 | alert('Teacher Date Of Birth must be fild out.') 37 | return false; 38 | } 39 | else if(!teaParentId){ 40 | alert('Teacher Salary must be fild out.') 41 | return false; 42 | } 43 | else return true; 44 | } 45 | -------------------------------------------------------------------------------- /module/teacher/salary.php: -------------------------------------------------------------------------------- 1 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 |
40 |

My Salary

41 |
42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 |
Teacher Monthly SalaryTeacher Payable Salary This Month
56 |
57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /module/admin/searchForUpdateStaff.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | "; 18 | $sql = "SELECT * FROM staff WHERE id like '$searchKey%' OR name like '$searchKey%';"; 19 | $res = mysql_query($sql); 20 | while($row = mysql_fetch_array($res)){ 21 | $string .= "". 32 | ""; 33 | } 34 | echo $string.""; 35 | ?> 36 | -------------------------------------------------------------------------------- /module/admin/manageStaff.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 35 |
36 | 37 | 38 | -------------------------------------------------------------------------------- /module/admin/manageParent.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 35 |
36 | 37 | 38 | -------------------------------------------------------------------------------- /module/teacher/course.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | Select Class:

37 | Select Course
40 |
41 | 42 | Select Student



45 | 46 | 47 | 48 | 49 |
50 | 51 | 52 | 53 |
54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /module/admin/manageStudent.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 35 |
36 | 37 | 38 | -------------------------------------------------------------------------------- /module/admin/manageTeacher.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 35 |
36 | 37 | 38 | -------------------------------------------------------------------------------- /module/teacher/index.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |

School Management System

11 |
12 | School Management System 13 |
14 |

15 | 33 |
34 | 35 | 36 | -------------------------------------------------------------------------------- /module/admin/index.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |

School Management System

11 |
12 | School Management System 13 |
14 |

15 | 34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /module/admin/searchForUpdateStudent.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | "; 19 | $sql = "SELECT * FROM students WHERE id like '$searchKey%' OR name like '$searchKey%';"; 20 | $res = mysql_query($sql); 21 | while($row = mysql_fetch_array($res)){ 22 | $string .= "". 34 | ""; 35 | } 36 | echo $string.""; 37 | ?> 38 | -------------------------------------------------------------------------------- /module/teacher/searchStudent.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 |
9 | 10 | key: 11 | 12 | 13 |
14 | 15 |
IDNamePasswordPhoneEmailGenderDOBHire DateAddressSalaryPicture
". 22 | "". 23 | "". 24 | "". 25 | "". 26 | "". 27 | "". 28 | "". 29 | "". 30 | "". 31 | "
IDNamePasswordPhoneEmailGenderDOBAddmission DateAddressParent IdClass IdPicture
". 23 | "". 24 | "". 25 | "". 26 | "". 27 | "". 28 | "". 29 | "". 30 | "". 31 | "". 32 | "". 33 | "
16 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | "; 34 | $sql = "SELECT * FROM students WHERE id like '$searchKey%' OR name like '$searchKey%' OR classid = '$searchKey';"; 35 | $res = mysql_query($sql); 36 | while($row = mysql_fetch_array($res)){ 37 | $picname = $row['id']; 38 | echo "
"; 39 | 40 | echo '
'; 45 | 46 | echo ""; 47 | 48 | // echo $string; 49 | echo "'; 50 | } 51 | 52 | echo "
IDNamePhoneEmailGenderDOBAddmission DateAddressParent IdClass Idpicture
'.$row['id'].''.$row['name']. 41 | ''.$row['phone'].''.$row['email']. 42 | ''.$row['sex'].''.$row['dob']. 43 | ''.$row['addmissiondate'].''.$row['address']. 44 | ''.$row['parentid'].''.$row['classid'].'$picname".'
"; 53 | 54 | //echo $images_dir.$picname.".jpg"; 55 | } 56 | ?> 57 | 58 | -------------------------------------------------------------------------------- /module/student/studentClassCourse.js: -------------------------------------------------------------------------------- 1 | function ajaxRequestToGetCourse() 2 | { 3 | var info = { 4 | classname: $('#myclass').val() 5 | 6 | }; 7 | 8 | $.ajax({ 9 | url: 'mycourse.php', 10 | data: info, 11 | success: function(response){ 12 | $('#mycourse').html(response); 13 | ajaxRequestToGetCourseInfo(); 14 | }, 15 | error: function (xmlHttpRequest, textStatus, errorThrown) { 16 | alert(errorThrown); 17 | } 18 | }); 19 | } 20 | 21 | function ajaxRequestToGetCourseInfo() 22 | { 23 | var info = { 24 | id: $('#mycourse').val() 25 | 26 | }; 27 | 28 | $.ajax({ 29 | url: 'mycourseinfo.php', 30 | data: info, 31 | success: function(response){ 32 | $('#mycourseinfo').html(response); 33 | ajaxRequestToGetCourseTeacher(); 34 | }, 35 | error: function (xmlHttpRequest, textStatus, errorThrown) { 36 | alert(errorThrown); 37 | } 38 | }); 39 | } 40 | function ajaxRequestToGetCourseTeacher() 41 | { 42 | var info = { 43 | cid: $('#mycourse').val() 44 | 45 | }; 46 | 47 | $.ajax({ 48 | url: 'mycourseteacher.php', 49 | data: info, 50 | success: function(response){ 51 | $('#mycourseteacher').html(response); 52 | }, 53 | error: function (xmlHttpRequest, textStatus, errorThrown) { 54 | alert(errorThrown); 55 | } 56 | }); 57 | } 58 | function ajaxRequestToGetCourseCurrentExamSchedule() 59 | { 60 | var info = { 61 | curid: $('#curcourse').val() 62 | 63 | }; 64 | 65 | $.ajax({ 66 | url: 'getcurrentexamschedule.php', 67 | data: info, 68 | success: function(response){ 69 | $('#mycourseexamschedule').html(response); 70 | }, 71 | error: function (xmlHttpRequest, textStatus, errorThrown) { 72 | alert(errorThrown); 73 | } 74 | }); 75 | } -------------------------------------------------------------------------------- /module/teacher/stdatt.js: -------------------------------------------------------------------------------- 1 | 2 | function ajaxRequestToGetAttendancePresentThisMonth() 3 | { 4 | var info = { 5 | classid: $('#mystudent').val() 6 | 7 | }; 8 | $.ajax({ 9 | url: 'stattendancethismonth.php', 10 | data: info, 11 | success: function(response){ 12 | $('#mypresent').html(response); 13 | ajaxRequestToGetAttendanceAbsentThisMonth(); 14 | 15 | }, 16 | error: function (xmlHttpRequest, textStatus, errorThrown) { 17 | alert(errorThrown); 18 | } 19 | }); 20 | } 21 | 22 | function ajaxRequestToGetAttendancePresentAll() 23 | { 24 | var info = { 25 | classid: $('#mystudent').val() 26 | 27 | }; 28 | 29 | $.ajax({ 30 | url: 'stattendanceall.php', 31 | data: info, 32 | success: function(response){ 33 | $('#mypresent').html(response); 34 | 35 | }, 36 | error: function (xmlHttpRequest, textStatus, errorThrown) { 37 | alert(errorThrown); 38 | } 39 | }); 40 | } 41 | function ajaxRequestToGetAttendanceAbsentThisMonth() 42 | { 43 | var info = { 44 | classid: $('#mystudent').val() 45 | 46 | }; 47 | $.ajax({ 48 | url: 'stattendanceabsentthismonth.php', 49 | data: info, 50 | success: function(response){ 51 | $('#myabsent').html(response); 52 | 53 | }, 54 | error: function (xmlHttpRequest, textStatus, errorThrown) { 55 | alert(errorThrown); 56 | } 57 | }); 58 | } 59 | 60 | function ajaxRequestToGetAttendanceAbsentAll() 61 | { 62 | var info = { 63 | classid: $('#mystudent').val() 64 | 65 | }; 66 | 67 | $.ajax({ 68 | url: 'stattendanceabsentall.php', 69 | data: info, 70 | success: function(response){ 71 | $('#myabsent').html(response); 72 | 73 | }, 74 | error: function (xmlHttpRequest, textStatus, errorThrown) { 75 | alert(errorThrown); 76 | } 77 | }); 78 | } -------------------------------------------------------------------------------- /module/teacher/updateTeacher.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 |
18 |
19 |

Update your profile!!!.

20 |
21 | 22 | 23 |
24 |
25 |
26 | 27 | 28 | 51 | -------------------------------------------------------------------------------- /module/admin/JS/newStaffValidation.js: -------------------------------------------------------------------------------- 1 | var Gender = ''; 2 | function newStudentValidation(){ 3 | var Id = document.getElementById('stuId').value; 4 | var Name = document.getElementById('stuName').value; 5 | var Password = document.getElementById('stuPassword').value; 6 | var Phone = document.getElementById('stuPhone').value; 7 | var Email = document.getElementById('stuEmail').value; 8 | var DOB = document.getElementById('stuDOB').value; 9 | var HireDate = document.getElementById('stuAddmissionDate').value; 10 | var Address = document.getElementById('stuParentId').value; 11 | var Salary = document.getElementById('stuClassId').value; 12 | if(!Id){ 13 | alert('Staff Id Must be fild out.') 14 | return false; 15 | } 16 | else if(!Name){ 17 | alert('Staff Name must be fild out.') 18 | return false; 19 | } 20 | else if(!Password){ 21 | alert('Staff Password must be fild out.') 22 | return false; 23 | } 24 | else if(!Phone){ 25 | alert('Staff Phone must be fild out.') 26 | return false; 27 | } 28 | else if(!Email){ 29 | alert('Staff Email must be fild out.') 30 | return false; 31 | } 32 | else if(!Gender){ 33 | alert('Staff Gender must be fild out.') 34 | return false; 35 | } 36 | else if(!DOB){ 37 | alert('Staff Date Of Birth must be fild out.') 38 | return false; 39 | } 40 | else if(!HireDate){ 41 | alert('Staff Parent Id must be fild out.') 42 | return false; 43 | } 44 | else if(!Address){ 45 | alert('Staff Class Id must be fild out.') 46 | return false; 47 | } 48 | else if(!Salary){ 49 | alert('Staff Class Id must be fild out.') 50 | return false; 51 | } 52 | else return true; 53 | } 54 | -------------------------------------------------------------------------------- /module/admin/payment.php: -------------------------------------------------------------------------------- 1 | 5 | ID 6 | Student Id 7 | Amount 8 | Month 9 | Year 10 | "; 11 | $sql = "SELECT * FROM payment WHERE month = MONTH(curdate()) AND year = YEAR(curdate())"; 12 | $res = mysql_query($sql); 13 | while($row = mysql_fetch_array($res)){ 14 | $string .= "".$row['id']."".$row['studentid']."".$row['amount']. 15 | "".$row['month']."".$row['year'].""; 16 | } 17 | ?> 18 | 19 | 20 | 21 | 22 | 23 | 24 |

School Management System

25 |
26 | School Management System 27 |
28 |

29 | 40 |
41 |
42 | 43 | 44 |
45 |
46 | 47 | 48 | -------------------------------------------------------------------------------- /module/teacher/updateatt.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |

School Management System

17 |
18 | School Management System 19 |
20 |

21 | 33 |
34 | 35 | 57 | -------------------------------------------------------------------------------- /module/admin/JS/newStudentValidation.js: -------------------------------------------------------------------------------- 1 | var stuGender = ''; 2 | function newStudentValidation(){ 3 | var stuId = document.getElementById('stuId').value; 4 | var stuName = document.getElementById('stuName').value; 5 | var stuPassword = document.getElementById('stuPassword').value; 6 | var stuPhone = document.getElementById('stuPhone').value; 7 | var stuEmail = document.getElementById('stuEmail').value; 8 | //= document.getElementById("input[name = 'gender']:checked").value; 9 | var stuDOB = document.getElementById('stuDOB').value; 10 | var stuAddmissionDate = document.getElementById('stuAddmissionDate').value; 11 | var stuParentId = document.getElementById('stuParentId').value; 12 | var stuClassId = document.getElementById('stuClassId').value; 13 | if(!stuId){ 14 | alert('Student Id Must be fild out.') 15 | return false; 16 | } 17 | else if(!stuName){ 18 | alert('Student Name must be fild out.') 19 | return false; 20 | } 21 | else if(!stuPassword){ 22 | alert('Student Password must be fild out.') 23 | return false; 24 | } 25 | else if(!stuPhone){ 26 | alert('Student Phone must be fild out.') 27 | return false; 28 | } 29 | else if(!stuEmail){ 30 | alert('Student Email must be fild out.') 31 | return false; 32 | } 33 | else if(!stuGender){ 34 | alert('Student Gender must be fild out.') 35 | return false; 36 | } 37 | else if(!stuDOB){ 38 | alert('Student Date Of Birth must be fild out.') 39 | return false; 40 | } 41 | else if(!stuParentId){ 42 | alert('Student Parent Id must be fild out.') 43 | return false; 44 | } 45 | else if(!stuClassId){ 46 | alert('Student Class Id must be fild out.') 47 | return false; 48 | } 49 | else return true; 50 | } 51 | -------------------------------------------------------------------------------- /module/student/JS/newStudentValidation.js: -------------------------------------------------------------------------------- 1 | var stuGender = ''; 2 | function newStudentValidation(){ 3 | var stuId = document.getElementById('stuId').value; 4 | var stuName = document.getElementById('stuName').value; 5 | var stuPassword = document.getElementById('stuPassword').value; 6 | var stuPhone = document.getElementById('stuPhone').value; 7 | var stuEmail = document.getElementById('stuEmail').value; 8 | //= document.getElementById("input[name = 'gender']:checked").value; 9 | var stuDOB = document.getElementById('stuDOB').value; 10 | var stuAddmissionDate = document.getElementById('stuAddmissionDate').value; 11 | var stuParentId = document.getElementById('stuParentId').value; 12 | var stuClassId = document.getElementById('stuClassId').value; 13 | if(!stuId){ 14 | alert('Student Id Must be fild out.') 15 | return false; 16 | } 17 | else if(!stuName){ 18 | alert('Student Name must be fild out.') 19 | return false; 20 | } 21 | else if(!stuPassword){ 22 | alert('Student Password must be fild out.') 23 | return false; 24 | } 25 | else if(!stuPhone){ 26 | alert('Student Phone must be fild out.') 27 | return false; 28 | } 29 | else if(!stuEmail){ 30 | alert('Student Email must be fild out.') 31 | return false; 32 | } 33 | else if(!stuGender){ 34 | alert('Student Gender must be fild out.') 35 | return false; 36 | } 37 | else if(!stuDOB){ 38 | alert('Student Date Of Birth must be fild out.') 39 | return false; 40 | } 41 | else if(!stuParentId){ 42 | alert('Student Parent Id must be fild out.') 43 | return false; 44 | } 45 | else if(!stuClassId){ 46 | alert('Student Class Id must be fild out.') 47 | return false; 48 | } 49 | else return true; 50 | } 51 | -------------------------------------------------------------------------------- /module/teacher/deleteatt.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 34 |
35 |
36 | 37 | Student id:
38 | Date:
39 | 40 |
41 | 42 | 43 | 44 |
45 | 59 | 60 |
61 | 62 | -------------------------------------------------------------------------------- /module/admin/JS/getCourseIdAndNAme.js: -------------------------------------------------------------------------------- 1 | function getCourseNameAndId(){ 2 | 3 | var e = document.getElementById("className"); 4 | var classId = e.options[e.selectedIndex].value; 5 | //alert(classId); 6 | var xhttp; 7 | xhttp = new XMLHttpRequest(); 8 | xhttp.onreadystatechange = function() { 9 | if (xhttp.readyState == 4 && xhttp.status == 200) { 10 | document.getElementById("courseName").innerHTML = xhttp.responseText; 11 | } 12 | }; 13 | xhttp.open("GET", "searchCourseName.php?key="+classId,true); 14 | xhttp.send(); 15 | } 16 | 17 | function setCourseId(){ 18 | var e = document.getElementById("courseName"); 19 | var classId = e.options[e.selectedIndex].value; 20 | document.getElementById("courseId").value = classId; 21 | 22 | var xhttp; 23 | xhttp = new XMLHttpRequest(); 24 | xhttp.onreadystatechange = function() { 25 | if (xhttp.readyState == 4 && xhttp.status == 200) { 26 | document.getElementById("teacherId").innerHTML = xhttp.responseText; 27 | } 28 | }; 29 | xhttp.open("GET", "getTeacherNameid.php?key="+classId,true); 30 | xhttp.send(); 31 | } 32 | 33 | function getAllCourseStudentAndSubmit(){ 34 | var e = document.getElementById("courseName"); 35 | var courseId = e.options[e.selectedIndex].value; 36 | var e = document.getElementById("courseName"); 37 | var courseName = e.options[e.selectedIndex].text; 38 | var e = document.getElementById("className"); 39 | var classId = e.options[e.selectedIndex].value; 40 | var e = document.getElementById("teacherId"); 41 | var teacherId = e.options[e.selectedIndex].value; 42 | 43 | alert(courseId+' '+courseName + ' '+classId+' '+teacherId); 44 | var xhttp; 45 | xhttp = new XMLHttpRequest(); 46 | xhttp.onreadystatechange = function() { 47 | if (xhttp.readyState == 4 && xhttp.status == 200) { 48 | document.getElementById("teacherId").innerHTML = xhttp.responseText; 49 | } 50 | }; 51 | xhttp.open("GET", "submitStudentCourse.php?courseid="+courseId+"&classid="+classId+"&teacherid="+teacherId+"&coursename="+courseName,true); 52 | xhttp.send(); 53 | } 54 | -------------------------------------------------------------------------------- /module/teacher/studentClassCourse.js: -------------------------------------------------------------------------------- 1 | function ajaxRequestToGetMyCourse() 2 | { 3 | var info = { 4 | classid: $('#myclass').val() 5 | 6 | }; 7 | 8 | $.ajax({ 9 | url: 'mycourse.php', 10 | data: info, 11 | success: function(response){ 12 | $('#mycourse').html(response); 13 | ajaxRequestToGetCourseStudent(); 14 | 15 | }, 16 | error: function (xmlHttpRequest, textStatus, errorThrown) { 17 | alert(errorThrown); 18 | } 19 | }); 20 | } 21 | function ajaxRequestToGetMyC() 22 | { 23 | var info = { 24 | classid: $('#myclass').val() 25 | 26 | }; 27 | 28 | $.ajax({ 29 | url: 'myc.php', 30 | data: info, 31 | success: function(response){ 32 | $('#mycourse').html(response); 33 | ajaxRequestToGetCourseStudent(); 34 | 35 | }, 36 | error: function (xmlHttpRequest, textStatus, errorThrown) { 37 | alert(errorThrown); 38 | } 39 | }); 40 | } 41 | 42 | 43 | function ajaxRequestToGetCourseStudent() 44 | { 45 | var info = { 46 | id: $('#mycourse').val() 47 | 48 | 49 | }; 50 | 51 | $.ajax({ 52 | url: 'mystudent.php', 53 | data: info, 54 | success: function(response){ 55 | $('#mystudent').html(response); 56 | ajaxRequestToGetCourseTeacher(); 57 | }, 58 | error: function (xmlHttpRequest, textStatus, errorThrown) { 59 | alert(errorThrown); 60 | } 61 | }); 62 | } 63 | function ajaxRequestToGetCourseTeacher() 64 | { 65 | var info = { 66 | cid: $('#mycourse').val() 67 | 68 | }; 69 | 70 | $.ajax({ 71 | url: 'mycourseteacher.php', 72 | data: info, 73 | success: function(response){ 74 | $('#mycourseteacher').html(response); 75 | }, 76 | error: function (xmlHttpRequest, textStatus, errorThrown) { 77 | alert(errorThrown); 78 | } 79 | }); 80 | } 81 | function ajaxRequestToGetCourseCurrentExamSchedule() 82 | { 83 | var info = { 84 | curid: $('#curcourse').val() 85 | 86 | }; 87 | 88 | $.ajax({ 89 | url: 'getcurrentexamschedule.php', 90 | data: info, 91 | success: function(response){ 92 | $('#mycourseexamschedule').html(response); 93 | }, 94 | error: function (xmlHttpRequest, textStatus, errorThrown) { 95 | alert(errorThrown); 96 | } 97 | }); 98 | } -------------------------------------------------------------------------------- /module/student/modify.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 21 | 22 | 23 |

School Management System

24 |
25 | School Management System 26 |
27 |

28 | 45 |
46 | 47 |
48 |

Change Password

49 | 50 |
51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |
Student Password
59 |
60 | 61 |
62 | 63 |
64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /module/teacher/atn.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |

School Management System

17 |
18 | School Management System 19 |
20 |

21 | 33 |
34 | 35 |

Students Attendance

36 | '; 41 | $conn=mysql_connect('localhost','root',''); 42 | if(!$conn){ 43 | die('error connecting '); 44 | } 45 | mysql_select_db('schoolmanagementsystemdb',$conn); 46 | 47 | $sql="SELECT studentid FROM course where classid='$clid' and id='$cid' and teacherid='$check'"; 48 | $res=mysql_query($sql); 49 | 50 | while($rn=mysql_fetch_array($res)) 51 | { 52 | echo "
"; 53 | echo $rn['0']; 54 | echo "

"; 55 | 56 | 57 | } 58 | 59 | echo ""; 60 | echo " "; 61 | echo "
"; 62 | 63 | ?> -------------------------------------------------------------------------------- /module/teacher/deleterep.php.bak: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 35 |
36 | 37 | 38 |
39 |
40 | Select Report:

57 | 58 | 59 | 60 | 61 | 75 | 76 | 77 |
78 | 79 | -------------------------------------------------------------------------------- /module/student/exam.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 39 |
40 |
41 | 42 | Select Runing Course Exam Schedule: 57 |
58 |
59 |
60 | 61 |
62 |
63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /module/student/course.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 39 |
40 |
41 | Select Class: 56 | Select Course 59 |

Course Information:


60 | 61 |
62 |
63 | 64 | 65 | 66 |

67 | 68 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /module/staff/salary.php: -------------------------------------------------------------------------------- 1 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 28 | 29 | 30 |

School Management System

31 |
32 | School Management System 33 |
34 |

35 | 51 |
52 |
53 |

My Salary

54 |
55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 |
Staff Monthly SalaryStaff Payable Salary This Month
69 |
70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /module/parent/checkchild.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

School Management System

15 |
16 | School Management System 17 |
18 |

19 | 38 |
39 |
40 | 41 | Select your Child: 57 |
58 | 59 |
60 |
61 |
62 |
63 | 64 |
65 |
66 |
67 | 68 | 69 | -------------------------------------------------------------------------------- /module/parent/modify.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 21 | 22 | 23 |

School Management System

24 |
25 | School Management System 26 |
27 |

28 | 47 |
48 | 49 |
50 |

Change Password

51 | 52 |
53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 |
Parents Password
61 |
62 | 63 |
64 | 65 |
66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /module/parent/childpayment.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

School Management System

15 |
16 | School Management System 17 |
18 |

19 | 38 |
39 |
40 | 41 | Select your Child to see payment: 57 |
58 | 59 |
60 | 61 |
62 | 63 | 64 |
65 |
66 |
67 | 68 | 69 | -------------------------------------------------------------------------------- /module/teacher/report.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 35 |
36 | 37 | 38 | 39 | 40 | 41 |
42 |
43 | Select Class:

60 | Select Course
63 |
64 | 65 | Select Student



68 |
69 | 70 | 71 | 72 | 73 |
74 | 75 | 76 | 77 |
78 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /module/parent/index.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

School Management System

16 |
17 | School Management System 18 |
19 |

20 | 39 |
40 | 41 |
42 |

Parents Information

43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 |
Parents IDParent Male NameParent Female NameParent Male PhoneParent Female PhoneStudent Address
69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /module/admin/viewExamSchedule.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | "; 13 | while($row = mysql_fetch_array($res)){ 14 | $string .= ''; 16 | } 17 | ?> 18 | 19 | 20 | 21 | 22 | 23 | 24 |

School Management System

25 |
26 | School Management System 27 |
28 |

29 | 48 |
49 |
50 |

Exam Schedule List

51 |
IDExam DateTimeCourse Id
'.$row['id'].''.$row['examdate']. 15 | ''.$row['time'].''.$row['courseid'].'
52 | 53 |
54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /module/parent/studentClassCourse.js: -------------------------------------------------------------------------------- 1 | function ajaxRequestToGetChild() 2 | { 3 | var info = { 4 | childid: $('#childid').val() 5 | 6 | }; 7 | 8 | $.ajax({ 9 | url: 'mychildclass.php', 10 | data: info, 11 | success: function(response){ 12 | $('#myclass').html(response); 13 | ajaxRequestToGetCourse(); 14 | }, 15 | error: function (xmlHttpRequest, textStatus, errorThrown) { 16 | alert(errorThrown); 17 | } 18 | }); 19 | } 20 | 21 | 22 | function ajaxRequestToGetCourse() 23 | { 24 | var info = { 25 | classid: $('#myclass').val(), 26 | childid: $('#childid').val() 27 | 28 | }; 29 | 30 | $.ajax({ 31 | url: 'mycourse.php', 32 | data: info, 33 | success: function(response){ 34 | $('#mycourse').html(response); 35 | ajaxRequestToGetCourseInfo(); 36 | }, 37 | error: function (xmlHttpRequest, textStatus, errorThrown) { 38 | alert(errorThrown); 39 | } 40 | }); 41 | } 42 | 43 | function ajaxRequestToGetCourseInfo() 44 | { 45 | var info = { 46 | id: $('#mycourse').val(), 47 | childid: $('#childid').val() 48 | 49 | }; 50 | 51 | $.ajax({ 52 | url: 'mycourseinfo.php', 53 | data: info, 54 | success: function(response){ 55 | $('#mycourseinfo').html(response); 56 | ajaxRequestToGetCourseTeacher(); 57 | ajaxRequestToGetCourseReportInfo(); 58 | }, 59 | error: function (xmlHttpRequest, textStatus, errorThrown) { 60 | alert(errorThrown); 61 | } 62 | }); 63 | } 64 | 65 | function ajaxRequestToGetCourseReportInfo() 66 | { 67 | var info = { 68 | id: $('#mycourse').val(), 69 | childid: $('#childid').val() 70 | 71 | }; 72 | 73 | $.ajax({ 74 | url: 'mycoursereportinfo.php', 75 | data: info, 76 | success: function(response){ 77 | $('#mycoursereportinfo').html(response); 78 | ajaxRequestToGetCourseTeacher(); 79 | }, 80 | error: function (xmlHttpRequest, textStatus, errorThrown) { 81 | alert(errorThrown); 82 | } 83 | }); 84 | } 85 | function ajaxRequestToGetCourseTeacher() 86 | { 87 | var info = { 88 | cid: $('#mycourse').val(), 89 | childid: $('#childid').val() 90 | 91 | }; 92 | 93 | $.ajax({ 94 | url: 'mycourseteacher.php', 95 | data: info, 96 | success: function(response){ 97 | $('#mycourseteacher').html(response); 98 | }, 99 | error: function (xmlHttpRequest, textStatus, errorThrown) { 100 | alert(errorThrown); 101 | } 102 | }); 103 | } 104 | -------------------------------------------------------------------------------- /module/teacher/updateAttendence.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 |
45 |
46 | Select Class:

63 | Select Course
66 |
67 | 68 | Select Student



71 |

Date:

72 | 73 | 74 | 75 | 76 |
77 | 78 | 79 | 80 |
81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /module/teacher/attendance.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 36 |
37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 |
47 |
48 | Select Class:

65 | Select Course
68 |
69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 |
78 | 79 | 80 | 81 |
82 | 83 | 84 | 85 | -------------------------------------------------------------------------------- /module/staff/index.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

School Management System

16 |
17 | School Management System 18 |
19 |

20 | 36 |
37 | 38 |
39 |

My Information

40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 |
Staff IDStaff NameStaff PhoneStaff EmailStaff GenderStaff DOBStaff Hire DateStaff AddressStaff Monthly SalaryStaff Picture
" height="95" width="95" alt=" "/>
73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /module/staff/attendance.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 38 |
39 |
40 | 41 | Select Attendance that you are present: Current Month: ALL : 42 |
43 |
44 |
45 |
46 | 47 |
48 |
49 |
50 |
51 | 52 | Select Attendance that you are absent : Current Month: ALL : 53 |
54 |
55 |
56 | 57 | 58 |
59 |
60 | 61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /module/admin/report.php: -------------------------------------------------------------------------------- 1 | 5 | Teacher 6 | Course Id 7 | Class 8 | #OF Students 9 | "; 10 | $sql = "select t.name as teacher,ac.name as course,ac.classid as class,count(g.id) as no_of_std from teachers t,takencoursebyteacher tc,availablecourse ac,grade g where t.id=tc.teacherid and ac.id=tc.courseid and tc.courseid=g.courseid and g.grade not in('A+','A','A-','B+','B','B-')group by ac.id"; 11 | $res = mysql_query($sql); 12 | while($row = mysql_fetch_array($res)){ 13 | $string .= "".$row['teacher']."".$row['course']."".$row['class']. 14 | "".$row['no_of_std'].""; 15 | } 16 | ?> 17 | 18 | 19 | 20 | 21 | 22 | 23 |

School Management System

24 |
25 | School Management System 26 |
27 |

28 | 47 |
48 |
49 |

Teacher Evaluation

50 | 51 | 52 |
53 |
54 | 55 | 56 | -------------------------------------------------------------------------------- /module/parent/Attendance.js: -------------------------------------------------------------------------------- 1 | function ajaxRequestToGetAttendancePresentThisMonth() 2 | { 3 | var info = { 4 | id: $('#childid').val() 5 | 6 | }; 7 | 8 | $.ajax({ 9 | url: 'myattendancethismonth.php', 10 | data: info, 11 | success: function(response){ 12 | $('#mypresent').html(response); 13 | ajaxRequestToGetAttendanceAbsentThisMonth(); 14 | } 15 | 16 | }); 17 | } 18 | 19 | function ajaxRequestToGetAttendancePresentAll() 20 | { 21 | var info = { 22 | id: $('#childid').val() 23 | 24 | }; 25 | 26 | $.ajax({ 27 | url: 'myattendanceall.php', 28 | data: info, 29 | success: function(response){ 30 | $('#mypresent').html(response); 31 | 32 | }, 33 | error: function (xmlHttpRequest, textStatus, errorThrown) { 34 | alert(errorThrown); 35 | } 36 | }); 37 | } 38 | function ajaxRequestToGetAttendanceAbsentThisMonth() 39 | { 40 | var info = { 41 | id: $('#childid').val(), 42 | 43 | }; 44 | 45 | $.ajax({ 46 | url: 'myattendanceabsentthismonth.php', 47 | data: info, 48 | success: function(response){ 49 | $('#myabsent').html(response); 50 | 51 | }, 52 | error: function (xmlHttpRequest, textStatus, errorThrown) { 53 | alert(errorThrown); 54 | } 55 | }); 56 | } 57 | 58 | function ajaxRequestToGetAttendanceAbsentAll() 59 | { 60 | var info = { 61 | id: $('#childid').val(), 62 | 63 | }; 64 | 65 | $.ajax({ 66 | url: 'myattendanceabsentall.php', 67 | data: info, 68 | success: function(response){ 69 | $('#myabsent').html(response); 70 | 71 | }, 72 | error: function (xmlHttpRequest, textStatus, errorThrown) { 73 | alert(errorThrown); 74 | } 75 | }); 76 | } 77 | 78 | 79 | 80 | function ajaxRequestToGetChildInfo() 81 | { 82 | var info = { 83 | id: $('#childid').val() 84 | 85 | }; 86 | 87 | $.ajax({ 88 | url: 'mychildinfo.php', 89 | data: info, 90 | success: function(response){ 91 | $('#mychild').html(response); 92 | 93 | }, 94 | error: function (xmlHttpRequest, textStatus, errorThrown) { 95 | alert(errorThrown); 96 | } 97 | }); 98 | } 99 | 100 | function ajaxRequestToGetChildPaymentInfo() 101 | { 102 | var info = { 103 | id: $('#childid').val() 104 | 105 | }; 106 | 107 | $.ajax({ 108 | url: 'mychildpaymentinfo.php', 109 | data: info, 110 | success: function(response){ 111 | $('#mychildpayment').html(response); 112 | 113 | }, 114 | error: function (xmlHttpRequest, textStatus, errorThrown) { 115 | alert(errorThrown); 116 | } 117 | }); 118 | } -------------------------------------------------------------------------------- /module/student/attendance.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 39 |
40 |
41 | 42 | Select Attendance that you are present: Current Month: ALL : 43 |
44 |
45 |
46 | 47 | 48 |
49 |
50 |
51 |
52 | 53 | Select Attendance that you are absent : Current Month: ALL : 54 |
55 |
56 |
57 | 58 | 59 |
60 |
61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /module/parent/childcourse.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 41 |
42 |
43 | 44 | 45 | Select your Child: 61 |
62 | 63 | Select Class: 66 | 67 | Select Course 70 |

Course Information:


71 | 72 |
73 |
74 | 75 | 76 | 77 |

78 | 79 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /module/parent/childreport.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 41 |
42 |
43 | 44 | 45 | Select your Child: 61 |
62 | 63 | Select Class: 66 | 67 | Select Course 70 |

Course Information:


71 | 72 |
73 |
74 | 75 | 76 | 77 |

78 | 79 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /module/admin/deleteCourse.php: -------------------------------------------------------------------------------- 1 | ". 10 | "". 11 | ''. 12 | ''.$row['name'].''.$row['teacherid']. 13 | ''.$row['studentid'].''.$row['classid'].''; 14 | } 15 | ?> 16 | 17 | 18 | 19 | 20 | 21 | 22 |

School Management System

23 |
24 | School Management System 25 |
26 |

27 | 46 |
47 |
48 |

Delete Course


49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 |
Select For DeleteNameTeacher IdStudent IdClass Id
59 |
60 | 61 | 62 | -------------------------------------------------------------------------------- /module/admin/staffAttendance.php: -------------------------------------------------------------------------------- 1 | ". 9 | "". 10 | ''. 11 | ''.$row['id'].''.$row['name']. 12 | ''.$row['phone'].''.$row['email'].''; 13 | } 14 | ?> 15 | 16 | 17 | 18 | 19 | 20 | 21 |

School Management System

22 |
23 | School Management System 24 |
25 |

26 | 45 |
46 |
47 |

Staff Attandance List


48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |
Click For AttendanceIDNamePhoneEmail
58 |
59 | 60 | 61 | -------------------------------------------------------------------------------- /module/student/index.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

School Management System

16 |
17 | School Management System 18 |
19 |

20 | 37 |
38 | 39 |
40 |

My Information

41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 |
Student IDStudent NameStudent PhoneStudent EmailStudent GenderStudent DOBStudent Admission DateStudent AddressStudent Parent IDStudent class IDStudent Picture
" height="95" width="95" alt=" "/>
76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /module/teacher/viewAttendance.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 40 |
41 |
42 | 43 | Select Attendance that you are present: Current Month: ALL : 44 |
45 |
46 |
47 |
48 | 49 |
50 |
51 |
52 |
53 | 54 | 55 | Select Attendance that you are absent : Current Month: ALL : 56 |
57 |
58 |
59 | 60 | 61 |
62 |
63 | 64 | 65 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /module/admin/teacherAttendance.php: -------------------------------------------------------------------------------- 1 | ". 9 | "". 10 | ''. 11 | ''.$row['id'].''.$row['name']. 12 | ''.$row['phone'].''.$row['email'].''; 13 | } 14 | ?> 15 | 16 | 17 | 18 | 19 | 20 | 21 |

School Management System

22 |
23 | School Management System 24 |
25 |

26 | 45 |
46 |
47 |

Teacher Attandance List


48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |
Click For AttendanceIDNamePhoneEmail
58 |
59 | 60 | 61 | -------------------------------------------------------------------------------- /module/admin/salary.php: -------------------------------------------------------------------------------- 1 | 5 | ID 6 | Name 7 | Salary 8 | Payable Salary 9 | "; 10 | $sql = "SELECT t.id,t.name,t.salary,ROUND(t.salary*count(a.date)/300) AS currentmonthlysalary FROM teachers t,attendance a WHERE t.id=a.attendedid AND MONTH(a.date)=(SELECT month(curdate()) FROM dual) GROUP BY a.attendedid"; 11 | $res = mysql_query($sql); 12 | while($row = mysql_fetch_array($res)){ 13 | $stringTeacher .= "".$row['id']. 14 | "".$row['name']."".$row['salary']. 15 | "".$row['currentmonthlysalary'].""; 16 | } 17 | 18 | $stringStaff = " 19 | ID 20 | Name 21 | Salary 22 | Payable Salary 23 | "; 24 | $sql = "SELECT s.id,s.name,s.salary,ROUND(s.salary*count(a.date)/300) AS currentmonthlysalary FROM staff s,attendance a WHERE s.id=a.attendedid AND MONTH(a.date)=(SELECT month(curdate()) FROM dual) GROUP BY a.attendedid"; 25 | $res = mysql_query($sql); 26 | while($row = mysql_fetch_array($res)){ 27 | $stringStaff .= "".$row['id']. 28 | "".$row['name']."".$row['salary']. 29 | "".$row['currentmonthlysalary'].""; 30 | } 31 | ?> 32 | 33 | 34 | 35 | 36 | 37 | 38 |

School Management System

39 |
40 | School Management System 41 |
42 |

43 | 54 |
55 |
56 |

Teacher Salary List

57 | 58 | 59 |
60 |

61 |
62 |

Staff Salary List

63 | 64 | 65 |
66 |
67 | 68 | 69 | -------------------------------------------------------------------------------- /module/teacher/deleterep.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |

School Management System

18 |
19 | School Management System 20 |
21 |

22 | 35 |
36 | 37 | 38 | '; 41 | $conn=mysql_connect('localhost','root',''); 42 | if(!$conn){ 43 | die('error connecting '); 44 | } 45 | mysql_select_db('schoolmanagementsystemdb',$conn); 46 | 47 | $sql="SELECT reportid,courseid,studentid,message FROM report where teacherid='$check'"; 48 | $res=mysql_query($sql); 49 | 50 | while($rn=mysql_fetch_array($res)) 51 | { 52 | echo "
"; 53 | $string =" 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | "; 69 | echo $string; 70 | 71 | 72 | 73 | } 74 | echo "
Report idCourse id Student id Message checkbox
$rn[0] $rn[1] $rn[2] $rn[3]
"; 75 | 76 | echo ""; 77 | echo " "; 78 | echo "
"; 79 | 80 | ?> 81 | 82 | 83 | 101 | 102 | 103 |
104 | 105 | -------------------------------------------------------------------------------- /module/admin/deletePayment.php: -------------------------------------------------------------------------------- 1 | 5 | Click To Dlete 6 | ID 7 | Student Id 8 | Amount 9 | Month 10 | Year 11 | "; 12 | $sql = "SELECT * FROM payment WHERE month = MONTH(curdate()) AND year = YEAR(curdate())"; 13 | $res = mysql_query($sql); 14 | while($row = mysql_fetch_array($res)){ 15 | $string .= "
". 16 | "". 17 | "".$row['id']."".$row['studentid']."".$row['amount']. 18 | "".$row['month']."".$row['year']."
"; 19 | }*/ 20 | ?> 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |

School Management System

31 |
32 | School Management System 33 |
34 |

35 | 54 |
55 |
56 |

Delete Payment

57 | 58 | 59 | 60 | 61 | 62 |
Search By Payment Id Or Student Id
63 |
64 |
65 |
66 | 67 | 68 | --------------------------------------------------------------------------------