Professional Documents
Culture Documents
INTRODUCTION
Virtually all software used in enterprises today has the same goal which is supporting
business processes. Some processes are entirely automated, relying solely on
communication among applications, others probably rely on people to initiate the
process, approve documents the process uses and resolve any exceptional situations
that arise like incomplete information. In either case, it’s often possible to specify a
discrete series of steps known as workflow that describe the activities of the people
and software involved in the process. Once this workflow has been defined, an
application can be built around that definition to support the business process.
1
processing intents of some sort, such as physical transformation, service provision,
or information processing.
Office management concepts are closely related to other concepts used to describe
organizational structure, such as silos, functions, teams, projects, policies and
hierarchies. Office management may be viewed as one primitive building block of
organizations.
2
building office management application on windows. It can be used to enable
workflow within line of business application, user interface page flows, document
centric workflows, human workflows, composite workflow for service oriented
applications, business rule-driven workflows and workflow for system management.
It has the ability to monitor a running office activities, examining it’s execution in
real time. Every office management system contains some number of activities, each
of which performs some aspect of that workflows function. Office management acts
as a container for these activities, providing a way to control their lifecycles and
order of execution. Windows office management foundation aspires to support both
system workflow and human office management in a unified fashion. System office
management tend to execute activities in a well-defined, predictable ways, while
human office management do not. To address both of these requirements, windows
office management foundation provides two built-in office management types:
sequential office management capable of executing activities in a predefined pattern
and state machine office management capable of responding to external events as
they occur.
3
1.2 STATEMENT OF THE PROBLEM
The current manual office information records exposes the system to lack of security
of information thereby making the student’s information to be exposed to
unauthorized users.
Lack of a good database for student’s forms exposes their files to the dangers of fire
outbreak and flooding.
With the current system, students who have not paid their dues can easily photocopy
the forms from others and do their registration.
The current system does not support online record keeping which makes it
mandatory for the student to do their registration within the school and this involves
the transfer of this forms from hand to hand for approval and distribution for manual
storage. Therefore the proposed system which is web-based will address the
problems of insecurity, loss of document and delays in the student registration
process.
The purpose of this research work is to develop a system that should be able to
achieve the following:
1. Automation of the students’ dues registration process by changing all hard copy
procedures involved to electronic media.
2. Provision of a robust database for the electronic storage of students’ due and at
the same time reducing the number of pen and paper work.
3. Generation of students’ receipt after the student have been duly cleared.
4
4. The use of office management to create a process that can help in routing,
approval, tracking and scheduling of activities involved in the registration process.
Using office management to automate and keep track of the student’s registration
process will eliminate the problems associated with the current manual student’s
registration process which includes but are not limited to lack of information
integrity, concurrency problem and lack of data security.
It can also offer an office management framework for diverse applications that will
allow the student’s registration process to be hosted in any environment and also to
be customized for any environment.
Again, it can unify the system and human office management involved in the
student’s registration process. This will also provide support for delay in the
registration process which will provide the ability to modify a running office
management.
The scope of this research work is centered on the registration and dues process of
the students of Computer Science Department, Federal College of Agriculture
Ishiagu. This project which is web-based, automates the student’s dues payment and
processing, records students registration number, monitors the movement of the
5
electronic form online, display records of students’ dues status anytime they log onto
the website and also maintains the integrity of the information being processed by
using password to limit access to only approved individuals. The system also creates
automatic database for the storage of successfully registered students
Due to time constraint and limited resources, the use of biometric could not be
incorporated into the work for authentic identification of real students as well as
incorporating text message alert facilities.
Web-Based System: Hussain and Hussain (2017) opined that the term Web-Based
system refers to those applications or services that are resident on a server that can
6
be accessible using a Web browser and is therefore accessible from anywhere in the
world via the Web.
Internet: Behrouz and Chung (2014) in their book defined internet as a global
system of interconnected computer networks that use the standard Internet Protocol
Suite (TCP/IP) to serve billions of users worldwide. They further opined that It is a
network of networks that consists of millions of private, public, academic, business,
and government networks of local to global scope that are linked by a broad array of
electronic and optical networking technologies. According to them, internet carries
a vast array of information resources and services, most notably, the inter-linked
hypertext documents of the World Wide Web (WWW) and the infrastructure to
support electronic mail.
World Wide Web, abbreviated as WWW and commonly known as The Web, is a
system of interlinked hypertext documents contained on the Internet as noted by
Sanjay Sharma (2016). With a web browser, one can view web pages that may
contain text, images, videos, and other multimedia and navigate between them by
using hyperlinks.
7
CHAPTER TWO
LITERATURE REVIEW
2.1 INTRODUCTION
8
step before allowing the process to proceed to the next person and procedural step.
The goal of some office management systems is to, in a way, teach the computer
system to “understand” the work being performed. In this way a remote programmer
constructs the process description, and then is absent when the activities are being
performed. The value of the process description is directly related to how well the
description matches the real process (Embedded & Autonomous office
management).
According to Fischer and Layna (2019), office management system is a system that
defines, creates and manages the execution of office activities through the use of
software, running on one or more workflow engines, which is able to interpret the
process definition, interact with office participants and, where required, invoke the
use of IT tools and applications. It can also be seen as a system overseeing the
process of passing information, documents, and tasks from one employee or machine
to another within a business. Through proper office management, each of these
employees or machines will pass the work on according to a predetermined
procedure. As technology advances, many offices have become automated and takes
advantage of special software to make the process much smoother. While Keith
Swenson (2015) defined office Management Systems (OMS) as software used to
structure the flow of work among individuals and units in an organization.
According to him, whenever a process is repeated many times and involves multiple
individuals or units, office systems can be useful in systematizing those processes
and making them more efficient. For example, the process of receiving a customer
request for publications, sending that request to the warehouse, processing the order
in the warehouse, sending a shipment notice to a carrier, processing the order through
accounting, etc., can be viewed as an office process. Similarly, the process of
9
publishing a document is an office process: the author submits copy for editorial
review, the copy editor makes suggested changes, the author incorporates changes
and resubmits the document, the copy editor sends it to design, the designer lays out
the document for publication, a proof copy of the document is sent to the author for
final review and indexing, the author sends it back etc. The process definition
consists of a network of activities and their relationships, criteria to indicate the start
and termination of the process, and information about the individual activities, such
as participants, associated IT applications and data etc.
The problem of scheduling a set of tasks to a set of processors can be divided into
two categories:
a. Job scheduling
Elnikety et al., (2014) in their work said that workflows are part of a web application
that spans multiple resources in the grid.
In their publication, (JiaYa et al., 2015) proposed a cost based office scheduling
algorithm that minimizes execution time while meeting the deadline for delivering
results.
JiaYa et al. (2016) presented a budget constraint based scheduling system which
minimizes execution time while meeting a specified budget for delivering results. A
new type of generic algorithm was developed to solve the scheduling optimization
problem and the scheduling algorithm is tested in a simulated grid.
Patel (2016) proposed that there are two categories of office management
scheduling. The first is based on real time data such as waiting time in the queue or
the shortest remaining execution length while the second is based on average metrics
such as mean arrival time or mean execution length.
In their work (Zhifenget et al., 2018) presented a planner guided strategy for multiple
office management. It ranks already tasks and decides which task should be
scheduled.
11
2.4 DATA MODELLING OF OFFICE MANAGEMENT
According to (Myung et al., 2012) office management has an important role, which
is that it provides back-end services to respond to frontend requirements. The office
management technique reduces the process time, allocates resources effectively and
improves the performance of enterprises. Therefore, they suggest a modeling method
facilitating business partners to comprehend the office management for their
interlinking of workflow engines. The office management technique reduces the
process time, allocates resources effectively and improves the performance of
enterprises. The process definition in the office management contains all of the
necessary information related to the business process and is executed by the
workflow management system.
Armstrong (2015) opined that web based applications have evolved significantly
over recent years and with improvements in security and technology, there are plenty
of scenarios where traditional software based applications and systems could be
improved by migrating them to a web based application.
Most web based applications are far more compatible across platforms than
traditional installed software. Typically the minimum requirement would be a web
browser of which there are many. (Internet Explorer, Firefox, Netscape to name but
a few) these web browsers are available for a multitude of operating systems and so
whether you use Windows, Linux or Mac Operating System you can still run the
web application.
12
More manageable
Web based systems need only be installed on the server placing minimal
requirements on the end user workstation. This makes maintaining and updating the
system much simpler as usually it can all be done on the server. Any client updates
can be deployed via the web server with relative ease.
Highly deployable
Due to the manageability and cross platform support deploying web applications to
the end user is far easier. They are also ideal where bandwidth is limited and the
system and data is remote to the user. At their most deployable you simply need to
send the user a website address to log in to and provide them with internet access.
This has huge implications allowing you to widen access to your systems, streamline
processes and improve relationships by providing more of your customers, suppliers
and third parties with access to your systems.
Typically in larger more complex systems data is stored and moved around separate
systems and data sources. In web based systems these systems and processes can
often be consolidated reducing the need to move data around.
Web based applications also provide an added layer of security by removing the
need for the user to have access to the data and back end servers.
Reduced costs
Web based applications can dramatically lower costs due to reduced support and
maintenance, lower requirements on the end user system and simplified architecture.
13
By further streamlining your business operations as a result of your web based
application additional savings can often be found.
In conclusion, web based applications have come a long way and now offer
competitive advantages to traditional software based systems allowing businesses to
consolidate and streamline their systems and processes and reduce costs.
14
CHAPTER THREE
1) The present system which is being done manually is easier and cheaper
to manage.
2) Power supply does not affect the operation of the current system.
3) The present system can be used by both computer literates and non-
computer literates.
The existing system is characterized but not limited to the following inefficiencies:
16
6 The current system lacks a database for the storage of files which make these
files to occupy physical storage space.
7 Lots of time is devoted to the filing of forms in logical way for easy retrieval
of information.
8 There is insufficient manpower to cope with the growing population.
17
The student is notified of progress in the registration process through his/her e-mail
address which is provided in the first session of the registration process.
1 The proposed system will automate the student’s registration process thereby
eliminating the loopholes associated with the current system.
2 The use of database will help in easy retrieval of information and control data
concurrency.
3 The use of password will be incorporated to maintain and ensure data security
and integrity.
4 Windows office management foundation will keep track of the movement of
information online in case of delay in the registration process.
5 The online connection of all the departments and the relevant personnel
involved in the registration process will help users to locate and view
information faster and use application that is relevant to their roles and
responsibilities.
6 The new system is cost effective because information can be accessed through
web browsers rather than maintaining physical documents which will help to
save money on printing, duplicating of documents as well as document
maintenance overhead.
7 The windows office management foundation will unify the system and the
human workflow involved in the registration process and also provide support
for delay with the ability to modify a running office activities.
18
3.2.2 Disadvantages of the Proposed System
After a thorough analysis of the existing system and a careful feasibility study to
find out if there is need for automation of the existing system, the adoption and
implementation of the proposed system will in no doubt be of great benefit to the
institution which will help in overhauling the current system which is characterized
by inconsistency, data security, lack of data integrity, concurrency problem and the
possibility of student’s file being lost on transit. The proposed system which will
run on a Server with its robust database will prevent ineligible students from
registering, ensure data integrity by eliminating duplicity of information, keep track
of information in the system and above all interconnect all those involved in the
registration process.
3.3 METHODOLOGY
19
3.4 THE METHODOLOGY ADOPTED FOR THIS WORK
The methodology I adopted for this research work is the structured system analysis
and design methodology (SSADM), which I chose because of its numerous benefits
as discussed below.
The three most important techniques that are used in SSADM are:
Data flow modeling: This is the process of identifying, modeling and documenting
how data moves around an information system. Data flow modeling examines
processes (activities that transform data from one form to another), data stores (the
holding areas for data), external entities (what sends data into a system or receives
data from a system) and data flows (routes by which data can flow).
SSADM stages:
21
The advantages of SSADM are the precise definition and support of nonfunctional
requirements. Such requirements define the level of the quality with which the
system must execute it’s functions. For example access limitations, the mean time
of life length to denial, time of the response, safety requirements etc. SSADM is
characterized with presence of clear consecution of steps at projecting.
Benefits of SSADM
Timeliness: Theoretically SSADM allows one to plan, manage and control a project
well which are essential to deliver the project on time.
Usability: Within SSADM, special emphasis is put on the analysis of user needs.
Simultaneously, the system model is developed and a comprehensive demand
analysis is carried out. Both are tried to see if they are well suited to each other.
Effective use of skills: SSADM does not require very special skills and can easily
be taught to the staff. Normally, common modeling and diagramming tools are used.
Commercial CASE tools are also offered in order to be able to set up SSADM easily.
Better quality: SSADM reduces the error rate of information system by defining a
certain quality level in the beginning and constantly checking the system.
22
trying to avoid bureaucracy. It improves the overall productivity of the specific
project and the company.
Cuts cost: SSADM separates the logical and the physical system design so the
system does not have to be implemented again with new hardware or software.
The use of SSADM in this research work helped in the proper analysis of the existing
system which was made possible through the thorough investigation and analysis of
the current students’ registration process. The SSADM also helped in the proper
definition of the requirement for the new system that is to be developed. The use of
data flow diagram was also used to clarify the system components. With the use of
SSADM, there is room for continuity and adjustment, improvement in the way
projects are controlled and managed, which made it possible for the project to be
supported by computer base tools such as CASE tools.
The purpose of data collection is to seek additional information about the problems
or needs identified during system investigation. During this process the strengths
and weakness of the existing system are emphasized. This begins by identifying and
locating the various sources of data both internal and external sources.
Interview: This was carried out by using both structured and unstructured interview
methods.
Information trail: This involved following information from the point it enters the
system and observes what output were created at each point in the system.
23
3.6 DATA FLOW DIAGRAM OF THE PROPOSED SYSTEM
A data flow diagram models objects, associations and activities by describing how
data flow between and around various objects. Data flow diagram is used to illustrate
how data is processed by a system in terms of inputs and outputs. They are pipelines
through which packets of information flow. Data flow diagram work on the premise
that for every activity there is some communication, transference or flow that can be
described as a data element. Data flow diagrams describe what activities are
occurring to fulfill a business relationship or accomplish a business task, not how
these activities are to be performed. It shows the logical sequence of associations
and activities, not physical processes.
24
25
CHAPTER FOUR
SYSTEM DESIGN
The system designed is aimed at developing software that can be used by schools
for online registration and approval of students registration by their HOD, Dean of
Faculty and Secretary of post graduate studies. Looking at the lapses in the existing
system, the design of the new system was carefully carried out to solve the problems
of the existing system. The new system was designed with the following objectives
in mind.
26
Figure 4.2.1 Main Menu
27
The main menu is made up of 3 modules. These include: The Students portal which
is made up seven sub-modules. The students’ module takes care of students
registration. The Approval module is where the Head of Departments, Dean of
Faculties and Secretary of postgraduate school give their approval remark for each
registered student. The Administrative module maintains the system which includes
password generation, fee pin and registration of new courses and departments.
This sub-menu helps registered students to view their registration status to ascertain
if their registration has been successfully approved by the relevant authorities.
4.3 SPECIFICATIONS
SQL Database was used in the design of the new system database. Below is the
database structure and specifications.
The program was designed using Top – Down Approach. It makes use of the
fundamental program solving techniques. The software is structured in such a way
that each subsystem is selected and executed independently. The task is divided into
several modules, which come together to give the solution to the problem. The tasks
are as follows:
This module generates students registration after they must have done their clearance
and paid their school fees.
View Approved Courses Module
This program allows the users to view approved courses for each of the departments.
28
Personal Data (Fresh Student) Module
On offer of admission, the students purchase a scratch card for fees payment. This
pin code is then used to fill the student’s personal data on this module and submit it
to the database. Details of student’s personal data and fee payment are captured on
this form for the first time of his/her entry into the school.
After the first year in the school, this module can be used to pay school fees and as
well as update student personal data on the database. The students purchase a scratch
card for fees payment. This pin code is then used to fill the student’s personal data
on this module and submit it to the database.
The Module helps the students to register their courses online. Students are expected
to pay their school fees before they can have access to this module.
List of registered students, fee reports, and departmental list can be obtained in this
module.
This module is used to create courses for various departments and store it on the
database.
New Department
Departments in the school are registered on the database using this module.
29
Admin ID Module
Access to the system is highly protected with password. This module is used to create
password for users and assign access limitations to them. Users can only gain access
to those areas assigned to them.
Random pin codes are generated using this module for the purpose of payments.
Scratch cards are generated for both form purchases or fees payment.
Approval Module
This module can be used by the HOD or Dean to approve registered courses for
students. This can be seen in the figure below.
30
4.3.3 Input / Output Specifications
PERSONAL DATA
Registration number
Pin code
Session
Department
Name
Program
Course code
GO
Title
Credit load
Semester
Submit View
31
Administrative Password Setup Form
USER ID
PASSWORD
STAFF NAME
DEPARTMENT
PHONE NUMBER
View Access
The output from the new system is designed in such a way that it conveys meaningful
information to management, students and staff for effective management decision
making. It aims at providing the management with adequate, effective, well
documented up-to- date and formatted output to help as a tool in planning and
decision making.
There are methods of generating reports in the new package. We have both Hard
copies and Soft copies.
32
4.3.4 Flowchart of the Proposed Solution
This flowchart displays what happens as soon as one log in to the system. The
homepage shows where students (both old and new) and staff can navigate to various
pages of interest
Start
Yes
Staff ? S
No
Yes
Student ? C
No
Yes
Database D
Admin ?
No
Stop
33
4.3.6 Data Dictionary
Variable Meaning
34
The choice for PHP with SQL Server Database was made to enable us achieves the
above set objectives. Moreover, PHP is very user friendly and enables the design of
an interface that can be modified programmatically. Also SQL database is a robust
database that can guarantee database integrity, database protection, and
accommodate large database.
Computer system is made up of units that are put together to work as one in order to
achieve a common goal. The requirements for the implementation of the new system
are:
Hardware Requirement
In the cause of the design, the software developed needed the following hardware
for an effective and efficient operation of the new system Intel Computer System
3. Colored Monitor
5. Printer
Software Requirement
2. MySQL
35
3. Dream Weaver
System implementation is all about making the new system available to a prepared
set of users and ensuring on-going support and maintenance of the system within the
institution. Deploying the system involves the use of the software to implement the
objective of its design.
Prepare for system implementation: Before the system implementation, the staffs
who will use the system will be given adequate training on how to implement the
software. These staff include the Administrative Officer who will be the person to
maintain the database, create school fees pin codes and ensure high security by
limiting access to individuals. The Head of Departments, Dean of Faculties and
Secretary of Postgraduate studies will also be given adequate training on the use of
the software.
Deploy system: This phase involves full deployment of the software in order to
execute design objectives..
36
4.4 SYSTEM IMPLEMENTATION
Although there are numerous change over methods, the one recommended for this
system is a parallel run implementation in which both the old and new system are
operated concurrently for a period of time until the new system is certified okay.
Below is the different change over procedures:
Parallel Approach – In this approach, old and new system are operated side
by side until the new one has shown that it is reliable. This approach is low
risk. If
the new system fails, the organisation can just switch to the old system to keep
going. This method, however, is expensive as it keeps people and equipment
active to manage the two systems.
Pilot Approach – This approach involves the trial of the new system in only
one part of the organisation. Once the system is working out smoothly in that
part, focus is then shifted to other parts of the organisation.
37
4.4.2 Training and Retraining of Staff
For the new system to function effectively and efficiently, educating and training of
staff is necessary. Training is conducted for the staff selected to do the job of keying
in data and running of the system. The members of staff selected, are trained for a
period of time on how to manipulate and operate the system so as to be acquainted
with the computer and the system designed. The staff members are also given
procedural manuals to assist them in operating the system.
They are also educated on how to safeguard files in the system to avoid unauthorized
user from gaining access to the system files.
Test –Run:
The software performance was perfectly correct. It is easy to use / user friendly and
it also has a well documented user manual. Performance evaluation was carried out
in all the units and in general.
During the test-run the students registration module was able to enable both fresh
and returning students to have access to the online form through the use of their
38
school fees pin code and registration number. On successful completion of the form,
registration of courses and submission, the system also informs the students that
his/her form has been submitted and will be forwarded for approval.
Access denial: Students with wrong school fees pin code or used pin codes are
denied access to the registration section. The administration set up form creates
password for staff involved in the registration process and assigns access limitations
to them so that users can only gain access to those areas assigned to them.
It is only the Administrative Officer that has access to all the database and also has
the responsibility of creating school fees pin code, creation of new department and
new course, gives feedback to the students on their registration status through email
and maintains all the database.
The approval module allows the Head of the various departments, Deans of faculties
and Secretary of postgraduate studies to have access to the system by using password
and access code. This access code enables them to view students registration forms,
give their approval and submit for the next stage in the registration process.
Check registration status: This module enables registered students to know their
registration status once they login with their fees pin code and registration number.
The performance of this software is justifiable because all the actual results were
achieved.
File conversion is a major part of the system development and involves fact finding,
data capturing, clerical procedure design, form design and even program
specification. It is an often-expensive part of the systems implementation and usually
means the conversion of existing manual records into a medium used by the
39
computer. This itself, may involve the transcription of records, or part of them, onto
specially designed forms before they are keyed onto the appropriate computer
medium. Once the file has been created, extensive checking for accuracy is essential;
otherwise considerable problems may arise when the system becomes operational.
40
CHAPTER FIVE
SUMMARY, CONCLUSION AND RECOMMENDATION
5.1 SUMMARY
The office management system has been tested and found to achieve the following:
The automation of the student’s registration process by changing all hard copy
procedures involved to electronic media using office management online
enabled application that runs on a local host.
The development of robust database to help manage students’ data at the
appropriate data locations.
The use of office management to route and track activities and movement of
data involved in the registration process.
This software can be used by any institution that uses the same registration policy
with CST Department, Federal College of Agriculture, Ishiagu, Ebonyi which is
applicable to all institutions of higher learning in Nigeria.
41
5.4 CONTRIBUTION TO THE BODY OF KNOWLEDGE
This work which centers on office management system for postgraduate students
registration utilizes the concept of information technology. It expanded the use of
internet system as in web enabled registration process which helps in easier
registration of student which is independent of the human weakness as compared to
the working of the computer. This system will also help other institutions to monitor
the inflow and outflow of data within their organization.
Due to time constraint, areas such as the use of authentication like biometric
identification of admitted students was not incorporated. This biometric
identification will help to identify fake students because it relies on physical
characteristics that are unique to each individual to ascertain the individuals identity.
This biometric identification include retinal scanning, iris scanning, voiceprint
identification and finger print. Another area I will suggest for further research is the
deployment of handset in the notification/alert to students on the successful approval
of their registration by the necessary officials; this will make it easier for students as
most people have easier access to handset than internet in Nigeria.
5.6 RECOMMENDATION
Office system is highly recommended where a process is repeated many times and
involves multiple individuals or units to give approval or make an input. It can be
used by such organizations or institutions to automate their business processes
thereby making them more efficient.
42
5.7 CONCLUSION
In conclusion, the office management system developed can perform the following
task: Online fees payment, online course registration, online students information
management, online course schedule system, online registration approval system
e.t.c. This system can be used by any institution of higher learning in Nigeria.
43
REFERENCES
Jeffrey, S. B., & Gary, M, (2016). Modern Electronic Communication. New Delhi
Prentice Hall.
Joel, S, David L, & Scott W, (2018). Microsoft Dynamics. New Jersey: John Wiley
and Son.
Keith, S, (2015). The Difference Between Workflow and BPR. London: Fujitsu OSSI.
Sanjay, S, (2016). Data Communication Networks. New Delhi S.K. Kataria and Sons
Naisarak,
44
Zhifeng, Y, & Weisong, S, (2018). A Planner-Guided Scheduling Strategy for
Multiple Workflow Applications, icppw, pp.1-8, InternationalConference on
Parallel Processing – Workshops.
45
APPENDIX I
PROGRAM INTERFACE
46
47
48
APPENDIX II
SOURCE CODE
<body>
<div id="wrapper">
<div class="navbar-header">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
</nav>
<div class="sidebar-collapse">
<li>
49
<div class="inner-text">
<br />
</div>
</div> -->
</li>
<li>
</li>
<li>
</li>
<li>
</li>
<li>
</li>
50
<li>
</li>
<li>
</li>
<li>
</li>
</ul>
</div>
</nav>
<?php
include("php/dbconnect.php");
include("php/checklogin.php");
51
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<?php
include("php/header.php");
?>
<div id="page-wrapper">
52
<div id="page-inner">
<div class="row">
<div class="col-md-12">
<h1 class="page-head-line">DASHBOARD</h1>
</div>
</div>
<div class="row">
<div class="col-md-4">
<a href="student.php">
<h5>Student</h5>
</a>
</div>
</div>
<div class="col-md-4">
<h5>Take Fees</h5>
</a>
</div>
</div>
<div class="col-md-4">
<a href="report.php">
<h5>Report</h5>
</a>
</div>
</div>
</div>
</div>
</div>
54
<!-- /. PAGE WRAPPER -->
</div>
<div id="footer-sec">
</div>
<script src="js/jquery-1.10.2.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/jquery.metisMenu.js"></script>
<script src="js/custom1.js"></script>
</body>
</html>
<?php
include("php/dbconnect.php");
include("php/checklogin.php");
$errormsg = '';
$action = "add";
55
$id="";
$emailid='';
$sname='';
$joindate = '';
$remark='';
$contact='';
$balance = 0;
$fees='';
$about = '';
$branch='';
if(isset($_POST['save']))
$sname = mysqli_real_escape_string($conn,$_POST['sname']);
$joindate = mysqli_real_escape_string($conn,$_POST['joindate']);
$contact = mysqli_real_escape_string($conn,$_POST['contact']);
$about = mysqli_real_escape_string($conn,$_POST['about']);
$emailid = mysqli_real_escape_string($conn,$_POST['emailid']);
$branch = mysqli_real_escape_string($conn,$_POST['branch']);
56
if($_POST['action']=="add")
$remark = mysqli_real_escape_string($conn,$_POST['remark']);
$fees = mysqli_real_escape_string($conn,$_POST['fees']);
$advancefees = mysqli_real_escape_string($conn,$_POST['advancefees']);
$balance = $fees-$advancefees;
$sid = $conn->insert_id;
}else
if($_POST['action']=="update")
$id = mysqli_real_escape_string($conn,$_POST['id']);
57
}
header("location: student.php?act=3");
$action = "add";
$id = isset($_GET['id'])?mysqli_real_escape_string($conn,$_GET['id']):'';
if($sqlEdit->num_rows)
$rowsEdit = $sqlEdit->fetch_assoc();
extract($rowsEdit);
$action = "update";
58
}else
$_GET['action']="";
?>
<!DOCTYPE html>
59
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="js/jquery-1.10.2.js"></script>
60
</head>
<?php
include("php/header.php");
?>
<div id="page-wrapper">
<div id="page-inner">
<div class="row">
<div class="col-md-12">
<h1 class="page-head-line">Students
<?php
?>
</h1>
<?php
echo $errormsg;
?>
</div>
</div>
61
<?php
?>
<div class="row">
<div class="panel-heading">
</div>
<div class="panel-body">
<legend class="scheduler-border">Personal
Information:</legend>
<div class="form-group">
<div class="col-sm-10">
</div>
62
</div>
<div class="form-group">
<div class="col-sm-10">
</div>
</div>
<div class="form-group">
<div class="col-sm-10">
<select class="form-control"
id="branch" name="branch" >
<?php
$q = $conn->query($sql);
while($r = $q->fetch_assoc())
63
?>
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-10">
</div>
</div>
</fieldset>
<legend class="scheduler-border">Fee
Information:</legend>
<div class="form-group">
<div class="col-sm-10">
64
<input type="text" class="form-
control" id="fees" name="fees" value="<?php echo $fees;?>" <?php echo
($action=="update")?"disabled":""; ?> />
</div>
</div>
<?php
if($action=="add")
?>
<div class="form-group">
<div class="col-sm-10">
</div>
</div>
<?php
?>
<div
class="form-group">
<div class="col-sm-10">
65