SlideShare a Scribd company logo
1
AN
PROJECT REPORT
ON
TEACHERS RECORD MANAGEMENT SYSTEM
PROJECT
BY
KAMAL ACHARYA
(Tribhuvan University)
Date: 2023/12/10
2
CHAPTER 1
INTRODUCTION
1.1 About the Organization
The Teachers Record Management System is a comprehensive solution
designed to simplify the process of managing teacher records. In today's fast-paced world, it is
imperative for schools and individuals to have access to accurate and up-to-date information
about teachers. This system addresses the needs of both individuals and schools, offering an
efficient and effective way to manage teacher records.
This web-based technology was developed with the aim of providing an easy-to-use platform
that allows users to search and manage teacher records with ease. The system is designed to be
user-friendly, making it accessible to individuals with varying levels of computer literacy. The
interface is intuitive and easy to navigate, making it possible for users to quickly find the
information they need.
For individuals who are searching for good teachers, the Teachers Record Management System
offers a comprehensive database of teacher records that can be searched using various
parameters such as subject, qualification, experience, and location. This allows users to find
the best teachers that match their requirements in a matter of minutes. The system also offers
the ability to rate and review teachers, providing valuable feedback to other users who are
looking for good teachers.
For schools, the Teachers Record Management System offers a robust and secure platform for
managing teacher records. The system allows schools to maintain accurate and up-to-date
records of their teachers, including their personal information, academic qualifications, work
experience, and other relevant details. This makes it easy for schools to keep track of their
teachers and ensure that they have the right teachers for the job.
The system also offers a range of features that help schools manage their teachers more
efficiently. For example, the system allows schools to schedule classes and assign teachers to
specific classes based on their qualifications and experience. It also offers a range of reporting
and analytics tools that enable schools to track their teacher's performance and identify areas
where improvements can be made.
In conclusion, the Teachers Record Management System is a powerful tool that offers a range
of benefits to both individuals and schools. It provides an easy and efficient way to search and
manage teacher records, allowing users to find the best teachers that match their requirements.
The system is also designed to be user-friendly and offers a range of features that help schools
manage their teachers more efficiently. Overall, the Teachers Record Management System is
an essential tool for anyone who wants to find good teachers or manage their teacher records.
3
1.2 Overview of project
The Teachers Record Management System is a comprehensive web
application that has been developed to help manage teacher records efficiently. It is built using
PHP5.6/PHP7.x and MySQL 5.x database, which are widely recognized as the most popular
programming languages for web development and reliable database management.
The system is divided into two primary modules: the admin module and the user module. The
admin module is designed for administrators and is used to manage the system's different
aspects, including managing subjects, teachers, searching for teachers by name, generating
reports, and managing their profile and password. The admin module provides the system's
core functionality, and it is the primary control center of the system.
The user module is designed for teachers, and it is used to update their profile and password,
view queries, and log out. The user module is designed to be simple and easy to use, allowing
teachers to manage their profile and access relevant information without having to go through
the admin module.
The Teachers Record Management System is a comprehensive solution that streamlines the
process of managing teacher records. The system provides administrators with complete
control over the entire teacher record database, allowing them to manage subjects and teachers
effectively. The system also provides teachers with an easy way to update their profiles and
view queries related to their classes.
The admin module is divided into several sub-modules, each of which is responsible for
managing different aspects of the system. The subject management sub-module allows
administrators to manage the list of subjects that are taught in the school. The teacher
management sub-module allows administrators to manage the list of teachers and their profiles,
including their personal information, academic qualifications, work experience, and other
relevant details.
The search teacher sub-module allows administrators to search for teachers by name, subject,
experience, qualification, and location. The report sub-module allows administrators to
generate different types of reports based on different parameters, such as teacher performance,
subject-wise teacher allocation, and subject-wise student performance.
The system's user module is designed to be simple and user-friendly, allowing teachers to
update their profiles, view queries, and log out with ease. The user module includes a profile
management sub-module that allows teachers to update their personal information, academic
qualifications, and work experience. The query sub-module allows teachers to view queries
related to their classes, ensuring that they stay up to date with their responsibilities.
In conclusion, the Teachers Record Management System is a powerful web application that
provides administrators and teachers with an easy and efficient way to manage teacher records.
The system's admin module offers complete control over the teacher record database, while the
user module provides teachers with an easy way to manage their profiles and view queries. The
4
Teachers Record Management System is an essential tool for any school looking to streamline
the process of managing teacher records.
1.3 Objective of project
The Teachers Record Management System has been developed with the following objectives
in mind:
1. To streamline the process of managing teacher records: One of the primary objectives
of this project is to provide a system that simplifies the management of teacher records.
The system offers a user-friendly interface that allows administrators and teachers to
manage their records efficiently. This objective is achieved by providing a centralized
database that stores all the necessary information related to teachers, including their
personal details, academic qualifications, work experience, and other relevant details.
2. To enhance transparency and accountability: Another essential objective of this project
is to enhance transparency and accountability in the management of teacher records.
The system provides administrators with complete control over the database, ensuring
that all records are accurate and up to date. This objective is achieved by implementing
robust security features that prevent unauthorized access to the system and the database.
3. To improve the quality of teaching: This project also aims to improve the quality of
teaching by providing administrators with the necessary information to evaluate teacher
performance. The system allows administrators to generate reports that provide insights
into the performance of teachers, subject-wise teacher allocation, and subject-wise
student performance. This objective is achieved by providing a system that is capable
of analyzing and presenting data in a meaningful way.
4. To provide a user-friendly interface: The project aims to provide a user-friendly
interface that is easy to navigate and use. This objective is achieved by designing a
system that is intuitive and easy to use, even for users who are not tech-savvy.
5. To ensure system reliability and security: This project aims to provide a reliable and
secure system that can be used to manage teacher records. The system's reliability is
achieved by implementing robust backup and recovery mechanisms, ensuring that data
is not lost in case of system failure. The system's security is achieved by implementing
various security features, including user authentication, access control, and data
encryption.
In conclusion, the Teachers Record Management System is a project that aims to simplify the
management of teacher records. The project's objectives include improving the quality of
teaching, enhancing transparency and accountability, providing a user-friendly interface, and
ensuring system reliability and security.
5
CHAPTER 2
SYSTEM ANALYSIS
2.1 Study of Existing System
The existing system for managing teacher records is usually manual and
paper-based, which makes it prone to errors and time-consuming. In this system, teachers are
required to submit their personal and academic details on paper, which are then stored in a file
or folder. The school administration then has to manually manage and maintain these records,
which can be a tedious and time-consuming process.
The manual system is also vulnerable to errors, as the records can be lost, misplaced, or
damaged over time. Additionally, there may be inconsistencies in the data, as it may be difficult
to update and maintain the records in real-time. Furthermore, this system lacks the necessary
features for effective data analysis and reporting, making it challenging to evaluate teacher
performance or identify areas that need improvement.
Overall, the manual system for managing teacher records is inefficient, time-consuming, and
prone to errors. It lacks the necessary features for effective data analysis and reporting, making
it challenging for school administrators to make data-driven decisions.
The Teachers Record Management System is designed to address these issues and provide a
more efficient and reliable way to manage teacher records. The system offers a centralized
database that stores all the necessary information related to teachers, including their personal
details, academic qualifications, work experience, and other relevant details. This database can
be easily accessed and updated in real-time, making it easy to maintain accurate records.
The system also offers features for effective data analysis and reporting, enabling
administrators to generate reports that provide insights into the performance of teachers,
subject-wise teacher allocation, and subject-wise student performance. This information can
help administrators identify areas that need improvement and make data-driven decisions.
Overall, the Teachers Record Management System offers a more efficient, reliable, and user-
friendly way to manage teacher records. By automating the process, the system reduces the
workload of school administrators, improves data accuracy, and enhances transparency and
accountability. The system is an essential tool for any school looking to streamline the process
of managing teacher records and improve the quality of teaching.
2.2 Study of Proposed System
The proposed Teachers Record Management System is a web-based application
that offers several benefits over the existing manual system. The system is designed to be user-
friendly and intuitive, with an easy-to-use interface that enables administrators and teachers to
manage teacher records efficiently.
6
One of the primary advantages of the proposed system is that it is web-based, which means
that it can be accessed from anywhere with an internet connection. This makes it easy for
administrators and teachers to access and manage their records, even if they are not physically
present in the school. This feature can be particularly helpful for schools with multiple
campuses or remote staff.
The system also provides a range of features for managing teacher records, including subject
management, teacher management, and query management. Administrators can easily add,
update, or delete subjects and teachers as needed, while also maintaining accurate records of
their qualifications, work experience, and other relevant details. The query management feature
allows administrators to quickly respond to any questions or concerns raised by teachers,
ensuring timely and efficient communication.
Another key feature of the proposed system is the search function, which allows administrators
to search for teachers by name. This feature makes it easy to find specific records quickly,
reducing the time and effort required to manage teacher records. The system also provides
reporting capabilities, enabling administrators to generate reports that provide insights into
teacher performance and subject-wise teacher allocation.
Overall, the proposed system offers several benefits over the existing manual system. It is user-
friendly, web-based, and provides a range of features for managing teacher records efficiently.
The search function and reporting capabilities make it easy to find and analyze data, helping
administrators make data-driven decisions. By automating the process of managing teacher
records, the system can help schools reduce errors, save time, and improve the quality of
teaching.
2.3 System Specifications
2.3.1 Hardware Specifications
 Intel i5 Processor
 512 MB Ram
 512 KB Cache Memory
 Hard disk 10 GB
 Microsoft Compatible 101 or more Key Board
2.3.2 Software Specification
 Operating System: Windows
 Web-Technology: PHP
 Front-End: HTML, AJAX, JQUERY AND JAVASCRIPT
 Back-End: MySQL
 Web Server: Apache SERVER.
The Teachers Record Management System is developed using PHP5.6/PHP7.x and MySQL
5.x database. The user interface is designed using HTML, AJAX, JQUERY, and
JAVASCRIPT.
7
2.4 Software Features
User interface: The way users interact with and navigate the software, including graphical
elements, buttons, menus, and forms.
Data management: The ability to store, retrieve, and manipulate data, often through a
database or file system.
Reporting and analytics: The ability to generate reports and visualizations based on data to
help users understand and analyze information
.
Task management: A system for managing and tracking tasks and projects, including setting
deadlines and assigning tasks to individuals
.
Communication and collaboration: Tools that allow users to communicate and work
together, such as messaging and file sharing.
Mobile support: The ability to access and use the software on mobile devices, including
smartphones and tablets.
Customization and configuration: The ability to modify the software to fit specific needs,
such as changing the appearance or adding new functionality.
Security: Measures to protect sensitive data and prevent unauthorized access, such as
encryption, user authentication, and data backup.
Integration with other systems: The ability to connect and exchange data with other software
and services, such as third-party APIs.
User authentication and authorization: A system for logging in and verifying users, as well
as controlling what actions each user can take
8
2.4.1 Overview of Operating System
The system is compatible with any modern operating system, including Windows, Mac OS,
and Linux.
2.4.2 Overview Language Used
The system is developed using PHP5.6/PHP7.x and MySQL 5.x database. The user interface
is designed using HTML, AJAX, JQUERY, and JAVASCRIPT.
2.4.3 Introduction to PHP
The term PHP is an acronym for PHP: Hypertext Pre processor. PHP is a server-side
scripting language designed specifically for web development. It is open-source which means
it is free to download and use. It is very simple to learn and use. The files have the extension
“.PHP”. Rasmus Lerdorf inspired the first version of PHP and participated in the later versions.
It is an interpreted language and it does not require a compiler.
PHP code is usually processed on a web server by a PHP interpreter implemented as a module,
a daemon or a Common Gateway Interface(CGI) executable. On a web server, the result of the
interpreted and executed PHP code – which may be any type of data, such as generated HTML
or binary image data – would form the whole or part of an HTTP response.
PHP is an open-source server-side scripting language that many developers use for web
development. It is also a general-purpose language that you can use to make lots of projects,
including Graphical User Interfaces (GUIs).
The first version of PHP was launched 26 years ago. Now it's on version 8, released in
November 2020, but version 7 remains the most widely used.
PHP runs on the Zend engine, which is the most popular implementation. There are some other
implementations as well, like parrot, HPVM (Hip Hop Virtual Machine), and Hip Hop, created
by Facebook.
PHP is mostly used for making web servers. It runs on the browser and is also capable of
running in the command line. So, if you don't feel like showing your code output in the browser,
you can show it in the terminal.
Cross-Platform: PHP is platform-independent. You don't have to have a particular OS to use
it because it runs on every platform, whether it's Mac, Windows, or Linux.
Open Source: PHP is open source. The original code is made available to everyone who wants
to build upon it. This is one of the reasons why one of its frameworks, Laravel, is so popular.
Easy to learn: PHP is not hard to learn for absolute beginners. You can pick it up pretty if you
already have programming knowledge.
PHP syncs with all Databases: You can easily connect PHP to all Databases, relational and
non-relational. So it can connect in no time to MySQL, Postgress, MongoDB, or any other
database.
9
Supportive Community: PHP has a very supportive online community. The official
documentation provides guides on how to use the features and you can easily get your problem
fixed while stuck.
Nowadays, there's an intense debate on whether PHP is on the decline or not. This is because
of the advent and increasing popularity of other languages suited for the server-side such as
JavaScript (Node JS), Python, Golang, and others.
PHP can create, open, read, write, delete, and close files on the server. PHP can collect form
data. PHP can send and receive cookies. PHP can add, delete, modify data in your database.
PHP can be used to control user-access. PHP can encrypt data. With PHP you are not limited
to output HTML.
2.4.4 Intoduction to MySql
MySQL is an open-source relational database management system (RDBMS). Its name is a
combination of "My", the name of co-founder Michael Win Denius's daughter My, and "SQL",
the acronym for Structured Query Language. A relational database organizes data into one or
more data tables in which data may be related to each other; these relations help structure the
data. SQL is a language programmers use to create, modify and extract data from the relational
database, as well as control user access to the database. In addition to relational databases and
SQL, an RDBMS like MySQL works with an operating system to implement a relational
database in a computer's storage system, manages users, allows for network access and
facilitates testing database integrity and creation of backups.
MySQL is free and open source software under the terms of the GNU General Public License,
and is also available under a variety of proprietary licenses. MySQL was owned and sponsored
by the Swedish company MySQL AB, which was bought by Sun Microsystems (now Oracle
Corporation). In 2010, when Oracle acquired Sun, Widenius forked the open-source MySQL
project to create MariaDB.
MySQL has stand-alone clients that allow users to interact directly with a MySQL database
using SQL, but more often, MySQL is used with other programs to implement applications that
need relational database capability. MySQL is a component of the LAMP web application
software stack (and others), which is an acronym for Linux, Apache, MySQL,
Perl/PHP/Python. MySQL is used by many database-driven web applications, including
Drupal, Joomla, phpBB, and WordPress. MySQL is also used by many popular websites,
including Facebook, Flickr, MediaWiki, Twitter, and YouTube.
Overview
MySQL is a powerful and widely-used database management system that offers a range of
features and tools for storing, organizing, and managing data. Whether you are a web
developer, data analyst, or business owner, MySQL can provide a reliable and efficient solution
for your data storage needs.
10
MySQL is a popular open-source database management system.
• It is used for storing and organizing data.
• It is known for its fast performance, reliability, and ease of use.
• MySQL is based on the Structured Query Language (SQL).
• It can be used to create and modify databases, tables, and other database objects.
• It can be used to insert, query, and update data.
• MySQL can be used to manage users and privileges.
• It is flexible and can be used on a variety of platforms and with a range of programming
languages.
• MySQL offers optional add-ons and tools for backup, recovery, performance tuning, and
security.
• MySQL is a database system used for developing web-based software applications.
• MySQL is used for both small and large applications.
• MySQL is a relational database management system (RDBMS).
• MySQL is presently developed, distributed, and supported by Oracle Corporation.
• MySQL is written in the C programming language.
Main features of MySQL include:
• MySQL server design is multi-layered with independent modules.
• MySQL is fully multithreaded by using kernel threads. It can handle multiple CPUs if they
are available.
• MySQL provides transactional and non-transactional storage engines.
• MySQL has a high-speed thread-based memory allocation system.
• MySQL supports in-memory heap table.
• MySQL can handle large databases.
• MySQL Server works in client/server or embedded systems.
2.5 Cost Estimation and Development Process
The cost of developing the Teachers Record Management System depends on various factors
such as the development team size, the project complexity, and the time required to develop
the system. The development process involves various stages such as requirement analysis,
design, development, testing, and implementation.
11
CHAPTER 03
System design & development process
System design is the process of defining elements of a system like modules, architecture,
components and their interfaces and data for a system based on the specified requirements.
And it is the process of defining, developing systems which satisfies the specific needs and
requirements of a business or organization.
A systematic approach is required for a coherent all related variables of the system. A
designer uses the modelling languages to express to information and knowledge in a structure
of system that is defined by a consistent set of rules and definitions. The design can be
defined as graphical or textual modelling languages.
Output design generally refers to the results and information that are generated by the system
for many end-users; output is the main reason for developing the system and the basis on
which they evaluate the usefulness of the application.
The code design should be such that with less amount of coding we can achieve more results.
The speed of the system will be more if the coding is less. Whether the data in the system is
usable and readable by the system is depending on the coding. In this project, the coding is
being done such that proper validations are made to get the perfect input. No error inputs are
accepted. In addition, care is taken such that the data integrity and referential integrity is not
violated in the database. In addition, coding is designed such that concurrency avoidance of
accessing the database, limited user access to the table is made perfect
12
Software development process
A software development process is the process of dividing software development work into
smaller, parallel or sequential steps or sub processes to improve design and product
management. It is also known as a software development life cycle (SDLC). SDLC is a
process followed for a software project, within a software organization. It consists of a
detailed plan describing how to develop, maintain, replace and alter or enhance specific
software. The life cycle defines a methodology for improving the quality of software and the
overall development process. The following figure is a graphical representation of the various
stages of a typical SDLC
A typical Software Development Life Cycle consists of the following stages –
Stage1: Planning and Requirement Analysis
Requirement analysis is the most important and fundamental stage in SDLC. It is performed
by the senior members of the team with inputs from the customer, the sales department,
market surveys and domain experts in the industry. This information is then used to plan the
basic project approach and to conduct product feasibility study in the economical, operational
and technical areas. Planning for the quality assurance requirements and identification of the
risks associated with the project is also done in the planning stage. The outcome of the
technical feasibility study is to define the various technical approaches that can be followed
to implement the project successfully with minimum risks.
13
Stage 2: Defining Requirements
Once the requirement analysis is done the next step is to clearly define and document the
product requirements and get them approved from the customer or the market analysts. This
is done through an SRS (Software Requirement Specification) document which consists of
all the product requirements to be designed and developed during the project life cycle.
Stage 3: Designing the Product Architecture
SRS is the reference for product architects to come out with the best architecture for the
product to be developed. Based on the requirements specified in SRS, usually more than one
design approach for the product architecture is proposed and documented in a DDS – Design
Document Specification.
This DDS is reviewed by all the important stakeholders and based on various parameters as
risk assessment, product robustness, design modularity, budget and time constraints, the best
design approach is selected for the product.
A design approach clearly defines all the architectural modules of the product along with its
communication and data flow representation with the external and third-party modules (if
any). The internal design of all the modules of the proposed architecture should be clearly
defined with the minutest of the details in DDS.
Stage 4: Building or Developing the Product
In this stage of SDLC the actual development starts and the product is built. The
programming code is generated as per DDS during this stage. If the design is performed in a
detailed and organized manner, code generation can be accomplished without much hassle.
Developers must follow the coding guidelines defined by their organization and
programming tools like compilers, interpreters, debuggers, etc. are used to generate the code.
Different high level programming languages such as C, C++, Pascal, Java and PHP are used
for coding. The programming language is chosen with respect to the type of software being
developed.
Stage 5: Testing the Product
This stage is usually a subset of all the stages as in the modern SDLC models, the testing
activities are mostly involved in all the stages of SDLC. However, this stage refers to the
testing only stage of the product where product defects are reported, tracked, fixed and
retested, until the product reaches the quality standards defined in the SRS.
Stage 6: Deployment in the Market and Maintenance
Once the product is tested and ready to be deployed it is released formally in the appropriate
market. Sometimes product deployment happens in stages as per the business strategy of that
organization. The product may first be released in a limited segment and tested in the real
business environment (UAT- User acceptance testing)
14
3.1Project Description:
The goal of this web application is to provide a platform for schools or
educational institutions to manage their teacher and subject information more efficiently. The
application is designed to have two different modules: Admin module and Teacher module.
Admin Module:
The Admin module is designed for the school administrators or staff who have access to
manage teacher and subject information. The features of this module are as follows:
Dashboard: This section provides an overview of the total number of subjects and teachers in
the school.
Subjects: In this section, the admin can manage the subjects by adding new subjects or
updating existing ones. The admin can view the list of subjects, edit the subject details, and
delete subjects if necessary.
Teachers: In this section, the admin can manage the teachers by adding new teachers or
updating existing ones. The admin can view the list of teachers, edit the teacher details, and
delete teachers if necessary.
Search: The admin can search for teachers by using their name. This feature will help the
admin to find teachers quickly.
Report: In this section, the admin can view the number of teachers added in particular periods.
The admin can use this feature to generate reports on teacher hiring trends.
Profile: In this section, the admin can update his/her profile. The admin can change the contact
details, such as email address and phone number.
Change Password: In this section, the admin can change his/her own passwords. The password
is encrypted using MD5 encryption method to ensure security.
Logout: This button is used to log out of the application.
Forgot Password: In case the admin forgets his/her password, this section allows the admin to
reset the password by using registered email id and contact number.
Teacher Module:
The Teacher module is designed for the teachers who are employed by the school. The features
of this module are as follows:
Dashboard: This section is the welcome page for a teacher. It provides an overview of the
teacher's class schedules and upcoming events.
15
Queries: In this section, the teacher can view the queries raised by the users. The teacher can
respond to the queries and mark them as resolved.
Profile: In this section, the teacher can update his/her profile. The teacher can change the
contact details and upload a profile picture.
Change Password: In this section, the teacher can change his/her own passwords. The
password is encrypted using MD5 encryption method to ensure security.
Logout: This button is used to log out of the application.
The web application is developed using HTML, CSS, JavaScript, and PHP. The application is
hosted on a web server, and the database is managed using MySQL. The application uses MD5
encryption method to ensure the security of passwords. The application is user-friendly and
easy to use. It helps the school to manage their teacher and subject information more efficiently
3.2 Program Specification
User Interface:
The system will have a web-based user interface that will be accessible through a web browser.
The user interface will consist of the following pages:
Login Page: This page will allow the user to log in to the system using their username and
password. If the user is not yet registered, they can register for an account by clicking the
"Register" button.
Register Page: This page will allow the user to create a new account by providing their name,
email address, username, and password.
Dashboard Page: This page will display a summary of the system's data, including the total
number of teachers and the total number of subjects.
Teachers Page: This page will allow the admin to add, update, or delete teacher records.
Subjects Page: This page will allow the admin to manage the subjects by adding or updating
the subject records.
Search Page: This page will allow the admin to search for a teacher by name.
Reports Page: This page will allow the admin to view reports, such as the number of teachers
added in a particular period.
Profile Page: This page will allow the admin to update their profile information.
Change Password Page: This page will allow the admin to change their password.
Logout Page: This page will allow the admin to log out of the system.
16
Database Schema:The system will use a MySQL database to store its data. The database
schema will consist of the following tables:
Users: This table will store information about the system's users, including their name, email
address, username, and password.
Teachers: This table will store information about the teachers, including their name, email
address, and password.
Subjects: This table will store information about the subjects, including their name and
description.
Functionality:
The system will provide the following functionality:
User Authentication: The system will authenticate users based on their username and
password.
Teacher Management: The system will allow the admin to add, update, or delete teacher
records.
Subject Management: The system will allow the admin to manage the subjects by adding or
updating the subject records.
Search Functionality: The system will allow the admin to search for a teacher by name.
Reports: The system will allow the admin to view reports, such as the number of teachers
added in a particular period.
Profile Management: The system will allow the admin to update their profile information.
Password Management: The system will allow the admin to change their password.
Technologies:
The system will be built using the following technologies:
PHP: The system will be written in PHP, a popular server-side scripting language.
MySQL: The system will use MySQL, a popular relational database management system, to
store its data.
HTML/CSS: The system's user interface will be built using HTML and CSS.
JavaScript: The system's user interface will include some JavaScript for interactivity.
Security: The system will use MD5 encryption to secure user passwords.
Overall, this teacher record management system will provide the admin with the ability to
manage teacher and subject records, search for teachers, view reports, and update their own
profile and password information. It will be built using PHP and MySQL, with a web-based
user interface accessible through a web browser
17
3.3DFD NOTATION
Data Flow Diagrams represent one of the most ingenious tools used for structured
analysis. A Data Flow Diagram or DFD as it is shortly called is also known as a bubble
chart. It has the purpose of clarifying system requirements and identifying major
transformations that will become programs in System design. It is the major starting point
in the design phase that functionally decomposes the requirements specifications down to
the lowest level of detail.
A DFD consists of a series of bubbles joined by lines. The bubble represents data
transformation and lines represent data flow in the system. In the normal convention, a
DFD has four major symbols.
The DFD at the simplest level is referred to as the’ Zero Level DFD’ or in the simple
words a ‘Context Analysis Diagram’. These are expanded level by level each explaining
Its process in detail. Processes are numbered for easy identification and are
normally labelled in block letters. Each data flow is labelled for easy understanding.
Steps to Construct a DFD:-
Four steps are commonly used to construct a DFD :
 Process should be named and numbered for easy reference.
 Each name should be representative of the process.
 The direction of flow is from top to bottom and from left to right.
 When a process is exploded into lower level details they are numbered.
 The names of data stores, source and destination are written in capital.
18
LEVEL ZERO DFD DIAGRAM
19
LEVEL ONE DFD DIAGRAM
20
LEVEL TWO DFD DIAGRAM
21
3.4 Design Process
Data base design is defined as a collection of steps that help with designing, creating,
implementing and maintaining a business’s data management systems. The main purpose of
designing a database is to produce physical and logical models of designs for the proposed
database system. A good database design process is governed by specific rules. The first rule
dictates that redundant data must be avoided as its wastes space and increases the probability
of faults and discrepancies within the database. The next rule is that the accuracy and
comprehensiveness of information is extremely imperative. If the database contain erroneous
information any documents that fetch data from such a database will also include inaccurate
information.
CODE DESIGN A code design is a document that sets rules for the design. It is a tool that
can be used in the design and planning process, but goes further and is more regulatory than
other forms of guidance. It can be thought of as a process and document and therefore a
mechanism which operationalize design guidelines or standards which have been established
through a master plan process.
INPUT DESIGN Input design is the process of converting a user-oriented description of the
inputs toa computer-base business system into a programmer-oriented specification. In an
information system, input is the raw data is processed to produce output. During the input
design, the developers must consider the input devices such as PC, MICR, OMR, etc.
Therefore, the quality of system input determines the quality of system output. Well designed
input forms and have following properties:
• It should serve specific purpose effectively such as storing, recording and retrieving the
information.
• It ensures proper completion with accuracy.
• It should be easy to fill and straight forward.
• It should focus on user’s attention, consistency and simplicity.
3.4.1 Database Design:
The database design for the teacher record management system will include
three tables: Users, Teachers, and Subjects. The Users table will store information about the
system's users, including their name, email address, username, and password. The Teachers
table will store information about the teachers, including their name, email address, and
password. The Subjects table will store information about the subjects, including their name
and description.
The tables will be related as follows:
Each user can have multiple teacher records associated with them.
Each teacher can be associated with multiple subject records.
22
This relationship will be implemented using foreign keys in the Teachers and Subjects tables
that reference the primary key of the Users table.
3.4.2 Input Design:
The input design for the teacher record management system will include forms for adding and
updating teacher and subject records. The forms will include fields for the relevant
information, such as name, email address, password, subject name, and subject description.
The forms will be designed to validate user input and ensure that all required fields are filled
in before the data is submitted to the database.
In addition to the forms, the system will include a search box that allows the admin to search
for teachers by name. The search box will be designed to provide real-time search results as
the admin types in the teacher's name.
3.4.3 Output Design:
The output design for the teacher record management system will include several pages that
display data from the database in a clear and organized manner. The pages will include:
Dashboard: This page will display a summary of the system's data, including the total
number of teachers and the total number of subjects.
Teachers Page: This page will display a table of all the teacher records in the database,
including the teacher's name, email address, and subject(s) taught.
Subjects Page: This page will display a table of all the subject records in the database,
including the subject's name and description.
Reports Page: This page will display reports, such as the number of teachers added in a
particular period, in a clear and organized manner.
Profile Page: This page will display the admin's profile information, including their name,
email address, and username.
All of the pages will be designed to be user-friendly and easy to navigate, with clear headings
and labels for each section. The output design will also include styling to make the pages
visually appealing and easy to read.
23
CHAPTER 4
SYSTEM TESTING & IMPLEMENTATION
4.1 System Testing
System testing is the process of testing a complete and fully integrated software system
to ensure that it meets the specified requirements and functions as intended. It is conducted
after the software development process is complete, and before the system is deployed in a
production environment.
During system testing, the software is tested as a whole, including all the components and sub-
systems. The purpose of system testing is to identify any defects or issues that were not detected
during unit testing or integration testing.
The following are the key objectives of system testing:
1. To ensure that the software meets the specified requirements and functions as intended.
2. To identify and fix any defects or issues that were not detected during unit testing or
integration testing.
3. To ensure that the software is reliable, robust, and secure.
4. To validate that the software is user-friendly and easy to use.
5. To ensure that the software performs well under different load conditions.
6. To verify that the software is compatible with other systems and applications.
7. To ensure that the software is maintainable and scalable.
The process of system testing includes the following steps:
 Test planning: In this step, the test team develops the test plan, which includes the test
objectives, scope, test approach, test environment, and test schedule.
 Test case development: In this step, the test team develops the test cases based on the
requirements and design specifications.
 Test execution: In this step, the test team executes the test cases and reports any defects
or issues.
 Defect tracking and management: In this step, the test team tracks and manages the
defects reported during testing.
 Test reporting: In this step, the test team prepares the test reports, which include the test
results, defects identified, and recommendations.
24
4.2 System Implementation
Implementation is the process of deploying the software system in a production environment.
The following are the key steps involved in the implementation process:
 Deployment planning: In this step, the deployment team develops the deployment plan,
which includes the deployment strategy, deployment schedule, and contingency plan.
 Hardware and software setup: In this step, the deployment team sets up the hardware
and software environment required to run the software system.
 Data migration: In this step, the deployment team migrates the data from the old system
to the new system.
 User training: In this step, the deployment team provides training to the users on how
to use the new system.
 User acceptance testing: In this step, the users perform acceptance testing to ensure that
the system meets their requirements.
 System go-live: In this step, the system is deployed in the production environment and
made available to the users.
 the users to ensure that the system is functioning as expected.
Overall, the implementation process is a critical stage in the software development life cycle,
and it is essential to ensure that it is carefully planned and executed to ensure a successful
deployment
4.3 System Maintenance
The Teacher Record Management System (TRMS) is a web-based application that facilitates
the management of teachers' records in an educational institution. The system is built using
PHP as the backend programming language and MySQL as the database management
system.
 Maintenance Plan:
The maintenance plan for the TRMS website includes regular updates, backups, and
security checks. The following maintenance activities are planned for the website:
 Regular Updates:
The PHP and MySQL versions used in the TRMS website will be updated regularly to
ensure that the website is up-to-date with the latest security patches and bug fixes.
25
The updates will be performed by a professional developer and tested thoroughly
before deploying them on the live website.
 Backups:
Backups of the TRMS website and the MySQL database will be taken regularly to
ensure that data is not lost in case of any unforeseen events such as server crashes,
hacking attempts, or natural disasters. The backups will be stored on an external hard
drive that is physically disconnected from the server to prevent unauthorized access.
 Security Checks:
The security of the TRMS website will be regularly checked to ensure that it is not
vulnerable to hacking attempts. The security checks will include testing the website
for SQL injection, XSS, and CSRF attacks. Any vulnerabilities found will be fixed by
a professional developer immediately.
 Performance Optimization:
The performance of the TRMS website will be optimized to ensure that it loads
quickly and efficiently. This will include optimizing the MySQL database queries,
compressing images, and minifying CSS and JavaScript files.
 Bug Fixes:
Any bugs or issues reported by the users of the TRMS website will be fixed promptly
by a professional developer.
Conclusion:
The TRMS website is a critical component of the educational institution's operations,
and it is essential to keep it running smoothly. The maintenance plan outlined above will ensure
that the website is updated, secure, and performing optimally. Regular backups will also ensure
that data is not lost in case of any unforeseen events.
26
5. CONCLUSION & FUTURE ENHANCEMENT
In conclusion, the teacher record management system developed using PHP and
MySQL is a reliable and efficient tool for managing teacher records in an educational
institution. The system is easy to use and provides useful features such as the ability to add,
edit, and delete teacher records, generate reports, and search for specific records.
However, there is always room for improvement, and future enhancements can be made to
the system to make it even better. Some possible future enhancements include
1. Integration with other systems: The teacher record management system can be
integrated with other systems such as student record management systems, payroll
systems, and learning management systems. This integration can help to streamline
processes and reduce the workload of administrators.
2. Mobile optimization: With the increasing use of mobile devices, it is essential to make
the system mobile-friendly. This can be done by optimizing the system for smaller
screens and developing a mobile app for easy access.
3. Advanced reporting features: The system can be enhanced with advanced reporting
features such as data visualization, graphical representations, and custom reports. This
can help to provide insights into teacher performance and student progress.
4. Security enhancements: The system can be enhanced with additional security
measures such as two-factor authentication, encryption, and access controls. This can
help to prevent unauthorized access to sensitive data.
Overall, the teacher record management system is a valuable tool for managing teacher
records in an educational institution. With continuous improvement and future enhancements,
the system can become even more useful and effective.
27
6. BIBLOGRAPHY
The following books are referred in making this project:
1. Kevin Yank, Laura Thomson. "PHP and MySQL Web Development". Addison-Wesley
Professional, 5th Edition, 2016.
2. David Powers. "PHP Solutions: Dynamic Web Design Made Easy". Friends of ED, 3rd
Edition, 2014.
3. Robin Nixon. "Learning PHP, MySQL & JavaScript: With jQuery, CSS & HTML5".
O'Reilly Media, 4th Edition, 2018.
4. Luke Welling, Laura Thomson. "PHP and MySQL Web Development: A Beginner’s
Guide". Addison-Wesley Professional, 4th Edition, 2008.
5. Julie C. Meloni. "PHP Programming with MySQL". Sams Publishing, 2nd Edition,
2004.
6. Jason Lengstorf, Thomas Blom Hansen. "PHP & MySQL: Novice to Ninja". SitePoint,
6th Edition, 2018.
7. Larry Ullman. "PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide".
Peachpit Press, 5th Edition, 2017.
8. David Sklar, Adam Trachtenberg. "PHP Cookbook". O'Reilly Media, 3rd Edition,
2014.
9. Steve Suehring, Janet Valade. "PHP, MySQL, & JavaScript All-in-One For Dummies".
For Dummies, 2nd Edition, 2018.
10. Jon Duckett. "HTML and CSS: Design and Build Websites". John Wiley & Sons, 1st
Edition, 2011.
Online resources referred are:
1. W3Schools (https://www.w3schools.com/): a website that provides tutorials and
examples for web development languages such as HTML, CSS, JavaScript, and PHP.
2. PHP.net (https://www.php.net/): the official website for the PHP programming
language, which includes documentation and examples.
3. MySQL Documentation (https://dev.mysql.com/doc/): the official documentation for
the MySQL database management system.
4. jQuery Documentation (https://api.jquery.com/): the official documentation for the
jQuery JavaScript library, which simplifies HTML document traversal and
manipulation, event handling, and animation.
5. Stack Overflow (https://stackoverflow.com/): a question and answer community for
programming-related topics, which can be a valuable resource for troubleshooting and
problem-solving.
6. TutorialsPoint (https://www.tutorialspoint.com/): a website that provides tutorials and
examples for a wide range of programming languages and technologies, including PHP,
MySQL, and jQuery.
28
SAMPLE SCREEN:
HOME PAGE
LOGIN PAGE
29
SIGN – UP PAGE
LISTED TEACHERS
30
TEACHERS LIST
ABOUT US
31
Table Admin
Table Quiery
Table Subject
32
Table Teacher
33
SOURCE CODE
HOMEPAGE
ABOUT
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Modern Business - Start Bootstrap Template</title>
<!-- Favicon-->
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
<!-- Bootstrap icons-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css"
rel="stylesheet" />
<!-- Core theme CSS (includes Bootstrap)-->
<link href="css/styles.css" rel="stylesheet" />
</head>
<body class="d-flex flex-column">
<main class="flex-shrink-0">
<!-- Navigation-->
<?php include_once('includes/header.php');?>
<!-- Header-->
<!-- About section one-->
<section class="py-5 bg-light" id="scroll-target">
<div class="container px-5 my-5">
<div class="row gx-5 align-items-center">
34
<div class="col-lg-6"><img class="img-fluid rounded mb-5 mb-lg-0"
src="images/about-us.jpg" alt="..." /></div>
<div class="col-lg-6">
<h2 class="fw-bolder">About Us</h2>
<p class="lead fw-normal text-muted mb-0">This is a project developed by
JITTINA & TARUN on Teachers Record Management System. The Teachers Record
Management System is a comprehensive solution designed to simplify the process of
managing teacher records. In today's fast-paced world, it is imperative for schools and
individuals to have access to accurate and up-to-date information about teachers. This system
addresses the needs of both individuals and schools, offering an efficient and effective way to
manage teacher records.</p>
</div>
</div>
</div>
</section>
</main>
<!-- Footer-->
<?php include_once('includes/footer.php');?>
<!-- Bootstrap core JS-->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<!-- Core theme JS-->
<script src="js/scripts.js"></script>
</body>
</html>
CONTACT
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no" />
<meta name="description" content />
35
<meta name="author" content />
<title>Modern Business - Start Bootstrap Template</title>
<!-- Favicon-->
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
<!-- Bootstrap icons-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css"
rel="stylesheet" />
<!-- Core theme CSS (includes Bootstrap)-->
<link href="css/styles.css" rel="stylesheet" />
</head>
<body class="d-flex flex-column">
<main class="flex-shrink-0">
<?php include_once('includes/header.php');?>
<!-- Page content-->
<section class="py-5">
<div class="container px-5">
<!-- Contact form-->
<div class="bg-light rounded-3 py-5 px-4 px-md-5 mb-5">
<div class="text-center mb-5">
<div class="feature bg-primary bg-gradient text-white rounded-3 mb-3"><i
class="bi bi-envelope"></i></div>
<h1 class="fw-bolder">Get in touch</h1>
<p class="lead fw-normal text-muted mb-0">We'd love to hear from
you</p>
</div>
<!-- Contact cards-->
<div class="row gx-5 row-cols-2 row-cols-lg-4 py-5">
<div class="col">
<div class="feature bg-primary bg-gradient text-white rounded-3 mb-3"><i
class="bi bi-chat-dots"></i></div>
<div class="h5 mb-2">Chat with us</div>
36
<p class="text-muted mb-0">Chat live with one of our support
specialists.</p>
</div>
<div class="col">
<div class="feature bg-primary bg-gradient text-white rounded-3 mb-3"><i
class="bi bi-telephone"></i></div>
<div class="h5">Call us</div>
<p class="text-muted mb-0">Call us during normal business hours at
9353826735</p>
</div>
</div>
</div>
</section>
</main>
<!-- Footer-->
<?php include_once('includes/footer.php');?>
</footer>
<!-- Bootstrap core JS-->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<!-- Core theme JS-->
<script src="js/scripts.js"></script>
<script src="https://cdn.startbootstrap.com/sb-forms-latest.js"></script>
</body>
</html>
INDEX
<?php include_once('includes/dbconnection.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
37
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Teachers Record Management System</title>
<!-- Favicon-->
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
<!-- Bootstrap icons-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css"
rel="stylesheet" />
<!-- Core theme CSS (includes Bootstrap)-->
<link href="css/styles.css" rel="stylesheet" />
</head>
<body class="d-flex flex-column h-100">
<main class="flex-shrink-0">
<!-- Navigation-->
<?php include_once('includes/header.php');?>
<!-- Header-->
<header class="bg-dark py-5">
<div class="container px-5">
<div class="row gx-5 align-items-center justify-content-center">
<div class="col-lg-8 col-xl-7 col-xxl-6">
<div class="my-5 text-center text-xl-start">
<h1 class="display-5 fw-bolder text-white mb-2">Teachers Record
Management System</h1>
<div class="d-grid gap-3 d-sm-flex justify-content-sm-center justify-
content-xl-start" style="margin-top:5%;">
<a class="btn btn-primary btn-lg px-4 me-sm-3"
href="teacher/signup.php">Teachers Signup/Registration</a>
38
<a class="btn btn-outline-light btn-lg px-4"
href="teacher/index.php">Teachers Login</a>
</div>
</div>
</div>
<div class="col-xl-5 col-xxl-6 d-none d-xl-block text-center"><img
class="img-fluid rounded-3 my-5" src="images/3802031.jpg" alt="..." /></div>
</div>
</div>
</header>
<!-- Blog preview section-->
<section class="py-5">
<div class="container px-5 my-5">
<form method="post" action="search-result.php">
<aside class="bg-primary bg-gradient rounded-3 p-4 p-sm-5 mt-5">
<div class="d-flex align-items-center justify-content-between flex-column
flex-xl-row text-center text-xl-start">
<div class="mb-4 mb-xl-0">
<div class="fs-3 fw-bold text-white">Search Teacher by Name or
Subject</div>
</div>
<div class="ms-xl-4">
<div class="input-group mb-2">
<input class="form-control" type="text" placeholder="Search Teacher
by Name or Subject" aria-label="Email address..." aria-describedby="button-newsletter"
name="searchinput" required style="width:350px;" />
<button class="btn btn-outline-light" id="button-newsletter"
type="submit">Search</button>
</div>
</div>
</div>
</aside>
</form>
39
<hr />
<div class="row gx-5 justify-content-center">
<div class="col-lg-8 col-xl-6">
<div class="text-center">
<h2 class="fw-bolder">Listed Teachers</h2>
<hr color="red" />
</div>
</div>
</div>
<div class="row gx-5">
<?php
$sql="SELECT * from tblteacher where isPublic='1' limit 9";
$query = $dbh -> prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
foreach($results as $row)
{ ?>
<div class="col-lg-4 mb-5">
<div class="card h-100 shadow border-0">
<img class="card-img-top" src="teacher/images/<?php echo $row-
>Picture;?>" alt="<?php echo htmlentities($row->Name);?>" />
<div class="card-body p-4">
<div class="badge bg-primary bg-gradient rounded-pill mb-2"><?php
echo htmlentities($row->TeacherSub);?></div>
<a class="text-decoration-none link-dark stretched-link"
href="teacher-details.php?tid=<?php echo $row->ID;?>" target="_blank">
<h5 class="card-title mb-3"><?php echo htmlentities($row-
>Name);?></h5></a>
40
<p class="card-text mb-0"><small>Registered Since <?php echo
htmlentities($row->RegDate);?></small></p>
</div>
</div>
</div>
<?php }} else{?>
<h3 align="center" style="color:red;">Record not Found</h3>
<?php } ?>
</div>
</div>
</section>
</main>
<!-- Footer-->
<?php include_once('includes/footer.php'); ?>
<!-- Bootstrap core JS-->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<!-- Core theme JS-->
<script src="js/scripts.js"></script>
</body>
</html>
LISTED-TEACHERS
<?php include_once('includes/dbconnection.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no" />
41
<meta name="description" content="" />
<meta name="author" content="" />
<title>Teachers Record Management System</title>
<!-- Favicon-->
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
<!-- Bootstrap icons-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css"
rel="stylesheet" />
<!-- Core theme CSS (includes Bootstrap)-->
<link href="css/styles.css" rel="stylesheet" />
</head>
<body class="d-flex flex-column h-100">
<main class="flex-shrink-0">
<!-- Navigation-->
<?php include_once('includes/header.php');?>
<!-- Header-->
<!-- Blog preview section-->
<section class="py-5">
<div class="container px-5 my-5">
<form method="post" action="search-result.php">
<aside class="bg-primary bg-gradient rounded-3 p-4 p-sm-5 mt-5">
<div class="d-flex align-items-center justify-content-between flex-column
flex-xl-row text-center text-xl-start">
<div class="mb-4 mb-xl-0">
<div class="fs-3 fw-bold text-white">Search Teacher by Name or
Subject</div>
</div>
<div class="ms-xl-4">
<div class="input-group mb-2">
<input class="form-control" type="text" placeholder="Search Teacher
by Name or Subject" aria-label="Email address..." aria-describedby="button-newsletter"
name="searchinput" required style="width:350px;" />
42
<button class="btn btn-outline-light" id="button-newsletter"
type="submit">Search</button>
</div>
</div>
</div>
</aside>
</form>
<hr />
<div class="row gx-5 justify-content-center">
<div class="col-lg-8 col-xl-6">
<div class="text-center">
<h2 class="fw-bolder">Listed Teachers</h2>
<hr color="red" />
</div>
</div>
</div>
<div class="row gx-5">
<?php
$sql="SELECT * from tblteacher where isPublic='1'";
$query = $dbh -> prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
foreach($results as $row)
{ ?>
<div class="col-lg-4 mb-5">
<div class="card h-100 shadow border-0">
<img class="card-img-top" src="teacher/images/<?php echo $row-
>Picture;?>" alt="<?php echo htmlentities($row->Name);?>" />
43
<div class="card-body p-4">
<div class="badge bg-primary bg-gradient rounded-pill mb-2"><?php
echo htmlentities($row->TeacherSub);?></div>
<a class="text-decoration-none link-dark stretched-link"
href="teacher-details.php?tid=<?php echo $row->ID;?>" target="_blank">
<h5 class="card-title mb-3"><?php echo htmlentities($row-
>Name);?></h5></a>
<p class="card-text mb-0"><small>Registered Since <?php echo
htmlentities($row->RegDate);?></small></p>
</div>
</div>
</div>
<?php }} else{?>
<h3 align="center" style="color:red;">Record not Found</h3>
<?php } ?>
</div>
<!-- Call to action-->
</div>
</section>
</main>
<!-- Footer-->
<?php include_once('includes/footer.php'); ?>
<!-- Bootstrap core JS-->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<!-- Core theme JS-->
<script src="js/scripts.js"></script>
</body>
</html>
SEARCH-RESULTS
44
<?php include_once('includes/dbconnection.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Teachers Record Management System</title>
<!-- Favicon-->
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
<!-- Bootstrap icons-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css"
rel="stylesheet" />
<!-- Core theme CSS (includes Bootstrap)-->
<link href="css/styles.css" rel="stylesheet" />
</head>
<body class="d-flex flex-column h-100">
<main class="flex-shrink-0">
<!-- Navigation-->
<?php include_once('includes/header.php');?>
<!-- Header-->
<!-- Blog preview section-->
<section class="py-5">
<div class="container px-5 my-5">
<form method="post" action="search-result.php">
<aside class="bg-primary bg-gradient rounded-3 p-4 p-sm-5 mt-5">
<div class="d-flex align-items-center justify-content-between flex-column
flex-xl-row text-center text-xl-start">
45
Subject</div>
<div class="mb-4 mb-xl-0">
<div class="fs-3 fw-bold text-white">Search Teacher by Name or
</div>
<div class="ms-xl-4">
<div class="input-group mb-2">
<input class="form-control" type="text" placeholder="Search Teacher
by Name or Subject" aria-label="Email address..." aria-describedby="button-newsletter"
name="searchinput" required style="width:350px;" />
<button class="btn btn-outline-light" id="button-newsletter"
type="submit">Search</button>
</div>
</div>
</div>
</aside>
</form>
<hr />
<div class="row gx-5 justify-content-center">
<div class="col-lg-8 col-xl-6">
<div class="text-center">
<?php $searchdata=$_POST['searchinput'];?>
<h2 class="fw-bolder">Search List Against <font color="red">"<?php
echo $searchdata;?>"</font></h2>
<hr color="red" />
</div>
</div>
</div>
<div class="row gx-5">
<?php
$sql="SELECT * from tblteacher where (isPublic='1') and (Name like '%$searchdata%'||
TeacherSub like '%$searchdata%')";
46
$query = $dbh -> prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
foreach($results as $row)
{ ?>
<div class="col-lg-4 mb-5">
<div class="card h-100 shadow border-0">
<img class="card-img-top" src="teacher/images/<?php echo $row-
>Picture;?>" alt="<?php echo htmlentities($row->Name);?>" />
<div class="card-body p-4">
<div class="badge bg-primary bg-gradient rounded-pill mb-2"><?php
echo htmlentities($row->TeacherSub);?></div>
<a class="text-decoration-none link-dark stretched-link"
href="teacher-details.php?tid=<?php echo $row->ID;?>" target="_blank">
<h5 class="card-title mb-3"><?php echo htmlentities($row-
>Name);?></h5></a>
<p class="card-text mb-0"><small>Registered Since <?php echo
htmlentities($row->RegDate);?></small></p>
</div>
</div>
</div>
<?php }} else{?>
<h3 align="center" style="color:red;">Record not Found</h3>
<?php } ?>
</div>
<!-- Call to action-->
47
</div>
</section>
</main>
<!-- Footer-->
<?php include_once('includes/footer.php'); ?>
<!-- Bootstrap core JS-->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<!-- Core theme JS-->
<script src="js/scripts.js"></script>
</body>
</html>
<?php include_once('includes/dbconnection.php');
TEACHER-DETAILS
//Coding For query
if(isset($_POST['submit']))
{
$fname=$_POST['fname'];
$emailid=$_POST['emailid'];
$mobileno=$_POST['mobileno'];
$querymsg=$_POST['query'];
$teacherid=$_GET['tid'];
$sql="insert into
tblquery(teacherId,fName,emailId,mobileNumber,Query)values(:teacherid,:fname,:emailid,:
mobileno,:querymsg)";
$query=$dbh->prepare($sql);
$query->bindParam(':fname',$fname,PDO::PARAM_STR);
$query->bindParam(':emailid',$emailid,PDO::PARAM_STR);
$query->bindParam(':mobileno',$mobileno,PDO::PARAM_STR);
48
$query->bindParam(':querymsg',$querymsg,PDO::PARAM_STR);
$query->bindParam(':teacherid',$teacherid,PDO::PARAM_STR);
$query->execute();
$LastInsertId=$dbh->lastInsertId();
if ($LastInsertId>0) {
echo '<script>alert("Message Sent Successfully.")</script>';
echo "<script>window.location.href ='index.php'</script>";
}else{
echo '<script>alert("Something Went Wrong. Please try again")</script>';
}}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>TRMS | Teachers Details</title>
<!-- Favicon-->
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
<!-- Bootstrap icons-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css"
rel="stylesheet" />
<!-- Core theme CSS (includes Bootstrap)-->
<link href="css/styles.css" rel="stylesheet" />
</head>
<body class="d-flex flex-column h-100">
<main class="flex-shrink-0">
<!-- Navigation-->
49
<?php include_once('includes/header.php'); ?>
<!-- Page Content-->
<?php
$tid=intval($_GET['tid']);
$sql="SELECT * from tblteacher where isPublic='1' and ID='$tid'";
$query = $dbh -> prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
foreach($results as $row)
{ ?>
<section class="py-5">
<div class="container px-5 my-5">
<div class="text-center mb-5">
<h1 class="fw-bolder"><?php echo htmlentities($row->Name);?>'s
Details</h1>
<p class="lead fw-normal text-muted mb-0">Registered Since <?php echo
htmlentities($row->RegDate);?></p>
</div>
<div class="row gx-5">
<div class="col-xl-8">
<!-- FAQ Accordion 1-->
<!-- <h2 class="fw-bolder mb-3">Persoanl Details </h2> -->
<div class="accordion mb-5" id="accordionExample">
<div class="accordion-item">
<h3 class="accordion-header" id="headingOne"><button
class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-
target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">Personal
Details</button></h3>
50
<div class="accordion-collapse collapse show" id="collapseOne" aria-
labelledby="headingOne" data-bs-parent="#accordionExample">
<div class="accordion-body">
<table class="table table-bordered">
<tr>
<th></th>
<td><img src="teacher/images/<?php echo htmlentities($row->Picture);?>"
width="200"></td>
</tr>
<tr>
<th>Teacher Name</th>
<td><?php echo htmlentities($row->Name);?></td>
</tr>
<tr>
<th>Teacher Email ID</th>
<td><?php echo htmlentities($row->Email);?></td>
</tr>
<tr>
<th>Teacher Mobile Number</th>
<td><?php echo htmlentities($row->MobileNumber);?></td>
</tr>
<tr>
<th>Teacher Address</th>
<td><?php echo htmlentities($row->Address);?></td>
</tr>
<tr>
<th>Registered Since</th>
<td><?php echo htmlentities($row->RegDate);?></td>
51
</tr>
</table>
</div>
</div>
</div>
</div>
<!-- FAQ Accordion 2-->
<div class="accordion mb-5 mb-xl-0" id="accordionExample2">
<div class="accordion-item">
<h3 class="accordion-header" id="headingOne"><button
class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-
target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">Professional
Details</button></h3>
<div class="accordion-collapse collapse show" id="collapseOne" aria-
labelledby="headingOne" data-bs-parent="#accordionExample2">
<div class="accordion-body">
<table class="table table-bordered">
<tr>
<th>Teacher Qualifications</th>
<td><?php echo htmlentities($row->Qualifications);?></td>
</tr>
<tr>
<th>Teaching Experience (in Years)</th>
<td><?php echo htmlentities($row->teachingExp);?></td>
</tr>
52
<tr>
<th>Teacher Subject</th>
<td><?php echo htmlentities($row->TeacherSub);?></td>
</tr>
<tr>
<th>Description (if Any)</th>
<td><?php echo htmlentities($row->description);?></td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="col-xl-4">
<div class="card border-0 bg-light mt-xl-5">
<div class="card-body p-4 py-lg-5">
<div class="d-flex align-items-center justify-content-center">
<div class="text-center">
<div class="h6 fw-bolder">Have more questions?</div>
<p class="text-muted mb-4">
Contact me at
<br />
<a href="#!"><?php echo htmlentities($row->Email);?></a>
</p>
<h5>OR</h5>
<form method="post">
53
<p> <input type="text" name="fname" placeholder="Enter your fullname" class="form-
control" required></p>
<p><input type="email" name="emailid" placeholder="Enter your emaild" class="form-
control" required></p>
<p><input type="text" name="mobileno" placeholder="Enter your mobile no" class="form-
control" pattern="[0-9]{10}" title="10 numeric characters only" required></p>
<p><textarea class="form-control" name="query" placeholder="Query / Message"
required></textarea>
</p>
<input type="submit" class="btn btn-primary" name="submit">
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<?php } } else{ ?>
<hr />
<h3 align="center" style="color:red;">Record not Found</h3>
<?php } ?>
</main>
<!-- Footer-->
<?php include_once('includes/footer.php'); ?>
<!-- Bootstrap core JS-->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<!-- Core theme JS-->
54
<script src="js/scripts.js"></script>
</body>
</html>
JS
/*!
* Start Bootstrap - Modern Business v5.0.5 (https://startbootstrap.com/template-
overviews/modern-business)
* Copyright 2013-2021 Start Bootstrap
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-modern-
business/blob/master/LICENSE)
*/
// This file is intentionally blank
// Use this file to add JavaScript to your project
CHANGE PASSWORD
<?php
session_start();
error_reporting(0);
include('includes/dbconnection.php');
if (strlen($_SESSION['trmsuid']==0)) {
header('location:logout.php');
} else{
if(isset($_POST['submit']))
{
$eid=$_SESSION['trmsuid'];
$propic=$_FILES["newpic"]["name"];
$extension = substr($propic,strlen($propic)-4,strlen($propic));
$allowed_extensions = array(".jpg","jpeg",".png",".gif");
if(!in_array($extension,$allowed_extensions))
{
echo "<script>alert('Profile Pics has Invalid format. Only jpg / jpeg/ png /gif format
allowed');</script>";
55
}
else
{
$propic=md5($propic).time().$extension;
move_uploaded_file($_FILES["newpic"]["tmp_name"],"images/".$propic);
$sql="update tblteacher set Picture=:pic where ID=:eid ";
$query = $dbh->prepare($sql);
$query->bindParam(':pic',$propic,PDO::PARAM_STR);
$query->bindParam(':eid',$eid,PDO::PARAM_STR);
$query->execute();
echo '<script>alert("Image has been updated")</script>';
echo "<script>window.location.href='profile.php'</script>";
}
}
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
<title>TRMS|| Update Image</title>
<link rel="apple-touch-icon" href="apple-icon.png">
56
<link rel="stylesheet" href="../vendors/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="../vendors/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="../vendors/themify-icons/css/themify-icons.css">
<link rel="stylesheet" href="../vendors/flag-icon-css/css/flag-icon.min.css">
<link rel="stylesheet" href="../vendors/selectFX/css/cs-skin-elastic.css">
<link rel="stylesheet" href="../assets/css/style.css">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800'
rel='stylesheet' type='text/css'>
</head>
<body>
<!-- Left Panel -->
<?php include_once('includes/sidebar.php');?>
<div id="right-panel" class="right-panel">
<!-- Header-->
<?php include_once('includes/header.php');?>
<div class="breadcrumbs">
<div class="col-sm-4">
<div class="page-header float-left">
<div class="page-title">
<h1>Update Image</h1>
</div>
</div>
</div>
57
<div class="col-sm-8">
<div class="page-header float-right">
<div class="page-title">
<ol class="breadcrumb text-right">
<li><a href="dashboard.php">Dashboard</a></li>
<li><a href="manage-teacher.php">Update Image</a></li>
<li class="active">Update</li>
</ol>
</div>
</div>
</div>
</div>
<div class="content mt-3">
<div class="animated fadeIn">
<div class="row">
<div class="col-lg-6">
<!-- .card -->
</div>
<!--/.col-->
<div class="col-lg-12">
<div class="card">
<div class="card-header"><strong>Update</strong><small>
Image</small></div>
<form name="" method="post" action="" enctype="multipart/form-data">
<div class="card-body card-block">
<?php
$eid=$_SESSION['trmsuid'];
$sql="SELECT * from tblteacher where ID=$eid";
$query = $dbh -> prepare($sql);
58
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
{
foreach($results as $row)
{ ?>
<div class="form-group"><label for="company" class=" form-control-
label">Teaher Name</label><input type="text" name="subjects" value="<?php echo $row-
>Name;?>" class="form-control" id="subjects" readonly='true'></div>
<div class="form-group"><label for="company" class=" form-control-
label">Profile Pic</label>
<?php if($row->Picture==''):?>
<img src="images/no-image.png" alt="NO Image">
<?php else: ?>
<img src="images/<?php echo $row->Picture;?>" width="100" height="100" value="<?php
echo $row->Picture;?>">
<?php endif;?>
Pic</label>
</div>
<div class="form-group">
<label for="company" class=" form-control-label">New Profile
<input type="file" name="newpic" value="" class="form-control"
id="newpic" required='true'>
</div>
<?php $cnt=$cnt+1;}} ?>
<div class="card-footer">
<p style="text-align: center;"><button type="submit"
class="btn btn-primary btn-sm" name="submit" id="submit">
<i class="fa fa-dot-circle-o"></i> Update
</button></p>
</div>
59
</div>
</form>
</div>
</div>
</div><!-- .animated -->
</div><!-- .content -->
</div><!-- /#right-panel -->
<!-- Right Panel -->
<script src="../vendors/jquery/dist/jquery.min.js"></script>
<script src="../vendors/popper.js/dist/umd/popper.min.js"></script>
<script src="../vendors/jquery-
validation/dist/jquery.validate.min.js"></script>
<script src="../vendors/jquery-validation-
unobtrusive/dist/jquery.validate.unobtrusive.min.js"></script>
<script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="../assets/js/main.js"></script>
</body>
</html>
<?php } ?>
<?php
session_start();
//error_reporting(0);
include('includes/dbconnection.php');
error_reporting(0);
if (strlen($_SESSION['trmsuid']==0)) {
header('location:logout.php');
} else{
if(isset($_POST['submit']))
{
$tid=$_SESSION['trmsuid'];
60
$cpassword=md5($_POST['currentpassword']);
$newpassword=md5($_POST['newpassword']);
$sql ="SELECT ID FROM tblteacher WHERE ID=:tid and password=:cpassword";
$query= $dbh -> prepare($sql);
$query-> bindParam(':tid', $tid, PDO::PARAM_STR);
$query-> bindParam(':cpassword', $cpassword, PDO::PARAM_STR);
$query-> execute();
$results = $query -> fetchAll(PDO::FETCH_OBJ);
if($query -> rowCount() > 0)
{
$con="update tblteacher set password=:newpassword where ID=:tid";
$chngpwd1 = $dbh->prepare($con);
$chngpwd1-> bindParam(':tid', $tid, PDO::PARAM_STR);
$chngpwd1-> bindParam(':newpassword', $newpassword, PDO::PARAM_STR);
$chngpwd1->execute();
echo '<script>alert("Your password successully changed")</script>';
echo "<script>window.location.href='change-password.php'</script>";
} else {
echo '<script>alert("Your current password is wrong")</script>';
echo "<script>window.location.href='change-password.php'</script>";
}
}
61
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
<title>CCMS Change Password</title>
<link rel="apple-touch-icon" href="apple-icon.png">
<link rel="stylesheet" href="../vendors/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="../vendors/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="../vendors/themify-icons/css/themify-icons.css">
<link rel="stylesheet" href="../vendors/flag-icon-css/css/flag-icon.min.css">
<link rel="stylesheet" href="../vendors/selectFX/css/cs-skin-elastic.css">
<link rel="stylesheet" href="../assets/css/style.css">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800'
rel='stylesheet' type='text/css'>
<script type="text/javascript">
function checkpass()
{
if(document.changepassword.newpassword.value!=document.changepassword.confirmpassw
ord.value)
{
alert('New Password and Confirm Password field does not match');
62
document.changepassword.confirmpassword.focus();
return false;
}
return true;
}
</script>
</head>
<body>
<!-- Left Panel -->
<?php include_once('includes/sidebar.php');?>
<div id="right-panel" class="right-panel">
<!-- Header-->
<?php include_once('includes/header.php');?>
<div class="breadcrumbs">
<div class="col-sm-4">
<div class="page-header float-left">
<div class="page-title">
<h1>Change Password</h1>
</div>
</div>
</div>
<div class="col-sm-8">
<div class="page-header float-right">
63
<div class="page-title">
<ol class="breadcrumb text-right">
<li><a href="dashboard.php">Dashboard</a></li>
<li><a href="change-password.php">Change Password</a></li>
<li class="active">Change</li>
</ol>
</div>
</div>
</div>
</div>
<div class="content mt-3">
<div class="animated fadeIn">
<div class="row">
<div class="col-lg-6">
<!-- .card -->
</div>
<!--/.col-->
<div class="col-lg-12">
<div class="card">
<div class="card-header"><strong>Change</strong><small>
Password</small></div>
<form name="changepassword" method="post" onsubmit="return
checkpass();" action="">
<div class="card-body card-block">
64
<div class="form-group"><label for="company" class=" form-control-
label">Current Password</label><input type="password" name="currentpassword"
id="currentpassword" class="form-control" required=""></div>
<div class="form-group"><label for="vat" class=" form-control-
label">New Password</label><input type="password" name="newpassword" class="form-
control" required=""></div>
<div class="form-group"><label for="street" class=" form-control-
label">Confirm Password</label><input type="password" name="confirmpassword"
id="confirmpassword" value="" class="form-control"></div>
</div>
<p style="text-align: center;"><button type="submit"
class="btn btn-primary btn-sm" name="submit" id="submit">
<i class="fa fa-dot-circle-o"></i> Change
</button></p>
</div>
</form>
</div>
</div>
</div><!-- .animated -->
</div><!-- .content -->
</div><!-- /#right-panel -->
<!-- Right Panel -->
<script src="../vendors/jquery/dist/jquery.min.js"></script>
65
<script src="../vendors/popper.js/dist/umd/popper.min.js"></script>
<script src="../vendors/jquery-
validation/dist/jquery.validate.min.js"></script>
<script src="../vendors/jquery-validation-
unobtrusive/dist/jquery.validate.unobtrusive.min.js"></script>
</body>
</html>
<?php } ?>
<?php
session_start();
<script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="../assets/js/main.js"></script>
error_reporting(0);
include('includes/dbconnection.php');
if (strlen($_SESSION['trmsuid']==0)) {
header('location:logout.php');
} else {
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
<title>TRMS Admin Dashboard</title>
<link rel="apple-touch-icon" href="apple-icon.png">
66
<link rel="stylesheet" href="../vendors/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="../vendors/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="../vendors/themify-icons/css/themify-icons.css">
<link rel="stylesheet" href="../vendors/flag-icon-css/css/flag-icon.min.css">
<link rel="stylesheet" href="../vendors/selectFX/css/cs-skin-elastic.css">
<link rel="stylesheet" href="../vendors/jqvmap/dist/jqvmap.min.css">
<link rel="stylesheet" href="../assets/css/style.css">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800'
rel='stylesheet' type='text/css'>
</head>
<body>
<?php include_once('includes/sidebar.php');?>
<div id="right-panel" class="right-panel">
<?php include_once('includes/header.php');?>
<!-- Header-->
<div class="breadcrumbs">
<div class="col-sm-4">
<div class="page-header float-left">
<div class="page-title">
<h1>Dashboard</h1>
</div>
67
</div>
</div>
<div class="col-sm-8">
<div class="page-header float-right">
<div class="page-title">
<ol class="breadcrumb text-right">
<li class="active">Dashboard</li>
</ol>
</div>
</div>
</div>
</div>
<div class="content mt-3">
<div class="col-sm-6 col-lg-12">
<div class="card text-white bg-flat-color-4">
<div class="card-body pb-0">
<div class="dropdown float-right">
</div>
<?php
$eid=$_SESSION['trmsuid'];
$query=$dbh -> prepare("SELECT * from tblteacher where ID=$eid");
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
68
foreach($results as $row)
{
?>
<h3 class="mb-0">
<span >Welcome back : <?php echo htmlentities($row->Name);?></span>
</h3>
<hr />
<?php if($row->isPublic=='1'):?>
<p class="text-light">Your Profile is Public. Student can see your
profile.</p>
<?php else: ?>
<p class="text-light">Your Profile is not Public. Student can't see your profile.</p>
<?php endif;?>
<?php } ?>
<div class="chart-wrapper px-3" style="height:70px;" height="70">
<canvas id="widgetChart4"></canvas>
</div>
</div>
</div>
</div>
<!--/.col-->
<a href="queries.php">
<div class="col-sm-12 col-lg-12">
<div class="card text-white bg-flat-color-2">
<div class="card-body pb-0">
<div class="dropdown float-right">
</div>
69
<?php
$tid=$_SESSION['trmsuid'];
$sql1 ="SELECT ID from tblquery where teacherId='$tid' ";
$query1 = $dbh -> prepare($sql1);
$query1->execute();
$results1=$query1->fetchAll(PDO::FETCH_OBJ);
$totalquery=$query1->rowCount();
?>
<h2 class="mb-0">
<span class="count"><?php echo htmlentities($totalquery);?></span>
</h2>
<p class="text-light">Total Query Received</p>
<div class="chart-wrapper px-0" style="height:70px;" height="70">
<canvas id="widgetChart2"></canvas>
</div>
</a>
</div>
</div>
</div>
</div> <!-- .content -->
</div><!-- /#right-panel -->
<!-- Right Panel -->
70
<script src="../vendors/jquery/dist/jquery.min.js"></script>
<script src="../vendors/popper.js/dist/umd/popper.min.js"></script>
<script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="../assets/js/main.js"></script>
<script src="../vendors/chart.js/dist/Chart.bundle.min.js"></script>
<script src="../assets/js/dashboard.js"></script>
<script src="../assets/js/widgets.js"></script>
<script src="../vendors/jqvmap/dist/jquery.vmap.min.js"></script>
<script src="../vendors/jqvmap/examples/js/jquery.vmap.sampledata.js"></script>
<script src="../vendors/jqvmap/dist/maps/jquery.vmap.world.js"></script>
<script>
(function($) {
"use strict";
jQuery('#vmap').vectorMap({
map: 'world_en',
backgroundColor: null,
color: '#ffffff',
hoverOpacity: 0.7,
selectedColor: '#1de9b6',
enableZoom: true,
showTooltip: true,
values: sample_data,
scaleColors: ['#1de9b6', '#03a9f5'],
normalizeFunction: 'polynomial'
});
})(jQuery);
</script>
71
</body>
</html>
<?php } ?>
<?php
session_start();
error_reporting(0);
include('includes/dbconnection.php');
if(isset($_POST['submit']))
{
$email=$_POST['email'];
$mobile=$_POST['mobile'];
$newpassword=md5($_POST['newpassword']);
$sql ="SELECT Email FROM tblteacher WHERE Email=:email and
MobileNumber=:mobile";
$query= $dbh -> prepare($sql);
$query-> bindParam(':email', $email, PDO::PARAM_STR);
$query-> bindParam(':mobile', $mobile, PDO::PARAM_STR);
$query-> execute();
$results = $query -> fetchAll(PDO::FETCH_OBJ);
if($query -> rowCount() > 0)
{
$con="update tblteacher set Password=:newpassword where Email=:email and
MobileNumber=:mobile";
$chngpwd1 = $dbh->prepare($con);
$chngpwd1-> bindParam(':email', $email, PDO::PARAM_STR);
$chngpwd1-> bindParam(':mobile', $mobile, PDO::PARAM_STR);
$chngpwd1-> bindParam(':newpassword', $newpassword, PDO::PARAM_STR);
$chngpwd1->execute();
72
echo "<script>alert('Your Password succesfully changed');</script>";
echo "<script>window.location.href ='index.php'</script>";
}
else {
echo "<script>alert('Email id or Mobile no is invalid');</script>";
}
}
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
<title>TRMS Forgot Password</title>
<link rel="apple-touch-icon" href="apple-icon.png">
<link rel="stylesheet" href="../vendors/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="../vendors/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="../vendors/themify-icons/css/themify-icons.css">
<link rel="stylesheet" href="../vendors/flag-icon-css/css/flag-icon.min.css">
<link rel="stylesheet" href="../vendors/selectFX/css/cs-skin-elastic.css">
<link rel="stylesheet" href="../assets/css/style.css">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800'
rel='stylesheet' type='text/css'>
73
<script type="text/javascript">
function valid()
{
if(document.chngpwd.newpassword.value!= document.chngpwd.confirmpassword.value)
{
alert("New Password and Confirm Password Field do not match !!");
document.chngpwd.confirmpassword.focus();
return false;
}
return true;
}
</script>
</head>
<body class="bg-dark" style=" background-image: url('images/cool-background.png');">
<div class="sufee-login d-flex align-content-center flex-wrap">
<div class="container">
<div class="login-content">
<div class="login-logo">
<h3 style="color:#fff">Teacher Record Management System </h3>
<hr color="red"/>
</div>
<div class="login-form">
<form action="" method="post" name="chngpwd" onSubmit="return valid();">
<div class="form-group">
<label>Email Address</label>
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf
Teachers record management system project report..pdf

More Related Content

Similar to Teachers record management system project report..pdf

School Management App in order to perform all the tasks in a controlled and s...
School Management App in order to perform all the tasks in a controlled and s...School Management App in order to perform all the tasks in a controlled and s...
School Management App in order to perform all the tasks in a controlled and s...
uniprint
 
B5 msaravanan
B5 msaravananB5 msaravanan
B5 msaravanan
Jasline Presilda
 
E learning full report
E learning full reportE learning full report
E learning full report
Gaurav kumar rai - student
 
MCA_Project_Presentation_Format2.pptx
MCA_Project_Presentation_Format2.pptxMCA_Project_Presentation_Format2.pptx
MCA_Project_Presentation_Format2.pptx
ssuser0c5232
 
Manage Students Efficiently With Student Management System Modules.pdf
Manage Students Efficiently With Student Management System Modules.pdfManage Students Efficiently With Student Management System Modules.pdf
Manage Students Efficiently With Student Management System Modules.pdf
Sudhir Memorial Institute Liluah
 
Streamline School Administration with Innovative School Management Software
Streamline School Administration with Innovative School Management SoftwareStreamline School Administration with Innovative School Management Software
Streamline School Administration with Innovative School Management Software
Class ON App
 
Brian T Gudza..School Management System-1.pptx
Brian T Gudza..School Management System-1.pptxBrian T Gudza..School Management System-1.pptx
Brian T Gudza..School Management System-1.pptx
Tinotenda18
 
Blackboard_Analytics_White_Paper
Blackboard_Analytics_White_PaperBlackboard_Analytics_White_Paper
Blackboard_Analytics_White_Paper
Michael Wilder
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
Kamal Acharya
 
Presentation fyp 1
Presentation fyp 1Presentation fyp 1
Presentation fyp 1
AnNasuha KamarulBahari
 
What are the main Features of a School Management System_.pdf
What are the main Features of a School Management System_.pdfWhat are the main Features of a School Management System_.pdf
What are the main Features of a School Management System_.pdf
Absolute Facility Solutions
 
DBMS-Report on Student management system.pptx
DBMS-Report on Student management system.pptxDBMS-Report on Student management system.pptx
DBMS-Report on Student management system.pptx
rajjais1221
 
Erudition- Institute Management System
Erudition- Institute Management SystemErudition- Institute Management System
Erudition- Institute Management System
IRJET Journal
 
Sams
SamsSams
The Benefits Of Learning Management Systems.pdf
The Benefits Of Learning Management Systems.pdfThe Benefits Of Learning Management Systems.pdf
The Benefits Of Learning Management Systems.pdf
AFI Digital
 
University management system
University management systemUniversity management system
University management system
SayedMdMosarfHossain
 
Project_sms.pdf
Project_sms.pdfProject_sms.pdf
Project_sms.pdf
SonuShaw16
 
Thesis Project Management system presentation(part 1)
Thesis Project Management system presentation(part 1)Thesis Project Management system presentation(part 1)
Thesis Project Management system presentation(part 1)
Nayan Pal
 
IRJET- College Activity Management System
IRJET-  	  College Activity Management SystemIRJET-  	  College Activity Management System
IRJET- College Activity Management System
IRJET Journal
 
school billing system report
school billing system reportschool billing system report
school billing system report
aki_shu
 

Similar to Teachers record management system project report..pdf (20)

School Management App in order to perform all the tasks in a controlled and s...
School Management App in order to perform all the tasks in a controlled and s...School Management App in order to perform all the tasks in a controlled and s...
School Management App in order to perform all the tasks in a controlled and s...
 
B5 msaravanan
B5 msaravananB5 msaravanan
B5 msaravanan
 
E learning full report
E learning full reportE learning full report
E learning full report
 
MCA_Project_Presentation_Format2.pptx
MCA_Project_Presentation_Format2.pptxMCA_Project_Presentation_Format2.pptx
MCA_Project_Presentation_Format2.pptx
 
Manage Students Efficiently With Student Management System Modules.pdf
Manage Students Efficiently With Student Management System Modules.pdfManage Students Efficiently With Student Management System Modules.pdf
Manage Students Efficiently With Student Management System Modules.pdf
 
Streamline School Administration with Innovative School Management Software
Streamline School Administration with Innovative School Management SoftwareStreamline School Administration with Innovative School Management Software
Streamline School Administration with Innovative School Management Software
 
Brian T Gudza..School Management System-1.pptx
Brian T Gudza..School Management System-1.pptxBrian T Gudza..School Management System-1.pptx
Brian T Gudza..School Management System-1.pptx
 
Blackboard_Analytics_White_Paper
Blackboard_Analytics_White_PaperBlackboard_Analytics_White_Paper
Blackboard_Analytics_White_Paper
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Presentation fyp 1
Presentation fyp 1Presentation fyp 1
Presentation fyp 1
 
What are the main Features of a School Management System_.pdf
What are the main Features of a School Management System_.pdfWhat are the main Features of a School Management System_.pdf
What are the main Features of a School Management System_.pdf
 
DBMS-Report on Student management system.pptx
DBMS-Report on Student management system.pptxDBMS-Report on Student management system.pptx
DBMS-Report on Student management system.pptx
 
Erudition- Institute Management System
Erudition- Institute Management SystemErudition- Institute Management System
Erudition- Institute Management System
 
Sams
SamsSams
Sams
 
The Benefits Of Learning Management Systems.pdf
The Benefits Of Learning Management Systems.pdfThe Benefits Of Learning Management Systems.pdf
The Benefits Of Learning Management Systems.pdf
 
University management system
University management systemUniversity management system
University management system
 
Project_sms.pdf
Project_sms.pdfProject_sms.pdf
Project_sms.pdf
 
Thesis Project Management system presentation(part 1)
Thesis Project Management system presentation(part 1)Thesis Project Management system presentation(part 1)
Thesis Project Management system presentation(part 1)
 
IRJET- College Activity Management System
IRJET-  	  College Activity Management SystemIRJET-  	  College Activity Management System
IRJET- College Activity Management System
 
school billing system report
school billing system reportschool billing system report
school billing system report
 

More from Kamal Acharya

Retail store management system project report.pdf
Retail store management system project report.pdfRetail store management system project report.pdf
Retail store management system project report.pdf
Kamal Acharya
 
Gas agency management system project report.pdf
Gas agency management system project report.pdfGas agency management system project report.pdf
Gas agency management system project report.pdf
Kamal Acharya
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
Kamal Acharya
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
Youtube video download using python project report.pdf
Youtube video download using python project report.pdfYoutube video download using python project report.pdf
Youtube video download using python project report.pdf
Kamal Acharya
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Library management system project report II..pdf
Library management system project report II..pdfLibrary management system project report II..pdf
Library management system project report II..pdf
Kamal Acharya
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
Web chatting application project report management system.pdf
Web chatting application project report management system.pdfWeb chatting application project report management system.pdf
Web chatting application project report management system.pdf
Kamal Acharya
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
Chat application through client server management system project.pdf
Chat application through client server management system project.pdfChat application through client server management system project.pdf
Chat application through client server management system project.pdf
Kamal Acharya
 
Toll tax management system project report..pdf
Toll tax management system project report..pdfToll tax management system project report..pdf
Toll tax management system project report..pdf
Kamal Acharya
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
Kamal Acharya
 
Online dating system management project report.pdf
Online dating system management project report.pdfOnline dating system management project report.pdf
Online dating system management project report.pdf
Kamal Acharya
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
Kamal Acharya
 

More from Kamal Acharya (20)

Retail store management system project report.pdf
Retail store management system project report.pdfRetail store management system project report.pdf
Retail store management system project report.pdf
 
Gas agency management system project report.pdf
Gas agency management system project report.pdfGas agency management system project report.pdf
Gas agency management system project report.pdf
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
Youtube video download using python project report.pdf
Youtube video download using python project report.pdfYoutube video download using python project report.pdf
Youtube video download using python project report.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Library management system project report II..pdf
Library management system project report II..pdfLibrary management system project report II..pdf
Library management system project report II..pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
Web chatting application project report management system.pdf
Web chatting application project report management system.pdfWeb chatting application project report management system.pdf
Web chatting application project report management system.pdf
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
Chat application through client server management system project.pdf
Chat application through client server management system project.pdfChat application through client server management system project.pdf
Chat application through client server management system project.pdf
 
Toll tax management system project report..pdf
Toll tax management system project report..pdfToll tax management system project report..pdf
Toll tax management system project report..pdf
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
 
Online dating system management project report.pdf
Online dating system management project report.pdfOnline dating system management project report.pdf
Online dating system management project report.pdf
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
 

Recently uploaded

22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
Madan Karki
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENTNATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
Addu25809
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 

Recently uploaded (20)

22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENTNATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 

Teachers record management system project report..pdf

  • 1. 1 AN PROJECT REPORT ON TEACHERS RECORD MANAGEMENT SYSTEM PROJECT BY KAMAL ACHARYA (Tribhuvan University) Date: 2023/12/10
  • 2. 2 CHAPTER 1 INTRODUCTION 1.1 About the Organization The Teachers Record Management System is a comprehensive solution designed to simplify the process of managing teacher records. In today's fast-paced world, it is imperative for schools and individuals to have access to accurate and up-to-date information about teachers. This system addresses the needs of both individuals and schools, offering an efficient and effective way to manage teacher records. This web-based technology was developed with the aim of providing an easy-to-use platform that allows users to search and manage teacher records with ease. The system is designed to be user-friendly, making it accessible to individuals with varying levels of computer literacy. The interface is intuitive and easy to navigate, making it possible for users to quickly find the information they need. For individuals who are searching for good teachers, the Teachers Record Management System offers a comprehensive database of teacher records that can be searched using various parameters such as subject, qualification, experience, and location. This allows users to find the best teachers that match their requirements in a matter of minutes. The system also offers the ability to rate and review teachers, providing valuable feedback to other users who are looking for good teachers. For schools, the Teachers Record Management System offers a robust and secure platform for managing teacher records. The system allows schools to maintain accurate and up-to-date records of their teachers, including their personal information, academic qualifications, work experience, and other relevant details. This makes it easy for schools to keep track of their teachers and ensure that they have the right teachers for the job. The system also offers a range of features that help schools manage their teachers more efficiently. For example, the system allows schools to schedule classes and assign teachers to specific classes based on their qualifications and experience. It also offers a range of reporting and analytics tools that enable schools to track their teacher's performance and identify areas where improvements can be made. In conclusion, the Teachers Record Management System is a powerful tool that offers a range of benefits to both individuals and schools. It provides an easy and efficient way to search and manage teacher records, allowing users to find the best teachers that match their requirements. The system is also designed to be user-friendly and offers a range of features that help schools manage their teachers more efficiently. Overall, the Teachers Record Management System is an essential tool for anyone who wants to find good teachers or manage their teacher records.
  • 3. 3 1.2 Overview of project The Teachers Record Management System is a comprehensive web application that has been developed to help manage teacher records efficiently. It is built using PHP5.6/PHP7.x and MySQL 5.x database, which are widely recognized as the most popular programming languages for web development and reliable database management. The system is divided into two primary modules: the admin module and the user module. The admin module is designed for administrators and is used to manage the system's different aspects, including managing subjects, teachers, searching for teachers by name, generating reports, and managing their profile and password. The admin module provides the system's core functionality, and it is the primary control center of the system. The user module is designed for teachers, and it is used to update their profile and password, view queries, and log out. The user module is designed to be simple and easy to use, allowing teachers to manage their profile and access relevant information without having to go through the admin module. The Teachers Record Management System is a comprehensive solution that streamlines the process of managing teacher records. The system provides administrators with complete control over the entire teacher record database, allowing them to manage subjects and teachers effectively. The system also provides teachers with an easy way to update their profiles and view queries related to their classes. The admin module is divided into several sub-modules, each of which is responsible for managing different aspects of the system. The subject management sub-module allows administrators to manage the list of subjects that are taught in the school. The teacher management sub-module allows administrators to manage the list of teachers and their profiles, including their personal information, academic qualifications, work experience, and other relevant details. The search teacher sub-module allows administrators to search for teachers by name, subject, experience, qualification, and location. The report sub-module allows administrators to generate different types of reports based on different parameters, such as teacher performance, subject-wise teacher allocation, and subject-wise student performance. The system's user module is designed to be simple and user-friendly, allowing teachers to update their profiles, view queries, and log out with ease. The user module includes a profile management sub-module that allows teachers to update their personal information, academic qualifications, and work experience. The query sub-module allows teachers to view queries related to their classes, ensuring that they stay up to date with their responsibilities. In conclusion, the Teachers Record Management System is a powerful web application that provides administrators and teachers with an easy and efficient way to manage teacher records. The system's admin module offers complete control over the teacher record database, while the user module provides teachers with an easy way to manage their profiles and view queries. The
  • 4. 4 Teachers Record Management System is an essential tool for any school looking to streamline the process of managing teacher records. 1.3 Objective of project The Teachers Record Management System has been developed with the following objectives in mind: 1. To streamline the process of managing teacher records: One of the primary objectives of this project is to provide a system that simplifies the management of teacher records. The system offers a user-friendly interface that allows administrators and teachers to manage their records efficiently. This objective is achieved by providing a centralized database that stores all the necessary information related to teachers, including their personal details, academic qualifications, work experience, and other relevant details. 2. To enhance transparency and accountability: Another essential objective of this project is to enhance transparency and accountability in the management of teacher records. The system provides administrators with complete control over the database, ensuring that all records are accurate and up to date. This objective is achieved by implementing robust security features that prevent unauthorized access to the system and the database. 3. To improve the quality of teaching: This project also aims to improve the quality of teaching by providing administrators with the necessary information to evaluate teacher performance. The system allows administrators to generate reports that provide insights into the performance of teachers, subject-wise teacher allocation, and subject-wise student performance. This objective is achieved by providing a system that is capable of analyzing and presenting data in a meaningful way. 4. To provide a user-friendly interface: The project aims to provide a user-friendly interface that is easy to navigate and use. This objective is achieved by designing a system that is intuitive and easy to use, even for users who are not tech-savvy. 5. To ensure system reliability and security: This project aims to provide a reliable and secure system that can be used to manage teacher records. The system's reliability is achieved by implementing robust backup and recovery mechanisms, ensuring that data is not lost in case of system failure. The system's security is achieved by implementing various security features, including user authentication, access control, and data encryption. In conclusion, the Teachers Record Management System is a project that aims to simplify the management of teacher records. The project's objectives include improving the quality of teaching, enhancing transparency and accountability, providing a user-friendly interface, and ensuring system reliability and security.
  • 5. 5 CHAPTER 2 SYSTEM ANALYSIS 2.1 Study of Existing System The existing system for managing teacher records is usually manual and paper-based, which makes it prone to errors and time-consuming. In this system, teachers are required to submit their personal and academic details on paper, which are then stored in a file or folder. The school administration then has to manually manage and maintain these records, which can be a tedious and time-consuming process. The manual system is also vulnerable to errors, as the records can be lost, misplaced, or damaged over time. Additionally, there may be inconsistencies in the data, as it may be difficult to update and maintain the records in real-time. Furthermore, this system lacks the necessary features for effective data analysis and reporting, making it challenging to evaluate teacher performance or identify areas that need improvement. Overall, the manual system for managing teacher records is inefficient, time-consuming, and prone to errors. It lacks the necessary features for effective data analysis and reporting, making it challenging for school administrators to make data-driven decisions. The Teachers Record Management System is designed to address these issues and provide a more efficient and reliable way to manage teacher records. The system offers a centralized database that stores all the necessary information related to teachers, including their personal details, academic qualifications, work experience, and other relevant details. This database can be easily accessed and updated in real-time, making it easy to maintain accurate records. The system also offers features for effective data analysis and reporting, enabling administrators to generate reports that provide insights into the performance of teachers, subject-wise teacher allocation, and subject-wise student performance. This information can help administrators identify areas that need improvement and make data-driven decisions. Overall, the Teachers Record Management System offers a more efficient, reliable, and user- friendly way to manage teacher records. By automating the process, the system reduces the workload of school administrators, improves data accuracy, and enhances transparency and accountability. The system is an essential tool for any school looking to streamline the process of managing teacher records and improve the quality of teaching. 2.2 Study of Proposed System The proposed Teachers Record Management System is a web-based application that offers several benefits over the existing manual system. The system is designed to be user- friendly and intuitive, with an easy-to-use interface that enables administrators and teachers to manage teacher records efficiently.
  • 6. 6 One of the primary advantages of the proposed system is that it is web-based, which means that it can be accessed from anywhere with an internet connection. This makes it easy for administrators and teachers to access and manage their records, even if they are not physically present in the school. This feature can be particularly helpful for schools with multiple campuses or remote staff. The system also provides a range of features for managing teacher records, including subject management, teacher management, and query management. Administrators can easily add, update, or delete subjects and teachers as needed, while also maintaining accurate records of their qualifications, work experience, and other relevant details. The query management feature allows administrators to quickly respond to any questions or concerns raised by teachers, ensuring timely and efficient communication. Another key feature of the proposed system is the search function, which allows administrators to search for teachers by name. This feature makes it easy to find specific records quickly, reducing the time and effort required to manage teacher records. The system also provides reporting capabilities, enabling administrators to generate reports that provide insights into teacher performance and subject-wise teacher allocation. Overall, the proposed system offers several benefits over the existing manual system. It is user- friendly, web-based, and provides a range of features for managing teacher records efficiently. The search function and reporting capabilities make it easy to find and analyze data, helping administrators make data-driven decisions. By automating the process of managing teacher records, the system can help schools reduce errors, save time, and improve the quality of teaching. 2.3 System Specifications 2.3.1 Hardware Specifications  Intel i5 Processor  512 MB Ram  512 KB Cache Memory  Hard disk 10 GB  Microsoft Compatible 101 or more Key Board 2.3.2 Software Specification  Operating System: Windows  Web-Technology: PHP  Front-End: HTML, AJAX, JQUERY AND JAVASCRIPT  Back-End: MySQL  Web Server: Apache SERVER. The Teachers Record Management System is developed using PHP5.6/PHP7.x and MySQL 5.x database. The user interface is designed using HTML, AJAX, JQUERY, and JAVASCRIPT.
  • 7. 7 2.4 Software Features User interface: The way users interact with and navigate the software, including graphical elements, buttons, menus, and forms. Data management: The ability to store, retrieve, and manipulate data, often through a database or file system. Reporting and analytics: The ability to generate reports and visualizations based on data to help users understand and analyze information . Task management: A system for managing and tracking tasks and projects, including setting deadlines and assigning tasks to individuals . Communication and collaboration: Tools that allow users to communicate and work together, such as messaging and file sharing. Mobile support: The ability to access and use the software on mobile devices, including smartphones and tablets. Customization and configuration: The ability to modify the software to fit specific needs, such as changing the appearance or adding new functionality. Security: Measures to protect sensitive data and prevent unauthorized access, such as encryption, user authentication, and data backup. Integration with other systems: The ability to connect and exchange data with other software and services, such as third-party APIs. User authentication and authorization: A system for logging in and verifying users, as well as controlling what actions each user can take
  • 8. 8 2.4.1 Overview of Operating System The system is compatible with any modern operating system, including Windows, Mac OS, and Linux. 2.4.2 Overview Language Used The system is developed using PHP5.6/PHP7.x and MySQL 5.x database. The user interface is designed using HTML, AJAX, JQUERY, and JAVASCRIPT. 2.4.3 Introduction to PHP The term PHP is an acronym for PHP: Hypertext Pre processor. PHP is a server-side scripting language designed specifically for web development. It is open-source which means it is free to download and use. It is very simple to learn and use. The files have the extension “.PHP”. Rasmus Lerdorf inspired the first version of PHP and participated in the later versions. It is an interpreted language and it does not require a compiler. PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a daemon or a Common Gateway Interface(CGI) executable. On a web server, the result of the interpreted and executed PHP code – which may be any type of data, such as generated HTML or binary image data – would form the whole or part of an HTTP response. PHP is an open-source server-side scripting language that many developers use for web development. It is also a general-purpose language that you can use to make lots of projects, including Graphical User Interfaces (GUIs). The first version of PHP was launched 26 years ago. Now it's on version 8, released in November 2020, but version 7 remains the most widely used. PHP runs on the Zend engine, which is the most popular implementation. There are some other implementations as well, like parrot, HPVM (Hip Hop Virtual Machine), and Hip Hop, created by Facebook. PHP is mostly used for making web servers. It runs on the browser and is also capable of running in the command line. So, if you don't feel like showing your code output in the browser, you can show it in the terminal. Cross-Platform: PHP is platform-independent. You don't have to have a particular OS to use it because it runs on every platform, whether it's Mac, Windows, or Linux. Open Source: PHP is open source. The original code is made available to everyone who wants to build upon it. This is one of the reasons why one of its frameworks, Laravel, is so popular. Easy to learn: PHP is not hard to learn for absolute beginners. You can pick it up pretty if you already have programming knowledge. PHP syncs with all Databases: You can easily connect PHP to all Databases, relational and non-relational. So it can connect in no time to MySQL, Postgress, MongoDB, or any other database.
  • 9. 9 Supportive Community: PHP has a very supportive online community. The official documentation provides guides on how to use the features and you can easily get your problem fixed while stuck. Nowadays, there's an intense debate on whether PHP is on the decline or not. This is because of the advent and increasing popularity of other languages suited for the server-side such as JavaScript (Node JS), Python, Golang, and others. PHP can create, open, read, write, delete, and close files on the server. PHP can collect form data. PHP can send and receive cookies. PHP can add, delete, modify data in your database. PHP can be used to control user-access. PHP can encrypt data. With PHP you are not limited to output HTML. 2.4.4 Intoduction to MySql MySQL is an open-source relational database management system (RDBMS). Its name is a combination of "My", the name of co-founder Michael Win Denius's daughter My, and "SQL", the acronym for Structured Query Language. A relational database organizes data into one or more data tables in which data may be related to each other; these relations help structure the data. SQL is a language programmers use to create, modify and extract data from the relational database, as well as control user access to the database. In addition to relational databases and SQL, an RDBMS like MySQL works with an operating system to implement a relational database in a computer's storage system, manages users, allows for network access and facilitates testing database integrity and creation of backups. MySQL is free and open source software under the terms of the GNU General Public License, and is also available under a variety of proprietary licenses. MySQL was owned and sponsored by the Swedish company MySQL AB, which was bought by Sun Microsystems (now Oracle Corporation). In 2010, when Oracle acquired Sun, Widenius forked the open-source MySQL project to create MariaDB. MySQL has stand-alone clients that allow users to interact directly with a MySQL database using SQL, but more often, MySQL is used with other programs to implement applications that need relational database capability. MySQL is a component of the LAMP web application software stack (and others), which is an acronym for Linux, Apache, MySQL, Perl/PHP/Python. MySQL is used by many database-driven web applications, including Drupal, Joomla, phpBB, and WordPress. MySQL is also used by many popular websites, including Facebook, Flickr, MediaWiki, Twitter, and YouTube. Overview MySQL is a powerful and widely-used database management system that offers a range of features and tools for storing, organizing, and managing data. Whether you are a web developer, data analyst, or business owner, MySQL can provide a reliable and efficient solution for your data storage needs.
  • 10. 10 MySQL is a popular open-source database management system. • It is used for storing and organizing data. • It is known for its fast performance, reliability, and ease of use. • MySQL is based on the Structured Query Language (SQL). • It can be used to create and modify databases, tables, and other database objects. • It can be used to insert, query, and update data. • MySQL can be used to manage users and privileges. • It is flexible and can be used on a variety of platforms and with a range of programming languages. • MySQL offers optional add-ons and tools for backup, recovery, performance tuning, and security. • MySQL is a database system used for developing web-based software applications. • MySQL is used for both small and large applications. • MySQL is a relational database management system (RDBMS). • MySQL is presently developed, distributed, and supported by Oracle Corporation. • MySQL is written in the C programming language. Main features of MySQL include: • MySQL server design is multi-layered with independent modules. • MySQL is fully multithreaded by using kernel threads. It can handle multiple CPUs if they are available. • MySQL provides transactional and non-transactional storage engines. • MySQL has a high-speed thread-based memory allocation system. • MySQL supports in-memory heap table. • MySQL can handle large databases. • MySQL Server works in client/server or embedded systems. 2.5 Cost Estimation and Development Process The cost of developing the Teachers Record Management System depends on various factors such as the development team size, the project complexity, and the time required to develop the system. The development process involves various stages such as requirement analysis, design, development, testing, and implementation.
  • 11. 11 CHAPTER 03 System design & development process System design is the process of defining elements of a system like modules, architecture, components and their interfaces and data for a system based on the specified requirements. And it is the process of defining, developing systems which satisfies the specific needs and requirements of a business or organization. A systematic approach is required for a coherent all related variables of the system. A designer uses the modelling languages to express to information and knowledge in a structure of system that is defined by a consistent set of rules and definitions. The design can be defined as graphical or textual modelling languages. Output design generally refers to the results and information that are generated by the system for many end-users; output is the main reason for developing the system and the basis on which they evaluate the usefulness of the application. The code design should be such that with less amount of coding we can achieve more results. The speed of the system will be more if the coding is less. Whether the data in the system is usable and readable by the system is depending on the coding. In this project, the coding is being done such that proper validations are made to get the perfect input. No error inputs are accepted. In addition, care is taken such that the data integrity and referential integrity is not violated in the database. In addition, coding is designed such that concurrency avoidance of accessing the database, limited user access to the table is made perfect
  • 12. 12 Software development process A software development process is the process of dividing software development work into smaller, parallel or sequential steps or sub processes to improve design and product management. It is also known as a software development life cycle (SDLC). SDLC is a process followed for a software project, within a software organization. It consists of a detailed plan describing how to develop, maintain, replace and alter or enhance specific software. The life cycle defines a methodology for improving the quality of software and the overall development process. The following figure is a graphical representation of the various stages of a typical SDLC A typical Software Development Life Cycle consists of the following stages – Stage1: Planning and Requirement Analysis Requirement analysis is the most important and fundamental stage in SDLC. It is performed by the senior members of the team with inputs from the customer, the sales department, market surveys and domain experts in the industry. This information is then used to plan the basic project approach and to conduct product feasibility study in the economical, operational and technical areas. Planning for the quality assurance requirements and identification of the risks associated with the project is also done in the planning stage. The outcome of the technical feasibility study is to define the various technical approaches that can be followed to implement the project successfully with minimum risks.
  • 13. 13 Stage 2: Defining Requirements Once the requirement analysis is done the next step is to clearly define and document the product requirements and get them approved from the customer or the market analysts. This is done through an SRS (Software Requirement Specification) document which consists of all the product requirements to be designed and developed during the project life cycle. Stage 3: Designing the Product Architecture SRS is the reference for product architects to come out with the best architecture for the product to be developed. Based on the requirements specified in SRS, usually more than one design approach for the product architecture is proposed and documented in a DDS – Design Document Specification. This DDS is reviewed by all the important stakeholders and based on various parameters as risk assessment, product robustness, design modularity, budget and time constraints, the best design approach is selected for the product. A design approach clearly defines all the architectural modules of the product along with its communication and data flow representation with the external and third-party modules (if any). The internal design of all the modules of the proposed architecture should be clearly defined with the minutest of the details in DDS. Stage 4: Building or Developing the Product In this stage of SDLC the actual development starts and the product is built. The programming code is generated as per DDS during this stage. If the design is performed in a detailed and organized manner, code generation can be accomplished without much hassle. Developers must follow the coding guidelines defined by their organization and programming tools like compilers, interpreters, debuggers, etc. are used to generate the code. Different high level programming languages such as C, C++, Pascal, Java and PHP are used for coding. The programming language is chosen with respect to the type of software being developed. Stage 5: Testing the Product This stage is usually a subset of all the stages as in the modern SDLC models, the testing activities are mostly involved in all the stages of SDLC. However, this stage refers to the testing only stage of the product where product defects are reported, tracked, fixed and retested, until the product reaches the quality standards defined in the SRS. Stage 6: Deployment in the Market and Maintenance Once the product is tested and ready to be deployed it is released formally in the appropriate market. Sometimes product deployment happens in stages as per the business strategy of that organization. The product may first be released in a limited segment and tested in the real business environment (UAT- User acceptance testing)
  • 14. 14 3.1Project Description: The goal of this web application is to provide a platform for schools or educational institutions to manage their teacher and subject information more efficiently. The application is designed to have two different modules: Admin module and Teacher module. Admin Module: The Admin module is designed for the school administrators or staff who have access to manage teacher and subject information. The features of this module are as follows: Dashboard: This section provides an overview of the total number of subjects and teachers in the school. Subjects: In this section, the admin can manage the subjects by adding new subjects or updating existing ones. The admin can view the list of subjects, edit the subject details, and delete subjects if necessary. Teachers: In this section, the admin can manage the teachers by adding new teachers or updating existing ones. The admin can view the list of teachers, edit the teacher details, and delete teachers if necessary. Search: The admin can search for teachers by using their name. This feature will help the admin to find teachers quickly. Report: In this section, the admin can view the number of teachers added in particular periods. The admin can use this feature to generate reports on teacher hiring trends. Profile: In this section, the admin can update his/her profile. The admin can change the contact details, such as email address and phone number. Change Password: In this section, the admin can change his/her own passwords. The password is encrypted using MD5 encryption method to ensure security. Logout: This button is used to log out of the application. Forgot Password: In case the admin forgets his/her password, this section allows the admin to reset the password by using registered email id and contact number. Teacher Module: The Teacher module is designed for the teachers who are employed by the school. The features of this module are as follows: Dashboard: This section is the welcome page for a teacher. It provides an overview of the teacher's class schedules and upcoming events.
  • 15. 15 Queries: In this section, the teacher can view the queries raised by the users. The teacher can respond to the queries and mark them as resolved. Profile: In this section, the teacher can update his/her profile. The teacher can change the contact details and upload a profile picture. Change Password: In this section, the teacher can change his/her own passwords. The password is encrypted using MD5 encryption method to ensure security. Logout: This button is used to log out of the application. The web application is developed using HTML, CSS, JavaScript, and PHP. The application is hosted on a web server, and the database is managed using MySQL. The application uses MD5 encryption method to ensure the security of passwords. The application is user-friendly and easy to use. It helps the school to manage their teacher and subject information more efficiently 3.2 Program Specification User Interface: The system will have a web-based user interface that will be accessible through a web browser. The user interface will consist of the following pages: Login Page: This page will allow the user to log in to the system using their username and password. If the user is not yet registered, they can register for an account by clicking the "Register" button. Register Page: This page will allow the user to create a new account by providing their name, email address, username, and password. Dashboard Page: This page will display a summary of the system's data, including the total number of teachers and the total number of subjects. Teachers Page: This page will allow the admin to add, update, or delete teacher records. Subjects Page: This page will allow the admin to manage the subjects by adding or updating the subject records. Search Page: This page will allow the admin to search for a teacher by name. Reports Page: This page will allow the admin to view reports, such as the number of teachers added in a particular period. Profile Page: This page will allow the admin to update their profile information. Change Password Page: This page will allow the admin to change their password. Logout Page: This page will allow the admin to log out of the system.
  • 16. 16 Database Schema:The system will use a MySQL database to store its data. The database schema will consist of the following tables: Users: This table will store information about the system's users, including their name, email address, username, and password. Teachers: This table will store information about the teachers, including their name, email address, and password. Subjects: This table will store information about the subjects, including their name and description. Functionality: The system will provide the following functionality: User Authentication: The system will authenticate users based on their username and password. Teacher Management: The system will allow the admin to add, update, or delete teacher records. Subject Management: The system will allow the admin to manage the subjects by adding or updating the subject records. Search Functionality: The system will allow the admin to search for a teacher by name. Reports: The system will allow the admin to view reports, such as the number of teachers added in a particular period. Profile Management: The system will allow the admin to update their profile information. Password Management: The system will allow the admin to change their password. Technologies: The system will be built using the following technologies: PHP: The system will be written in PHP, a popular server-side scripting language. MySQL: The system will use MySQL, a popular relational database management system, to store its data. HTML/CSS: The system's user interface will be built using HTML and CSS. JavaScript: The system's user interface will include some JavaScript for interactivity. Security: The system will use MD5 encryption to secure user passwords. Overall, this teacher record management system will provide the admin with the ability to manage teacher and subject records, search for teachers, view reports, and update their own profile and password information. It will be built using PHP and MySQL, with a web-based user interface accessible through a web browser
  • 17. 17 3.3DFD NOTATION Data Flow Diagrams represent one of the most ingenious tools used for structured analysis. A Data Flow Diagram or DFD as it is shortly called is also known as a bubble chart. It has the purpose of clarifying system requirements and identifying major transformations that will become programs in System design. It is the major starting point in the design phase that functionally decomposes the requirements specifications down to the lowest level of detail. A DFD consists of a series of bubbles joined by lines. The bubble represents data transformation and lines represent data flow in the system. In the normal convention, a DFD has four major symbols. The DFD at the simplest level is referred to as the’ Zero Level DFD’ or in the simple words a ‘Context Analysis Diagram’. These are expanded level by level each explaining Its process in detail. Processes are numbered for easy identification and are normally labelled in block letters. Each data flow is labelled for easy understanding. Steps to Construct a DFD:- Four steps are commonly used to construct a DFD :  Process should be named and numbered for easy reference.  Each name should be representative of the process.  The direction of flow is from top to bottom and from left to right.  When a process is exploded into lower level details they are numbered.  The names of data stores, source and destination are written in capital.
  • 18. 18 LEVEL ZERO DFD DIAGRAM
  • 19. 19 LEVEL ONE DFD DIAGRAM
  • 20. 20 LEVEL TWO DFD DIAGRAM
  • 21. 21 3.4 Design Process Data base design is defined as a collection of steps that help with designing, creating, implementing and maintaining a business’s data management systems. The main purpose of designing a database is to produce physical and logical models of designs for the proposed database system. A good database design process is governed by specific rules. The first rule dictates that redundant data must be avoided as its wastes space and increases the probability of faults and discrepancies within the database. The next rule is that the accuracy and comprehensiveness of information is extremely imperative. If the database contain erroneous information any documents that fetch data from such a database will also include inaccurate information. CODE DESIGN A code design is a document that sets rules for the design. It is a tool that can be used in the design and planning process, but goes further and is more regulatory than other forms of guidance. It can be thought of as a process and document and therefore a mechanism which operationalize design guidelines or standards which have been established through a master plan process. INPUT DESIGN Input design is the process of converting a user-oriented description of the inputs toa computer-base business system into a programmer-oriented specification. In an information system, input is the raw data is processed to produce output. During the input design, the developers must consider the input devices such as PC, MICR, OMR, etc. Therefore, the quality of system input determines the quality of system output. Well designed input forms and have following properties: • It should serve specific purpose effectively such as storing, recording and retrieving the information. • It ensures proper completion with accuracy. • It should be easy to fill and straight forward. • It should focus on user’s attention, consistency and simplicity. 3.4.1 Database Design: The database design for the teacher record management system will include three tables: Users, Teachers, and Subjects. The Users table will store information about the system's users, including their name, email address, username, and password. The Teachers table will store information about the teachers, including their name, email address, and password. The Subjects table will store information about the subjects, including their name and description. The tables will be related as follows: Each user can have multiple teacher records associated with them. Each teacher can be associated with multiple subject records.
  • 22. 22 This relationship will be implemented using foreign keys in the Teachers and Subjects tables that reference the primary key of the Users table. 3.4.2 Input Design: The input design for the teacher record management system will include forms for adding and updating teacher and subject records. The forms will include fields for the relevant information, such as name, email address, password, subject name, and subject description. The forms will be designed to validate user input and ensure that all required fields are filled in before the data is submitted to the database. In addition to the forms, the system will include a search box that allows the admin to search for teachers by name. The search box will be designed to provide real-time search results as the admin types in the teacher's name. 3.4.3 Output Design: The output design for the teacher record management system will include several pages that display data from the database in a clear and organized manner. The pages will include: Dashboard: This page will display a summary of the system's data, including the total number of teachers and the total number of subjects. Teachers Page: This page will display a table of all the teacher records in the database, including the teacher's name, email address, and subject(s) taught. Subjects Page: This page will display a table of all the subject records in the database, including the subject's name and description. Reports Page: This page will display reports, such as the number of teachers added in a particular period, in a clear and organized manner. Profile Page: This page will display the admin's profile information, including their name, email address, and username. All of the pages will be designed to be user-friendly and easy to navigate, with clear headings and labels for each section. The output design will also include styling to make the pages visually appealing and easy to read.
  • 23. 23 CHAPTER 4 SYSTEM TESTING & IMPLEMENTATION 4.1 System Testing System testing is the process of testing a complete and fully integrated software system to ensure that it meets the specified requirements and functions as intended. It is conducted after the software development process is complete, and before the system is deployed in a production environment. During system testing, the software is tested as a whole, including all the components and sub- systems. The purpose of system testing is to identify any defects or issues that were not detected during unit testing or integration testing. The following are the key objectives of system testing: 1. To ensure that the software meets the specified requirements and functions as intended. 2. To identify and fix any defects or issues that were not detected during unit testing or integration testing. 3. To ensure that the software is reliable, robust, and secure. 4. To validate that the software is user-friendly and easy to use. 5. To ensure that the software performs well under different load conditions. 6. To verify that the software is compatible with other systems and applications. 7. To ensure that the software is maintainable and scalable. The process of system testing includes the following steps:  Test planning: In this step, the test team develops the test plan, which includes the test objectives, scope, test approach, test environment, and test schedule.  Test case development: In this step, the test team develops the test cases based on the requirements and design specifications.  Test execution: In this step, the test team executes the test cases and reports any defects or issues.  Defect tracking and management: In this step, the test team tracks and manages the defects reported during testing.  Test reporting: In this step, the test team prepares the test reports, which include the test results, defects identified, and recommendations.
  • 24. 24 4.2 System Implementation Implementation is the process of deploying the software system in a production environment. The following are the key steps involved in the implementation process:  Deployment planning: In this step, the deployment team develops the deployment plan, which includes the deployment strategy, deployment schedule, and contingency plan.  Hardware and software setup: In this step, the deployment team sets up the hardware and software environment required to run the software system.  Data migration: In this step, the deployment team migrates the data from the old system to the new system.  User training: In this step, the deployment team provides training to the users on how to use the new system.  User acceptance testing: In this step, the users perform acceptance testing to ensure that the system meets their requirements.  System go-live: In this step, the system is deployed in the production environment and made available to the users.  the users to ensure that the system is functioning as expected. Overall, the implementation process is a critical stage in the software development life cycle, and it is essential to ensure that it is carefully planned and executed to ensure a successful deployment 4.3 System Maintenance The Teacher Record Management System (TRMS) is a web-based application that facilitates the management of teachers' records in an educational institution. The system is built using PHP as the backend programming language and MySQL as the database management system.  Maintenance Plan: The maintenance plan for the TRMS website includes regular updates, backups, and security checks. The following maintenance activities are planned for the website:  Regular Updates: The PHP and MySQL versions used in the TRMS website will be updated regularly to ensure that the website is up-to-date with the latest security patches and bug fixes.
  • 25. 25 The updates will be performed by a professional developer and tested thoroughly before deploying them on the live website.  Backups: Backups of the TRMS website and the MySQL database will be taken regularly to ensure that data is not lost in case of any unforeseen events such as server crashes, hacking attempts, or natural disasters. The backups will be stored on an external hard drive that is physically disconnected from the server to prevent unauthorized access.  Security Checks: The security of the TRMS website will be regularly checked to ensure that it is not vulnerable to hacking attempts. The security checks will include testing the website for SQL injection, XSS, and CSRF attacks. Any vulnerabilities found will be fixed by a professional developer immediately.  Performance Optimization: The performance of the TRMS website will be optimized to ensure that it loads quickly and efficiently. This will include optimizing the MySQL database queries, compressing images, and minifying CSS and JavaScript files.  Bug Fixes: Any bugs or issues reported by the users of the TRMS website will be fixed promptly by a professional developer. Conclusion: The TRMS website is a critical component of the educational institution's operations, and it is essential to keep it running smoothly. The maintenance plan outlined above will ensure that the website is updated, secure, and performing optimally. Regular backups will also ensure that data is not lost in case of any unforeseen events.
  • 26. 26 5. CONCLUSION & FUTURE ENHANCEMENT In conclusion, the teacher record management system developed using PHP and MySQL is a reliable and efficient tool for managing teacher records in an educational institution. The system is easy to use and provides useful features such as the ability to add, edit, and delete teacher records, generate reports, and search for specific records. However, there is always room for improvement, and future enhancements can be made to the system to make it even better. Some possible future enhancements include 1. Integration with other systems: The teacher record management system can be integrated with other systems such as student record management systems, payroll systems, and learning management systems. This integration can help to streamline processes and reduce the workload of administrators. 2. Mobile optimization: With the increasing use of mobile devices, it is essential to make the system mobile-friendly. This can be done by optimizing the system for smaller screens and developing a mobile app for easy access. 3. Advanced reporting features: The system can be enhanced with advanced reporting features such as data visualization, graphical representations, and custom reports. This can help to provide insights into teacher performance and student progress. 4. Security enhancements: The system can be enhanced with additional security measures such as two-factor authentication, encryption, and access controls. This can help to prevent unauthorized access to sensitive data. Overall, the teacher record management system is a valuable tool for managing teacher records in an educational institution. With continuous improvement and future enhancements, the system can become even more useful and effective.
  • 27. 27 6. BIBLOGRAPHY The following books are referred in making this project: 1. Kevin Yank, Laura Thomson. "PHP and MySQL Web Development". Addison-Wesley Professional, 5th Edition, 2016. 2. David Powers. "PHP Solutions: Dynamic Web Design Made Easy". Friends of ED, 3rd Edition, 2014. 3. Robin Nixon. "Learning PHP, MySQL & JavaScript: With jQuery, CSS & HTML5". O'Reilly Media, 4th Edition, 2018. 4. Luke Welling, Laura Thomson. "PHP and MySQL Web Development: A Beginner’s Guide". Addison-Wesley Professional, 4th Edition, 2008. 5. Julie C. Meloni. "PHP Programming with MySQL". Sams Publishing, 2nd Edition, 2004. 6. Jason Lengstorf, Thomas Blom Hansen. "PHP & MySQL: Novice to Ninja". SitePoint, 6th Edition, 2018. 7. Larry Ullman. "PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide". Peachpit Press, 5th Edition, 2017. 8. David Sklar, Adam Trachtenberg. "PHP Cookbook". O'Reilly Media, 3rd Edition, 2014. 9. Steve Suehring, Janet Valade. "PHP, MySQL, & JavaScript All-in-One For Dummies". For Dummies, 2nd Edition, 2018. 10. Jon Duckett. "HTML and CSS: Design and Build Websites". John Wiley & Sons, 1st Edition, 2011. Online resources referred are: 1. W3Schools (https://www.w3schools.com/): a website that provides tutorials and examples for web development languages such as HTML, CSS, JavaScript, and PHP. 2. PHP.net (https://www.php.net/): the official website for the PHP programming language, which includes documentation and examples. 3. MySQL Documentation (https://dev.mysql.com/doc/): the official documentation for the MySQL database management system. 4. jQuery Documentation (https://api.jquery.com/): the official documentation for the jQuery JavaScript library, which simplifies HTML document traversal and manipulation, event handling, and animation. 5. Stack Overflow (https://stackoverflow.com/): a question and answer community for programming-related topics, which can be a valuable resource for troubleshooting and problem-solving. 6. TutorialsPoint (https://www.tutorialspoint.com/): a website that provides tutorials and examples for a wide range of programming languages and technologies, including PHP, MySQL, and jQuery.
  • 29. 29 SIGN – UP PAGE LISTED TEACHERS
  • 33. 33 SOURCE CODE HOMEPAGE ABOUT <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to- fit=no" /> <meta name="description" content="" /> <meta name="author" content="" /> <title>Modern Business - Start Bootstrap Template</title> <!-- Favicon--> <link rel="icon" type="image/x-icon" href="assets/favicon.ico" /> <!-- Bootstrap icons--> <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css" rel="stylesheet" /> <!-- Core theme CSS (includes Bootstrap)--> <link href="css/styles.css" rel="stylesheet" /> </head> <body class="d-flex flex-column"> <main class="flex-shrink-0"> <!-- Navigation--> <?php include_once('includes/header.php');?> <!-- Header--> <!-- About section one--> <section class="py-5 bg-light" id="scroll-target"> <div class="container px-5 my-5"> <div class="row gx-5 align-items-center">
  • 34. 34 <div class="col-lg-6"><img class="img-fluid rounded mb-5 mb-lg-0" src="images/about-us.jpg" alt="..." /></div> <div class="col-lg-6"> <h2 class="fw-bolder">About Us</h2> <p class="lead fw-normal text-muted mb-0">This is a project developed by JITTINA & TARUN on Teachers Record Management System. The Teachers Record Management System is a comprehensive solution designed to simplify the process of managing teacher records. In today's fast-paced world, it is imperative for schools and individuals to have access to accurate and up-to-date information about teachers. This system addresses the needs of both individuals and schools, offering an efficient and effective way to manage teacher records.</p> </div> </div> </div> </section> </main> <!-- Footer--> <?php include_once('includes/footer.php');?> <!-- Bootstrap core JS--> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script> <!-- Core theme JS--> <script src="js/scripts.js"></script> </body> </html> CONTACT <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to- fit=no" /> <meta name="description" content />
  • 35. 35 <meta name="author" content /> <title>Modern Business - Start Bootstrap Template</title> <!-- Favicon--> <link rel="icon" type="image/x-icon" href="assets/favicon.ico" /> <!-- Bootstrap icons--> <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css" rel="stylesheet" /> <!-- Core theme CSS (includes Bootstrap)--> <link href="css/styles.css" rel="stylesheet" /> </head> <body class="d-flex flex-column"> <main class="flex-shrink-0"> <?php include_once('includes/header.php');?> <!-- Page content--> <section class="py-5"> <div class="container px-5"> <!-- Contact form--> <div class="bg-light rounded-3 py-5 px-4 px-md-5 mb-5"> <div class="text-center mb-5"> <div class="feature bg-primary bg-gradient text-white rounded-3 mb-3"><i class="bi bi-envelope"></i></div> <h1 class="fw-bolder">Get in touch</h1> <p class="lead fw-normal text-muted mb-0">We'd love to hear from you</p> </div> <!-- Contact cards--> <div class="row gx-5 row-cols-2 row-cols-lg-4 py-5"> <div class="col"> <div class="feature bg-primary bg-gradient text-white rounded-3 mb-3"><i class="bi bi-chat-dots"></i></div> <div class="h5 mb-2">Chat with us</div>
  • 36. 36 <p class="text-muted mb-0">Chat live with one of our support specialists.</p> </div> <div class="col"> <div class="feature bg-primary bg-gradient text-white rounded-3 mb-3"><i class="bi bi-telephone"></i></div> <div class="h5">Call us</div> <p class="text-muted mb-0">Call us during normal business hours at 9353826735</p> </div> </div> </div> </section> </main> <!-- Footer--> <?php include_once('includes/footer.php');?> </footer> <!-- Bootstrap core JS--> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script> <!-- Core theme JS--> <script src="js/scripts.js"></script> <script src="https://cdn.startbootstrap.com/sb-forms-latest.js"></script> </body> </html> INDEX <?php include_once('includes/dbconnection.php'); ?> <!DOCTYPE html> <html lang="en"> <head>
  • 37. 37 <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to- fit=no" /> <meta name="description" content="" /> <meta name="author" content="" /> <title>Teachers Record Management System</title> <!-- Favicon--> <link rel="icon" type="image/x-icon" href="assets/favicon.ico" /> <!-- Bootstrap icons--> <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css" rel="stylesheet" /> <!-- Core theme CSS (includes Bootstrap)--> <link href="css/styles.css" rel="stylesheet" /> </head> <body class="d-flex flex-column h-100"> <main class="flex-shrink-0"> <!-- Navigation--> <?php include_once('includes/header.php');?> <!-- Header--> <header class="bg-dark py-5"> <div class="container px-5"> <div class="row gx-5 align-items-center justify-content-center"> <div class="col-lg-8 col-xl-7 col-xxl-6"> <div class="my-5 text-center text-xl-start"> <h1 class="display-5 fw-bolder text-white mb-2">Teachers Record Management System</h1> <div class="d-grid gap-3 d-sm-flex justify-content-sm-center justify- content-xl-start" style="margin-top:5%;"> <a class="btn btn-primary btn-lg px-4 me-sm-3" href="teacher/signup.php">Teachers Signup/Registration</a>
  • 38. 38 <a class="btn btn-outline-light btn-lg px-4" href="teacher/index.php">Teachers Login</a> </div> </div> </div> <div class="col-xl-5 col-xxl-6 d-none d-xl-block text-center"><img class="img-fluid rounded-3 my-5" src="images/3802031.jpg" alt="..." /></div> </div> </div> </header> <!-- Blog preview section--> <section class="py-5"> <div class="container px-5 my-5"> <form method="post" action="search-result.php"> <aside class="bg-primary bg-gradient rounded-3 p-4 p-sm-5 mt-5"> <div class="d-flex align-items-center justify-content-between flex-column flex-xl-row text-center text-xl-start"> <div class="mb-4 mb-xl-0"> <div class="fs-3 fw-bold text-white">Search Teacher by Name or Subject</div> </div> <div class="ms-xl-4"> <div class="input-group mb-2"> <input class="form-control" type="text" placeholder="Search Teacher by Name or Subject" aria-label="Email address..." aria-describedby="button-newsletter" name="searchinput" required style="width:350px;" /> <button class="btn btn-outline-light" id="button-newsletter" type="submit">Search</button> </div> </div> </div> </aside> </form>
  • 39. 39 <hr /> <div class="row gx-5 justify-content-center"> <div class="col-lg-8 col-xl-6"> <div class="text-center"> <h2 class="fw-bolder">Listed Teachers</h2> <hr color="red" /> </div> </div> </div> <div class="row gx-5"> <?php $sql="SELECT * from tblteacher where isPublic='1' limit 9"; $query = $dbh -> prepare($sql); $query->execute(); $results=$query->fetchAll(PDO::FETCH_OBJ); if($query->rowCount() > 0) { foreach($results as $row) { ?> <div class="col-lg-4 mb-5"> <div class="card h-100 shadow border-0"> <img class="card-img-top" src="teacher/images/<?php echo $row- >Picture;?>" alt="<?php echo htmlentities($row->Name);?>" /> <div class="card-body p-4"> <div class="badge bg-primary bg-gradient rounded-pill mb-2"><?php echo htmlentities($row->TeacherSub);?></div> <a class="text-decoration-none link-dark stretched-link" href="teacher-details.php?tid=<?php echo $row->ID;?>" target="_blank"> <h5 class="card-title mb-3"><?php echo htmlentities($row- >Name);?></h5></a>
  • 40. 40 <p class="card-text mb-0"><small>Registered Since <?php echo htmlentities($row->RegDate);?></small></p> </div> </div> </div> <?php }} else{?> <h3 align="center" style="color:red;">Record not Found</h3> <?php } ?> </div> </div> </section> </main> <!-- Footer--> <?php include_once('includes/footer.php'); ?> <!-- Bootstrap core JS--> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script> <!-- Core theme JS--> <script src="js/scripts.js"></script> </body> </html> LISTED-TEACHERS <?php include_once('includes/dbconnection.php'); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to- fit=no" />
  • 41. 41 <meta name="description" content="" /> <meta name="author" content="" /> <title>Teachers Record Management System</title> <!-- Favicon--> <link rel="icon" type="image/x-icon" href="assets/favicon.ico" /> <!-- Bootstrap icons--> <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css" rel="stylesheet" /> <!-- Core theme CSS (includes Bootstrap)--> <link href="css/styles.css" rel="stylesheet" /> </head> <body class="d-flex flex-column h-100"> <main class="flex-shrink-0"> <!-- Navigation--> <?php include_once('includes/header.php');?> <!-- Header--> <!-- Blog preview section--> <section class="py-5"> <div class="container px-5 my-5"> <form method="post" action="search-result.php"> <aside class="bg-primary bg-gradient rounded-3 p-4 p-sm-5 mt-5"> <div class="d-flex align-items-center justify-content-between flex-column flex-xl-row text-center text-xl-start"> <div class="mb-4 mb-xl-0"> <div class="fs-3 fw-bold text-white">Search Teacher by Name or Subject</div> </div> <div class="ms-xl-4"> <div class="input-group mb-2"> <input class="form-control" type="text" placeholder="Search Teacher by Name or Subject" aria-label="Email address..." aria-describedby="button-newsletter" name="searchinput" required style="width:350px;" />
  • 42. 42 <button class="btn btn-outline-light" id="button-newsletter" type="submit">Search</button> </div> </div> </div> </aside> </form> <hr /> <div class="row gx-5 justify-content-center"> <div class="col-lg-8 col-xl-6"> <div class="text-center"> <h2 class="fw-bolder">Listed Teachers</h2> <hr color="red" /> </div> </div> </div> <div class="row gx-5"> <?php $sql="SELECT * from tblteacher where isPublic='1'"; $query = $dbh -> prepare($sql); $query->execute(); $results=$query->fetchAll(PDO::FETCH_OBJ); if($query->rowCount() > 0) { foreach($results as $row) { ?> <div class="col-lg-4 mb-5"> <div class="card h-100 shadow border-0"> <img class="card-img-top" src="teacher/images/<?php echo $row- >Picture;?>" alt="<?php echo htmlentities($row->Name);?>" />
  • 43. 43 <div class="card-body p-4"> <div class="badge bg-primary bg-gradient rounded-pill mb-2"><?php echo htmlentities($row->TeacherSub);?></div> <a class="text-decoration-none link-dark stretched-link" href="teacher-details.php?tid=<?php echo $row->ID;?>" target="_blank"> <h5 class="card-title mb-3"><?php echo htmlentities($row- >Name);?></h5></a> <p class="card-text mb-0"><small>Registered Since <?php echo htmlentities($row->RegDate);?></small></p> </div> </div> </div> <?php }} else{?> <h3 align="center" style="color:red;">Record not Found</h3> <?php } ?> </div> <!-- Call to action--> </div> </section> </main> <!-- Footer--> <?php include_once('includes/footer.php'); ?> <!-- Bootstrap core JS--> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script> <!-- Core theme JS--> <script src="js/scripts.js"></script> </body> </html> SEARCH-RESULTS
  • 44. 44 <?php include_once('includes/dbconnection.php'); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to- fit=no" /> <meta name="description" content="" /> <meta name="author" content="" /> <title>Teachers Record Management System</title> <!-- Favicon--> <link rel="icon" type="image/x-icon" href="assets/favicon.ico" /> <!-- Bootstrap icons--> <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css" rel="stylesheet" /> <!-- Core theme CSS (includes Bootstrap)--> <link href="css/styles.css" rel="stylesheet" /> </head> <body class="d-flex flex-column h-100"> <main class="flex-shrink-0"> <!-- Navigation--> <?php include_once('includes/header.php');?> <!-- Header--> <!-- Blog preview section--> <section class="py-5"> <div class="container px-5 my-5"> <form method="post" action="search-result.php"> <aside class="bg-primary bg-gradient rounded-3 p-4 p-sm-5 mt-5"> <div class="d-flex align-items-center justify-content-between flex-column flex-xl-row text-center text-xl-start">
  • 45. 45 Subject</div> <div class="mb-4 mb-xl-0"> <div class="fs-3 fw-bold text-white">Search Teacher by Name or </div> <div class="ms-xl-4"> <div class="input-group mb-2"> <input class="form-control" type="text" placeholder="Search Teacher by Name or Subject" aria-label="Email address..." aria-describedby="button-newsletter" name="searchinput" required style="width:350px;" /> <button class="btn btn-outline-light" id="button-newsletter" type="submit">Search</button> </div> </div> </div> </aside> </form> <hr /> <div class="row gx-5 justify-content-center"> <div class="col-lg-8 col-xl-6"> <div class="text-center"> <?php $searchdata=$_POST['searchinput'];?> <h2 class="fw-bolder">Search List Against <font color="red">"<?php echo $searchdata;?>"</font></h2> <hr color="red" /> </div> </div> </div> <div class="row gx-5"> <?php $sql="SELECT * from tblteacher where (isPublic='1') and (Name like '%$searchdata%'|| TeacherSub like '%$searchdata%')";
  • 46. 46 $query = $dbh -> prepare($sql); $query->execute(); $results=$query->fetchAll(PDO::FETCH_OBJ); if($query->rowCount() > 0) { foreach($results as $row) { ?> <div class="col-lg-4 mb-5"> <div class="card h-100 shadow border-0"> <img class="card-img-top" src="teacher/images/<?php echo $row- >Picture;?>" alt="<?php echo htmlentities($row->Name);?>" /> <div class="card-body p-4"> <div class="badge bg-primary bg-gradient rounded-pill mb-2"><?php echo htmlentities($row->TeacherSub);?></div> <a class="text-decoration-none link-dark stretched-link" href="teacher-details.php?tid=<?php echo $row->ID;?>" target="_blank"> <h5 class="card-title mb-3"><?php echo htmlentities($row- >Name);?></h5></a> <p class="card-text mb-0"><small>Registered Since <?php echo htmlentities($row->RegDate);?></small></p> </div> </div> </div> <?php }} else{?> <h3 align="center" style="color:red;">Record not Found</h3> <?php } ?> </div> <!-- Call to action-->
  • 47. 47 </div> </section> </main> <!-- Footer--> <?php include_once('includes/footer.php'); ?> <!-- Bootstrap core JS--> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script> <!-- Core theme JS--> <script src="js/scripts.js"></script> </body> </html> <?php include_once('includes/dbconnection.php'); TEACHER-DETAILS //Coding For query if(isset($_POST['submit'])) { $fname=$_POST['fname']; $emailid=$_POST['emailid']; $mobileno=$_POST['mobileno']; $querymsg=$_POST['query']; $teacherid=$_GET['tid']; $sql="insert into tblquery(teacherId,fName,emailId,mobileNumber,Query)values(:teacherid,:fname,:emailid,: mobileno,:querymsg)"; $query=$dbh->prepare($sql); $query->bindParam(':fname',$fname,PDO::PARAM_STR); $query->bindParam(':emailid',$emailid,PDO::PARAM_STR); $query->bindParam(':mobileno',$mobileno,PDO::PARAM_STR);
  • 48. 48 $query->bindParam(':querymsg',$querymsg,PDO::PARAM_STR); $query->bindParam(':teacherid',$teacherid,PDO::PARAM_STR); $query->execute(); $LastInsertId=$dbh->lastInsertId(); if ($LastInsertId>0) { echo '<script>alert("Message Sent Successfully.")</script>'; echo "<script>window.location.href ='index.php'</script>"; }else{ echo '<script>alert("Something Went Wrong. Please try again")</script>'; }} ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to- fit=no" /> <meta name="description" content="" /> <meta name="author" content="" /> <title>TRMS | Teachers Details</title> <!-- Favicon--> <link rel="icon" type="image/x-icon" href="assets/favicon.ico" /> <!-- Bootstrap icons--> <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css" rel="stylesheet" /> <!-- Core theme CSS (includes Bootstrap)--> <link href="css/styles.css" rel="stylesheet" /> </head> <body class="d-flex flex-column h-100"> <main class="flex-shrink-0"> <!-- Navigation-->
  • 49. 49 <?php include_once('includes/header.php'); ?> <!-- Page Content--> <?php $tid=intval($_GET['tid']); $sql="SELECT * from tblteacher where isPublic='1' and ID='$tid'"; $query = $dbh -> prepare($sql); $query->execute(); $results=$query->fetchAll(PDO::FETCH_OBJ); if($query->rowCount() > 0) { foreach($results as $row) { ?> <section class="py-5"> <div class="container px-5 my-5"> <div class="text-center mb-5"> <h1 class="fw-bolder"><?php echo htmlentities($row->Name);?>'s Details</h1> <p class="lead fw-normal text-muted mb-0">Registered Since <?php echo htmlentities($row->RegDate);?></p> </div> <div class="row gx-5"> <div class="col-xl-8"> <!-- FAQ Accordion 1--> <!-- <h2 class="fw-bolder mb-3">Persoanl Details </h2> --> <div class="accordion mb-5" id="accordionExample"> <div class="accordion-item"> <h3 class="accordion-header" id="headingOne"><button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs- target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">Personal Details</button></h3>
  • 50. 50 <div class="accordion-collapse collapse show" id="collapseOne" aria- labelledby="headingOne" data-bs-parent="#accordionExample"> <div class="accordion-body"> <table class="table table-bordered"> <tr> <th></th> <td><img src="teacher/images/<?php echo htmlentities($row->Picture);?>" width="200"></td> </tr> <tr> <th>Teacher Name</th> <td><?php echo htmlentities($row->Name);?></td> </tr> <tr> <th>Teacher Email ID</th> <td><?php echo htmlentities($row->Email);?></td> </tr> <tr> <th>Teacher Mobile Number</th> <td><?php echo htmlentities($row->MobileNumber);?></td> </tr> <tr> <th>Teacher Address</th> <td><?php echo htmlentities($row->Address);?></td> </tr> <tr> <th>Registered Since</th> <td><?php echo htmlentities($row->RegDate);?></td>
  • 51. 51 </tr> </table> </div> </div> </div> </div> <!-- FAQ Accordion 2--> <div class="accordion mb-5 mb-xl-0" id="accordionExample2"> <div class="accordion-item"> <h3 class="accordion-header" id="headingOne"><button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs- target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">Professional Details</button></h3> <div class="accordion-collapse collapse show" id="collapseOne" aria- labelledby="headingOne" data-bs-parent="#accordionExample2"> <div class="accordion-body"> <table class="table table-bordered"> <tr> <th>Teacher Qualifications</th> <td><?php echo htmlentities($row->Qualifications);?></td> </tr> <tr> <th>Teaching Experience (in Years)</th> <td><?php echo htmlentities($row->teachingExp);?></td> </tr>
  • 52. 52 <tr> <th>Teacher Subject</th> <td><?php echo htmlentities($row->TeacherSub);?></td> </tr> <tr> <th>Description (if Any)</th> <td><?php echo htmlentities($row->description);?></td> </tr> </table> </div> </div> </div> </div> </div> <div class="col-xl-4"> <div class="card border-0 bg-light mt-xl-5"> <div class="card-body p-4 py-lg-5"> <div class="d-flex align-items-center justify-content-center"> <div class="text-center"> <div class="h6 fw-bolder">Have more questions?</div> <p class="text-muted mb-4"> Contact me at <br /> <a href="#!"><?php echo htmlentities($row->Email);?></a> </p> <h5>OR</h5> <form method="post">
  • 53. 53 <p> <input type="text" name="fname" placeholder="Enter your fullname" class="form- control" required></p> <p><input type="email" name="emailid" placeholder="Enter your emaild" class="form- control" required></p> <p><input type="text" name="mobileno" placeholder="Enter your mobile no" class="form- control" pattern="[0-9]{10}" title="10 numeric characters only" required></p> <p><textarea class="form-control" name="query" placeholder="Query / Message" required></textarea> </p> <input type="submit" class="btn btn-primary" name="submit"> </form> </div> </div> </div> </div> </div> </div> </div> </section> <?php } } else{ ?> <hr /> <h3 align="center" style="color:red;">Record not Found</h3> <?php } ?> </main> <!-- Footer--> <?php include_once('includes/footer.php'); ?> <!-- Bootstrap core JS--> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script> <!-- Core theme JS-->
  • 54. 54 <script src="js/scripts.js"></script> </body> </html> JS /*! * Start Bootstrap - Modern Business v5.0.5 (https://startbootstrap.com/template- overviews/modern-business) * Copyright 2013-2021 Start Bootstrap * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-modern- business/blob/master/LICENSE) */ // This file is intentionally blank // Use this file to add JavaScript to your project CHANGE PASSWORD <?php session_start(); error_reporting(0); include('includes/dbconnection.php'); if (strlen($_SESSION['trmsuid']==0)) { header('location:logout.php'); } else{ if(isset($_POST['submit'])) { $eid=$_SESSION['trmsuid']; $propic=$_FILES["newpic"]["name"]; $extension = substr($propic,strlen($propic)-4,strlen($propic)); $allowed_extensions = array(".jpg","jpeg",".png",".gif"); if(!in_array($extension,$allowed_extensions)) { echo "<script>alert('Profile Pics has Invalid format. Only jpg / jpeg/ png /gif format allowed');</script>";
  • 55. 55 } else { $propic=md5($propic).time().$extension; move_uploaded_file($_FILES["newpic"]["tmp_name"],"images/".$propic); $sql="update tblteacher set Picture=:pic where ID=:eid "; $query = $dbh->prepare($sql); $query->bindParam(':pic',$propic,PDO::PARAM_STR); $query->bindParam(':eid',$eid,PDO::PARAM_STR); $query->execute(); echo '<script>alert("Image has been updated")</script>'; echo "<script>window.location.href='profile.php'</script>"; } } ?> <!doctype html> <html class="no-js" lang="en"> <head> <title>TRMS|| Update Image</title> <link rel="apple-touch-icon" href="apple-icon.png">
  • 56. 56 <link rel="stylesheet" href="../vendors/bootstrap/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="../vendors/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="../vendors/themify-icons/css/themify-icons.css"> <link rel="stylesheet" href="../vendors/flag-icon-css/css/flag-icon.min.css"> <link rel="stylesheet" href="../vendors/selectFX/css/cs-skin-elastic.css"> <link rel="stylesheet" href="../assets/css/style.css"> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800' rel='stylesheet' type='text/css'> </head> <body> <!-- Left Panel --> <?php include_once('includes/sidebar.php');?> <div id="right-panel" class="right-panel"> <!-- Header--> <?php include_once('includes/header.php');?> <div class="breadcrumbs"> <div class="col-sm-4"> <div class="page-header float-left"> <div class="page-title"> <h1>Update Image</h1> </div> </div> </div>
  • 57. 57 <div class="col-sm-8"> <div class="page-header float-right"> <div class="page-title"> <ol class="breadcrumb text-right"> <li><a href="dashboard.php">Dashboard</a></li> <li><a href="manage-teacher.php">Update Image</a></li> <li class="active">Update</li> </ol> </div> </div> </div> </div> <div class="content mt-3"> <div class="animated fadeIn"> <div class="row"> <div class="col-lg-6"> <!-- .card --> </div> <!--/.col--> <div class="col-lg-12"> <div class="card"> <div class="card-header"><strong>Update</strong><small> Image</small></div> <form name="" method="post" action="" enctype="multipart/form-data"> <div class="card-body card-block"> <?php $eid=$_SESSION['trmsuid']; $sql="SELECT * from tblteacher where ID=$eid"; $query = $dbh -> prepare($sql);
  • 58. 58 $query->execute(); $results=$query->fetchAll(PDO::FETCH_OBJ); $cnt=1; if($query->rowCount() > 0) { foreach($results as $row) { ?> <div class="form-group"><label for="company" class=" form-control- label">Teaher Name</label><input type="text" name="subjects" value="<?php echo $row- >Name;?>" class="form-control" id="subjects" readonly='true'></div> <div class="form-group"><label for="company" class=" form-control- label">Profile Pic</label> <?php if($row->Picture==''):?> <img src="images/no-image.png" alt="NO Image"> <?php else: ?> <img src="images/<?php echo $row->Picture;?>" width="100" height="100" value="<?php echo $row->Picture;?>"> <?php endif;?> Pic</label> </div> <div class="form-group"> <label for="company" class=" form-control-label">New Profile <input type="file" name="newpic" value="" class="form-control" id="newpic" required='true'> </div> <?php $cnt=$cnt+1;}} ?> <div class="card-footer"> <p style="text-align: center;"><button type="submit" class="btn btn-primary btn-sm" name="submit" id="submit"> <i class="fa fa-dot-circle-o"></i> Update </button></p> </div>
  • 59. 59 </div> </form> </div> </div> </div><!-- .animated --> </div><!-- .content --> </div><!-- /#right-panel --> <!-- Right Panel --> <script src="../vendors/jquery/dist/jquery.min.js"></script> <script src="../vendors/popper.js/dist/umd/popper.min.js"></script> <script src="../vendors/jquery- validation/dist/jquery.validate.min.js"></script> <script src="../vendors/jquery-validation- unobtrusive/dist/jquery.validate.unobtrusive.min.js"></script> <script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script> <script src="../assets/js/main.js"></script> </body> </html> <?php } ?> <?php session_start(); //error_reporting(0); include('includes/dbconnection.php'); error_reporting(0); if (strlen($_SESSION['trmsuid']==0)) { header('location:logout.php'); } else{ if(isset($_POST['submit'])) { $tid=$_SESSION['trmsuid'];
  • 60. 60 $cpassword=md5($_POST['currentpassword']); $newpassword=md5($_POST['newpassword']); $sql ="SELECT ID FROM tblteacher WHERE ID=:tid and password=:cpassword"; $query= $dbh -> prepare($sql); $query-> bindParam(':tid', $tid, PDO::PARAM_STR); $query-> bindParam(':cpassword', $cpassword, PDO::PARAM_STR); $query-> execute(); $results = $query -> fetchAll(PDO::FETCH_OBJ); if($query -> rowCount() > 0) { $con="update tblteacher set password=:newpassword where ID=:tid"; $chngpwd1 = $dbh->prepare($con); $chngpwd1-> bindParam(':tid', $tid, PDO::PARAM_STR); $chngpwd1-> bindParam(':newpassword', $newpassword, PDO::PARAM_STR); $chngpwd1->execute(); echo '<script>alert("Your password successully changed")</script>'; echo "<script>window.location.href='change-password.php'</script>"; } else { echo '<script>alert("Your current password is wrong")</script>'; echo "<script>window.location.href='change-password.php'</script>"; } }
  • 61. 61 ?> <!doctype html> <html class="no-js" lang="en"> <head> <title>CCMS Change Password</title> <link rel="apple-touch-icon" href="apple-icon.png"> <link rel="stylesheet" href="../vendors/bootstrap/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="../vendors/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="../vendors/themify-icons/css/themify-icons.css"> <link rel="stylesheet" href="../vendors/flag-icon-css/css/flag-icon.min.css"> <link rel="stylesheet" href="../vendors/selectFX/css/cs-skin-elastic.css"> <link rel="stylesheet" href="../assets/css/style.css"> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800' rel='stylesheet' type='text/css'> <script type="text/javascript"> function checkpass() { if(document.changepassword.newpassword.value!=document.changepassword.confirmpassw ord.value) { alert('New Password and Confirm Password field does not match');
  • 62. 62 document.changepassword.confirmpassword.focus(); return false; } return true; } </script> </head> <body> <!-- Left Panel --> <?php include_once('includes/sidebar.php');?> <div id="right-panel" class="right-panel"> <!-- Header--> <?php include_once('includes/header.php');?> <div class="breadcrumbs"> <div class="col-sm-4"> <div class="page-header float-left"> <div class="page-title"> <h1>Change Password</h1> </div> </div> </div> <div class="col-sm-8"> <div class="page-header float-right">
  • 63. 63 <div class="page-title"> <ol class="breadcrumb text-right"> <li><a href="dashboard.php">Dashboard</a></li> <li><a href="change-password.php">Change Password</a></li> <li class="active">Change</li> </ol> </div> </div> </div> </div> <div class="content mt-3"> <div class="animated fadeIn"> <div class="row"> <div class="col-lg-6"> <!-- .card --> </div> <!--/.col--> <div class="col-lg-12"> <div class="card"> <div class="card-header"><strong>Change</strong><small> Password</small></div> <form name="changepassword" method="post" onsubmit="return checkpass();" action=""> <div class="card-body card-block">
  • 64. 64 <div class="form-group"><label for="company" class=" form-control- label">Current Password</label><input type="password" name="currentpassword" id="currentpassword" class="form-control" required=""></div> <div class="form-group"><label for="vat" class=" form-control- label">New Password</label><input type="password" name="newpassword" class="form- control" required=""></div> <div class="form-group"><label for="street" class=" form-control- label">Confirm Password</label><input type="password" name="confirmpassword" id="confirmpassword" value="" class="form-control"></div> </div> <p style="text-align: center;"><button type="submit" class="btn btn-primary btn-sm" name="submit" id="submit"> <i class="fa fa-dot-circle-o"></i> Change </button></p> </div> </form> </div> </div> </div><!-- .animated --> </div><!-- .content --> </div><!-- /#right-panel --> <!-- Right Panel --> <script src="../vendors/jquery/dist/jquery.min.js"></script>
  • 65. 65 <script src="../vendors/popper.js/dist/umd/popper.min.js"></script> <script src="../vendors/jquery- validation/dist/jquery.validate.min.js"></script> <script src="../vendors/jquery-validation- unobtrusive/dist/jquery.validate.unobtrusive.min.js"></script> </body> </html> <?php } ?> <?php session_start(); <script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script> <script src="../assets/js/main.js"></script> error_reporting(0); include('includes/dbconnection.php'); if (strlen($_SESSION['trmsuid']==0)) { header('location:logout.php'); } else { ?> <!doctype html> <html class="no-js" lang="en"> <head> <title>TRMS Admin Dashboard</title> <link rel="apple-touch-icon" href="apple-icon.png">
  • 66. 66 <link rel="stylesheet" href="../vendors/bootstrap/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="../vendors/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="../vendors/themify-icons/css/themify-icons.css"> <link rel="stylesheet" href="../vendors/flag-icon-css/css/flag-icon.min.css"> <link rel="stylesheet" href="../vendors/selectFX/css/cs-skin-elastic.css"> <link rel="stylesheet" href="../vendors/jqvmap/dist/jqvmap.min.css"> <link rel="stylesheet" href="../assets/css/style.css"> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800' rel='stylesheet' type='text/css'> </head> <body> <?php include_once('includes/sidebar.php');?> <div id="right-panel" class="right-panel"> <?php include_once('includes/header.php');?> <!-- Header--> <div class="breadcrumbs"> <div class="col-sm-4"> <div class="page-header float-left"> <div class="page-title"> <h1>Dashboard</h1> </div>
  • 67. 67 </div> </div> <div class="col-sm-8"> <div class="page-header float-right"> <div class="page-title"> <ol class="breadcrumb text-right"> <li class="active">Dashboard</li> </ol> </div> </div> </div> </div> <div class="content mt-3"> <div class="col-sm-6 col-lg-12"> <div class="card text-white bg-flat-color-4"> <div class="card-body pb-0"> <div class="dropdown float-right"> </div> <?php $eid=$_SESSION['trmsuid']; $query=$dbh -> prepare("SELECT * from tblteacher where ID=$eid"); $query->execute(); $results=$query->fetchAll(PDO::FETCH_OBJ);
  • 68. 68 foreach($results as $row) { ?> <h3 class="mb-0"> <span >Welcome back : <?php echo htmlentities($row->Name);?></span> </h3> <hr /> <?php if($row->isPublic=='1'):?> <p class="text-light">Your Profile is Public. Student can see your profile.</p> <?php else: ?> <p class="text-light">Your Profile is not Public. Student can't see your profile.</p> <?php endif;?> <?php } ?> <div class="chart-wrapper px-3" style="height:70px;" height="70"> <canvas id="widgetChart4"></canvas> </div> </div> </div> </div> <!--/.col--> <a href="queries.php"> <div class="col-sm-12 col-lg-12"> <div class="card text-white bg-flat-color-2"> <div class="card-body pb-0"> <div class="dropdown float-right"> </div>
  • 69. 69 <?php $tid=$_SESSION['trmsuid']; $sql1 ="SELECT ID from tblquery where teacherId='$tid' "; $query1 = $dbh -> prepare($sql1); $query1->execute(); $results1=$query1->fetchAll(PDO::FETCH_OBJ); $totalquery=$query1->rowCount(); ?> <h2 class="mb-0"> <span class="count"><?php echo htmlentities($totalquery);?></span> </h2> <p class="text-light">Total Query Received</p> <div class="chart-wrapper px-0" style="height:70px;" height="70"> <canvas id="widgetChart2"></canvas> </div> </a> </div> </div> </div> </div> <!-- .content --> </div><!-- /#right-panel --> <!-- Right Panel -->
  • 70. 70 <script src="../vendors/jquery/dist/jquery.min.js"></script> <script src="../vendors/popper.js/dist/umd/popper.min.js"></script> <script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script> <script src="../assets/js/main.js"></script> <script src="../vendors/chart.js/dist/Chart.bundle.min.js"></script> <script src="../assets/js/dashboard.js"></script> <script src="../assets/js/widgets.js"></script> <script src="../vendors/jqvmap/dist/jquery.vmap.min.js"></script> <script src="../vendors/jqvmap/examples/js/jquery.vmap.sampledata.js"></script> <script src="../vendors/jqvmap/dist/maps/jquery.vmap.world.js"></script> <script> (function($) { "use strict"; jQuery('#vmap').vectorMap({ map: 'world_en', backgroundColor: null, color: '#ffffff', hoverOpacity: 0.7, selectedColor: '#1de9b6', enableZoom: true, showTooltip: true, values: sample_data, scaleColors: ['#1de9b6', '#03a9f5'], normalizeFunction: 'polynomial' }); })(jQuery); </script>
  • 71. 71 </body> </html> <?php } ?> <?php session_start(); error_reporting(0); include('includes/dbconnection.php'); if(isset($_POST['submit'])) { $email=$_POST['email']; $mobile=$_POST['mobile']; $newpassword=md5($_POST['newpassword']); $sql ="SELECT Email FROM tblteacher WHERE Email=:email and MobileNumber=:mobile"; $query= $dbh -> prepare($sql); $query-> bindParam(':email', $email, PDO::PARAM_STR); $query-> bindParam(':mobile', $mobile, PDO::PARAM_STR); $query-> execute(); $results = $query -> fetchAll(PDO::FETCH_OBJ); if($query -> rowCount() > 0) { $con="update tblteacher set Password=:newpassword where Email=:email and MobileNumber=:mobile"; $chngpwd1 = $dbh->prepare($con); $chngpwd1-> bindParam(':email', $email, PDO::PARAM_STR); $chngpwd1-> bindParam(':mobile', $mobile, PDO::PARAM_STR); $chngpwd1-> bindParam(':newpassword', $newpassword, PDO::PARAM_STR); $chngpwd1->execute();
  • 72. 72 echo "<script>alert('Your Password succesfully changed');</script>"; echo "<script>window.location.href ='index.php'</script>"; } else { echo "<script>alert('Email id or Mobile no is invalid');</script>"; } } ?> <!doctype html> <html class="no-js" lang="en"> <head> <title>TRMS Forgot Password</title> <link rel="apple-touch-icon" href="apple-icon.png"> <link rel="stylesheet" href="../vendors/bootstrap/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="../vendors/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="../vendors/themify-icons/css/themify-icons.css"> <link rel="stylesheet" href="../vendors/flag-icon-css/css/flag-icon.min.css"> <link rel="stylesheet" href="../vendors/selectFX/css/cs-skin-elastic.css"> <link rel="stylesheet" href="../assets/css/style.css"> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800' rel='stylesheet' type='text/css'>
  • 73. 73 <script type="text/javascript"> function valid() { if(document.chngpwd.newpassword.value!= document.chngpwd.confirmpassword.value) { alert("New Password and Confirm Password Field do not match !!"); document.chngpwd.confirmpassword.focus(); return false; } return true; } </script> </head> <body class="bg-dark" style=" background-image: url('images/cool-background.png');"> <div class="sufee-login d-flex align-content-center flex-wrap"> <div class="container"> <div class="login-content"> <div class="login-logo"> <h3 style="color:#fff">Teacher Record Management System </h3> <hr color="red"/> </div> <div class="login-form"> <form action="" method="post" name="chngpwd" onSubmit="return valid();"> <div class="form-group"> <label>Email Address</label>