v2.0 Pakhi School ERP — Complete Documentation
Admin Teacher Student Parent Reception Librarian

🏫 Pakhi School ERP

Professional School Management System — 6 Dashboard Portals, Complete Module Coverage

📦 Version 2.0 🐘 PHP 7.4+ / 8.x 🗄️ MySQL / MariaDB 🎨 Bootstrap + Custom CSS 📅 June 2026 🏫 6 Portal Dashboards 🗃️ 45+ DB Tables
1

System Overview

Pakhi School ERP is a complete web-based School Management System built with PHP, MySQL, and custom CSS/Bootstrap. It covers the entire school lifecycle — student admissions, fees, exams, attendance, live classes, homework, HR, library, transport, and hostel management — across 6 dedicated portals.

PropertyValue
ApplicationPakhi School ERP
Version2.0 — June 2026
Technology StackPHP 7.4+ / 8.x, MySQL, Bootstrap 5, Font Awesome 6.4, Chart.js
DatabaseMySQL / MariaDB — horizakn_pro_schoolerp
Master DB Filedatabase/smart_school_master.sql
Shared Configconfig/db.php — single file used by all 6 portals
PortalsAdmin | Teacher | Student | Parent | Receptionist | Librarian
Total DB Tables45+ covering all modules
2

Requirements

ComponentMinimumRecommended
PHP7.48.1+
MySQL / MariaDB5.78.0+
Apache2.42.4+
BrowserChrome 90+Latest Chrome / Edge / Firefox
RAM512 MB2 GB+
Disk Space200 MB1 GB+

Required PHP Extensions

mysqli
Database connection
session
User sessions
json
AJAX responses
mbstring
Multi-byte strings
fileinfo
File uploads
gd
Image processing
3

Installation & Setup

1

Copy Project Files to Web Root

Server StackWeb Root Path
WAMPC:/wamp64/www/kiroproduct/pakhischoolerp/
XAMPPC:/xampp/htdocs/pakhischoolerp/
LAMP/var/www/html/pakhischoolerp/
2

Start Apache & MySQL

Start both services from your WAMP / XAMPP / MAMP control panel.

3

Import the Master Database

phpMyAdmin → Import → select the master SQL file:

# File location:
database/smart_school_master.sql

# OR via command line:
mysql -u root -p horizakn_pro_schoolerp < database/smart_school_master.sql
4

Verify Database Config

Open config/db.php and confirm these values:

define('DB_HOST', 'localhost');
define('DB_USER', 'root');
define('DB_PASS', '');
define('DB_NAME', 'horizakn_pro_schoolerp');
5

Open Portals in Browser

Admin:        http://localhost/kiroproduct/pakhischoolerp/admin/
Teacher:      http://localhost/kiroproduct/pakhischoolerp/teacher/
Student:      http://localhost/kiroproduct/pakhischoolerp/student/
Parent:       http://localhost/kiroproduct/pakhischoolerp/parent/
Receptionist: http://localhost/kiroproduct/pakhischoolerp/receptionist/
Librarian:    http://localhost/kiroproduct/pakhischoolerp/librarian/
4

Database Configuration

ℹ️  Single shared config: config/db.php — all 6 portals include this one file. No separate configs needed.
ParameterDefault ValueNotes
HostlocalhostChange for remote MySQL
UsernamerootChange in production
Password(empty)Set a strong password in production
Database Namehorizakn_pro_schoolerpMust match exactly
Charsetutf8mb4Supports all languages
Master SQLdatabase/smart_school_master.sqlImport once — covers all 6 portals
5

All Dashboard Portals & Login Credentials

⚠️  Change all default passwords immediately in a production environment.
ℹ️   The login system accepts both plain text and bcrypt hashed passwords. All accounts use the default password: password

🛡️ Admin Portal

🌐 URL: http://localhost/kiroproduct/pakhischoolerp/admin/

Full system access — Student management, Fees, Examinations, HR, Live Classes, Reports, Settings

Staff IDNameEmailPasswordRole
STF001Admin Useradmin@pakhischool.inpasswordAdmin
STF010Suresh Yadavsuresh@pakhischool.inpasswordAccountant
✅ Login with Staff ID or Email  |  Password: password

👩‍🏫 Teacher Portal

🌐 URL: http://localhost/kiroproduct/pakhischoolerp/teacher/

Attendance, Enter Marks, Homework, Lesson Plans, Live Classes, Question Bank

Staff IDNameEmailPasswordRole
STF002Rajesh Kumarrajesh@pakhischool.inpasswordTeacher
STF003Priya Sharmapriya@pakhischool.inpasswordTeacher
STF004Amit Singhamit@pakhischool.inpasswordTeacher
STF005Sunita Patelsunita@pakhischool.inpasswordTeacher
STF006Vikram Mehtavikram@pakhischool.inpasswordTeacher
STF007Anjali Guptaanjali@pakhischool.inpasswordTeacher
STF008Ravi Vermaravi@pakhischool.inpasswordTeacher
STF009Deepa Nairdeepa@pakhischool.inpasswordTeacher
✅ Login with Staff ID or Email  |  Password: password

🎓 Student Portal

🌐 URL: http://localhost/kiroproduct/pakhischoolerp/student/

View fees, attendance, exam results, homework, timetable, library, transport, hostel

Admission NoNameEmailPassword
ADM2026001Aarav Sharmaaarav@email.compassword
ADM2026002Priya Patelpriya@email.compassword
ADM2026003Arjun Singharjun@email.compassword
ADM2026004Sneha Guptasneha@email.compassword
ADM2026005Rohit Kumarrohit@email.compassword
ℹ️ Login with Admission No or Email  |  Password: password

👨‍👩‍👧 Parent Portal

🌐 URL: http://localhost/kiroproduct/pakhischoolerp/parent/

Monitor child's attendance, fees, exam results, homework, live classes, behaviour, transport

Email / PhoneNamePasswordRelationChild
olivier@gmail.comOlivier ThomaspasswordFatherAarav Sharma
98654646Olivier ThomaspasswordFatherAarav Sharma
mohan@email.comMohan SharmapasswordFatherAarav Sharma
ramesh@email.comRamesh PatelpasswordFatherPriya Patel
harpal@email.comHarpal SinghpasswordFatherArjun Singh
deepak@email.comDeepak GuptapasswordFatherSneha Gupta
ℹ️ Parent login accepts Email or Phone number from the parents table.
✅ Recommended: Email olivier@gmail.com  |  Password: password

📞 Receptionist Portal

🌐 URL: http://localhost/kiroproduct/pakhischoolerp/receptionist/

Front Office management — Admission Enquiry, Visitor Book, Phone Call Log, Postal, Complaints

Staff IDNameEmailPasswordRole
STF012Rohit Tiwarirohit@pakhischool.inpasswordReceptionist
✅ Login with Staff ID STF012 or Email rohit@pakhischool.in  |  Password: password

📚 Librarian Portal

🌐 URL: http://localhost/kiroproduct/pakhischoolerp/librarian/

Book catalogue, Issue & Return management, Library members, Reports

Staff IDNameEmailPasswordRole
STF011Meena Joshimeena@pakhischool.inpasswordLibrarian
✅ Login with Staff ID STF011 or Email meena@pakhischool.in  |  Password: password

⚡ Quick Reference — All Portals at a Glance

PortalURL PathUsername / IDPasswordRole
Admin/admin/STF001  or  admin@pakhischool.inpasswordAdmin
Admin/admin/STF010  or  suresh@pakhischool.inpasswordAccountant
Teacher/teacher/STF002  or  rajesh@pakhischool.inpasswordTeacher
Teacher/teacher/STF003  or  priya@pakhischool.inpasswordTeacher
Teacher/teacher/STF004  or  amit@pakhischool.inpasswordTeacher
Teacher/teacher/STF005  or  sunita@pakhischool.inpasswordTeacher
Teacher/teacher/STF006  or  vikram@pakhischool.inpasswordTeacher
Teacher/teacher/STF007  or  anjali@pakhischool.inpasswordTeacher
Teacher/teacher/STF008  or  ravi@pakhischool.inpasswordTeacher
Teacher/teacher/STF009  or  deepa@pakhischool.inpasswordTeacher
Student/student/ADM2026001  or  aarav@email.compasswordStudent
Student/student/ADM2026002  or  priya@email.compasswordStudent
Parent/parent/olivier@gmail.com  or  98654646passwordParent (Father)
Parent/parent/mohan@email.compasswordParent (Father)
Receptionist/receptionist/STF012  or  rohit@pakhischool.inpasswordReceptionist
Librarian/librarian/STF011  or  meena@pakhischool.inpasswordLibrarian
⚠️   All accounts use bcrypt hash of "password": $2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi
Change immediately in production using the Change Password feature in each portal.
6

Project File Structure

pakhischoolerp/
├── config/
│   └── db.php                       # Shared DB config + all helper functions
├── database/
│   ├── smart_school_master.sql      # MASTER — import this ONE file only
│   └── fix_passwords.sql            # Reset passwords utility
├── documentation.html               # This file
│
├── admin/                           # Admin Dashboard (Full Access)
│   ├── index.php / dashboard.php / logout.php
│   ├── config/db.php                # → includes ../../config/db.php
│   ├── assets/css/style.css
│   ├── includes/ (header, sidebar, footer)
│   ├── academics/                   # Classes, Subjects, Timetable
│   ├── attendance/                  # Student attendance, Leave
│   ├── behaviour/                   # Behaviour incidents
│   ├── certificate/                 # ID cards, TC
│   ├── communicate/                 # Notice, Email, SMS
│   ├── examination/ + examinations/ # CBSE + General exams
│   ├── fees/                        # Fees collection + management
│   ├── front_office/                # Enquiry, Visitors, Complaints
│   ├── gmeet/ + zoom/               # Live classes
│   ├── hostel/ + library/           # Hostel + Library
│   ├── human_resource/              # Staff HR
│   ├── income/ + expenses/          # Finance
│   ├── inventory/                   # Inventory management
│   ├── online_course/ + online_exam/# E-learning
│   ├── reports/                     # All reports
│   └── student/                     # Student management
│
├── teacher/                         # Teacher Dashboard
│   ├── index.php / dashboard.php
│   ├── config/db.php / assets/css/style.css
│   ├── includes/ (header, sidebar, footer)
│   └── (attendance, exams, homework, lesson_plan, live_classes ...)
│
├── student/                         # Student Dashboard
│   ├── index.php / dashboard.php
│   ├── config/db.php / assets/css/style.css
│   └── (fees, attendance, exams, library, transport, hostel ...)
│
├── parent/                          # Parent Dashboard
│   ├── index.php / dashboard.php / my_profile.php
│   ├── config/db.php / assets/css/style.css
│   ├── fees/ (student_fees.php, offline_payment.php)
│   ├── examinations/ (exam_schedule.php, exam_result.php)
│   ├── cbse/ (exam_schedule.php, exam_result.php)
│   ├── library/ (book_list.php, book_issued.php)
│   └── download/ (contents.php, video_tutorial.php)
│
├── receptionist/                    # Receptionist Dashboard
│   ├── index.php / dashboard.php
│   ├── front_office/ (7 pages)
│   ├── communicate/ (4 pages)
│   ├── student/ + human_resource/
│   └── config/db.php / assets/css/style.css
│
└── librarian/                       # Librarian Dashboard
    ├── index.php / dashboard.php
    ├── config/db.php / assets/css/style.css
    └── (books, issue, return, members, reports)
7

Database Tables Reference

Database: horizakn_pro_schoolerp  |  Master file: database/smart_school_master.sql

Core / Setup

TableDescription
classesSchool classes (Class 1–12)
sectionsSections A, B, C, D, E
sessionsAcademic sessions (2026-27 active)
subjectsSubjects with codes (English 210, Hindi 230 etc.)
system_settingsGlobal key-value settings
currenciesCurrency master (USD default)
languagesLanguage options (English, Hindi etc.)

Users

TableDescriptionUsed By
staffAll staff — Super Admin, Admin, Teacher, Accountant, Librarian, ReceptionistAdmin, Teacher, Receptionist, Librarian
studentsStudent master — 60+ columns including family, transport, hostelAdmin, Student, Parent
parentsParent accounts linked to studentsParent Portal

Front Office

TableDescription
admission_enquiryEnquiry with status (Active/Won/Passive/Lost/Dead)
visitor_bookVisitor log with in/out time
phone_call_logIncoming/Outgoing call records
postal_dispatchOutgoing postal records
postal_receiveIncoming postal records
complainComplaint tracker with action taken
front_office_purposeVisitor purpose setup
complaint_typesComplaint type setup
enquiry_sourcesEnquiry source setup
enquiry_referencesEnquiry reference setup

Academics, Attendance & Homework

TableDescription
class_timetableWeekly timetable per class/section
class_teachersClass teacher assignments
student_attendanceDaily attendance (Present/Absent/Late/Holiday/Half Day)
staff_attendanceStaff daily attendance
student_leaveStudent leave applications
staff_leaveStaff leave applications
lessonsLesson master
topicsTopics under lessons with completion status
lesson_plansWeekly lesson plan entries
lesson_plan_commentsComments by students/parents on lesson plans
syllabus_statusCompletion % per subject per class
homeworkHomework assignments
daily_assignmentsStudent submitted daily assignments

Examinations & Fees

TableDescription
exam_groupsExam group master
exam_schedulesExam schedule with subject, date, room, marks
exam_marksStudent marks per exam group
examinationsCBSE examination master
cbse_exam_marksTheory + Practical + Assignment marks
online_examsOnline exam configuration
online_exam_attemptsStudent attempts tracking
question_bankMCQ/Descriptive questions
fees_groupsFee group definitions
fees_typesFee types (monthly, annual etc.)
fees_masterFee structure with amounts + due dates
fees_paymentPayment records (Paid/Partial/Unpaid)
offline_bank_paymentsOffline payment proof submissions
income / income_headSchool income tracking
expenses / expense_headExpense tracking

Library, Hostel, Transport & Live Classes

TableDescription
books / library_booksBook catalogue
library_membersLibrary membership cards
issue_items / library_book_issueBook issue & return
hostels / room_types / hostel_roomsHostel management
routes / vehicles / route_pickup_pointsTransport management
student_transportStudent route assignments
gmeet_live_classes / gmeet_live_meetingsGoogle Meet sessions
zoom_live_classes / zoom_live_meetingsZoom sessions
online_courses / online_course_enrollmentOnline course management
notices / notice_boardNotice board
email_log / email_templates / sms_templatesCommunication
download_contents / video_tutorialsDownload center
student_documents / student_timelineStudent profile
student_behaviour / teacher_ratingsBehaviour + ratings
8

Module Reference

🛡️ Admin Portal — 30+ Modules

ModuleKey Features
DashboardStats, charts (fees/expenses), attendance overview, enquiry overview, notice banners
Front OfficeAdmission Enquiry, Visitor Book, Phone Call Log, Postal Dispatch/Receive, Complaints, Setup
Student InformationAdmission, Student Details, Online Admission, Categories, Bulk Delete
Fees CollectionCollect Fees, Search Payment, Due Fees, Fees Master, Quick Fees, Group/Type/Discount, Carry Forward, Reminder
Gmeet Live ClassesLive Classes, Live Meetings, Reports, Settings (API key)
Zoom Live ClassesLive Meeting, Live Classes, Reports, Settings (API key)
CBSE ExaminationExam, Schedule, Enter Marks, Print Marksheet, Admit Card, Reports, Settings
ExaminationsExam Group, Schedule, Result, Design Admit Card, Design Marksheet, Marks Grade/Division
AcademicsClass Timetable, Assign Class Teacher, Subject Group, Subjects, Class, Sections, Promote Students
Human ResourceStaff Directory, Staff Attendance, Payroll, Apply Leave, Approve Leave, Department, Designation
CommunicateNotice Board, Send Email (Group/Individual/Class/Birthday), Send SMS, Email/SMS Log, Templates
CertificateTransfer Certificate, Student/Staff ID Cards, Generate Certificates
LibraryBook List, Issue-Return, Members, Reports
HostelHostel, Room Types, Hostel Rooms
TransportRoutes, Pickup Points, Vehicles, Assign Vehicle, Student Transport Fees
InventoryItems, Stock, Issue Items, Categories, Stores, Suppliers
Income / ExpensesAdd/Search Income, Add/Search Expense, Income/Expense Head
System SettingsGeneral, Session, Roles/Permissions, Payment, SMS/Email Settings, Backup, Languages, Modules

👩‍🏫 Teacher Portal — 12 Modules

ModuleFeatures
DashboardToday's timetable, attendance summary, homework due, pending evaluations, notices
AttendancePeriod attendance marking, monthly attendance report
ExaminationsEnter marks, exam schedule, results view, CBSE marks entry
HomeworkAdd homework, homework list, evaluate daily assignments
Lesson PlanManage lesson plan, syllabus status tracking, lessons & topics CRUD
Live ClassesSchedule & manage Gmeet/Zoom classes and meetings
Online ExamCreate online exams, question bank management
CommunicateNotice board, Send Email/SMS to students
Download CenterUpload/share content, video tutorials
CertificateStaff ID card, Generate Staff ID

🎓 Student Portal — 18 Modules

ModuleFeatures
DashboardAttendance %, notices, subject progress bars, today's timetable, homework, teachers, visitors, library
My Profile8 tabs: Profile | Fees | Exam | CBSE | Attendance | Documents | Timeline | Behaviour
FeesFee records with status, offline bank payment submission
AttendanceMonthly calendar with colour-coded Present/Absent/Late/Holiday
HomeworkUpcoming/Closed tabs + Daily Assignment file submission
Online ExamUpcoming/Closed exams with full detail modal
Online CourseCourse catalogue grid with preview modal + enroll
Class TimetableWeekly 7-column grid with subject/teacher/room/time
Lesson PlanWeekly navigation + lesson detail popup + comment
Syllabus StatusSVG donut charts per subject + full lesson/topic tree
Notice BoardFull notice list with detail view
LibraryBook catalogue + books issued to student
TransportRoute info + vehicle details + pickup point timeline
Hostel RoomsRoom list with assigned room highlighted
Apply LeaveApply leave form + history table
Visitor BookVisitor records log
Teachers ReviewsTeacher cards with timetable, email, phone, star ratings

👨‍👩‍👧 Parent Portal — 18 Modules

ModuleFeatures
DashboardChild's attendance %, notices, subject progress, timetable, homework, teachers, visitors, library books
My ProfileFull student profile (8 tabs) — read-only access to child's data
FeesFull fee table + Offline Bank Payment submission + payment history
ExaminationsExam schedule + results by exam group
CBSE ExaminationCBSE timetable + CBSE marksheet (Theory/Practical/Assignment)
AttendanceMonthly attendance calendar
HomeworkUpcoming/Closed + submit daily assignment on behalf
Online ExamView exam details + attempt count
Notice BoardNotice list with inline detail slide panel
Zoom Live ClassesLive class list + Join button + detail modal
Gmeet Live ClassesGmeet class list + Join URL
Online CourseCourse grid with preview modal
LibraryBook catalogue + issued books list
TransportRoute + vehicle details + pickup point timeline
Hostel RoomsRoom list with assigned room highlighted
Lesson PlanWeekly lesson plan + comment on lessons
Syllabus StatusDonut charts + full topic tree
Teachers ReviewsTeacher list with schedule and star ratings

📞 Receptionist Portal  |  📚 Librarian Portal

PortalModuleFeatures
ReceptionistFront OfficeAdmission Enquiry, Visitor Book, Phone Call Log, Postal Dispatch/Receive, Complaints, Setup (7 pages)
ReceptionistCommunicateNotice Board (compose), Send Email, Send SMS, Email/SMS Log
ReceptionistStudent InfoStudent Details — read-only search by class/section/keyword
ReceptionistHuman ResourceStaff Directory — card view + list view
LibrarianBooksFull book catalogue CRUD — Title, Publisher, Author, Rack, Qty, Price
LibrarianIssue — ReturnIssue books to student/staff, mark return, overdue tracking
LibrarianMembersLibrary membership card management
LibrarianReportsIssue reports, overdue reports, returned books
9

User Roles & Permissions

RolePortalStaff IDAccess Level
AdminAdminSTF001 / admin@pakhischool.inFull — all modules, system settings, backup, roles management
AccountantAdminSTF010 / suresh@pakhischool.inFees, Income, Expenses, Reports only
TeacherTeacherSTF002–STF009 / @pakhischool.in emailsAttendance, Marks, Homework, Lessons, Live Classes, Question Bank
ReceptionistReceptionistSTF012 / rohit@pakhischool.inFront Office, Student lookup, Notice Board, Email/SMS
LibrarianLibrarianSTF011 / meena@pakhischool.inBooks, Issue, Return, Members, Reports only
StudentStudentADM2026001–ADM2026005View own: fees, attendance, results, homework — limited actions
ParentParentEmail or Phone from parents tableView child's data — read-only + leave application + offline payment
10

Troubleshooting

❌ Database connection failed
  • Verify MySQL is running in WAMP/XAMPP
  • Check credentials in config/db.php
  • Database name must exactly be: horizakn_pro_schoolerp
  • Import database/smart_school_master.sql first
❌ Login not working — "Invalid credentials"
  • Ensure you imported database/smart_school_master.sql
  • Default password for ALL accounts is: password
  • Admin login: Staff ID STF001 or Email admin@pakhischool.in
  • Teacher login: Staff ID e.g. STF002 or Email rajesh@pakhischool.in
  • Student: Admission No ADM2026001 or Email aarav@email.com
  • Parent: Email olivier@gmail.com or Phone 98654646
  • Receptionist: Staff ID STF012 or Email rohit@pakhischool.in
  • Librarian: Staff ID STF011 or Email meena@pakhischool.in
  • If passwords fail, run database/fix_passwords.sql to reset to plain text
❌ "Table doesn't exist" error
  • Import the master file — it creates ALL 45+ tables for all portals
  • Command: mysql -u root -p horizakn_pro_schoolerp < smart_school_master.sql
  • Or use phpMyAdmin → Import
❌ Parent login — "No account found"
  • Ensure parents table exists — run smart_school_master.sql
  • Try email: olivier@gmail.com / password: password
  • Or phone: 98654646 / password: password
  • Other parent emails: mohan@email.com, ramesh@email.com, harpal@email.com
❌ Blank page or 500 Internal Server Error
  • Check PHP version: php -v — must be 7.4+
  • Enable error display: add ini_set('display_errors',1); to config/db.php temporarily
  • Verify mysqli extension is enabled in php.ini
  • Check uploads/ directory has write permissions
❌ CSS styles not loading
  • Each portal has its own assets/css/style.css
  • Clear browser cache: Ctrl + Shift + R
  • The base path depth in header.php auto-calculates relative paths
11

Changelog

v2.0 — June 2026

  • Parent Portal — 37 files, 18 modules, 8-tab profile, fees, CBSE results, attendance calendar, live classes, online courses
  • Receptionist Portal — 23 files, all front office pages, communicate, student lookup, staff directory
  • Librarian Portal — full library CRUD, issue/return, members, reports
  • Master Database — single smart_school_master.sql for all 6 portals (45+ tables, full sample data)
  • ✅ Parent auth via parents table + guardian phone fallback
  • ✅ Parent helper functions added to shared config/db.php
  • ✅ Offline bank payment feature for parents
  • ✅ CBSE marksheet in parent + student portals
  • ✅ Transport route map with pickup timeline
  • ✅ Online course grid with preview modal
  • ✅ Syllabus status SVG donut charts
  • ✅ Student behaviour tab with +/- points display
  • ✅ Teachers Reviews with star ratings
  • ✅ Documentation redesigned — white/light professional theme

v1.0 — May 2026 (Initial Release)

  • Admin Dashboard — 30+ modules
  • Teacher Panel — full exam, attendance, lesson plan, live classes
  • Student Panel — fees, attendance, exams, homework, library
  • Unified single-file config architecture
  • Bootstrap + Custom CSS professional responsive UI
  • CBSE + General Examination systems
  • Zoom + Google Meet live class integration
  • Online Examination with Question Bank
  • Lesson Plan + Syllabus Status management
  • Communication module (Email, SMS, Notice Board)
  • Role-based access control