Donnys Project

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 68

CHAPTER ONE

INTRODUCTION
1.0 Introduction

This chapter is focused on the introduction to design and implementation of


an online student record system. It presents the introduction, background of
the study, statement of the problem, aim and objectives of the study,
significance of the study, scope of the study, organization of the research and
definition of terms.

1.1 Background of the Study

Over the past few decades, institutions all over the world have been
experiencing new paradigms in the way they handle and manage students’
information due to the proliferation of ICTs and its applications such as web-
based student information systems. With the adoption of such systems as the
web based student information system in academic institutions, the
experience is that it has now become easy to harness and fast track all
students’ records in one centralized database via the internet technology.
While the benefits of the system seem to be celebrated, it has been a hustle
for most universities in Africa to completely go digital in their operations
due poor ICT infrastructures that seem to be prevalent in the region
(Bharamagoudar, Geeta and Totad, 2013).

In the pre-digital age, managing student’s information was done manually,


using paper-based systems. However, with increasing number of students in
educational institutes, the system could no longer handle student’s records
effectively. Suffice to say, the dawn of ICT applications and databases
presented unparalleled opportunities in managing students’ records in
academic institutions which gradually lead to the disappearance of paper-
based systems. The major concern with manual systems has been the speed
1
with which business operations and decision making processes are carried
out in education institutions. Consequently, to cope up with the rise in
student’s enrolment whilst at the same time ensuring efficiency in their
operations, universities had to experience a paradigm shift from using
manual student’s management systems to online student management
systems. Students Management Systems (SMS) whether manual or web-
based are there to maintain and provide easy access to student information.
As an information system, it is very useful.

An information system (IS) is any combination of information technology


and people's activities that support operations, management and decision
making. In a very broad sense, the term information system is frequently
used to refer to the interaction between people, processes, data and
technology. In this sense, the term is used to refer not only to the information
and communication technology (ICT) that an organization uses, but also to
the way in which people interact with this technology in support of business
processes. There are two views on (IS) and IS-centered view that includes
software, hardware, data, people, and procedures. A second managerial view
includes people, business processes and Information Systems. There are
various types of information systems, for example: transaction processing
systems, office systems, decision support systems, knowledge management
systems, database management systems, and office information systems.
Critical to most information systems are information technologies, which are
typically designed to enable humans to perform tasks for which the human
brain is not well suited, such as: handling large amounts of information,
performing complex calculations, and controlling many simultaneous
processes (Benyon-Davies, 2009).

In an institution for instance, there is need to record information pertaining


to members of the institution especially the students so that it will be easy to
2
retrieve needed information instantly without stress. A web based student
information management system is a software system that enables the data of
students to be captured, such that it will be easy to obtain needed information
pertaining to any particular student or group of students. The system can also
be viewed as a database system that enables capturing of large amounts of
students record to facilitate manipulation by the administrators in charge. For
example, every student has a unique registration number which stands as the
primary key. In an information system it will be very easy to obtain the
record of any student just by querying the database based on the primary key
or registration ID of the student.

1.2 Statement of Problem

 The traditional flat file organization is still in use and it is inefficient


as it takes time to locate any needed file. The problem is worse if the
information needed was recorded years back.
 Also, it is difficult for management to get needed information instantly
thereby delaying the decision making process that is based on the
information needed.

It is in view of these challenges that this research work is carried out to


design and implement design and implementation of an online student
record system.

1.3 Aim and Objectives of the Study

The aim of the study is to develop an online student information system. The
following are the objectives of the study:

 To create a system that aid easy uploading of student information


 To develop a system that will aid easy verification of student
information.
3
 To design a system that facilitates easy updating of student
information.
 To create a system that will aid easy tracking of student information
by querying the database.

1.4 Significance of the study

The study is significant in the following ways:

 It will provide the management of the institution with an design and


implementation of an online student record system that can replace the
manual system of managing student information.
 It will provide an effective means to track student information online.
 Management of the institution can be presented with instant reports
needed pertaining to any student or group of students.
 The study will also serve as a good reference material for other
researchers that need information pertaining to the subject.

1.5 Scope of the study

This research work will focus on the basic information of graduating


students of Computer Science Department Akwa Ibom State Polytechnic,
Ikot Osurua.

1.6 Organization of the Research


This research work is organized into five chapters. Chapter one is concerned
with the introduction of the research study and it presents the introduction,
background of the study, statement of the problem, aim and objectives of the
study, significance of the study, scope of the study, organization of the
research and definition of terms.

4
Chapter two focuses on the literature review, the contributions of other
scholars on the subject matter is discussed.
Chapter three is concerned with the system analysis and design. It presents
the research methodology used in the development of the system, it analyzes
the present system to identify the problems and provides information on the
advantages and disadvantages of the proposed system. The system design is
also presented in this chapter.
Chapter four presents the system implementation and documentation, the
choice of programming language, analysis of modules, choice of
programming language and system requirements for implementation.
[

Chapter five focuses on the summary, constraints of the study, conclusion


and recommendations are provided in this chapter based on the study carried
out.

5
CHAPTER TWO
LITREATURE REVIEW
2.0 Introduction

This chapter is concerned with the review of related literature, the


contributions of other researchers on the subject is examined in this chapter.
It discusses the following sub-heads:

- Theoretical Background
- The concept of information systems
- Types of information system
- Architecture of a student information system
- Advantages of student information systems

2.1 Theoretical Background

Discussed below are the technologies used for the development of the design
and implementation of an online student record system:

PHP: PHP is a server-side scripting language designed for web development


but also used as a general-purpose programming language. As of January
2013, PHP was installed on more than 240 million websites (39% of those
sampled) and 2.1 million web servers. Originally created by Rasmus Lerdorf
in 1995, the reference implementation of PHP is now produced by The PHP
Group.While PHP originally stood for Personal Home Page, it now stands
for PHP: Hypertext Pre-processor, a recursive backronym. PHP code is
interpreted by a web server with a PHP processor module, which generates
the resulting web page: PHP commands can be embedded directly into an
HTML source document rather than calling an external file to process data.
It has also evolved to include a command-line interface capability and can be
used in standalone graphical applications. PHP is free software released

6
under the PHP License. PHP can be deployed on most web servers and also
as a standalone shell on almost every operating system and platform, free of
charge.

CSS: Cascading style sheets (CSS) is a style language used to describe the
presentation semantics (the look and formatting) of a document written in a
markup language. It’s most common application is to style web pages
written in HTML and XHTML. CSS is a designed primarily to enable the
separation of document content (written in HTML or a similar markup
language) from document presentation, including elements such as the
layout, colors, and fonts. This separation can improve content accessibility,
provide more pages to share formatting, and reduce complexity and
repetition in the structural content (such as by allowing for table less web
design). CSS can also allow the same markup page to be presented in
different styles for different rendering methods, such as on-screen in print by
voice.

MySQL: MySQL is a fast, easy-to-use RDBMS used for databases on


many web sites. Speed was the developer’s main focus from the beginning.
In the interest of speed, they made the decision to offer fewer features than
their major competitors (for instance, Oracle and Sybase). However, even
though MySQL is less full featured than its commercial competitors, it has
all the features needed by the large majority of database developers. It’s
easier to install and use than its commercial competitors. MySQL is
developed, marketed, and supported by MySQL AB, which is a Swedish
company.

HTML: HTML is a hypertext markup language which is in reality a


backbone of any website. Every website can’t be structured without the

7
knowledge of HTML. If we make our web page only with the help of
HTML, than we can’t add many of the effective features in a web page, for
making a web page more effective we use various platforms such as CSS. So
here we are using this language to make our web pages more effective as
well as efficient. And to make our web pages dynamic we are using Java
script.
The source code below is used for the login page

Figure 2.1: Login page

2.2 The Concept of Information Systems

The term information system is commonly used to refer to the group of


information management methods tied to the automation or support of
human decision-making, e.g. decision support systems, expert systems, and
executive information systems. "The actions that are taken to create an

8
information system that solves an organizational problem are called system
development". These include system analysis, system design,
programming/implementation, testing, conversion, production and finally
maintenance. These actions usually take place in that specified order but
some may need to repeat or be accomplished concurrently (Silver, Lynne,
Cynthia, 1995).

An information system is a work system whose activities are devoted to


processing (capturing, transmitting, storing, retrieving, manipulating and
displaying) information. As such, information systems inter-relate with data
systems on the one hand and activity systems on the other. An information
system is a form of communication system in which data represent and are
processed as a form of social memory. An information system can also be
considered a semi-formal language which supports human decision making
and action. In a broad scope, the term Information Systems (IS) is a
scientific field of study that addresses the range of strategic, managerial and
operational activities involved in the gathering, processing, storing,
distributing and use of information, and its associated technologies, in
society and organizations. The term information systems is also used to
describe an organizational function that applies IS knowledge in industry,
government agencies and not-for-profit organizations . According to O'Brien
(2010), an Information System (IS) consists of five basic resources, namely:

1. People, which consists of IT specialists (such as a Database


Administrator or Network Engineer) and end-users (such as Data
Capture Clerks).
2. Hardware, which consists of all the physical aspects of an information
system, ranging from peripherals to computer parts and servers.
3. Software, which consists of System Software, Application Software
and Utility Software.
9
4. Data, which consists of all the knowledge and databases in the IS.
5. Networks, which consists of communication media and network
support.

2.2.1 Types of Information System

Listed below are the types of information system available:

- A management information system ("MIS") is mainly concerned


with internal sources of information. MIS usually take data from the
transaction processing systems and summarized it into a series of
management reports. MIS reports tend to be used by middle
management and operational supervisors.

 Decision-support systems ("DSS") are specifically designed to help


management make decisions in situations where there is uncertainty
about the possible outcomes of those decisions. DSS comprise tools
and techniques to help gather relevant information and analyse the
options and alternatives. DSS often involves use of complex
spreadsheet and databases to create "what-if" models (Benyon, 2009).
 Executive information systems (EIS) is a reporting tool that provides
quick access to summarized reports coming from all company levels
and departments such as accounting, human resources and operations.
 Marketing information systems are MIS designed specifically for
managing the marketing aspects of the business.
 Office automation systems. Office Automation Systems are systems
that try to improve the productivity of employees who need to process
data and information. Perhaps the best example is the wide range of
software systems that exist to improve the productivity of employees

10
working in an office (e.g. Microsoft Office XP) or systems that allow
employees to work from home or whilst on the move.
 School management information systems (MIS) cover school
administration, and often including teaching and learning materials.

2.3 Advantages of Information System

The following are some of the benefits that can be attained for different
types of information systems.

 Institutions and organizations are able to get needed information


instantly.
 Giving an overall picture of the institution/organization and acting as a
communication and planning tool.
 The effective management of customer data can help the company to
perform direct marketing and promotion activities.
 Information is considered to be an important asset for any company in
the modern competitive world. The consumer buying trends and
behaviours can be predicted by the analysis of sales and revenue
reports from each operating region of the organization (Benyon-
Davies, 2009).

2.4 Online Students Information Management System


At the core of every system’s efficiency is the availability of services
because very often users rate the whole system performance depending on
the satisfaction they get in using such services. To meet users’ needs and
expectations, almost every online student management has a myriad of
services. For instance, Maere (2011) explains that Web-based Students
Information Management System handles the administration part of students
which includes; admission, examination records, assessment process,

11
finance, room allocation, transcripts, students union electronic voting,
mobile text messaging, examination results feedback. Therefore, it is certain
that in most institutions of higher learning, online student management
systems are created in house to assist in registration of students, student
online profiling, financial recording, examination grades records, transcript
generation, student accommodation management, and keeping student
records

Asogwa, Mohammed, Ahmed & Danmaitaba (2015), explains that the


benefits of Student Management (SMS) software are enormous. In most
universities, Web-based Students Information Management System directly
benefits both the administration and students. To the university management,
the SMS carries most of the crucial administrative activities such as
admissions, enrolment, and examination. On the other hand, Pacio (2013)
argues that in recent years, the use of online student information systems
provides students with the capabilities to register for new semesters and have
timely access to their academic and biographic records via internet enabled
gadgets like smartphones and computers. Similarly, EBriks Infotech noted
that students gain the most from School Management System. Preferably,
students get a new platform not only to gain but also to express the
knowledge inside them. It was observed that the key benefits of Web-based
Students Information Management System to students revolves around the
24/7 web-based access to information about class and examination
timetables, school events and holidays. It was further ascertained that SMSs
allows users to publish articles to share experience, knowledge and views,
and participate in discussion forums and therefore this contributes to the
digital library.

12
Asogwa et.al (2015) observed that despite revolutionizing the student
information systems, universities in their administrative or academic
transaction services, and maintaining student’s academic history and profile,
paper work is still going on concurrently. Furthermore, Igweonu (2013) also
pointed out that inconsistency in power supply, inadequate funding during
implementation, inadequate technicians for computer maintenance, and
limited access to internet are some of the challenges that locks most
universities in the use of Online Student Information Systems.

13
CHAPTER THREE
SYSTEM ANALYSIS AND DESIGN
3.0 Introduction

This chapter is focused on the system analysis and design, it presents the
research methodology, system design, input file specification and program
flow chart.

3.1 Research Methodology

The methodology employed for the development of the system is the object
oriented analysis and design (OOAD) methodology. Object-Oriented
Analysis and Design (OOAD) is a structured method for analyzing,
designing a system by applying the object-orientated concepts, and develop a
set of graphical system models such as Use Case and Class Diagram models
during the development life cycle of the software. Also, the data used for the
development of the research was gotten from the internet, textbooks and
articles. The contributions of other researchers on the subject was examined
so as to gather relevant information. The case study also provided useful
information for the development of the system.

3.2 Analysis of the Existing System

14
System analysis entails examining a system in order to understand its step by
step operations so as to identify its benefits and areas of limitation that
require improvements. There is no automated system to manage students
information in the Department. The records of students are manually stored
in traditional flat files and reference is made to the files whenever
information is needed about students.

3.2.1 Disadvantages of the Existing System


The disadvantages of the existing system are:

1. Absence of an design and implementation of an online student record


system that facilitates the capturing, storage and retrieval of relevant
information pertaining to its students.
2. Cases of missing files.
3. The traditional flat file organization is still in use and it is inefficient
as it takes time to locate any needed file.
4. The problem is worse if the information needed was recorded years
back.
5. Also, it is difficult for management to get needed information instantly
thereby delaying the decision making process that is based on the
information needed.

3.3 Analysis of the Proposed System


The proposed system is such that record of students can be captured using a
specialized software and it provides modules for managing student
information. The features of the proposed system are:

Student Registration: This feature of the system enables the user to capture
the registration details of students such as their name, registration number,

15
sex, phone number, etc. and provides command to submit the captured
information to database.

Update: This feature of the system enables the updating of the information
whenever it is needed.

Database Records Query: This feature of the proposed system enables the
administrator to view all registered records and query the database based on
the criteria of surname.

3.3.1 Advantages of the Proposed system


The advantages of the proposed system are:

1. It saves time and


2. The system facilitates the immediate retrieval of student information..
3. It will enable the department to operate professionally.
4. It will reduce dependence on information contained in flat files.

3.4System Design
The system design pertains to the layout of the system and it consists of:
input layout, output layout, algorithm, program flowchart, database design,
system architecture and Use case/Class diagram

16
3.4.1 Input Layout

Surname

Other names

Reg Number

Sex

Nationality Upload Passport

State

LGA

Date of Birth

Phone Number

Admission Year

Year Graduated

Result Obtained

SUBMIT

17
Figure 3.1: Input layout

3.4.2 Output Layout

Table 3.1: Output Layout


Surname Other_Name Reg_number Sex Nationality State LGA …
s

3.4.3 Algorithm

Step 1 – Start
Step 2 – Login
Step 3 – Display main menu
Step 4 – Input Choice
Step 5 – If choice is registration goto step 6
Step 6 – Display registration form
Step 7- Input registration details
Step 8 – Save to database
Step 9 – If choice is update goto step 10
Step 10 – Display update form
Step 11 – Input registration number
Step 12 – Display record
Step 13 – Update record
Step 14 – Submit to database
18
Step 15 – If choice is database records goto step 16
Step 16 – Display database records
Step 17 – Query by admission year or surname
Step 18 – Display matching records
Step 19 – If choice is quit goto step 20
Step 20 - Stop
3.4.4 Program Flow Chart

Start

Input Username and


Password

Is username and Yes Display “invalid


Username/Password”
password valid?

No

Figure 3.2: Login Flowchart

19
M

Input Choice

Is choice registration? Yes R

No

Is choice Update? Yes U

No

Is choice Database Records? Yes D

No

M No Is choice quit?

Yes

Stop
20
Figure 3.3 Main Menu Flowchart

Display Registration Form

Input Registration Details

Save to
Database

M
Figure 3.4: Registration Flowchart

21
U

Input Reg Number

No Display Reg. No. Does not Exist


Do reg no. exist?

Yes

Update Record M

Save to Database

Figure 3.5: Update Flowchart

22
D

Display Database Records

Query by admission year or


surname

Display Matching Records

Figure 3.6: Database Records Flowchart

23
3.4.5 Database Design

Table 3.2: Database Design


Field Data type Size
Surrname Text 15
Other_names Text 10
Reg_Number Text 50
Sex Text 10
Nationality Text 10
LGA Text 10
DOB Date 10
Phone_Number Numeric 11
Admission_Year Numeric 4
Year_graduated Numeric 4
Result_Obtained Numeric 4
Passport_Path Text 50

3.4.6 System Architecture


The system has three major components which are the front end, middle tier
and the back end which is the database. The diagram below shows the
architecture. The front end is the presentation tier which is the web page the
user sees when the site is visited, the middle tier is used to process the data
captured from the front end and it also enables linkage to the database. The
database is where the information captured from the front end is stored.
Also, the information from the database can be retrieved through the aid of
the middle tier to the front end.
Front end Middle Tier Database
(HTML, CSS, Javascript) (pHp) (MySql)

Figure 3.7: Architecture of the System

24
3.4.7 Use Case Model
Use case model is used to represent the components of the proposed system
and the actors in the system.

Register Student

Update student information

Student View Database Records Admin

Figure 3.8: Use case diagram

25
CHAPTER FOUR
SYSTEM IMPLEMENTATION AND DOCUMENTATION
4.0 Introduction

This chapter presents the system flow chart, analysis of modules, choice of
programming language and programming environment.

4.1 System Design Diagram

LOGIN

MAIN MENU

REGISTRATION UPDATE DATABASE RECORDS QUIT

QUERY BY SURNAME
DATA ENTRY UPDATE

QUERY BY ADMISSION
VIEW VIEW YEAR

CLOSE
SAVE SAVE

CLOSE CLOSE

Figure 4.1: System design diagram

4.2 Analysis of modules

The system is made up of three main modules as shown in the system flow
diagram. They are;

26
- Registration
- Update
- Database Records
- Quit

Registration: this module enables student information to be registered to the


online database.

Update: This module enables the user to update student information of


registered students.

Database Records: This module enables the user to view all registered
records and to query the database records to filter needed information.

Quit: This module terminates the program.

4.3 Choice of Programming Language

The programming languages chosen for the development of the system are
HTML and PHP. The languages were chosen because they are best suited for
web based applications.

4.4 Programming Environment

The programming environment used for the development of the application


is windows 7 operating system.

4.4.1 Hardware Requirements

The hardware requirements are;

- Pentium iv computer system


- Super video graphic array monitor
- 512 MB RAM

27
- Keyboard
- Mouse
- Uninterruptible power supply (UPS)

4.4.2 Software Requirements

The software requirements are:

- PHP editor
- MySql Server
- Web Browser

4.5 System Implementation


Implementation is the process of replacing the old system with the new
system. There are four different ways of replacing the old system with the
new system, and they are:
Direct Changeover: In this system the old system is no longer available and
everything must run on the new system. Problems with the new system can
cause major problems for the business, only suitable for non-critical systems.
Phased Implementation: Part of the old system is replaced with the new
one until the replaced part is working properly. Continue the process until
the entire old system has been replaced by the new system.
Parallel Running: Both systems continue to run until the new system is
working properly then the old one is discarded.
Pilot Running: If the business has many different offices or sites then this is
an option. One single site is chosen and the old system is replaced with the
new system in the same way as direct changeover but only on one site, the
rest of the business continue to use the old system. Once the new system is
shown to work well in that one ‘pilot’ site then the new system can replace
the old one in the rest of the company.

28
The system implementation method chosen by the system developer is the
parallel running so as to prevent data loss.

4.6 Software Testing


The system was tested at every stage of its development in order to be able
to detect errors and remove them immediately. The testing was done in two
phases as discussed below:
Modular Testing: All the modules of the system were independently tested
to ensure that they are working properly.
System Testing: In this phase all the modules are integrated and the system
with all its modules is tested to identify and remove errors that may arise as a
result of the integration.

29
CHAPTER FIVE
SUMMARY, CONCLUSION AND RECOMMENDATIONS

5.0 Introduction

This chapter presents the summary, conclusion, constraints of the study and
useful recommendations are offered based on the research study.

5.1 Constraints of the Study

In the course of the research work, some challenges were faced such as:

Time: The time given for the research work is too short. A research of this
magnitude requires time to be properly executed

Materials: Few materials were found pertaining to the research study, and
this limited the bulk of the literature.

Finances: The high cost of transportation to different libraries as well as the


high cost of internet browsing stood as limitation of the study.

5.1 Summary

With the adoption of Information and Communication Technology (ICT), by


virtually every sector of the human society including institutions, general
operations only gets better. The ability of the computer to process
information in milliseconds makes it an indispensable tool applicable to the
development of information systems. An design and implementation of an
online student record system is a web based system that facilitates data
capturing, storage to a database, querying and retrieval of needed
information. It is fast as needed information can be saved and verified at

30
button clicks. It functions in the capacity of a management information
system.

5.3 Conclusion

An design and implementation of an online student record system is a very


important system that will enable management of the institution to organize
student information for easy retrieval in no time. It is expected that every
institution should develop and make use of the system to facilitate the
student information operations of the institution, the system can be used to
verify the identity of every student and as such stands as a tool to decipher
impersonation.

5.4 Recommendations

The following recommendations are offered based on findings of the study;

- Institutions should implement a web based student information


management system.
- Dependency on manual methods of recording should be abandoned or
only used for back up purpose.
- Computer professionals should be contracted and also employed to
develop and maintain student information system.
- Academic governing bodies should enforce laws to make institutions
develop student information system to organize its records.
- The government should support institutions by providing computer
systems and peripherals to aid their operations and also to train staff
and students.

31
REFERENCES

Asogwa, D. U., Muhammed, A., Ahmed, B. & Danmaitaba, S. G. (2015)


Need for Students Information Management System (SIMS) for Nigerian
Universities in a technological age: J. Challenges and strategies for
proper integration; Vol.2, Issue 12 p.1765-17.

Beynon-Davies P. (2009). Business Information Systems. Palgrave,


Basingstoke

Bharamagoudar, S.R., Geeta, R.B. & Totad, S.G. (2013) Web Based Student
Information Management System. International Journal of Advanced
Research in Computer and Communication Engineering Vol. 2, Issue
6.

Coy, Wolfgang (June 2004). Between the disciplines. ACM SIGCSE Bulletin
36 (2): 7–10. ISSN 0097-8418

Igweonu, C. C. (2013). Extent of Utilization of Information and


Communication Technology for Effective Management of Polytechnics
in the South Eastern state, Nigeria. South Eastern: Polytechnics

Marere, C. (2011) Expanding E-Learning Initiatives in Malawi. Accessed on


5th, March, 2016 from www.ubuntunet.net/../maere_uc2011.pdf

O'Brien,James (2010).;Marakas,George,Introduction to Information Systems


15th Edition. McGraw-Hill, , p.31

Pacio, R.D. (2013) Online Student Information System of Benguet State


University (OSIS-BSU), Philippines. International Journal of Innovative
Interdisciplinary Research Issue 4.

Silver, M., Lynne M., Cynthia B. (1995) The Information Technology


Interaction Model: A Foundation for the MBA Core Course, MIS
Quarterly, Vol. 19, No. 3, Special Issue on IS Curricula and Pedagogy
(Sep., 1995), pp. 361-390

32
APPENDIX A
SOURCE CODE
<?php include_once('include/function.php');?>
<?php include_once('include/header1.php');
include_once('include/db.php');
?>
<?php

if(isset($_POST['submitBtn'])){
$username = $_POST['username'];
$password = $_POST['password'];
if(empty($username)|| empty($password)){
$msg = '<h4 style="color:red"><strong>All Fiellds Are Required </strong
</h4>';

}else{
if(adminLogin($username,$password)){
$adminid = adminLogin($username,$password);
$_SESSION['id'] = $adminid;
header('location:register.php');

}else{
$msg = '<h4 style="color:red"><strong>Incorrect Login </strong </h4>';
}
}
}

?>

<div class="container" style="margin-top:20px;">


<div class="row">
<div class="col-md-12">

<div class="login">
<div class="login-screen">
<div class="app-title">
<h1>Admin Login</h1>
<?php
if(isset($_POST['submitBtn']))
echo $msg; ?>

</div>
<form action="index.php" method="post">

<div class="login-form">

33
<div class="control-group">
<input type="text" class="login-field" name="username"
placeholder="username" id="login-name">
<label class="login-field-icon fui-user" for="login-
name"></label>
</div>

<div class="control-group">
<input type="password" class="login-field"
name="password" placeholder="password" id="login-pass">
<label class="login-field-icon fui-lock" for="login-
pass"></label>
</div>

<button name="submitBtn" class="btn btn-primary btn-


large btn-block">Login</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>

<style>
/*
*{
box-sizing: border-box;
} */

*:focus {
outline: none;
}
/* body {
font-family: Arial;
background-color: #3498DB;
padding: 50px;
} */
.login {
margin: 20px auto;
width: 400px;
}
.login-screen {
background-color: #FFF;
padding: 20px;
border-radius: 5px
}

.app-title {
text-align: center;

34
color: #777;
}

.login-form {
text-align: center;
}
.control-group {
margin-bottom: 10px;
}

input {
text-align: center;
background-color: #ECF0F1;
border: 2px solid transparent;
border-radius: 3px;
font-size: 16px;
font-weight: 200;
padding: 10px 0;
width: 250px;
transition: border .5s;
}

input:focus {
border: 2px solid #3498DB;
box-shadow: none;
}

.btn {
border: 2px solid transparent;
background: #3498DB;
color: #ffffff;
font-size: 16px;
line-height: 25px;
padding: 10px 0;
text-decoration: none;
text-shadow: none;
border-radius: 3px;
box-shadow: none;
transition: 0.25s;
display: block;
width: 250px;
margin: 0 auto;
}

.btn:hover {
background-color: #2980B9;
}

.login-link {
font-size: 12px;

35
color: #444;
display: block;
margin-top: 12px;
}
</style>

<?php include_once('include/footer.php');?>

<?php include_once('include/function.php');?>

<?php include_once('include/header.php');
include_once('include/db.php');
if(!isset($_SESSION['id'])){
header('location:index.php');
}
?>
<style>
.container,.row{
margin-top:20px;

}
</style>

<?php
// echo $timeTableId= 'TBL'.rand(10000,99999);

if(isset($_POST['submitBtn'])){

$timeTableId= 'TBL'.rand(10000,99999);

$dept =$_POST['dept'];
$level =$_POST['level'];
$session =$_POST['session'];
$periodm1 =$_POST['periodm1'];
$periodm2 =$_POST['periodm2'];
$periodm3 =$_POST['periodm3'];
$periodm4 =$_POST['periodm4'];
$periodm5 =$_POST['periodm5'];
$periodm6 =$_POST['periodm6'];
$periodm7 =$_POST['periodm7'];
$periodm8 =$_POST['periodm8'];

$periodt1 =$_POST['periodt1'];
$periodt2 =$_POST['periodt2'];
$periodt3 =$_POST['periodt3'];
$periodt4 =$_POST['periodt4'];
$periodt5 =$_POST['periodt5'];

36
$periodt6 =$_POST['periodt6'];
$periodt7 =$_POST['periodt7'];
$periodt8 =$_POST['periodt8'];

$periodw1 =$_POST['periodw1'];
$periodw2 =$_POST['periodw2'];
$periodw3 =$_POST['periodw3'];
$periodw4 =$_POST['periodw4'];
$periodw5 =$_POST['periodw5'];
$periodw6 =$_POST['periodw6'];
$periodw7 =$_POST['periodw7'];
$periodw8 =$_POST['periodw8'];

$periodth1 =$_POST['periodth1'];
$periodth2 =$_POST['periodth2'];
$periodth3 =$_POST['periodth3'];
$periodth4 =$_POST['periodth4'];
$periodth5 =$_POST['periodth5'];
$periodth6 =$_POST['periodth6'];
$periodth7 =$_POST['periodth7'];
$periodth8 =$_POST['periodth8'];

$periodf1 =$_POST['periodf1'];
$periodf2 =$_POST['periodf2'];
$periodf3 =$_POST['periodf3'];
$periodf4 =$_POST['periodf4'];
$periodf5 =$_POST['periodf5'];
$periodf6 =$_POST['periodf6'];
$periodf7 =$_POST['periodf7'];
$periodf8 =$_POST['periodf8'];

$var1=array(
'periodm1'=>$periodm1,
'periodm2'=>$periodm2,
'periodm3'=>$periodm3,
'periodm4'=>$periodm4,
'periodm5'=>$periodm5,
'periodm6'=>$periodm6,
'periodm7'=>$periodm7,
'periodm8'=>$periodm8
);

$var2=array(
'periodt1'=>$periodt1,
'periodt2'=>$periodt2,
'periodt3'=>$periodt3,
'periodt4'=>$periodt4,
'periodt5'=>$periodt5,
'periodt6'=>$periodt6,

37
'periodt7'=>$periodt7,
'periodt8'=>$periodt8
);

$var3=array(
'periodw1'=>$periodw1,
'periodw2'=>$periodw2,
'periodw3'=>$periodw3,
'periodw4'=>$periodw4,
'periodw5'=>$periodw5,
'periodw6'=>$periodw6,
'periodw7'=>$periodw7,
'periodw8'=>$periodw8
);

$var4=array(
'periodth1'=>$periodth1,
'periodth2'=>$periodth2,
'periodth3'=>$periodth3,
'periodth4'=>$periodth4,
'periodth5'=>$periodth5,
'periodth6'=>$periodth6,
'periodth7'=>$periodth7,
'periodth8'=>$periodth8
);

$var5=array(
'periodf1'=>$periodf1,
'periodf2'=>$periodf2,
'periodf3'=>$periodf3,
'periodf4'=>$periodf4,
'periodf5'=>$periodf5,
'periodf6'=>$periodf6,
'periodf7'=>$periodf7,
'periodf8'=>$periodf8
);

$monday= serialize($var1);
$tuesday= serialize($var2);
$wednesday= serialize($var3);
$thursday= serialize($var4);
$friday= serialize($var5);
if(empty($dept)||empty($level)||empty($session)||empty($periodm1)||
empty($periodm2)||empty($periodm3)||empty($periodm4)||empty($periodm5)
||empty($periodm6)||empty($periodm7)||empty($periodm8)||empty($periodt1)||
empty($periodt2)||empty($periodt3)||empty($periodt4)||empty($periodt5)
||empty($periodt6)||empty($periodt7)||empty($periodt8)||empty($periodw1)||
empty($periodw2)||empty($periodw3)||empty($periodw4)||empty($periodw5)
||empty($periodw6)||empty($periodw7)||empty($periodw8)||empty($periodth1)||
empty($periodth2)||empty($periodth3)||empty($periodth4)||empty($periodth5)

38
||empty($periodth6)||empty($periodth7)||empty($periodth8)||empty($periodf1)||
empty($periodf2)||empty($periodf3)||empty($periodf4)||empty($periodf5)
||empty($periodf6)||empty($periodf7)||empty($periodf8)){
$msg = '<h3 style="color:red; text-align:center;"><strong> All Fields Are
Required</strong></h3>';
}else{
timeTableReg($timeTableId,$dept,$level,$session,$monday,$tuesday,$wednesday,
$thursday,$friday);
$msg = '<h3 style="color:green; text-align:center;"><strong> Registered
Successfully, Your Time Table Code Is:'.$timeTableId.'</strong></h3>';
}
}

?>

<div class="container">
<div class="row">
<div class="col-md-12">
<?php
if(isset($_POST['submitBtn'])){
echo $msg;
}
?>
<form id="form" action="register.php" method="post">

<div class="row">
<div class="col-md-3 col-md-offset-2 ">

<label for="" style="margin-top:20px;">Department</label>


<input type="text" name="dept" class="form-control">
</div>

<div class="col-md-3">
<label for="" style="margin-top:20px;">Level</label>
<select name="level" id="" class="form-control">>

<option value="">Select Level</option>


<option value="Nd1">ND1</option>
<option value="Nd2">ND2</option>
<option value="HNd1">HND1</option>
<option value="HNd1">HND2</option>
</select>
</div>
<div class="col-md-3">

<label for="" style="margin-top:20px;">Session</label>


<input type="text" name="session" class="form-control">
</div>
</div>

39
<div class="row" style="margin-top:20px;">
<div class="col-md-1 col-md-offset-2">
Day/Time </div>
<div class="col-md-1">
8-9 </div>
<div class="col-md-1">
9-10 </div>
<div class="col-md-1">
10-11
</div>
<div class="col-md-1">
11-12
</div>
<div class="col-md-1">
12-1
</div>
<div class="col-md-1">
1-2
</div>
<div class="col-md-1">
2-3
</div>
<div class="col-md-1">
3-4
</div>
</div>

<div class="row">
<div class="col-md-1 col-md-offset-2">
Monday
</div>
<div class="col-md-1">
<input type="text" name="periodm1" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm2" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm3" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm4" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm5" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm6" class="form-control">
</div>
<div class="col-md-1">

40
<input type="text" name="periodm7" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm8" class="form-control">
</div>
</div>

<div class="row" style="margin-top:10px;">


<div class="col-md-1 col-md-offset-2">
Tuesday
</div>
<div class="col-md-1">
<input type="text" name="periodt1" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt2" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt3" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt4" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt5" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt6" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt7" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt8" class="form-control">
</div>
</div>
<div class="row" style="margin-top:10px;">
<div class="col-md-1 col-md-offset-2">
Wednesday</div>
<div class="col-md-1">
<input type="text" name="periodw1" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw2" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw3" class="form-control">
</div>
<div class="col-md-1">

41
<input type="text" name="periodw4" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw5" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw6" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw7" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw8" class="form-control">
</div>
</div>

<div class="row" style="margin-top:10px;">


<div class="col-md-1 col-md-offset-2">
Thursday
</div>
<div class="col-md-1">
<input type="text" name="periodth1" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth2" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth3" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth4" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth5" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth6" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth7" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth8" class="form-control">
</div>
</div>

<div class="row" style="margin-top:10px;">


<div class="col-md-1 col-md-offset-2">
Friday</div>
<div class="col-md-1">

42
<input type="text" name="periodf1" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf2" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf3" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf4" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf5" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf6" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf7" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf8" class="form-control">
</div>
</div>

<div class="row text-center" style="margin-top:20px; margin-left:4em;">

<button type="submit" name="submitBtn" class="btn btn-success


btn-lg">Submit</button>
</div>

</form>
</div>
</div>
</div>

<?php include_once('include/footer.php');?>
<style>
.row{
background-color:white;
}
</style>
<?php include_once('include/function.php');?>
<?php include_once('include/header.php');
include_once('include/db.php');
if(!isset($_SESSION['id'])){
header('location:index.php');
}

43
?>
<style>
.container,.row{
margin-top:17px;
}
.row{
background-color:white;

}
</style>
<div class="container text-center">

<div class="col-md-5 col-md-offset-3">


<div style="margin-top:8px;">

<form action="update.php" method="POST">


<div class="input-group">
<input type="text" name="search" class="form-control"
placeholder="Search for Time Table ID">
<span class="input-group-btn">
<button class="btn btn-default" name="find"
type="submit">Go!</button>
</span>
</div>

</form>
</div>
</div>

</div>
<?php

if(isset($_POST['find'])){
$search = $_POST['search'];
$ma = "SELECT * FROM tablereg WHERE timeTableId ='$search'";
$queryRun = mysql_query($ma);
if($queryRun>0){

?>

<?php

while($row=mysql_fetch_assoc($queryRun)){

?>

<div class="container">
<div class="row">

44
<div class="col-md-12">
<form id="form" action="edit.php?tbId=<?php echo $row['id'];?>" method="post">

<div class="row">
<div class="col-md-2 col-md-offset-2 ">

<label for="" style="margin-top:20px;">Time Table Code</label>


<input type="text" name="dept" class="form-control" value="<?php echo
$row['timeTableId'];?>" disabled>
</div>
<div class="col-md-2 ">

<label for="" style="margin-top:20px;">Department</label>


<input type="text" name="dept" class="form-control" value="<?php echo $row['dept'];?
>">
</div>

<div class="col-md-2">
<label for="" style="margin-top:20px;">Level</label>
<select name="level" id="" class="form-control">>

<option value="<?php echo $row['level'];?>"><?php echo $row['level'];?></option>


<option value="Nd1">ND1</option>
<option value="Nd2">ND2</option>
<option value="HNd1">HND1</option>
<option value="HNd1">HND2</option>
</select>
</div>
<div class="col-md-2">

<label for="" style="margin-top:20px;">Session</label>


<input type="text" name="session" class="form-control" value="<?php echo
$row['session'];?>">
</div>
</div>

<div class="row" style="margin-top:20px;">


<div class="col-md-1 col-md-offset-2">
Day/Time </div>
<div class="col-md-1">
8-9 </div>
<div class="col-md-1">
9-10 </div>
<div class="col-md-1">
10-11
</div>
<div class="col-md-1">
11-12
</div>

45
<div class="col-md-1">
12-1
</div>
<div class="col-md-1">
1-2
</div>
<div class="col-md-1">
2-3
</div>
<div class="col-md-1">
3-4
</div>
</div>

<div class="row">
<div class="col-md-1 col-md-offset-2">
Monday
</div>
<div class="col-md-1">
<input type="text" name="periodm1" value="<?php echo unserialize($row['monday'])
['periodm1'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm2" value="<?php echo unserialize($row['monday'])
['periodm2'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm3" value="<?php echo unserialize($row['monday'])
['periodm3'];?>"class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm4"value="<?php echo unserialize($row['monday'])
['periodm4'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm5" value="<?php echo unserialize($row['monday'])
['periodm5'];?>"class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm6"value="<?php echo unserialize($row['monday'])
['periodm6'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm7" value="<?php echo unserialize($row['monday'])
['periodm7'];?>"class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm8" value="<?php echo unserialize($row['monday'])
['periodm8'];?>" class="form-control">
</div>

46
</div>

<div class="row" style="margin-top:10px;">


<div class="col-md-1 col-md-offset-2">
Tuesday
</div>
<div class="col-md-1">
<input type="text" name="periodt1" value="<?php echo unserialize($row['tuesday'])
['periodt1'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt2"value="<?php echo unserialize($row['tuesday'])
['periodt2'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt3" value="<?php echo unserialize($row['tuesday'])
['periodt3'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt4" value="<?php echo unserialize($row['tuesday'])
['periodt4'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt5"value="<?php echo unserialize($row['tuesday'])
['periodt5'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt6" value="<?php echo unserialize($row['tuesday'])
['periodt6'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt7" value="<?php echo unserialize($row['tuesday'])
['periodt7'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt8" value="<?php echo unserialize($row['tuesday'])
['periodt8'];?>" class="form-control">
</div>
</div>

<div class="row" style="margin-top:10px;">


<div class="col-md-1 col-md-offset-2">
Wednesday</div>
<div class="col-md-1">
<input type="text" name="periodw1" value="<?php echo unserialize($row['wednesday'])
['periodw1'];?>" class="form-control">
</div>
<div class="col-md-1">

47
<input type="text" name="periodw2"value="<?php echo unserialize($row['wednesday'])
['periodw2'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw3"value="<?php echo unserialize($row['wednesday'])
['periodw3'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw4" value="<?php echo
unserialize($row['wednesday'])['periodw4'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw5" value="<?php echo
unserialize($row['wednesday'])['periodw5'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw6" value="<?php echo
unserialize($row['wednesday'])['periodw6'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw7" value="<?php echo
unserialize($row['wednesday'])['periodw7'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw8" value="<?php echo
unserialize($row['wednesday'])['periodw8'];?>" class="form-control">
</div>
</div>

<div class="row" style="margin-top:10px;">


<div class="col-md-1 col-md-offset-2">
Thursday
</div>
<div class="col-md-1">
<input type="text" name="periodth1" value="<?php echo unserialize($row['thursday'])
['periodth1'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth2" value="<?php echo unserialize($row['thursday'])
['periodth2'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth3" value="<?php echo unserialize($row['thursday'])
['periodth3'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth4" value="<?php echo unserialize($row['thursday'])
['periodth4'];?>" class="form-control">
</div>
<div class="col-md-1">

48
<input type="text" name="periodth5"value="<?php echo unserialize($row['thursday'])
['periodth5'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth6" value="<?php echo unserialize($row['thursday'])
['periodth6'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth7"value="<?php echo unserialize($row['thursday'])
['periodth7'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth8"value="<?php echo unserialize($row['thursday'])
['periodth8'];?>" class="form-control">
</div>
</div>

<div class="row" style="margin-top:10px;">


<div class="col-md-1 col-md-offset-2">
Friday</div>
<div class="col-md-1">
<input type="text" name="periodf1" value="<?php echo unserialize($row['friday'])
['periodf1'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf2" value="<?php echo unserialize($row['friday'])
['periodf2'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf3" value="<?php echo unserialize($row['friday'])
['periodf3'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf4"value="<?php echo unserialize($row['friday'])
['periodf4'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf5" value="<?php echo unserialize($row['friday'])
['periodf5'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf6"value="<?php echo unserialize($row['friday'])
['periodf6'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf7" value="<?php echo unserialize($row['friday'])
['periodf7'];?>" class="form-control">
</div>
<div class="col-md-1">

49
<input type="text" name="periodf8" value="<?php echo unserialize($row['friday'])
['periodf8'];?>"class="form-control">
</div>
</div>

<div class="row text-center" style="margin-top:20px; margin-left:4em;">

<button type="submit" name="submitBtn" class="btn btn-success


btn-lg">Update</button>

</div>

</form>
</div>
</div>
</div>

<?php //} ?>


<?php } }else{
echo 'id not found';
}
}
?>
<?php include_once('include/footer.php');?>
<?php include_once('include/function.php');?>
<?php include_once('include/header.php');
include_once('include/db.php');
if(!isset($_SESSION['id'])){
header('location:index.php');
}
?>
<style>
.container,.row{
margin-top:17px;
}
.row{
background-color:white;

}
</style>

<div class="container text-center">

<div class="col-md-5 col-md-offset-3">


<div style="margin-top:8px;">

<form action="query.php" method="POST">

50
<div class="input-group">
<input type="text" name="search" class="form-control"
placeholder="Query By Department, Level">
<span class="input-group-btn">
<button class="btn btn-default" name="find"
type="submit">Go!</button>
</span>
</div>

</form>
</div>
</div>
</div>
<?php
if(isset($_POST['find'])){
$search = $_POST['search'];
$imploaded = array_pad(explode(',',$search),2,null);
$dept = strtolower(trim($imploaded[0]));
$level = strtolower(trim($imploaded[1]));

$select="SELECT * FROM tablereg WHERE dept = '$dept' AND level='$level' ";


$sel = mysql_query($select);
// $searchy = mysql_num_rows($sel);
if(mysql_num_rows($sel)>0){

while($row=mysql_fetch_assoc($sel)){

?>

<div class="container">
<div class="row">
<div class="col-md-12">
<form id="form" action="edit.php?tbId=<?php echo $row['id'];?>" method="post">

<div class="row">
<div class="col-md-2 col-md-offset-2 ">

<label for="" style="margin-top:20px;">Time Table Code</label>


<input type="text" name="dept" class="form-control" value="<?php echo
$row['timeTableId'];?>" disabled>
</div>
<div class="col-md-2">

<label for="" style="margin-top:20px;">Department</label>


<input type="text" name="dept" class="form-control" value="<?php echo $row['dept'];?
>">
</div>

<div class="col-md-2">

51
<label for="" style="margin-top:20px;">Level</label>
<select name="level" id="" class="form-control">>
<option value="<?php echo $row['level'];?>"><?php echo $row['level'];?></option>
<option value="Nd1">ND1</option>
<option value="Nd2">ND2</option>
<option value="HNd1">HND1</option>
<option value="HNd1">HND2</option>
</select>
</div>
<div class="col-md-2">

<label for="" style="margin-top:20px;">Session</label>


<input type="text" name="session" class="form-control" value="<?php echo
$row['session'];?>">
</div>
</div>

<div class="row" style="margin-top:20px;">


<div class="col-md-1 col-md-offset-2">
Day/Time </div>
<div class="col-md-1">
8-9 </div>
<div class="col-md-1">
9-10 </div>
<div class="col-md-1">
10-11
</div>
<div class="col-md-1">
11-12
</div>
<div class="col-md-1">
12-1
</div>
<div class="col-md-1">
1-2
</div>
<div class="col-md-1">
2-3
</div>
<div class="col-md-1">
3-4
</div>
</div>

<div class="row">
<div class="col-md-1 col-md-offset-2">
Monday
</div>
<div class="col-md-1">

52
<input type="text" name="periodm1" value="<?php echo unserialize($row['monday'])
['periodm1'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm2" value="<?php echo unserialize($row['monday'])
['periodm2'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm3" value="<?php echo unserialize($row['monday'])
['periodm3'];?>"class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm4"value="<?php echo unserialize($row['monday'])
['periodm4'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm5" value="<?php echo unserialize($row['monday'])
['periodm5'];?>"class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm6"value="<?php echo unserialize($row['monday'])
['periodm6'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm7" value="<?php echo unserialize($row['monday'])
['periodm7'];?>"class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodm8" value="<?php echo unserialize($row['monday'])
['periodm8'];?>" class="form-control">
</div>
</div>

<div class="row" style="margin-top:10px;">


<div class="col-md-1 col-md-offset-2">
Tuesday
</div>
<div class="col-md-1">
<input type="text" name="periodt1" value="<?php echo unserialize($row['tuesday'])
['periodt1'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt2"value="<?php echo unserialize($row['tuesday'])
['periodt2'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt3" value="<?php echo unserialize($row['tuesday'])
['periodt3'];?>" class="form-control">
</div>

53
<div class="col-md-1">
<input type="text" name="periodt4" value="<?php echo unserialize($row['tuesday'])
['periodt4'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt5"value="<?php echo unserialize($row['tuesday'])
['periodt5'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt6" value="<?php echo unserialize($row['tuesday'])
['periodt6'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt7" value="<?php echo unserialize($row['tuesday'])
['periodt7'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodt8" value="<?php echo unserialize($row['tuesday'])
['periodt8'];?>" class="form-control">
</div>
</div>

<div class="row" style="margin-top:10px;">


<div class="col-md-1 col-md-offset-2">
Wednesday</div>
<div class="col-md-1">
<input type="text" name="periodw1" value="<?php echo unserialize($row['wednesday'])
['periodw1'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw2"value="<?php echo unserialize($row['wednesday'])
['periodw2'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw3"value="<?php echo unserialize($row['wednesday'])
['periodw3'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw4" value="<?php echo
unserialize($row['wednesday'])['periodw4'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw5" value="<?php echo
unserialize($row['wednesday'])['periodw5'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw6" value="<?php echo
unserialize($row['wednesday'])['periodw6'];?>" class="form-control">
</div>

54
<div class="col-md-1">
<input type="text" name="periodw7" value="<?php echo
unserialize($row['wednesday'])['periodw7'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodw8" value="<?php echo
unserialize($row['wednesday'])['periodw8'];?>" class="form-control">
</div>
</div>

<div class="row" style="margin-top:10px;">


<div class="col-md-1 col-md-offset-2">
Thursday
</div>
<div class="col-md-1">
<input type="text" name="periodth1" value="<?php echo unserialize($row['thursday'])
['periodth1'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth2" value="<?php echo unserialize($row['thursday'])
['periodth2'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth3" value="<?php echo unserialize($row['thursday'])
['periodth3'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth4" value="<?php echo unserialize($row['thursday'])
['periodth4'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth5"value="<?php echo unserialize($row['thursday'])
['periodth5'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth6" value="<?php echo unserialize($row['thursday'])
['periodth6'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth7"value="<?php echo unserialize($row['thursday'])
['periodth7'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodth8"value="<?php echo unserialize($row['thursday'])
['periodth8'];?>" class="form-control">
</div>
</div>

<div class="row" style="margin-top:10px;">


<div class="col-md-1 col-md-offset-2">

55
Friday</div>
<div class="col-md-1">
<input type="text" name="periodf1" value="<?php echo unserialize($row['friday'])
['periodf1'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf2" value="<?php echo unserialize($row['friday'])
['periodf2'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf3" value="<?php echo unserialize($row['friday'])
['periodf3'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf4"value="<?php echo unserialize($row['friday'])
['periodf4'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf5" value="<?php echo unserialize($row['friday'])
['periodf5'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf6"value="<?php echo unserialize($row['friday'])
['periodf6'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf7" value="<?php echo unserialize($row['friday'])
['periodf7'];?>" class="form-control">
</div>
<div class="col-md-1">
<input type="text" name="periodf8" value="<?php echo unserialize($row['friday'])
['periodf8'];?>"class="form-control">
</div>
</div>

<div class="row text-center" style="margin-top:20px; margin-left:4em;">

<button type="submit" name="submitBtn" class="btn btn-success


btn-lg">Update</button>
</div>

</form>
</div>
</div>
</div>

<?php } ?>

56
<?php }else{
echo '<h3 style="text-align:center;color:red;">Wrong Search</h3>';

}
}
?>

<?php include_once('include/footer.php');?>

APPENDIX B
OUTPUT LAYOUT

57
Appendix B.4.1: Login Screen

58
Appendix B.4.2: Student Registration

59
Appendix B.4.3: Update Student Information

60
Appendix B.4.4: Database Records

61
ABSTRACT

This research work focused on online student record system using Akwa
Ibom State Polytechnic, as a case study. The research work was necessary
because of the existing problems which include: absence of a web based
student information system that facilitates the capturing, storage and
retrieval of relevant information pertaining to its students, the traditional
flat file organization is still in use and it is inefficient as it takes time to
locate any needed file. The problem is worse if the information needed was
recorded years back. The objectives of the study include: to implement a
system that aid easy uploading of student information, to develop a system
that will aid easy verification of student information and to design a system
that facilitates easy updating of student information. The significance of the
study is that it will provide the management of the institution with a web-
based system that can complement the manual system of managing student
information, and it will provide an effective means to capture, store update
and retrieve student information online. The software development
methodology used is Object Oriented Analysis and Design Methodology
(OOADM) and the programming language used is PHP (pHp Hypertext Pre-
processor). It was concluded that a web based student information
management system is a very important system that will enable management
of the institution to organize student information for easy retrieval in no
time. It is expected that every institution should develop and make use of the
system to facilitate the student information operations of the institution, the
system can be used to verify the identity of every student and as such stands
as a tool to decipher impersonation. It is recommended that institutions
should implement a web based student information management system and
dependency on manual methods of recording should be abandoned or only
used for back up purpose.

62
TABLE OF CONTENTS
Title Page - - - - - - - - i
Certification- - - - - - - - - ii
Approval - - - - - - - - - iii
Dedication - - - - - - - - iv
Acknowledgment - - - - - - - - v
Abstract - - - - - - - - vi
Table of Contents - - - - - - - - vii-ix
List of Tables - - - - - - - - x
List of Figures - - - - - - - - xi

CHAPTER ONE: INTRODUCTION


1.0 Introduction - - - - - - - 1
1.1 Background of the Study - - - - - - 1-3
1.2 Statement of Problem - - - - - 3
1.3 Aim and Objectives of the Study - - - 3-4
1.4 Significance of the Study - - - - - - 4
1.5 Scope of the Study - - - - - - - 4
1.6 Organization of the Research - -- - - - 4-5
CHAPTER TWO: LITERATURE REVIEW
2.0 Introduction - - - - - - - 6
2.1 Theoretical Background - - - - - - 6-9
2.2 The Concept of Information Systems - - - - 9-10
2.2.1 Types of Information System - - - - - 11
2.3 Advantages of Information System - - - - 12
2.4 Online Students Information Management System - 12-14

63
CHAPTER THREE: SYSTEM ANALYSIS AND DESIGN
3.0Introduction - - - - - - - 15
3.1 Research Methodology - - - - - 15
3.2 Analysis of the Existing System - - - - 15
3.2.1 Disadvantages of the Existing System - - - 16
3.3 Analysis of the Proposed System - - - - 16-17
3.2.3.1 Advantages of the Proposed system - - - 17
3.4 System Design - - - - - - - 17
3.4.1 Input layout - - - - - - - 18
3.4.2 Output Layout - - 19
3.4.3 Algorithm - - 19-20
3.4.4 Program Flowchart - - 20-24
3.4.5 Database Design - - - - - 25

3.4.6 System Architecture - - - - - 25

3.4.7 Use Case Diagram - - - - - - - 26

CHAPTER FOUR: SYSTEM IMPLEMENTATION AND


DOCUMENTATION
4.0 Introduction - - - - - - 27
4.1 System Design Diagram - - - - - 27
4.2 Analysis of Modules - - - - 27
4.2 Choice of Programming Language - - 28
4.4 Programming Environment - - - - 28
4.4.1 Hardware Requirements - - - - - 28-29
4.4.2 Software Requirements - - - - - 29
4.5 System Implementation - - - - - 29-30

64
CHAPTER FIVE: SUMMARY, CONCLUSION AND
RECOMMENDATIONS
5.0 Introduction - - - - - - - - 31
5.1 Constraints of the Study - - - - - - 31
5.2 Summary - - - - - 31
5.3 Conclusion - - - - - - 32
5.4 Recommendations - - - - - - 32
References - - - - - - 33
Appendix A (Source Code)- - - - - - 34-58
Appendix B (Output) - - - 59-62

65
LIST OF TABLES
Page Number
Table 3.1: Output Layout - - - - - - 19
Table 3.2: Database design - - - - - 25

66
LIST OF FIGURES

Page Number

Figure 2.1: Login page - - - - - - 9

Figure 3.1: Input Layout - - - - - - 18

Figure 3.2: Login flowchart - - - - - 20

Figure 3.3: Main Menu Flowchart - - - - 21

Figure 3.4: Registration Flowchart - - - 22

Figure 3.5:Update flowchart - - - - - 23

Figure 3.6: Database Records flowchart - - - 25

Figure 3.7: Architecture of the System- - - - 25

Figure 3.8: Use case diagram - - - - - 26

Figure 4.1: System Design Diagram - - - - 27

67
68

You might also like