SlideShare a Scribd company logo
1
DEVELOPMENT OF AN ONLINE GUIDANCE AND COUNSELLING
USING CHAT PLATFORM
OLALERE ABAYOMI OLANIYI
(11/52HA102)
A PROJECT SUBMITTED
TO THE
DEPARTMENT OF COMPUTER SCIENCE
FACULTY OF COMMUNICATION AND INFORMATION SCIENCES
UNIVERSITY OF ILORIN, ILORIN,
NIGERIA.
IN PARTIAL FUFILMENT OF THE REQUIREMENTS FOR THE AWARD OF
BACHELOR OF SCIENCE (B. Sc). DEGREE IN COMPUTER SCIENCE.
JUNE, 2014
2
CERTIFICATION
I certify that this project work was duly carried out by OLALERE, ABAYOMI
OLANIYI with Matriculation Number 11/52HA102 as my final year project during
2013/2014 session in the Department of Computer Science, Faculty of Communication
and Information Sciences, University of Ilorin, Ilorin Nigeria.
Dr. (Mrs) O.C. Abikoye Date
(Supervisor)
Dr. R.G. Jimoh Date
(Head Of Department)
(External Examiner) Date
3
DEDICATION
This project is dedicated to the omniscience, the Almighty God, my light and salvation. I
return all glory back to you lord.
4
ACKNOWLEDGEMENT
All glory goes to God, the Almighty for granting me success towards the
completion of this project work
Special thanks to my loving parents Mr. & Mrs. Olalere who have labored so
much that I may be what I am today; it’s my prayer that they live long to eat the fruit of
their labor. I also want to thank my siblings; Akeem, Muhammed, Olumide, Titi,
Tarpilar, Femi, Lekan, David, Dunsin, Paul, for their moral support.
Special thanks also goes to my Supervisor; Dr.(Mrs) O.C. Abikoye for her
patience and restless effort towards the correction and final completion of this project
work. Thank you ma for providing necessary materials to carry out the work.
I appreciate all lecturers and non teaching staff who have impacted my life in one
way or the other; be it morally, spiritually or academically. I cannot forget your impact. It
is a seed sown into a fertile land.
To my co- project mates under the supervision of Dr.(Mrs) O.C. Abikoye, thank
you so much for your support and encouragement. I love you all.
5
TABLE OF CONTENTS
Contents i
Title page ii
Certificate iii
Dedication iv
Acknowledgements v
Table of Contents vi
List of Figures vii
List of Tables ix
Abstract x
CHAPTER ONE: INTRODUCTION
1.1 Background of the study 7
1.2 Statement of problem 8
1.3 Aim and Objective 8
1.4 Overview of the Method 8
1.5 Significant of the Study 8
1.6 Scope and Limitation of the Study 9
1.7 Definition of Terms 9
1.8 Organization of the report 10
6
CHAPTER TWO: LITERATURE REVIEW
2.1 Guidance and Counselling 11
2.2 Historical Background 12
2.3 Need for Counselling 12
2.4 Types of Guidance and Counseling 13
2.5 Characteristics of a good Counselor 13
CHAPTER THREE: SYSTEM ANALYSIS
3.1 Analysis of the existing system 14
3.2 Description of the proposed system 15
3.3 Software Development Methodology 16
3.4 The System Design 18
3.5 Use Case Diagram 19
3.6 Input Design 21
3.7 Output Design 30
3.8 Database Design 34
3.9 Procedural Design 39
3.10 System Flowchart 40
CHAPTER FOUR: SYSTEM IMPLEMENTATION
4.1 Choice of Programming Language 42
4.2 System Requirement 42
7
4.3 Implementation techniques 43
4.4 Documentation 43
CHAPTER FIVE: SUMMARY, CONCLUSION AND RECOMMENDATION
5.1 Summary 44
5.2 Conclusion 44
5.3 Recommendation 44
8
ABSTRACT
The proposed project covers the online guidance and counseling centre for
the student of the University of Ilorin. It was developed with the intention of
using electronic means to counsel students who needs to be guided in every area.
The counseling site is also to enable students interact with counselor using Chat
Online counseling has been described as an emerging trend and anytime,
anyplace activity that is supported by portable technology. Time constraints and
geographical barriers are removed with online counseling. Counseling involves a
series of skills and strategies along with a therapeutic approach. Self disclosure is
sometimes used in order to help build and deepen the therapeutic relationship. It
focuses on self-disclosure as a useful strategy for sharing information with others
in a web mediated context.
9
CHAPTER ONE
INTRODUCTION
1.1 BACKGROUND OF THE STUDY
Guidance counselling is the process of helping individuals discover and develop
their educational, vocational, and psychological potentialities and thereby to achieve an
optimal level of personal happiness and social usefulness. Students often find themselves
caught up in an unprecedented amount of problems in their daily lives be it educational in
nature or not, these problems are vast and have roots in an un-imaginable array of topics.
Unspoken dilemmas especially amongst the youth often fester in the minds of their hosts
poisoning the very core of their person and thus leading them to partake in socially
unacceptable manners. People suffering from mental distress of any kind no matter how
minute it is, is expected to talk to someone about their problems which is arguably the
most effective means of problem solving.It is for this reason, for students to have a
listening and professional ear to adhere to their many troubles that every school is
required to have a fully staffed and operational guidance and counselling unit however
despite the gross importance of the department; it still faces a large setback concerning its
clientele. Seeing as the entire population of clients the guidance and counselling unit
caters to are students, most of them in their youth it therefore faces the major problem of
diminishing and unwilling clientele.
The major problem with the youth in accordance to seeing a professional is the
10
fact that visiting a therapist/or is stigmatized as being un-cool and shameful especially in
developing nations like Nigeria where visiting a therapist or any mental health official is
akin to admitting weakness and/or insanity. Students are also very intimidated by the ors
when placed in a one-on-one face to face interaction with a member of the school staff.
The students’ unwillingness to see a professional then leaves them no option but to relay
their problems to their most likely equally incompetent friends who then proceed to offer
up wrong and sometimes potentially harmful advice. In some cases these students would
even bypass their peers and narrate their dilemmas on social network sites which to them
may seem like a good way to acquire a diverse and large number of input or simply a way
to earn sympathy, what they however tend to neglect is the fact that not everyone is a
helpful friend and some of those reading such posts will see it as an opportunity to prey
on the student's weakness. The most common and arguably the most dangerous manner
in which students deal with their problems however is keeping silent about it, once they
internalize these problems they would most likely increase in severity as the student
would seek unhealthy and dangerous acts in order to block out the mental distress he or
she is feeling. Such acts include drinking and the use of other narcotic and intoxicating
substances, joining of violent and illegal cults, bullying their peers and contemplation of
self mutilation. A guidance and counselor therefore serves as a life coach steering the
lives of their clientele in the right direction in the hopes of bringing out the best in each
client.
11
1.2 STATEMENT OF PROBLEM
Facial communications breeds confidence as well as intimidation and
stigmatization. Some students/clients prefer online or ‘blind counselling’ also known as
anonymous to face-to-face communication. In the light of this, it is of utmost importance
to consider the disadvantages of using manual counselling which are: real-time
accessibility, inconvenience, social stigmatization and breach of trust (security).
(Dunaway, M. O 2000)
1.3 AIMS AND OBJECTIVES
The aim of this project is to develop an online guidance and counselling using
chat platform for University of Ilorin.
The objectives of this work are to:
1. Make student understand the concept of online counseling? provide professional
counselling services to all students in need of it at the time in which they need it
2. Eliminate the intimidation of students brought on by face-to-face interactions
with a person of authority
3. Establish a non-location biased platform for consultation by student
4. Aid the counselors in keeping track of each student and their problem
12
1.5 SIGNIFICANCE OF THE STUDY
Guidance and counselling is a very important program in our schools. It is the
process by which students are given advice on how to deal with emotional conflicts and
personal problems both in school and how to incorporate the same in their daily life.
Some sessions involve career guidance where students are advised on which courses to
do and which jobs to expect when one does a particular course.
Students are given solutions on how to deal with psychological problems which
might affect their studies. Through this, the students are able to develop a problem
solving skill which to an extent helps them deal with particular issues surrounding their
lives. It helps to shape a student's behavior and instil discipline in students. Students who
are guided and counseled in a right way tend to know what to do and how to do such
things.
1.6 SCOPE AND LIMITATION OF THE STUDY
The project work was developed with the intention of using electronic means to
counsel student who needs to be guided in every area.
The basic limitations of the project are; Due to time constraints we are unable to
book appointment with the counselor and the forms of interacting with the students which
are audio were unable to be included.
13
1.7 DEFINITION OF TERMS
Guidance counselling, by name counselling and guidance, the process of
helping individuals discover and develop their educational, vocational, and psychological
potentialities and thereby to achieve an optimal level of personal happiness and social
usefulness.
Audio refers to the sound system that comes with or can be added to a computer.
Chat can be defined as the set of peer –to-peer communications tools on the internet.
Check-up is to investigate or make inquiry into a person’s character, evidence when
suspicions aroused.
Online is the condition of being connected to a network of computers or other devices.
Bio data refers to factual kinds of questions about work experience and life, as well as
items involving attitudes, opinions, beliefs and values that reflect a historical perspective.
Internet is a means of connecting a computer to any other computer anywhere in the
world via dedicated router and serves.
Platform consists of an operating system, the computer systems coordinating program,
which in turn is built on the instruction set for a processor, the hardware that performs
logic operations and manages data movement in computer.
Technology is the making, modification, usage and knowledge of tools, machines,
techniques and methods of organization, in order to solve a problem, improve a pre-
existing solution to a problem, achieve a goal, handle an applied input/output relation or
14
perform a specific function.
A File can be defined as a collection of letters, numbers and special characters: it may be
a program, a database, a dissertation, a reading list or a simple letter.
1.8 ORGANIZATION OF THE REPORT
Chapter One serves as general introduction to the study.
Chapter Two present a review of related literature.
Chapter Three consist of the analysis of the existing system.
Chapter Four deals with implementation of the new system.
Chapter Five talks about summary, conclusion and recommendation
15
CHAPTER TWO
LITERATURE REVIEW
2.1 GUIDANCE AND COUNSELING
Counselling is the service offered to the individual who is undergoing a problem
and needs professional help to overcome it. The Internet has become the main
“Information and data provider since its appearance at the end of the 20th century”
(Özad and Kutoğlu, 2010, p.245) Psychological helping vocations have lots of duties
because problems which are related to human beings increase and change ways. These
helping vocations come across with several developments day by day. These vocations
do not only take role in problem areas but they also have to provide supports. In field of
health, industry, and education, people need to show themselves how to be successful in
their jobs, In this situation psychological counselling starts to serve different areas and
in different ways (Cezmi, 2006).
Today computer has become an indispensable part of our daily lives with help of
the fast developing technology. In 2002, more than 600 million people used the Internet.
Therefore, more than half of the population of America have used the Internet (Nua
Internet Surveys, 2002). The numbers of the Internet users is rising on a daily basis
most of the users being young. In schools, expert psychological counselors provide
services in the field of psychological counselling and guidance. For providing
psychological counselling and guidance services, the help of an administration and a
teacher has a big contribution and it is not possible to provide service without the help
16
of administration and teachers. When mothers and fathers join the process, the
improvement of students can reach optimum level (Kuzgun, 1992, p.31). Today,
technology is used in each place of education from black board to book, and from
projector to computers. Every new technology has impact on class, in other words each
brand-new technology causes changes in education. “Technology is also not a collection
of machines and devices, but a way of acting. In addition, technology refers to
modernity. In other words, technology offers people more opportunities to upgrade all
kinds of their life style” ( İşman, 2003, p.28), “With the developments of high
technology and globalization, social, cultural and educational aspects of life become
different and get better in terms of time space and communication” (İşman.et.al.,2004,
p.55).
2.2 HISTORICAL BACKGROUND OF UNIVERSITY OF ILORIN GUIDANCE
AND COUNSELING CENTRE
The University of Ilorin guidance and counselling was established by the Senate
of the University on 8th
September, 2010. The Centre was established to provide a wide
range of guidance and counseling services to the members of the University of Ilorin
community, particularly students and staff of the University. The Centre was designed to
assist in addressing academics, career, social, physical and spiritual challenges. This
could interfere with personal development of members of the University community.
GUIDANCE AND COUNSELING UNIT offers a variety of services with the goal of
resolving clients’’ difficulties as well as nurturing personal and collective growth. The
17
services provided at the centre are delivered through individual counseling, group
counseling, seminar presentation, workshop, and Unilorin 89.3 FM Radio. The focus of
the Centre is to promote human development through self-accomplishment.
2.3 NEED FOR COUNSELLING
Counselling is an integral part of an over-all programme of guidance.
“Counselling is a specific process of assistance extended by an expert in an individual
situation to a needy person”. This means the counselling situation arises when a needy
person is face to face with and expert who makes available his assistance to the needy
individual to fulfill his needs. There is an urgent need of introducing and strengthening
the counselling service in the schools and colleges of our country to meet the various
needs of the students administrational and the educational system.
1.To help in the total development of the student: Along with the intellectual
development proper motivation and clarification of goals and ideas to pupils in
conformity with their basic potentialities and social tendencies are important total
development of the student nauseates that individual differences among them are
expected, accepted, understood and planned for and all types of experiences in an
institution are to be so organized as to contribute to the total development of the
student.
2. To help in the proper choices of courses.
3. To help in the students in vocational development.
18
4. To develop readiness for choices and changes to face new challenges.
5. To minimize the mismatching between education and employment and help in
the efficient use of manpower.
6. To motivate the youth for self employment.
7. To help fresher’s establish proper identity.
8. To identify and motivate the students form weaker sections of society.
9. To help the students in their period of turmoil and confusion.
10. To identity and help students in need of special help.
11. There are such students as the gifted, the backward the handicapped who need
special opportunities. They need special attention and opportunities.
12. To ensure the proper utilization of time spent outside the classrooms.
13. To minimize the incidence of indiscipline.
2.4 TYPES OF GUIDANCE AND COUNSELING
1. Marriage and family counseling
2. Guidance and carrier counseling
3. Rehabilitation counseling
4. Mental health counseling
19
5. Substance abuse counseling
6. Educational counseling
2.5 CHARACTERISTICS OF A GOOD COUNSELOR
A good counselor must possess the following characteristics:
1. He or She must be patience
2. He or She must be a good listener
3. He or She must be Compassionate
4. He or She must be non-judgmental
5. He or She must be Research-oriented
6. He or She must have the ability to understand and share the feelings of others.
7. He or She must be Discrete and Encouraging
20
CHAPTER THREE
SYSTEM ANALYSIS AND DESIGN
3.1 ANALYSIS OF THE EXISTING SYSTEM
As of today the guidance and counselling unit in the University of Ilorin is
operated in a fully manual counselling arena. There are four counselors and one director
each counselor has his/her area of counselling expertise but can still handles other areas
as they are trained diversely. When students wish to see a counselor they will be given a
biodata form to fill which contain the important details of the student then counselors
may later refer to in their diagnosis, the biodata form contains information such as
student name, sex, age, level etc. Depending on whether or not there is a student in the
counselor’s office the prospective client will either wait or go into the office to see the
counselor who will then proceed with their session or make an appointment for another
day. Each student who has visited the office has a file containing the bio data form of
every visit, everything discussed in the office is under the ors oath of confidentiality.
Once the session is complete it is then the ors’ duty to carry out a check-up on the student
to make sure he or she is doing better and to set up more appointments when necessary.
The current state deals with the manual method of carrying out guidance and counselling.
When a student’s comes to the unit for consultation, a file is then opened for them in
which all the information needed about the student is collected and kept together. This
kind of registration is the manual system, which is very vulnerable to record mix up, lack
of secrecy and privacy of records. The consult get tired easily most especially when there
21
are many students to be attended to in a day. In the middle of more than 100 file a single
student file is always difficult to locate and because of this reason, another method of
registration is proposed which is the application computer.
3.1.1 Problems of the existing system
In the existing system of the guidance and counseling unit system at the
University of Ilorin, the following problems are often encountered
1. Too Much of Paper Work: This existing system which is manual is based on
paper cards to collect blood donor data, keeping records of donors had many challenges
that is needed in based solution. This challenge extends to delay in accessing historical
record of an existing student when they are urgently needed.
2. Data Collection: This is one of the major problems of this system. Data are
collected manually which require the use of ink and paper for the collection of these data.
This process of data collection is not a good method of data collection. Data can get lost
during transit as result of moving papers from one office to another.
3. Insecurity: Many student feel shy and don’t want to discuss there personal
information with the counselor.
3.2 DESCRIPTION OF THE PROPOSED SYSTEM
The system will be a web based application that will fully automate the guidance
and counselling unit of the University of Ilorin. Each student will automatically have a
matriculation number based account to ensure that only students of the university would
be able to access the account. All students who wish to use the online guidance and
22
faculty services would be required to register by filling up a bio data form quite similar to
that which is given presently in the manual form. Upon completion of the form the
student would then indicate the nature of his/her duress from a given list of categories;
this would ensure that the or best suited for their needs is called to attend to the student.
The system will also be using chat and audio as a means of interacting with the student.
3.2.1 Advantages of the proposed system
On policy level, web-base career guidance service can make serious contribution
to national employment and social systems.
1. It can improve the access of citizens to career information, services and support
which are not available in range;
2. Reduce significantly the cost of provision, enabling targeted services and
information addressed to specific groups’ needs;
3. Online guidance multiplies the effect of career services for individuals.
4. Technology facilitates job exploration and information search activities;
5. The variety of career resources available online can complement the face-to face
guidance and enrich the portfolio of services, empowering individuals with bigger
autonomy– they can explore the resources in self-directed way, with the assistance of
career counselor, or in networking, depending on their learning preferences and capacity;
6. Vocational orientation and training are much more attractive and transparent with the
use of online media. People can see different occupations, find learning pathways and
understand how to validate the results of their prior experience;
23
7. Improved awareness on the labour market through links to current statistics, analysis,
job trends and employment opportunities;
8. Better match between individual talents and qualifications on the one hand and the
skills and qualifications demanded by employers, on the other.
9. Assist in reducing unemployment by promoting labour force activity, further training
and education and encouraging work mobility.
10. Help-lines, web forums and other online media are especially adequate for catering
young people – the so called virtual natives, who otherwise may be hard to reach within
traditional guidance provision.
11. Online guidance and resource can foster mobility and career management skills.
3.3 SOFTWARE ENGINEERING METHODOLOGY
To solve actual problems in an industry setting, a software engineer or a
team of engineers must incorporate a development strategy that encompasses the
process, methods, and tools layers and the generic phases of development. This
strategy is often referred to as a process model or a software engineering paradigm
(Rogers, 2001). A process model for software engineering is chosen based on the
nature of the project and application, the methods and tools to be used, and the
controls and deliverables that are required. The various process models are listed and
explained in the sections below.
24
i. THE LINEAR SEQUENTIAL MODEL
Sometimes called the classic life cycle or the waterfall model, the linear sequential
model suggests a systematic, sequential approach to software development that begins at
the system level and progresses through analysis, design, coding, testing, and support.
Linear sequence is used when the requirements are stable. Figure 3.4 illustrates the linear
sequential model for software engineering
Figure 3.1: Process of linear sequential Model
ii. THE PROTOTYPING MODEL
This model is often used when a customer defines a set of general objectives for software
but does not identify detailed input, processing, or output requirements. In other cases,
the developer may be unsure of the efficiency of an algorithm, the adaptability of an
operating system, or the form that human/machine interaction should take. In these, and
many other situations, a prototyping paradigm may offer the best approach. It is used
when the requirement is unclear to all. The prototyping paradigm (Figure 3.2) begins
with requirements gathering. Developer and customer meet and define the overall
objectives for the software, identify whatever requirements are known, and outline areas
where further definition is mandatory.
ANALYSIS DESIGN TEST
CODE
25
iii. THE RAD MODEL
Rapid application development (RAD) is an incremental software development process
model that emphasizes an extremely short development cycle. The RAD model is a
“high-speed” adaptation of the linear sequential model in which rapid development is
achieved by using component-based construction. If requirements are well understood
and project scope is constrained, the RAD process enables a development team to create
a “fully functional system” within very short time periods (e.g., 60 to 90 days)
iv. SPIRAL MODEL
The spiral model is an evolutionary software process model that couples the iterative
nature of prototyping with the controlled and systematic aspects of the linear sequential
model. It provides the potential for rapid development of incremental versions of the
software. Using the spiral model, software is developed in a series of incremental
releases. During early iterations, the incremental release might be a paper model or
prototype. During later iterations, increasingly more complete versions of the engineered
system are produced.
3.3.2 THE MODEL IMPLEMENTED
The software engineering methodology used in this project is the linear sequential
model. The reasons for using this model are stated below:
1.The requirement is stable i.e. the system inputs (the waiting time) and the output (time
26
to allocate) is known.
2. The software for this project is not large.
3. The software does not require parallel development in which it will be broken down
into modules and given to different programmers to develop.
3.4 THE SYSTEM DESIGN
Software design sits at the technical kernel of the software engineering process and is
applied regardless of the development paradigm and area of application. Design is the
first step in the development phase for any engineered product or system. The designer’s
goal is to produce a model or representation of an entity that will later be built.
Beginning, once system requirement have been specified and analyzed, system design is
the first of the three technical activities -design, code and test that is required to build and
verify software. The importance can be stated with a single word “Quality”. Design is the
place where quality is fostered in software development. Design provides us with
representations of software that can assess for quality. Design is the only way that we can
accurately translate a employee’s view into a finished software product or system.
Software design serves as a foundation for all the software engineering steps that follow.
Without a strong design we risk building an unstable system – one that will be difficult to
test, one whose quality cannot be assessed until the last stage. During design, progressive
refinement of data structure, program structure, and procedural details are developed
reviewed and documented. System design can be viewed from either technical or project
management perspective. From the technical point of view, design is comprised of four
27
activities – architectural design, data structure design, interface design and procedural
design.
28
3.5 USE CASE DIAGRAM
3.5.1 Use Case Diagram for User
Figure 3.2: User use case diagram
student
or
Client
home page
Login and
Register
Book Appointment
Update data
Chat with
counsellor
Drop comment
For counselor
29
3.5.2 Use case for Admin
Figure 3.3: Admin Use Case Diagram
Login/Logout
Registered Member
Enter Chat
Reply comment
Create New Counsellor
Administrator
Book Appointment
30
3.6 INPUT DESIGN
This section describes various inputs that are needed for the output of the new
system to the user. The report of the student is specified. These reports are made of
characters which can either be numeric, alphanumeric and alphabetic.
New User Registration Form
Figure 3.4: New User Registration Form
31
Existing User Login
Figure 3.5: Existing User Login
32
Comment Page
Figure 3.6: Comment Page
33
Updating Page
Figure 3.7: Updating Page
34
Chat Page
Figure 3.8: Chat Page
35
Appointment Page
Figure 3.9: Appointment Page
36
Appointment Time and Date Page
Figure 3.10: Appointment Page and Date Page
37
Registered Admin Page
Figure 3.11: Registered Admin Page
38
Admin Login Page
Figure 3.12: Admin Login Page
39
3.7 OUTPUT DESIGN
The output is design to generate details of employee information and data, the
authorize user must login to the system by making use of the authenticated staff id and
password before getting to the welcome page below.
Home Page
Figure 3.13: Home Page
40
About Us Page
Figure 3.14: About Us page
41
Logout Page
Figure 3.15: Logout Page
42
Appointment Booking Page
Figure 3.16: Appointment Booking Page
3.8 DATABASE DESIGN
Database specification
This section describes the input and output requirement for the system to be develop.
This specification involves the creation of the files in which the various variables or field
name to be used as specified together with their types and the specifications. The input in
this project is of three file which are; user registration and admin registration.
Database Use
Microsoft server 2012 was use to design the database for online guidance and
counselling. The online counselling contains seven tables.
43
1. Appointment Table: contains basic administrator information.
Figure 3.17: Appointment Table
44
3 Comment Table:
Figure 3.18: Comment Table
45
4 Login_admin Table:
Figure 3.19: Login_Admin Table
46
5. .Register Table:
Figure 3.20: Register Table
5 Register s
6
7
Figure 3.20: Register Table
47
6. Registered staff table:
Figure 3.21: Registered Staff Table
48
7. Student User Table:
Figure 3.22: Student User Table
49
8 User Table:
Figure 3.23: User Table
3.9 PROCEDURE DESIGN
The structure of new system is such that provides different menu for easy accessibility
and manipulation of records. The main menu modules are described as follows.
1. USER REGISTRATION: This is the first module in the main menu. The module
takes care of student registration from which consists of student names, matric no,
sex, phone number and so on;
2. ADMIN REGISTRATION: This is the second module in the main menu. This
module takes care of the Admin registration which consists of username and
password;
50
3.10 SYSTEM FLOWCHART
A flowchart is a type of diagram that represents an algorithm, workflow or process,
showing the steps as boxes of various kinds and their order of connecting them with the
arrows.
51
USER FLOW CHART
NO
Figure 3.24: User Flowchart
Drop
comment
Booking
appointme
nt
Updating
details
Chatting with
counselor
Close
Close
Close
End
Get menu for booking,
updating, chatting and
comments
Menu
Start
User valid?
Load page
Main page
52
ADMIN FLOW CHART
Figure 3.25: Admin Flowchart
Menu
Enter Chat
Appointment Register Reply
comment
Create
new
close
ccloseClo
se
End
Start
Admin valid?
Load page
Main page
Get menu for Appointment,
Register, chat, Reply, and Create
53
CHAPTER FOUR
SYSTEM IMPLEMENTATION
4.1 CHOICE OF PROGRAMMING LANGUAGE
PHP and MYSQL is used in designing this project, the reason for using PHP is because
of its efficiency and features it possesses compare to any other programming language.
PHP which is a scripting language is used for the web pages while MYSQL is used for
Database.PHP was mainly used in implementing the project because;
1.It is free open source software with license.
2. It is easy to learn and use compared to other programming languages.
3. It is very good for developing web pages especially dynamic web
4. It is very fast in execution.
MYSQL was also used due to the following reasons
1.It is also open source.
2. Common and generally accepted.
This process will make use of a web based series of forms that when completed, the
person in need of professional counselling would be able to identify the nature of their
challenge appropriately. This form will enable the person give an overview of what is
bothering them. There would be a secure system where only current students of the
university would be able to have access. This is going to be done by the students creating
and then registering their accounts with the use of their personal matriculation.
54
4.2 SYSTEM REQUIREMENT
4.2.1 HARDWARE SUPPORT
Hardware: The new system will require the following hardware tool and configurations.
1. Pentium iii central processing unit
2.Minimum of 10GB of Hard-disk
3. 256 Memory (RAM)
4.2.2 SOFTWARE SUPPORT
Software: The software requirement includes the following:
1.Window 7/8 or higher versions
2.Microsoft Essential (Anti- Virus program)
3.Microsoft SQL server 2012
4.Local server
4.3 IMPLEMENTATION TECHNIQUE
This section describes how the new system will is implemented for effective
operation. Two features are mainly required, this features include the hardware and
software unit. The system implementation of the new system is parallel i.e. both the
existing and new system will be used concurrently before it finally has good stand in the
system. This is used because having jumped out to new system directly with existing
system completely out can cause breakdown to every record already taken during the
cause of using the new system alone if there is any problem in the program maintenance.
55
4.4 DOCUMENTATION OF THE SYSTEM
4.4.1 SYSTEM DOCUMENTATION
In order to use the proposed application on any computer system, the following
steps need to be taken
1.Boot the system
2.Install wamp server on the system ( wamp server is a local server that enables one to
view the site the way it has been designed)
3.After successful installation you will have a folder with the name wamp in the local or
hard disk
4.Copy the folder to www inside wamp folder
5.Open any browser on the system example opera, Mozilla firebox, Microsoft internet
explorer
6. Type http://localhost/counsell/home.php on the address bar and press the enter key
56
CHAPTER FIVE
SUMMARYCONCLUSION AND RECOMMENDATIONS
5.1 SUMMARY
This project work titled“Development of An Online Guidance and Counseling
using Chat Platform” Aimed at developing a web based system that will enable
Counselor to counsel student online. This work examined the challenges and short
coming of the existing system for counseling and also provides a suitable solutions, it
also highlighted the advantages and benefits of using the proposed system for counseling.
5.2 CONCLUSION
There have been many advances and influences on the field of counseling.
However, the introduction of technology, particularly emerging forms, appears to be
leaving a lasting impression on how counselors conduct their work online. It is clear that
students in the university are using the internet with increasing frequency, many with the
goal of seeking mental health help or information.
It is advises that counselors stay abreast of the rapidly changing world of
technology, particularly as it influences their work. They recommend participating in
ongoing technological training, staying familiar with online resources, and being aware
of the refinement of guidelines for internet use in counseling.
It is believe that there are many benefits to both the counselor and the
client/student when technology is introduced, but that both should be aware of practices
that safeguard confidentiality.
57
5.3 RECOMMENDATIONS
This project write-up is recommended for every university that is still makes use
of manual method for counselling and guidance of student.
The following recommendations are hereby made to any university that may wish
to make use of this project work for computerized process of counselling. They are as
follow:
1. For further research study students should be able to do video chat with the
counselor.
2. The form of interaction which is audio should be included for better and easy
communication.
58
REFRENCES
Britannica encyclopaedia(2013)
Fundamentals of Guidance and counselling- R. S.Sharma
Guidiance and counselling- A. K. Nayak
Özad,B. and Kutoğlu,Ü. (2010) The use Of the Internet in media education. The Turkish
Online Journal ofEducational Technology.
İşman, A.(2003) Technology. The Turkish Online Journal of Educational
Technology.2(1),28-33.
İşman.A. et.al (2004). The evaluation of students’ perceptions of distance education.
The Turkish Online
Journal of Educational Technology. 3(3), 55-61.
Kuzgun, Y. (1992). Rehberlik ve Psikolojik Danışma. ÖSYM Yayınları, Ankara, pp.37.
Nua İnternet Surveys, (2004). How many online? Retrieved from 4.10.2004,
http://www.nua.ie,
,B. and Kutoğlu,Ü. (2010) The use Of the Internet in media education. The Turkish
Online Journal of Educational Technology
59
APPENDIX
/* HOME PAGE*/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" src="javascript/jquery-1.3.js"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="menu_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(function() {
// create the image rotator
setInterval("rotateImages()", 2000);
});
function rotateImages() {
var oCurPhoto = $('#photoShow div.current');
var oNxtPhoto = oCurPhoto.next();
if (oNxtPhoto.length == 0)
oNxtPhoto = $('#photoShow div:first');
oCurPhoto.removeClass('current').addClass('previous');
60
oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 },
1000,
function() {
oCurPhoto.removeClass('previous');
});
}
</script>
<style type="text/css">
#photoShow {
height:270px;
width:900px;
}
#photoShow div {
position:absolute;
z-index: 0;
}
#photoShow div.previous {
z-index: 1;
}
#photoShow div.current {
z-index: 2;
}
</style>
61
</head>
<body>
<div id="container">
<div id="banner"></div>
<div id="marq">
<marquee>
Welcome to Guidance Counselling Unit
</marquee>
</div>
<div id="link" class="menu">
<ul>
<li><a href="index.php" id="current">Home</a></li>
<li><a href="about_us.php">About Us </a></li>
<li><a href="counselling_center.php">Counselling Center</a></li>
<li><a href="admin_log.php">Admin Login</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div id="image_slideshow">
<div id="photoShow">
<div class="current"> <img src="images/1.jpg" alt="Photo Gallery" width="900"
height="270" class="gallery" /></div>
62
<div> <img src="images/2.jpg" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
<div> <img src="images/3.jpg" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
<div> <img src="images/4.jpg" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
</div>
</div>
<div id="body">
<div id="body_left">
<div class="span_back"><center>Welcome to Guidance and counsellin
Centre</center></div>
As of today the guidance and counselling unit in the University of Ilorin is operated in a
fully manual counselling arena. There are four counsellors and one director each
counsellor has his/her area of counselling expertise but can still handles other areas as
they are trained diversely. There are two counselling offices.
When students wish to see a counsellor they will be given a biodata form to fill which
contain the important details of the student then counsellors may later refer to in their
diagnosis, the biodata form contains information such as
Depending on whether or not there is a student in the counsellor’s office the prospective
client will either wait or go into the office to see the counsellor who will then proceed
with their session or make an appointment for another day.
<hr />
<div class="span_back"><center>Welcome to Guidance and counsellin
Centre</center></div>
Each student who has visited the office has a file containing the bio data form of every
visit, everything discussed in the office is under the ors oath of confidentiality. Once the
63
session is complete it is then the ors’ duty to carry out a check-up on the student to make
sure he or she is doing better and to set up more appointments when necessary.
</div>
<div id="body_right">
<p>
<a href="register_users.php"> Meet with a Counsellor online by Registering Now(New
User)</a>
</p>
<p>
<a href="new_reg.php"> Meet with a Counsellor online by Loggin In(Existing User)</a>
</p>
<p><img src="images/images.jpg" width="259" height="195" /></p>
<p>Are u facing any challenges and you think you need counsel then<a
href="register_users.php"> register today</a></p>
<p><img src="images/images (4).jpg" width="400" height="120" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
</div>
<div id="footer"><center>2014 &copy; Copyright University of Ilorin(Guidance and
Counselling Unit)</center></div>
</div>
</body>
64
</html>
/* ABOUT US PAGE*/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" src="javascript/jquery-1.3.js"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="menu_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(function() {
// create the image rotator
setInterval("rotateImages()", 2000);
});
function rotateImages() {
var oCurPhoto = $('#photoShow div.current');
var oNxtPhoto = oCurPhoto.next();
65
if (oNxtPhoto.length == 0)
oNxtPhoto = $('#photoShow div:first');
oCurPhoto.removeClass('current').addClass('previous');
oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 },
1000,
function() {
oCurPhoto.removeClass('previous');
});
}
</script>
<style type="text/css">
#photoShow {
height:270px;
width:900px;
}
#photoShow div {
position:absolute;
z-index: 0;
}
#photoShow div.previous {
z-index: 1;
}
#photoShow div.current {
66
z-index: 2;
}
</style>
</head>
<body>
<div id="container">
<div id="banner"></div>
<div id="marq">
<marquee>
Welcome to Guidance Counselling Unit
</marquee>
</div>
<div id="link" class="menu">
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="about_us.php" id="current">About Us </a></li>
<li><a href="counselling_center.php">Counselling Center</a></li>
<li><a href="admin_log.php">Admin Login</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div id="image_slideshow">
67
<div id="photoShow">
<div class="current"> <img src="images/1.jpg" alt="Photo Gallery" width="900"
height="270" class="gallery" /></div>
<div> <img src="images/2.jpg" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
<div> <img src="images/3.jpg" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
<div> <img src="images/4.jpg" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
</div>
</div>
<div id="body">
<div id="body_left">
<div class="span_back"><center>About Guidance and counsellin
Centre</center></div>
Guidance counselling, by name counselling and guidance, the process of helping
individuals discover and develop their educational, vocational, and psychological
potentialities and thereby to achieve an optimal level of personal happiness and social
usefulness.
Students often find themselves caught up in an unprecedented amount of problems in
their daily lives be it educational in nature or not, these problems are vast and have roots
in an un-imaginable array of topics. Unspoken dilemmas especially amongst the youth
often fester in the minds of their hosts poisoning the very core of their person and thus
leading them to partake in socially unacceptable manners. People suffering from mental
distress of any kind no matter how minute it is, is expected to talk to someone about their
problems which is arguably the most effective means of problem solving.
<hr />
68
<div class="span_back"><center>About Guidance and counsellin
Centre</center></div>
. It is for this reason, for students to have a listening and professional ear to adhere to
their many troubles that every school is required to have a fully staffed and operational
guidance and counselling unit however despite the gross importance of the department; it
still faces a large setback concerning its clientele. Seeing as the entire population of
clients the guidance and counselling unit caters to are students, most of them in their
youth it therefore faces the major problem of diminishing and unwilling clientele.
</div>
<div id="body_right">
<p>
<a href="register_users.php"> Meet with a Counsellor online by Registering Now(New
User)</a>
</p>
<p>
<a href="new_reg.php"> Meet with a Counsellor online by Loggin In(Existing User)</a>
</p>
</div>
</div>
<div id="footer"><center>2014 &copy; Copyright University of Ilorin(Guidance and
Counselling Unit)</center></div>
</div>
</body>
</html>
<?php session_start(); ?>
69
<?php require_once("includes/connection.php"); ?>
<?php require_once("includes/functions.php"); ?>
/* ADMIN LOGIN*/
<?php
include_once("includes/form_functions.php")
?>
<?php find_selected_page(); ?>
<?php
include_once("includes/form_functions.php");
//start form processing
if(isset($_POST['submit'])){
$errors=array();
$required_fields=array('username','password');
70
$errors=array_merge($errors, check_required_fields($required_fields, $_POST));
$fields_with_lengths=array('username'=>30, 'password'=>30);
$errors=array_merge($errors, check_max_field_lengths($fields_with_lengths,$_POST));
$username=trim(mysql_prep($_POST['username']));
$password=trim(mysql_prep($_POST['password']));
$redirect = (isset($_REQUEST['redirect'])) ? $_REQUEST['redirect'] :
'adminpanel.php';
if(empty($errors)){
//check database to see if username and the hashed password exist there
$query = "select * ";
$query .= "from login_admin ";
$query .= "where username = '{$username}' ";
$query .= "and password = '{$password}'";
$result_set=mysql_query($query);
confirm_query($result_set);
if(mysql_num_rows($result_set)==1)
{
//username/password authenticated and only one match
$found_user=mysql_fetch_array($result_set);
$_SESSION['user_id']=$found_user['id'];
71
$_SESSION['username']=$found_user['username'];
$_SESSION['logged'] = 1;
{
header ('Refresh: 5; URL=' . $redirect);
echo ' <p> You will be redirected to your original page request. </p> ';
echo ' <p> If your browser doesn't redirect you properly
automatically, ' .
' <a href="' . $redirect . '"> click here </a> . </p> ';
die();
}
}
else{
$message='<strong style="color:red;">'.'Username/Password combination is
incorrect'.'</strong>';
}
}
else
{
if (count($errors)==1){
$message="There was 1 error in the form";
}else{ $message="There were"." ".count($errors)." "."errors in the form";
}
72
}
}
else
{
//form has not been submitted
$username="";
$password="";
$message="";
if(isset($_GET['logout']) && $_GET['logout']==1)
{
$message="<b><i>You are now logout</i></b>";
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" src="javascript/jquery-1.3.js"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="menu_style.css" rel="stylesheet" type="text/css" />
73
<script type="text/javascript">
$(function() {
// create the image rotator
setInterval("rotateImages()", 2000);
});
function rotateImages() {
var oCurPhoto = $('#photoShow div.current');
var oNxtPhoto = oCurPhoto.next();
if (oNxtPhoto.length == 0)
oNxtPhoto = $('#photoShow div:first');
oCurPhoto.removeClass('current').addClass('previous');
oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 },
1000,
function() {
oCurPhoto.removeClass('previous');
});
}
</script>
<style type="text/css">
#photoShow {
height:270px;
74
width:900px;
}
#photoShow div {
position:absolute;
z-index: 0;
}
#photoShow div.previous {
z-index: 1;
}
#photoShow div.current {
z-index: 2;
}
</style>
</head>
<body>
<div id="container">
<div id="banner"></div>
<div id="marq">
<marquee>
Welcome to Guidance Counselling Unit
</marquee>
75
</div>
<div id="link" class="menu">
<ul>
<li><a href="index.php" >Home</a></li>
<li><a href="about_us.php">About Us </a></li>
<li><a href="counselling_center.php">Counselling Center</a></li>
<li><a href="admin_log.php" id="current">Admin Login</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div id="image_slideshow">
<div id="photoShow">
<div class="current"> <img src="images/1.jpg" alt="Photo Gallery" width="900"
height="270" class="gallery" /></div>
<div> <img src="images/2.jpg" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
<div> <img src="images/3.jpg" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
<div> <img src="images/4.png" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
</div>
</div>
<div id="body">
<div id="body_left">
76
<center>
<fieldset style="height:200; width:300; border-color:#808080;" >
<legend class="legend"> Admin Login</legend>
<?php if(!empty($message));
{
echo '<strong style="color:red;">' .$message. '</strong>';
}
?>
<?php if(!empty($errors))
{display_errors($errors);} ?>
<form id="form1" name="form1" method="post" action="admin_log.php">
<table>
<tr>
<td><font color="#000000"face="Arial, Helvetica, sans-
serif">Username</font></td>
<td><label>
<input type="text" name="username" id="username" value="<?php echo
htmlentities($username); ?>"/>
</label>
</td>
77
</tr>
<tr>
<td><font color="#000000" face="Arial, Helvetica, sans-
serif">Password</font></td>
<td><span id="sprytextfield2">
<label>
<input type="password" name="password" id="password" value="<?php echo
htmlentities($password); ?>" />
</label>
</span></td>
<tr>
<td>
<label>
<input type="submit" name="submit" id="button" value="Login" />
</label>
<label>
<input type="submit" name="reset" id="button2" value="Discard" />
</label>
</td>
</tr>
</form>
</tr>
</table>
78
</fieldset>
</tr>
</div>
<div id="body_right">
<p>
<a href="register_users.php"> Meet with a Counsellor online by Registering Now(New
User)</a>
</p>
</div>
</div>
<div id="footer"><center>2014 &copy; Copyright University of Ilorin(Guidance and
Counselling Unit)</center></div>
</div>
</body></html>
/* ADMINPANEL*/
<?php session_start(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
79
<script type="text/javascript" src="javascript/jquery-1.3.js"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="menu_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(function() {
// create the image rotator
setInterval("rotateImages()", 2000);
});
function rotateImages() {
var oCurPhoto = $('#photoShow div.current');
var oNxtPhoto = oCurPhoto.next();
if (oNxtPhoto.length == 0)
oNxtPhoto = $('#photoShow div:first');
oCurPhoto.removeClass('current').addClass('previous');
oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 },
1000,
function() {
oCurPhoto.removeClass('previous');
});
}
</script>
80
<style type="text/css">
#photoShow {
height:270px;
width:900px;
}
#photoShow div {
position:absolute;
z-index: 0;
}
#photoShow div.previous {
z-index: 1;
}
#photoShow div.current {
z-index: 2;
}
</style>
</head>
<body>
<div id="container">
<div id="banner"></div>
<div id="marq">
81
<marquee>
Welcome to Guidance Counselling Unit
</marquee>
</div>
<div id="link" class="menu">
<ul>
<li><a href="index.php" id="current">Home</a></li>
<li><a href="about_us.php">About Us </a></li>
<li><a href="counselling_center.php">Counselling Center</a></li>
<li><a href="admin_log.php">Admin Login</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div id="image_slideshow">
<div id="photoShow">
<div class="current"> <img src="images/1.jpg" alt="Photo Gallery" width="900"
height="270" class="gallery" /></div>
<div> <img src="images/2.jpg" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
<div> <img src="images/3.jpg" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
<div> <img src="images/4.png" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
</div>
82
</div>
<div id="body">
<div id="body_left">
<a href="logout_admin.php">Click here to Logout</a>
<p>
<a href="appointment_date.php"><span style="color:white; background-
color:#F93">Apointment and their date</span></a>
</p>
<p>
<a href="registered_member.php"><span style="color:white; background-
color:#F93">Registered Member</span></a>
</p>
<p>
<a href="enter_chat.php"><span style="color:white; background-color:#F93">Enter
Chat</span></a>
</p>
<p>
<a href="reply_comment.php"><span style="color:white; background-
color:#F93">Reply comments</span></a>
</p>
<p>
<a href="new_admin.php"><span style="color:white; background-color:#F93">Create
New Counsellor</span></a>
</p>
83
</div>
</div>
<div id="footer"><center>2014 &copy; Copyright University of Ilorin(Guidance and
Counselling Unit)</center></div>
</div>
</body>
</html>
84
/* APPOINTMENT_DATE*/
<?php require_once("includes/staff_redirect.php"); ?>
<?php require_once("includes/connection.php"); ?>
<?php require_once("includes/functions.php"); ?>
<?php
include_once("includes/form_functions.php")
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" src="javascript/jquery-1.3.js"></script>
<script type="text/javascript">
$(function() {
85
$("#theList tr:even").addClass("stripe1");
$("#theList tr:odd").addClass("stripe2");
$("#theList tr").hover(
function() {
$(this).toggleClass("highlight");
},
function() {
$(this).toggleClass("highlight");
}
);
});
</script>
<script type="text/javascript" src="javascript/jquery-1.3.js"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="menu_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(function() {
// create the image rotator
setInterval("rotateImages()", 2000);
});
86
function rotateImages() {
var oCurPhoto = $('#photoShow div.current');
var oNxtPhoto = oCurPhoto.next();
if (oNxtPhoto.length == 0)
oNxtPhoto = $('#photoShow div:first');
oCurPhoto.removeClass('current').addClass('previous');
oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity:
1.0 }, 1000,
function() {
oCurPhoto.removeClass('previous');
});
}
</script>
<style type="text/css">
#photoShow {
height:270px;
width:900px;
}
#photoShow div {
87
position:absolute;
z-index: 0;
}
#photoShow div.previous {
z-index: 1;
}
#photoShow div.current {
z-index: 2;
}
th,td {
font-family: Verdana,
Arial, Helvetica, sans-serif;
font-size: 18px;
color: #000000;
}
tr {
border: 1px solid
gray;
}
td {
width:200px;
88
padding:3px;
}
th {
background-
color:#C60;
color:#003366
}
table {
border: 1pt solid gray;
}
.clickable {
cursor:pointer;
}
.stripe1 {
background-color:#C60;
}
.stripe2 {
background-color:#F99 ;
}
.highlight {
background-color:#C96;
89
font-weight:bold;
}
</style>
</head>
<body>
<div id="container">
<div id="banner"></div>
<div id="marq">
<marquee>
Welcome to Guidance Counselling Unit
</marquee>
</div>
<div id="link" class="menu">
<ul>
<li><a href="index.php" id="current">Home</a></li>
<li><a href="about_us.php">About Us </a></li>
<li><a href="counselling_center.php">Counselling Center</a></li>
<li><a href="admin_log.php">Admin Login</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
90
</div>
<div id="image_slideshow">
<div id="photoShow">
<div class="current"> <img src="images/1.jpg" alt="Photo Gallery"
width="900" height="270" class="gallery" /></div>
<div> <img src="images/2.jpg" alt="Photo Gallery" width="900"
height="270" class="gallery" /></div>
<div> <img src="images/3.jpg" alt="Photo Gallery" width="900"
height="270" class="gallery" /></div>
<div> <img src="images/4.png" alt="Photo Gallery" width="900"
height="270" class="gallery" /></div>
</div>
</div>
<div id="body">
<div id="body_left">
<a href="logout_admin.php">Click here to Logout</a><br/>
<a href="adminpanel.php"><>Back to Admin Panel<></a>
<table style=" color:#FFFFFF; font-family:Arial, Helvetica, sans-serif;
width:500px; height:20px;"><tr><td style="width:500px;"><center>Those on
Apointment with Date</center></td></tr></table>
91
<table id="theList" style="width:300px">
<tr> <th> id </th> <th> Matriculation
Number</th><th>firstname</th><th>Surname</th><th>Faculty</th><th>De
partment</th><th>Session</th><th>Level</th> </tr>
<?php
$query = 'SELECT
id,matric_no,names,counselling_center,year,month,days,time
FROM
appointment
ORDER BY
id ASC';
$result = mysql_query($query, $connection) or
die(mysql_error($connection));
$odd = true;
while ($row = mysql_fetch_array($result)) {
echo ($odd == true) ? ' <tr class="odd_row"> ' : ' <tr class="even_row"> ';
$odd = !$odd;
echo '<td> <a href="appointment_date_edit.php?id=' . $row['id']. '" >' .
$row['id'] . '</a> </td>';
92
echo '<td>' . $row['matric_no'] . '</td>';
echo '<td>' . $row['names'] . '</td>';
echo '<td>' . $row['counselling_center'] . '</td>';
echo '<td>' . $row['year'] . '</td>';
echo '<td>' . $row['month'] . '</td>';
echo '<td>' . $row['days'] . '</td>';
echo '<td>' . $row['time'] . '</td>';
echo '</tr>';
}
mysql_free_result($result);
?>
</th>
</tr>
</table>
</div>
93
</div>
<div id="footer"><center>2014 &copy; Copyright University
ofIlorin(Guidance and Counselling Unit)</center></div>
</div>
</body>
</html>
/* BOOK_APPOINTMENT*/
<?php require_once("includes/student_redirect.php"); ?>
<?php
define("matric_no","matric_no");
define("names","names");
?>
<?php require_once("includes/connection.php"); ?>
<?php require_once("includes/functions.php"); ?>
94
<?php
include_once("includes/form_functions.php");
//start form processing
if(isset($_POST['submit'])){
$errors=array();
$required_fields=array('counselling_center','year','month','days','time');
$errors=array_merge($errors, check_required_fields($required_fields, $_POST));
$fields_with_lengths=array('matric_no'=>30, 'names'=>30);
$errors=array_merge($errors, check_max_field_lengths($fields_with_lengths,$_POST));
$matric_no=trim(mysql_prep($_POST['matric_no']));
$names=trim(mysql_prep($_POST['names']));
$counselling_center=trim(mysql_prep($_POST['counselling_center']));
95
$year=trim(mysql_prep($_POST['year']));
$month=trim(mysql_prep($_POST['month']));
$days=trim(mysql_prep($_POST['days']));
$time=trim(mysql_prep($_POST['time']));
$_SESSION['logged'] = 1;
$_SESSION['matric_no'] = $matric_no;
$redirect = (isset($_REQUEST['redirect'])) ? $_REQUEST['redirect'] :
'profile_student.php';
/**$_SESSION['user_id']=$found_user['id'];
$_SESSION['reg_num']=$found_user['reg_num'];
$_SESSION['lastname']=$found_user['lastname'];
$_SESSION['firstname']=$found_user['firstname'];
96
**/
//$query = 'SELECT matric_no FROM student_users WHERE matric_no = "' .
//$matric_no . '"';
//$result = mysql_query($query, $connection) or die(mysql_error());
if (mysql_num_rows($result) == 1) {
$errors[] = 'matric_no ' . $matric_no.' is already registered.';
$matric_no = '';
}
if(empty($errors)){
$query="insert into
appointment(matric_no,names,counselling_center,year,month,days,time)
values('{$matric_no}','{$names}','{$counselling_center}','{$year}','{$month}','{$days}','
{$time}')";
$result=mysql_query($query,$connection);
if($result)
{
97
header ('Refresh: 5; URL=' . $redirect);
echo ' <p> You will be redirected to your original page request. </p> ';
echo ' <p> If your browser doesn't redirect you properly
automatically, ' .
' <a href="' . $redirect . '"> click here </a> . </p> ';
die();
}
else
{
$message="The user could not be created";
$message.= "<br/>" . mysql_error();
}
}
else
98
{
if (count($errors)==1){
$message="There was 1 error in the form, Ensure all columns with asteric are filled(*)";
}else{ $message="There were "." ".count($errors)." "."errors in the form, Ensure all
columns with asteric are filled(*)";
}
}
}
else
{
//form has not been
submitted
$matric_no="";
$names="";
$counselling_center="";
99
$year="";
$month="";
$days="";
$time="";
$message="";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" src="javascript/jquery-1.3.js"></script>
100
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="menu_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(function() {
// create the image rotator
setInterval("rotateImages()", 2000);
});
function rotateImages() {
var oCurPhoto = $('#photoShow div.current');
var oNxtPhoto = oCurPhoto.next();
if (oNxtPhoto.length == 0)
oNxtPhoto = $('#photoShow div:first');
oCurPhoto.removeClass('current').addClass('previous');
101
oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 },
1000,
function() {
oCurPhoto.removeClass('previous');
});
}
</script>
<style type="text/css">
#photoShow {
height:270px;
width:900px;
}
#photoShow div {
position:absolute;
z-index: 0;
}
102
#photoShow div.previous {
z-index: 1;
}
#photoShow div.current {
z-index: 2;
}
th,td {
font-family: Verdana,
Arial, Helvetica, sans-serif;
font-size: 18px;
color: #000000;
}
tr {
border: 1px solid
gray;
}
103
td {
width:200px;
padding:3px;
}
th {
background-
color:#C60;
color:#003366
}
table {
border: 1pt solid gray;
}
.clickable {
cursor:pointer;
}
.stripe1 {
104
background-color:#C60;
}
.stripe2 {
background-color:#F99 ;
}
.highlight {
background-color:#C96;
font-weight:bold;
}
</style>
</head>
<body>
<div id="container">
<div id="banner"></div>
105
<div id="marq">
<marquee>
Welcome to Guidance Counselling Unit
</marquee>
</div>
<div id="link" class="menu">
<ul>
<li><a href="index.php" id="current">Home</a></li>
<li><a href="about_us.php">About Us </a></li>
<li><a href="counselling_center.php">Counselling Center</a></li>
<li><a href="admin_log.php">Admin Login</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div id="image_slideshow">
106
<div id="photoShow">
<div class="current"> <img src="images/1.jpg" alt="Photo Gallery" width="900"
height="270" class="gallery" /></div>
<div> <img src="images/2.jpg" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
<div> <img src="images/3.jpg" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
<div> <img src="images/4.png" alt="Photo Gallery" width="900" height="270"
class="gallery" /></div>
</div>
</div>
<div id="body">
<a href="logout_student.php">Click here to Logout</a>
<p>
<span style="color:white; background-color:#060">Book Time for Appointment by
choosing any category of the counselling unit</span>
</p>
107
<?php if(!empty($message));
{
echo "<p
class="message">" .$message. "</p>";
}
?>
<form id="form1" name="form1" method="post" action="book_appointment.php">
<table width="836">
<tr>
<?php
//Automatically generate registration numbers for student that are registered
$sql = mysql_query("select * from student_users where matric_no='" .
$_SESSION['matric_no'] .
"'") or die(mysql_error());
$row = mysql_fetch_assoc($sql);
108
/// Insert your HTML FORMATTING BELOW HERE WITH THESE VARIABLE
?>
<td>Matric No</td>
<td><label for=""></label>
<input type="text" name="matric_no" value="<?php echo $row[matric_no];
?>"/></td>
</tr>
<tr>
<td>Names</td>
<td><label for="textfield2"></label>
<input type="text" name="names" id="textfield2" value="<?php echo
$row[names]; ?>"/></td>
</tr>
<tr>
109
<td width="327">Sections in the Counselling Center</td>
<td width="463"><label for="select"></label>
<select name="counselling_center" id="select">
<option selected="selected">Select</option>
<option value="Education Academic Counselling">Education Academic
Counselling</option>
<option value="Carrier Guidance Counselling">Carrier Guidance
Counselling</option>
<option value="Personal Social Counselling">Personal Social
Counselling</option>
<option value="Mariage and Family Counselling">Mariage and Family
Counselling</option>
<option value="Financial Counselling">Financial Counselling</option>
<option value="Health Counselling">Health Counselling</option>
<option value="Research and Other Counselling Related activities">Research and
Other Counselling Related activities</option>
</select></td>
110
</tr>
<tr>
<td>Year to book Appointment</td>
<td><label for="select5"></label>
<select name="year" id="select5">
<option selected="selected">Select</option>
<option value="2014">2014</option>
<option value="2015">2015</option>
<option value="2016">2016</option>
<option value="2017">2017</option>
<option value="2018">2018</option>
<option value="2019">2019</option>
<option value="2020">2020</option>
</select></td>
</tr>
111
<tr>
<td>Month of the Year to book Appointment</td>
<td><label for="select4"></label>
<select name="month" id="select4">
<option selected="selected">Select</option>
<option value="January">January</option>
<option value="February">February</option>
<option value="March">March</option>
<option value="April ">April </option>
<option value="May">May</option>
<option value="June">June</option>
<option value="July">July</option>
<option value="August">August</option>
<option value="September">September</option>
<option value="October">October</option>
112
<option value="November">November</option>
<option value="December">December</option>
</select></td>
</tr>
<tr>
<td>Days of The Week to Book Appointment</td>
<td><label for="select3"></label>
<select name="days" id="select3">
<option selected="selected">Select</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
113
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
114
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<label for="select2"></label></td>
</tr>
<tr>
<td>Time Schedule to meet with a cousellor</td>
115
<td><select name="time" id="select2">
<option selected="selected">Select</option>
<option value="8:00-10am">8:00-10am</option>
<option value="12:00pm-2:00pm">12:00pm-2:00pm</option>
<option value="4:00pm-6:00pm">4:00pm-6:00pm</option>
</select></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" name="submit" id="button" value="Submit Comment"
/></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
116
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</form>
<p>&nbsp;</p>
<table id="theList" style="width:150px">
<tr><th> Matriculation Number </th><th>Names</th><th>Section to be
Counselled</th><th>Year</th> <th>Month</th> <th>Days</th><th>Time</th> </tr>
<?php
//Automatically generate registration numbers for student that are registered
117
$sql = mysql_query("select * from appointment where matric_no='" .
$_SESSION['matric_no'] .
"'") or die(mysql_error());
//$result = mysql_query($sql, $connection) or die(mysql_error($connection));
$odd = true;
while ($row = mysql_fetch_array($sql)) {
echo ($odd == true) ? ' <tr class="odd_row"> ' : ' <tr class="even_row"> ';
$odd = !$odd;
//echo '<td> <a href="edit_users_staff.php?id=' . $row['id']. '" >' .
//$row['id'] . '</a> </td>';
echo '<td>' . $row['matric_no'] . '</td>';
echo '<td>' . $row['names'] . '</td>';
echo '<td>' . $row['counselling_center'] . '</td>';
echo '<td>' . $row['year'] . '</td>';
echo '<td>' . $row['month'] . '</td>';
echo '<td>' . $row['days'] . '</td>';
118
echo '<td>' . $row['time'] . '</td>';
echo '</tr>';
}
mysql_free_result($sql);
?>
</th>
</tr>
</table>
</div>
<div id="footer"><center>2014 &copy; Copyright University of Ilorin(Guidance and
Counselling Unit)</center></div>
</div>
</body>
</html>

More Related Content

Similar to FINAL PROJECT (1).docx

Mentorship program
Mentorship program Mentorship program
Mentorship program
swati shikha
 
EDUCATIONAL COUNSELING SERVICES A NEEDS ASSESSMENT OF JUNIOR SECONDARY SCHOO...
EDUCATIONAL COUNSELING SERVICES  A NEEDS ASSESSMENT OF JUNIOR SECONDARY SCHOO...EDUCATIONAL COUNSELING SERVICES  A NEEDS ASSESSMENT OF JUNIOR SECONDARY SCHOO...
EDUCATIONAL COUNSELING SERVICES A NEEDS ASSESSMENT OF JUNIOR SECONDARY SCHOO...
Gloria Mazhim De Decker
 
Seminar on guidance and counselling
Seminar on guidance and counsellingSeminar on guidance and counselling
Seminar on guidance and counselling
Pinki Barman
 
Planning Transitions from School for Young People with Special Needs
Planning Transitions from School for Young People with Special NeedsPlanning Transitions from School for Young People with Special Needs
Planning Transitions from School for Young People with Special Needs
Alison Doyle
 
Social Media and the 21st-Century Scholar: How Researchers Can Harness Social...
Social Media and the 21st-Century Scholar: How Researchers Can Harness Social...Social Media and the 21st-Century Scholar: How Researchers Can Harness Social...
Social Media and the 21st-Century Scholar: How Researchers Can Harness Social...
SC CTSI at USC and CHLA
 
Diverse Learners
Diverse LearnersDiverse Learners
Diverse Learners
Becka Colley-Foster
 
Principals' use of counselling skills dr geoffrey wango
Principals' use of counselling skills dr geoffrey wangoPrincipals' use of counselling skills dr geoffrey wango
Principals' use of counselling skills dr geoffrey wango
Dr Wango Geoffrey
 
Independence in Graduate School: How to develop and enhance yours
Independence in Graduate School: How to develop and enhance yoursIndependence in Graduate School: How to develop and enhance yours
Independence in Graduate School: How to develop and enhance yours
DoctoralNet Limited
 
Ferreira maclean2017
Ferreira maclean2017Ferreira maclean2017
Ferreira maclean2017
Diver Padi
 
MTML FINAL EChannel Webinar Creating Pathways of Learning Support for EO Clie...
MTML FINAL EChannel Webinar Creating Pathways of Learning Support for EO Clie...MTML FINAL EChannel Webinar Creating Pathways of Learning Support for EO Clie...
MTML FINAL EChannel Webinar Creating Pathways of Learning Support for EO Clie...
Kimberly Lansdowne
 
You're a Leader - Lead!
You're a Leader - Lead!You're a Leader - Lead!
You're a Leader - Lead!
Cheryl Doig
 
Letter Across The Divide Book Response Essay
Letter Across The Divide Book Response EssayLetter Across The Divide Book Response Essay
Letter Across The Divide Book Response Essay
Carmen Sanborn
 
Using Moodle and Big Blue Button for Engaging Learners in Online Discussion
Using Moodle and Big Blue Button for Engaging Learners in Online DiscussionUsing Moodle and Big Blue Button for Engaging Learners in Online Discussion
Using Moodle and Big Blue Button for Engaging Learners in Online Discussion
s_dua
 
School strategies-handout
School strategies-handoutSchool strategies-handout
School strategies-handout
Marta Montoro
 
Educational guidance & counseling study material for mid term b.ed. 6th (e.g....
Educational guidance & counseling study material for mid term b.ed. 6th (e.g....Educational guidance & counseling study material for mid term b.ed. 6th (e.g....
Educational guidance & counseling study material for mid term b.ed. 6th (e.g....
13023901-016
 
ADCET/NCSEHE webinar: Supporting students’ wellbeing during COVID-19
ADCET/NCSEHE webinar: Supporting students’ wellbeing during COVID-19ADCET/NCSEHE webinar: Supporting students’ wellbeing during COVID-19
ADCET/NCSEHE webinar: Supporting students’ wellbeing during COVID-19
Australian Centre for Student Equity and Success
 
Guidance and counseling final
Guidance and counseling  finalGuidance and counseling  final
Guidance and counseling final
Erlison Lorenz Ognilla
 
COMPLETE 2015 CDPIProgram
COMPLETE 2015 CDPIProgramCOMPLETE 2015 CDPIProgram
COMPLETE 2015 CDPIProgram
Chris Klein
 
PRINCIPLES_OF_GUIDANCE_AND_COUNSELLING.pptx
PRINCIPLES_OF_GUIDANCE_AND_COUNSELLING.pptxPRINCIPLES_OF_GUIDANCE_AND_COUNSELLING.pptx
PRINCIPLES_OF_GUIDANCE_AND_COUNSELLING.pptx
MatataMuthoka1
 
Leading by example: being belonging and becoming digital citizens
Leading by example: being belonging and becoming digital citizensLeading by example: being belonging and becoming digital citizens
Leading by example: being belonging and becoming digital citizens
Sue Beckingham
 

Similar to FINAL PROJECT (1).docx (20)

Mentorship program
Mentorship program Mentorship program
Mentorship program
 
EDUCATIONAL COUNSELING SERVICES A NEEDS ASSESSMENT OF JUNIOR SECONDARY SCHOO...
EDUCATIONAL COUNSELING SERVICES  A NEEDS ASSESSMENT OF JUNIOR SECONDARY SCHOO...EDUCATIONAL COUNSELING SERVICES  A NEEDS ASSESSMENT OF JUNIOR SECONDARY SCHOO...
EDUCATIONAL COUNSELING SERVICES A NEEDS ASSESSMENT OF JUNIOR SECONDARY SCHOO...
 
Seminar on guidance and counselling
Seminar on guidance and counsellingSeminar on guidance and counselling
Seminar on guidance and counselling
 
Planning Transitions from School for Young People with Special Needs
Planning Transitions from School for Young People with Special NeedsPlanning Transitions from School for Young People with Special Needs
Planning Transitions from School for Young People with Special Needs
 
Social Media and the 21st-Century Scholar: How Researchers Can Harness Social...
Social Media and the 21st-Century Scholar: How Researchers Can Harness Social...Social Media and the 21st-Century Scholar: How Researchers Can Harness Social...
Social Media and the 21st-Century Scholar: How Researchers Can Harness Social...
 
Diverse Learners
Diverse LearnersDiverse Learners
Diverse Learners
 
Principals' use of counselling skills dr geoffrey wango
Principals' use of counselling skills dr geoffrey wangoPrincipals' use of counselling skills dr geoffrey wango
Principals' use of counselling skills dr geoffrey wango
 
Independence in Graduate School: How to develop and enhance yours
Independence in Graduate School: How to develop and enhance yoursIndependence in Graduate School: How to develop and enhance yours
Independence in Graduate School: How to develop and enhance yours
 
Ferreira maclean2017
Ferreira maclean2017Ferreira maclean2017
Ferreira maclean2017
 
MTML FINAL EChannel Webinar Creating Pathways of Learning Support for EO Clie...
MTML FINAL EChannel Webinar Creating Pathways of Learning Support for EO Clie...MTML FINAL EChannel Webinar Creating Pathways of Learning Support for EO Clie...
MTML FINAL EChannel Webinar Creating Pathways of Learning Support for EO Clie...
 
You're a Leader - Lead!
You're a Leader - Lead!You're a Leader - Lead!
You're a Leader - Lead!
 
Letter Across The Divide Book Response Essay
Letter Across The Divide Book Response EssayLetter Across The Divide Book Response Essay
Letter Across The Divide Book Response Essay
 
Using Moodle and Big Blue Button for Engaging Learners in Online Discussion
Using Moodle and Big Blue Button for Engaging Learners in Online DiscussionUsing Moodle and Big Blue Button for Engaging Learners in Online Discussion
Using Moodle and Big Blue Button for Engaging Learners in Online Discussion
 
School strategies-handout
School strategies-handoutSchool strategies-handout
School strategies-handout
 
Educational guidance & counseling study material for mid term b.ed. 6th (e.g....
Educational guidance & counseling study material for mid term b.ed. 6th (e.g....Educational guidance & counseling study material for mid term b.ed. 6th (e.g....
Educational guidance & counseling study material for mid term b.ed. 6th (e.g....
 
ADCET/NCSEHE webinar: Supporting students’ wellbeing during COVID-19
ADCET/NCSEHE webinar: Supporting students’ wellbeing during COVID-19ADCET/NCSEHE webinar: Supporting students’ wellbeing during COVID-19
ADCET/NCSEHE webinar: Supporting students’ wellbeing during COVID-19
 
Guidance and counseling final
Guidance and counseling  finalGuidance and counseling  final
Guidance and counseling final
 
COMPLETE 2015 CDPIProgram
COMPLETE 2015 CDPIProgramCOMPLETE 2015 CDPIProgram
COMPLETE 2015 CDPIProgram
 
PRINCIPLES_OF_GUIDANCE_AND_COUNSELLING.pptx
PRINCIPLES_OF_GUIDANCE_AND_COUNSELLING.pptxPRINCIPLES_OF_GUIDANCE_AND_COUNSELLING.pptx
PRINCIPLES_OF_GUIDANCE_AND_COUNSELLING.pptx
 
Leading by example: being belonging and becoming digital citizens
Leading by example: being belonging and becoming digital citizensLeading by example: being belonging and becoming digital citizens
Leading by example: being belonging and becoming digital citizens
 

Recently uploaded

Maximize Your Twitch Potential!..........
Maximize Your Twitch Potential!..........Maximize Your Twitch Potential!..........
Maximize Your Twitch Potential!..........
SocioCosmos
 
STUDY ON THE DEVELOPMENT STRATEGY OF HUZHOU TOURISM
STUDY ON THE DEVELOPMENT STRATEGY OF HUZHOU TOURISMSTUDY ON THE DEVELOPMENT STRATEGY OF HUZHOU TOURISM
STUDY ON THE DEVELOPMENT STRATEGY OF HUZHOU TOURISM
AJHSSR Journal
 
The Impact of Work Stress and Digital Literacy on Employee Performance at PT ...
The Impact of Work Stress and Digital Literacy on Employee Performance at PT ...The Impact of Work Stress and Digital Literacy on Employee Performance at PT ...
The Impact of Work Stress and Digital Literacy on Employee Performance at PT ...
AJHSSR Journal
 
Factors affecting undergraduate students’ motivation at a university in Tra Vinh
Factors affecting undergraduate students’ motivation at a university in Tra VinhFactors affecting undergraduate students’ motivation at a university in Tra Vinh
Factors affecting undergraduate students’ motivation at a university in Tra Vinh
AJHSSR Journal
 
HMS Facebook Stories All V1 06092024.docx
HMS Facebook Stories All V1 06092024.docxHMS Facebook Stories All V1 06092024.docx
HMS Facebook Stories All V1 06092024.docx
Charles Bayless
 
原版制作(Hull毕业证书)赫尔大学毕业证Offer一模一样
原版制作(Hull毕业证书)赫尔大学毕业证Offer一模一样原版制作(Hull毕业证书)赫尔大学毕业证Offer一模一样
原版制作(Hull毕业证书)赫尔大学毕业证Offer一模一样
7lkkjxt
 
一比一原版(AU毕业证)英国阿伯丁大学毕业证如何办理
一比一原版(AU毕业证)英国阿伯丁大学毕业证如何办理一比一原版(AU毕业证)英国阿伯丁大学毕业证如何办理
一比一原版(AU毕业证)英国阿伯丁大学毕业证如何办理
anubug
 
Dominate Reddit Discussions.............
Dominate Reddit Discussions.............Dominate Reddit Discussions.............
Dominate Reddit Discussions.............
SocioCosmos
 
快速办理(worcester毕业证书)伍斯特大学毕业证PDF成绩单一模一样
快速办理(worcester毕业证书)伍斯特大学毕业证PDF成绩单一模一样快速办理(worcester毕业证书)伍斯特大学毕业证PDF成绩单一模一样
快速办理(worcester毕业证书)伍斯特大学毕业证PDF成绩单一模一样
9u4xjk4w
 
UR BHATTI ACADEMY AND ONLINE COURSES.pdf
UR BHATTI ACADEMY AND ONLINE COURSES.pdfUR BHATTI ACADEMY AND ONLINE COURSES.pdf
UR BHATTI ACADEMY AND ONLINE COURSES.pdf
urbhattiacademy
 

Recently uploaded (10)

Maximize Your Twitch Potential!..........
Maximize Your Twitch Potential!..........Maximize Your Twitch Potential!..........
Maximize Your Twitch Potential!..........
 
STUDY ON THE DEVELOPMENT STRATEGY OF HUZHOU TOURISM
STUDY ON THE DEVELOPMENT STRATEGY OF HUZHOU TOURISMSTUDY ON THE DEVELOPMENT STRATEGY OF HUZHOU TOURISM
STUDY ON THE DEVELOPMENT STRATEGY OF HUZHOU TOURISM
 
The Impact of Work Stress and Digital Literacy on Employee Performance at PT ...
The Impact of Work Stress and Digital Literacy on Employee Performance at PT ...The Impact of Work Stress and Digital Literacy on Employee Performance at PT ...
The Impact of Work Stress and Digital Literacy on Employee Performance at PT ...
 
Factors affecting undergraduate students’ motivation at a university in Tra Vinh
Factors affecting undergraduate students’ motivation at a university in Tra VinhFactors affecting undergraduate students’ motivation at a university in Tra Vinh
Factors affecting undergraduate students’ motivation at a university in Tra Vinh
 
HMS Facebook Stories All V1 06092024.docx
HMS Facebook Stories All V1 06092024.docxHMS Facebook Stories All V1 06092024.docx
HMS Facebook Stories All V1 06092024.docx
 
原版制作(Hull毕业证书)赫尔大学毕业证Offer一模一样
原版制作(Hull毕业证书)赫尔大学毕业证Offer一模一样原版制作(Hull毕业证书)赫尔大学毕业证Offer一模一样
原版制作(Hull毕业证书)赫尔大学毕业证Offer一模一样
 
一比一原版(AU毕业证)英国阿伯丁大学毕业证如何办理
一比一原版(AU毕业证)英国阿伯丁大学毕业证如何办理一比一原版(AU毕业证)英国阿伯丁大学毕业证如何办理
一比一原版(AU毕业证)英国阿伯丁大学毕业证如何办理
 
Dominate Reddit Discussions.............
Dominate Reddit Discussions.............Dominate Reddit Discussions.............
Dominate Reddit Discussions.............
 
快速办理(worcester毕业证书)伍斯特大学毕业证PDF成绩单一模一样
快速办理(worcester毕业证书)伍斯特大学毕业证PDF成绩单一模一样快速办理(worcester毕业证书)伍斯特大学毕业证PDF成绩单一模一样
快速办理(worcester毕业证书)伍斯特大学毕业证PDF成绩单一模一样
 
UR BHATTI ACADEMY AND ONLINE COURSES.pdf
UR BHATTI ACADEMY AND ONLINE COURSES.pdfUR BHATTI ACADEMY AND ONLINE COURSES.pdf
UR BHATTI ACADEMY AND ONLINE COURSES.pdf
 

FINAL PROJECT (1).docx

  • 1. 1 DEVELOPMENT OF AN ONLINE GUIDANCE AND COUNSELLING USING CHAT PLATFORM OLALERE ABAYOMI OLANIYI (11/52HA102) A PROJECT SUBMITTED TO THE DEPARTMENT OF COMPUTER SCIENCE FACULTY OF COMMUNICATION AND INFORMATION SCIENCES UNIVERSITY OF ILORIN, ILORIN, NIGERIA. IN PARTIAL FUFILMENT OF THE REQUIREMENTS FOR THE AWARD OF BACHELOR OF SCIENCE (B. Sc). DEGREE IN COMPUTER SCIENCE. JUNE, 2014
  • 2. 2 CERTIFICATION I certify that this project work was duly carried out by OLALERE, ABAYOMI OLANIYI with Matriculation Number 11/52HA102 as my final year project during 2013/2014 session in the Department of Computer Science, Faculty of Communication and Information Sciences, University of Ilorin, Ilorin Nigeria. Dr. (Mrs) O.C. Abikoye Date (Supervisor) Dr. R.G. Jimoh Date (Head Of Department) (External Examiner) Date
  • 3. 3 DEDICATION This project is dedicated to the omniscience, the Almighty God, my light and salvation. I return all glory back to you lord.
  • 4. 4 ACKNOWLEDGEMENT All glory goes to God, the Almighty for granting me success towards the completion of this project work Special thanks to my loving parents Mr. & Mrs. Olalere who have labored so much that I may be what I am today; it’s my prayer that they live long to eat the fruit of their labor. I also want to thank my siblings; Akeem, Muhammed, Olumide, Titi, Tarpilar, Femi, Lekan, David, Dunsin, Paul, for their moral support. Special thanks also goes to my Supervisor; Dr.(Mrs) O.C. Abikoye for her patience and restless effort towards the correction and final completion of this project work. Thank you ma for providing necessary materials to carry out the work. I appreciate all lecturers and non teaching staff who have impacted my life in one way or the other; be it morally, spiritually or academically. I cannot forget your impact. It is a seed sown into a fertile land. To my co- project mates under the supervision of Dr.(Mrs) O.C. Abikoye, thank you so much for your support and encouragement. I love you all.
  • 5. 5 TABLE OF CONTENTS Contents i Title page ii Certificate iii Dedication iv Acknowledgements v Table of Contents vi List of Figures vii List of Tables ix Abstract x CHAPTER ONE: INTRODUCTION 1.1 Background of the study 7 1.2 Statement of problem 8 1.3 Aim and Objective 8 1.4 Overview of the Method 8 1.5 Significant of the Study 8 1.6 Scope and Limitation of the Study 9 1.7 Definition of Terms 9 1.8 Organization of the report 10
  • 6. 6 CHAPTER TWO: LITERATURE REVIEW 2.1 Guidance and Counselling 11 2.2 Historical Background 12 2.3 Need for Counselling 12 2.4 Types of Guidance and Counseling 13 2.5 Characteristics of a good Counselor 13 CHAPTER THREE: SYSTEM ANALYSIS 3.1 Analysis of the existing system 14 3.2 Description of the proposed system 15 3.3 Software Development Methodology 16 3.4 The System Design 18 3.5 Use Case Diagram 19 3.6 Input Design 21 3.7 Output Design 30 3.8 Database Design 34 3.9 Procedural Design 39 3.10 System Flowchart 40 CHAPTER FOUR: SYSTEM IMPLEMENTATION 4.1 Choice of Programming Language 42 4.2 System Requirement 42
  • 7. 7 4.3 Implementation techniques 43 4.4 Documentation 43 CHAPTER FIVE: SUMMARY, CONCLUSION AND RECOMMENDATION 5.1 Summary 44 5.2 Conclusion 44 5.3 Recommendation 44
  • 8. 8 ABSTRACT The proposed project covers the online guidance and counseling centre for the student of the University of Ilorin. It was developed with the intention of using electronic means to counsel students who needs to be guided in every area. The counseling site is also to enable students interact with counselor using Chat Online counseling has been described as an emerging trend and anytime, anyplace activity that is supported by portable technology. Time constraints and geographical barriers are removed with online counseling. Counseling involves a series of skills and strategies along with a therapeutic approach. Self disclosure is sometimes used in order to help build and deepen the therapeutic relationship. It focuses on self-disclosure as a useful strategy for sharing information with others in a web mediated context.
  • 9. 9 CHAPTER ONE INTRODUCTION 1.1 BACKGROUND OF THE STUDY Guidance counselling is the process of helping individuals discover and develop their educational, vocational, and psychological potentialities and thereby to achieve an optimal level of personal happiness and social usefulness. Students often find themselves caught up in an unprecedented amount of problems in their daily lives be it educational in nature or not, these problems are vast and have roots in an un-imaginable array of topics. Unspoken dilemmas especially amongst the youth often fester in the minds of their hosts poisoning the very core of their person and thus leading them to partake in socially unacceptable manners. People suffering from mental distress of any kind no matter how minute it is, is expected to talk to someone about their problems which is arguably the most effective means of problem solving.It is for this reason, for students to have a listening and professional ear to adhere to their many troubles that every school is required to have a fully staffed and operational guidance and counselling unit however despite the gross importance of the department; it still faces a large setback concerning its clientele. Seeing as the entire population of clients the guidance and counselling unit caters to are students, most of them in their youth it therefore faces the major problem of diminishing and unwilling clientele. The major problem with the youth in accordance to seeing a professional is the
  • 10. 10 fact that visiting a therapist/or is stigmatized as being un-cool and shameful especially in developing nations like Nigeria where visiting a therapist or any mental health official is akin to admitting weakness and/or insanity. Students are also very intimidated by the ors when placed in a one-on-one face to face interaction with a member of the school staff. The students’ unwillingness to see a professional then leaves them no option but to relay their problems to their most likely equally incompetent friends who then proceed to offer up wrong and sometimes potentially harmful advice. In some cases these students would even bypass their peers and narrate their dilemmas on social network sites which to them may seem like a good way to acquire a diverse and large number of input or simply a way to earn sympathy, what they however tend to neglect is the fact that not everyone is a helpful friend and some of those reading such posts will see it as an opportunity to prey on the student's weakness. The most common and arguably the most dangerous manner in which students deal with their problems however is keeping silent about it, once they internalize these problems they would most likely increase in severity as the student would seek unhealthy and dangerous acts in order to block out the mental distress he or she is feeling. Such acts include drinking and the use of other narcotic and intoxicating substances, joining of violent and illegal cults, bullying their peers and contemplation of self mutilation. A guidance and counselor therefore serves as a life coach steering the lives of their clientele in the right direction in the hopes of bringing out the best in each client.
  • 11. 11 1.2 STATEMENT OF PROBLEM Facial communications breeds confidence as well as intimidation and stigmatization. Some students/clients prefer online or ‘blind counselling’ also known as anonymous to face-to-face communication. In the light of this, it is of utmost importance to consider the disadvantages of using manual counselling which are: real-time accessibility, inconvenience, social stigmatization and breach of trust (security). (Dunaway, M. O 2000) 1.3 AIMS AND OBJECTIVES The aim of this project is to develop an online guidance and counselling using chat platform for University of Ilorin. The objectives of this work are to: 1. Make student understand the concept of online counseling? provide professional counselling services to all students in need of it at the time in which they need it 2. Eliminate the intimidation of students brought on by face-to-face interactions with a person of authority 3. Establish a non-location biased platform for consultation by student 4. Aid the counselors in keeping track of each student and their problem
  • 12. 12 1.5 SIGNIFICANCE OF THE STUDY Guidance and counselling is a very important program in our schools. It is the process by which students are given advice on how to deal with emotional conflicts and personal problems both in school and how to incorporate the same in their daily life. Some sessions involve career guidance where students are advised on which courses to do and which jobs to expect when one does a particular course. Students are given solutions on how to deal with psychological problems which might affect their studies. Through this, the students are able to develop a problem solving skill which to an extent helps them deal with particular issues surrounding their lives. It helps to shape a student's behavior and instil discipline in students. Students who are guided and counseled in a right way tend to know what to do and how to do such things. 1.6 SCOPE AND LIMITATION OF THE STUDY The project work was developed with the intention of using electronic means to counsel student who needs to be guided in every area. The basic limitations of the project are; Due to time constraints we are unable to book appointment with the counselor and the forms of interacting with the students which are audio were unable to be included.
  • 13. 13 1.7 DEFINITION OF TERMS Guidance counselling, by name counselling and guidance, the process of helping individuals discover and develop their educational, vocational, and psychological potentialities and thereby to achieve an optimal level of personal happiness and social usefulness. Audio refers to the sound system that comes with or can be added to a computer. Chat can be defined as the set of peer –to-peer communications tools on the internet. Check-up is to investigate or make inquiry into a person’s character, evidence when suspicions aroused. Online is the condition of being connected to a network of computers or other devices. Bio data refers to factual kinds of questions about work experience and life, as well as items involving attitudes, opinions, beliefs and values that reflect a historical perspective. Internet is a means of connecting a computer to any other computer anywhere in the world via dedicated router and serves. Platform consists of an operating system, the computer systems coordinating program, which in turn is built on the instruction set for a processor, the hardware that performs logic operations and manages data movement in computer. Technology is the making, modification, usage and knowledge of tools, machines, techniques and methods of organization, in order to solve a problem, improve a pre- existing solution to a problem, achieve a goal, handle an applied input/output relation or
  • 14. 14 perform a specific function. A File can be defined as a collection of letters, numbers and special characters: it may be a program, a database, a dissertation, a reading list or a simple letter. 1.8 ORGANIZATION OF THE REPORT Chapter One serves as general introduction to the study. Chapter Two present a review of related literature. Chapter Three consist of the analysis of the existing system. Chapter Four deals with implementation of the new system. Chapter Five talks about summary, conclusion and recommendation
  • 15. 15 CHAPTER TWO LITERATURE REVIEW 2.1 GUIDANCE AND COUNSELING Counselling is the service offered to the individual who is undergoing a problem and needs professional help to overcome it. The Internet has become the main “Information and data provider since its appearance at the end of the 20th century” (Özad and Kutoğlu, 2010, p.245) Psychological helping vocations have lots of duties because problems which are related to human beings increase and change ways. These helping vocations come across with several developments day by day. These vocations do not only take role in problem areas but they also have to provide supports. In field of health, industry, and education, people need to show themselves how to be successful in their jobs, In this situation psychological counselling starts to serve different areas and in different ways (Cezmi, 2006). Today computer has become an indispensable part of our daily lives with help of the fast developing technology. In 2002, more than 600 million people used the Internet. Therefore, more than half of the population of America have used the Internet (Nua Internet Surveys, 2002). The numbers of the Internet users is rising on a daily basis most of the users being young. In schools, expert psychological counselors provide services in the field of psychological counselling and guidance. For providing psychological counselling and guidance services, the help of an administration and a teacher has a big contribution and it is not possible to provide service without the help
  • 16. 16 of administration and teachers. When mothers and fathers join the process, the improvement of students can reach optimum level (Kuzgun, 1992, p.31). Today, technology is used in each place of education from black board to book, and from projector to computers. Every new technology has impact on class, in other words each brand-new technology causes changes in education. “Technology is also not a collection of machines and devices, but a way of acting. In addition, technology refers to modernity. In other words, technology offers people more opportunities to upgrade all kinds of their life style” ( İşman, 2003, p.28), “With the developments of high technology and globalization, social, cultural and educational aspects of life become different and get better in terms of time space and communication” (İşman.et.al.,2004, p.55). 2.2 HISTORICAL BACKGROUND OF UNIVERSITY OF ILORIN GUIDANCE AND COUNSELING CENTRE The University of Ilorin guidance and counselling was established by the Senate of the University on 8th September, 2010. The Centre was established to provide a wide range of guidance and counseling services to the members of the University of Ilorin community, particularly students and staff of the University. The Centre was designed to assist in addressing academics, career, social, physical and spiritual challenges. This could interfere with personal development of members of the University community. GUIDANCE AND COUNSELING UNIT offers a variety of services with the goal of resolving clients’’ difficulties as well as nurturing personal and collective growth. The
  • 17. 17 services provided at the centre are delivered through individual counseling, group counseling, seminar presentation, workshop, and Unilorin 89.3 FM Radio. The focus of the Centre is to promote human development through self-accomplishment. 2.3 NEED FOR COUNSELLING Counselling is an integral part of an over-all programme of guidance. “Counselling is a specific process of assistance extended by an expert in an individual situation to a needy person”. This means the counselling situation arises when a needy person is face to face with and expert who makes available his assistance to the needy individual to fulfill his needs. There is an urgent need of introducing and strengthening the counselling service in the schools and colleges of our country to meet the various needs of the students administrational and the educational system. 1.To help in the total development of the student: Along with the intellectual development proper motivation and clarification of goals and ideas to pupils in conformity with their basic potentialities and social tendencies are important total development of the student nauseates that individual differences among them are expected, accepted, understood and planned for and all types of experiences in an institution are to be so organized as to contribute to the total development of the student. 2. To help in the proper choices of courses. 3. To help in the students in vocational development.
  • 18. 18 4. To develop readiness for choices and changes to face new challenges. 5. To minimize the mismatching between education and employment and help in the efficient use of manpower. 6. To motivate the youth for self employment. 7. To help fresher’s establish proper identity. 8. To identify and motivate the students form weaker sections of society. 9. To help the students in their period of turmoil and confusion. 10. To identity and help students in need of special help. 11. There are such students as the gifted, the backward the handicapped who need special opportunities. They need special attention and opportunities. 12. To ensure the proper utilization of time spent outside the classrooms. 13. To minimize the incidence of indiscipline. 2.4 TYPES OF GUIDANCE AND COUNSELING 1. Marriage and family counseling 2. Guidance and carrier counseling 3. Rehabilitation counseling 4. Mental health counseling
  • 19. 19 5. Substance abuse counseling 6. Educational counseling 2.5 CHARACTERISTICS OF A GOOD COUNSELOR A good counselor must possess the following characteristics: 1. He or She must be patience 2. He or She must be a good listener 3. He or She must be Compassionate 4. He or She must be non-judgmental 5. He or She must be Research-oriented 6. He or She must have the ability to understand and share the feelings of others. 7. He or She must be Discrete and Encouraging
  • 20. 20 CHAPTER THREE SYSTEM ANALYSIS AND DESIGN 3.1 ANALYSIS OF THE EXISTING SYSTEM As of today the guidance and counselling unit in the University of Ilorin is operated in a fully manual counselling arena. There are four counselors and one director each counselor has his/her area of counselling expertise but can still handles other areas as they are trained diversely. When students wish to see a counselor they will be given a biodata form to fill which contain the important details of the student then counselors may later refer to in their diagnosis, the biodata form contains information such as student name, sex, age, level etc. Depending on whether or not there is a student in the counselor’s office the prospective client will either wait or go into the office to see the counselor who will then proceed with their session or make an appointment for another day. Each student who has visited the office has a file containing the bio data form of every visit, everything discussed in the office is under the ors oath of confidentiality. Once the session is complete it is then the ors’ duty to carry out a check-up on the student to make sure he or she is doing better and to set up more appointments when necessary. The current state deals with the manual method of carrying out guidance and counselling. When a student’s comes to the unit for consultation, a file is then opened for them in which all the information needed about the student is collected and kept together. This kind of registration is the manual system, which is very vulnerable to record mix up, lack of secrecy and privacy of records. The consult get tired easily most especially when there
  • 21. 21 are many students to be attended to in a day. In the middle of more than 100 file a single student file is always difficult to locate and because of this reason, another method of registration is proposed which is the application computer. 3.1.1 Problems of the existing system In the existing system of the guidance and counseling unit system at the University of Ilorin, the following problems are often encountered 1. Too Much of Paper Work: This existing system which is manual is based on paper cards to collect blood donor data, keeping records of donors had many challenges that is needed in based solution. This challenge extends to delay in accessing historical record of an existing student when they are urgently needed. 2. Data Collection: This is one of the major problems of this system. Data are collected manually which require the use of ink and paper for the collection of these data. This process of data collection is not a good method of data collection. Data can get lost during transit as result of moving papers from one office to another. 3. Insecurity: Many student feel shy and don’t want to discuss there personal information with the counselor. 3.2 DESCRIPTION OF THE PROPOSED SYSTEM The system will be a web based application that will fully automate the guidance and counselling unit of the University of Ilorin. Each student will automatically have a matriculation number based account to ensure that only students of the university would be able to access the account. All students who wish to use the online guidance and
  • 22. 22 faculty services would be required to register by filling up a bio data form quite similar to that which is given presently in the manual form. Upon completion of the form the student would then indicate the nature of his/her duress from a given list of categories; this would ensure that the or best suited for their needs is called to attend to the student. The system will also be using chat and audio as a means of interacting with the student. 3.2.1 Advantages of the proposed system On policy level, web-base career guidance service can make serious contribution to national employment and social systems. 1. It can improve the access of citizens to career information, services and support which are not available in range; 2. Reduce significantly the cost of provision, enabling targeted services and information addressed to specific groups’ needs; 3. Online guidance multiplies the effect of career services for individuals. 4. Technology facilitates job exploration and information search activities; 5. The variety of career resources available online can complement the face-to face guidance and enrich the portfolio of services, empowering individuals with bigger autonomy– they can explore the resources in self-directed way, with the assistance of career counselor, or in networking, depending on their learning preferences and capacity; 6. Vocational orientation and training are much more attractive and transparent with the use of online media. People can see different occupations, find learning pathways and understand how to validate the results of their prior experience;
  • 23. 23 7. Improved awareness on the labour market through links to current statistics, analysis, job trends and employment opportunities; 8. Better match between individual talents and qualifications on the one hand and the skills and qualifications demanded by employers, on the other. 9. Assist in reducing unemployment by promoting labour force activity, further training and education and encouraging work mobility. 10. Help-lines, web forums and other online media are especially adequate for catering young people – the so called virtual natives, who otherwise may be hard to reach within traditional guidance provision. 11. Online guidance and resource can foster mobility and career management skills. 3.3 SOFTWARE ENGINEERING METHODOLOGY To solve actual problems in an industry setting, a software engineer or a team of engineers must incorporate a development strategy that encompasses the process, methods, and tools layers and the generic phases of development. This strategy is often referred to as a process model or a software engineering paradigm (Rogers, 2001). A process model for software engineering is chosen based on the nature of the project and application, the methods and tools to be used, and the controls and deliverables that are required. The various process models are listed and explained in the sections below.
  • 24. 24 i. THE LINEAR SEQUENTIAL MODEL Sometimes called the classic life cycle or the waterfall model, the linear sequential model suggests a systematic, sequential approach to software development that begins at the system level and progresses through analysis, design, coding, testing, and support. Linear sequence is used when the requirements are stable. Figure 3.4 illustrates the linear sequential model for software engineering Figure 3.1: Process of linear sequential Model ii. THE PROTOTYPING MODEL This model is often used when a customer defines a set of general objectives for software but does not identify detailed input, processing, or output requirements. In other cases, the developer may be unsure of the efficiency of an algorithm, the adaptability of an operating system, or the form that human/machine interaction should take. In these, and many other situations, a prototyping paradigm may offer the best approach. It is used when the requirement is unclear to all. The prototyping paradigm (Figure 3.2) begins with requirements gathering. Developer and customer meet and define the overall objectives for the software, identify whatever requirements are known, and outline areas where further definition is mandatory. ANALYSIS DESIGN TEST CODE
  • 25. 25 iii. THE RAD MODEL Rapid application development (RAD) is an incremental software development process model that emphasizes an extremely short development cycle. The RAD model is a “high-speed” adaptation of the linear sequential model in which rapid development is achieved by using component-based construction. If requirements are well understood and project scope is constrained, the RAD process enables a development team to create a “fully functional system” within very short time periods (e.g., 60 to 90 days) iv. SPIRAL MODEL The spiral model is an evolutionary software process model that couples the iterative nature of prototyping with the controlled and systematic aspects of the linear sequential model. It provides the potential for rapid development of incremental versions of the software. Using the spiral model, software is developed in a series of incremental releases. During early iterations, the incremental release might be a paper model or prototype. During later iterations, increasingly more complete versions of the engineered system are produced. 3.3.2 THE MODEL IMPLEMENTED The software engineering methodology used in this project is the linear sequential model. The reasons for using this model are stated below: 1.The requirement is stable i.e. the system inputs (the waiting time) and the output (time
  • 26. 26 to allocate) is known. 2. The software for this project is not large. 3. The software does not require parallel development in which it will be broken down into modules and given to different programmers to develop. 3.4 THE SYSTEM DESIGN Software design sits at the technical kernel of the software engineering process and is applied regardless of the development paradigm and area of application. Design is the first step in the development phase for any engineered product or system. The designer’s goal is to produce a model or representation of an entity that will later be built. Beginning, once system requirement have been specified and analyzed, system design is the first of the three technical activities -design, code and test that is required to build and verify software. The importance can be stated with a single word “Quality”. Design is the place where quality is fostered in software development. Design provides us with representations of software that can assess for quality. Design is the only way that we can accurately translate a employee’s view into a finished software product or system. Software design serves as a foundation for all the software engineering steps that follow. Without a strong design we risk building an unstable system – one that will be difficult to test, one whose quality cannot be assessed until the last stage. During design, progressive refinement of data structure, program structure, and procedural details are developed reviewed and documented. System design can be viewed from either technical or project management perspective. From the technical point of view, design is comprised of four
  • 27. 27 activities – architectural design, data structure design, interface design and procedural design.
  • 28. 28 3.5 USE CASE DIAGRAM 3.5.1 Use Case Diagram for User Figure 3.2: User use case diagram student or Client home page Login and Register Book Appointment Update data Chat with counsellor Drop comment For counselor
  • 29. 29 3.5.2 Use case for Admin Figure 3.3: Admin Use Case Diagram Login/Logout Registered Member Enter Chat Reply comment Create New Counsellor Administrator Book Appointment
  • 30. 30 3.6 INPUT DESIGN This section describes various inputs that are needed for the output of the new system to the user. The report of the student is specified. These reports are made of characters which can either be numeric, alphanumeric and alphabetic. New User Registration Form Figure 3.4: New User Registration Form
  • 31. 31 Existing User Login Figure 3.5: Existing User Login
  • 36. 36 Appointment Time and Date Page Figure 3.10: Appointment Page and Date Page
  • 37. 37 Registered Admin Page Figure 3.11: Registered Admin Page
  • 38. 38 Admin Login Page Figure 3.12: Admin Login Page
  • 39. 39 3.7 OUTPUT DESIGN The output is design to generate details of employee information and data, the authorize user must login to the system by making use of the authenticated staff id and password before getting to the welcome page below. Home Page Figure 3.13: Home Page
  • 40. 40 About Us Page Figure 3.14: About Us page
  • 42. 42 Appointment Booking Page Figure 3.16: Appointment Booking Page 3.8 DATABASE DESIGN Database specification This section describes the input and output requirement for the system to be develop. This specification involves the creation of the files in which the various variables or field name to be used as specified together with their types and the specifications. The input in this project is of three file which are; user registration and admin registration. Database Use Microsoft server 2012 was use to design the database for online guidance and counselling. The online counselling contains seven tables.
  • 43. 43 1. Appointment Table: contains basic administrator information. Figure 3.17: Appointment Table
  • 44. 44 3 Comment Table: Figure 3.18: Comment Table
  • 45. 45 4 Login_admin Table: Figure 3.19: Login_Admin Table
  • 46. 46 5. .Register Table: Figure 3.20: Register Table 5 Register s 6 7 Figure 3.20: Register Table
  • 47. 47 6. Registered staff table: Figure 3.21: Registered Staff Table
  • 48. 48 7. Student User Table: Figure 3.22: Student User Table
  • 49. 49 8 User Table: Figure 3.23: User Table 3.9 PROCEDURE DESIGN The structure of new system is such that provides different menu for easy accessibility and manipulation of records. The main menu modules are described as follows. 1. USER REGISTRATION: This is the first module in the main menu. The module takes care of student registration from which consists of student names, matric no, sex, phone number and so on; 2. ADMIN REGISTRATION: This is the second module in the main menu. This module takes care of the Admin registration which consists of username and password;
  • 50. 50 3.10 SYSTEM FLOWCHART A flowchart is a type of diagram that represents an algorithm, workflow or process, showing the steps as boxes of various kinds and their order of connecting them with the arrows.
  • 51. 51 USER FLOW CHART NO Figure 3.24: User Flowchart Drop comment Booking appointme nt Updating details Chatting with counselor Close Close Close End Get menu for booking, updating, chatting and comments Menu Start User valid? Load page Main page
  • 52. 52 ADMIN FLOW CHART Figure 3.25: Admin Flowchart Menu Enter Chat Appointment Register Reply comment Create new close ccloseClo se End Start Admin valid? Load page Main page Get menu for Appointment, Register, chat, Reply, and Create
  • 53. 53 CHAPTER FOUR SYSTEM IMPLEMENTATION 4.1 CHOICE OF PROGRAMMING LANGUAGE PHP and MYSQL is used in designing this project, the reason for using PHP is because of its efficiency and features it possesses compare to any other programming language. PHP which is a scripting language is used for the web pages while MYSQL is used for Database.PHP was mainly used in implementing the project because; 1.It is free open source software with license. 2. It is easy to learn and use compared to other programming languages. 3. It is very good for developing web pages especially dynamic web 4. It is very fast in execution. MYSQL was also used due to the following reasons 1.It is also open source. 2. Common and generally accepted. This process will make use of a web based series of forms that when completed, the person in need of professional counselling would be able to identify the nature of their challenge appropriately. This form will enable the person give an overview of what is bothering them. There would be a secure system where only current students of the university would be able to have access. This is going to be done by the students creating and then registering their accounts with the use of their personal matriculation.
  • 54. 54 4.2 SYSTEM REQUIREMENT 4.2.1 HARDWARE SUPPORT Hardware: The new system will require the following hardware tool and configurations. 1. Pentium iii central processing unit 2.Minimum of 10GB of Hard-disk 3. 256 Memory (RAM) 4.2.2 SOFTWARE SUPPORT Software: The software requirement includes the following: 1.Window 7/8 or higher versions 2.Microsoft Essential (Anti- Virus program) 3.Microsoft SQL server 2012 4.Local server 4.3 IMPLEMENTATION TECHNIQUE This section describes how the new system will is implemented for effective operation. Two features are mainly required, this features include the hardware and software unit. The system implementation of the new system is parallel i.e. both the existing and new system will be used concurrently before it finally has good stand in the system. This is used because having jumped out to new system directly with existing system completely out can cause breakdown to every record already taken during the cause of using the new system alone if there is any problem in the program maintenance.
  • 55. 55 4.4 DOCUMENTATION OF THE SYSTEM 4.4.1 SYSTEM DOCUMENTATION In order to use the proposed application on any computer system, the following steps need to be taken 1.Boot the system 2.Install wamp server on the system ( wamp server is a local server that enables one to view the site the way it has been designed) 3.After successful installation you will have a folder with the name wamp in the local or hard disk 4.Copy the folder to www inside wamp folder 5.Open any browser on the system example opera, Mozilla firebox, Microsoft internet explorer 6. Type http://localhost/counsell/home.php on the address bar and press the enter key
  • 56. 56 CHAPTER FIVE SUMMARYCONCLUSION AND RECOMMENDATIONS 5.1 SUMMARY This project work titled“Development of An Online Guidance and Counseling using Chat Platform” Aimed at developing a web based system that will enable Counselor to counsel student online. This work examined the challenges and short coming of the existing system for counseling and also provides a suitable solutions, it also highlighted the advantages and benefits of using the proposed system for counseling. 5.2 CONCLUSION There have been many advances and influences on the field of counseling. However, the introduction of technology, particularly emerging forms, appears to be leaving a lasting impression on how counselors conduct their work online. It is clear that students in the university are using the internet with increasing frequency, many with the goal of seeking mental health help or information. It is advises that counselors stay abreast of the rapidly changing world of technology, particularly as it influences their work. They recommend participating in ongoing technological training, staying familiar with online resources, and being aware of the refinement of guidelines for internet use in counseling. It is believe that there are many benefits to both the counselor and the client/student when technology is introduced, but that both should be aware of practices that safeguard confidentiality.
  • 57. 57 5.3 RECOMMENDATIONS This project write-up is recommended for every university that is still makes use of manual method for counselling and guidance of student. The following recommendations are hereby made to any university that may wish to make use of this project work for computerized process of counselling. They are as follow: 1. For further research study students should be able to do video chat with the counselor. 2. The form of interaction which is audio should be included for better and easy communication.
  • 58. 58 REFRENCES Britannica encyclopaedia(2013) Fundamentals of Guidance and counselling- R. S.Sharma Guidiance and counselling- A. K. Nayak Özad,B. and Kutoğlu,Ü. (2010) The use Of the Internet in media education. The Turkish Online Journal ofEducational Technology. İşman, A.(2003) Technology. The Turkish Online Journal of Educational Technology.2(1),28-33. İşman.A. et.al (2004). The evaluation of students’ perceptions of distance education. The Turkish Online Journal of Educational Technology. 3(3), 55-61. Kuzgun, Y. (1992). Rehberlik ve Psikolojik Danışma. ÖSYM Yayınları, Ankara, pp.37. Nua İnternet Surveys, (2004). How many online? Retrieved from 4.10.2004, http://www.nua.ie, ,B. and Kutoğlu,Ü. (2010) The use Of the Internet in media education. The Turkish Online Journal of Educational Technology
  • 59. 59 APPENDIX /* HOME PAGE*/ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript" src="javascript/jquery-1.3.js"></script> <link href="style.css" rel="stylesheet" type="text/css" /> <link href="menu_style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> $(function() { // create the image rotator setInterval("rotateImages()", 2000); }); function rotateImages() { var oCurPhoto = $('#photoShow div.current'); var oNxtPhoto = oCurPhoto.next(); if (oNxtPhoto.length == 0) oNxtPhoto = $('#photoShow div:first'); oCurPhoto.removeClass('current').addClass('previous');
  • 60. 60 oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 }, 1000, function() { oCurPhoto.removeClass('previous'); }); } </script> <style type="text/css"> #photoShow { height:270px; width:900px; } #photoShow div { position:absolute; z-index: 0; } #photoShow div.previous { z-index: 1; } #photoShow div.current { z-index: 2; } </style>
  • 61. 61 </head> <body> <div id="container"> <div id="banner"></div> <div id="marq"> <marquee> Welcome to Guidance Counselling Unit </marquee> </div> <div id="link" class="menu"> <ul> <li><a href="index.php" id="current">Home</a></li> <li><a href="about_us.php">About Us </a></li> <li><a href="counselling_center.php">Counselling Center</a></li> <li><a href="admin_log.php">Admin Login</a></li> <li><a href="#">Contact Us</a></li> </ul> </div> <div id="image_slideshow"> <div id="photoShow"> <div class="current"> <img src="images/1.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div>
  • 62. 62 <div> <img src="images/2.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/3.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/4.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> </div> </div> <div id="body"> <div id="body_left"> <div class="span_back"><center>Welcome to Guidance and counsellin Centre</center></div> As of today the guidance and counselling unit in the University of Ilorin is operated in a fully manual counselling arena. There are four counsellors and one director each counsellor has his/her area of counselling expertise but can still handles other areas as they are trained diversely. There are two counselling offices. When students wish to see a counsellor they will be given a biodata form to fill which contain the important details of the student then counsellors may later refer to in their diagnosis, the biodata form contains information such as Depending on whether or not there is a student in the counsellor’s office the prospective client will either wait or go into the office to see the counsellor who will then proceed with their session or make an appointment for another day. <hr /> <div class="span_back"><center>Welcome to Guidance and counsellin Centre</center></div> Each student who has visited the office has a file containing the bio data form of every visit, everything discussed in the office is under the ors oath of confidentiality. Once the
  • 63. 63 session is complete it is then the ors’ duty to carry out a check-up on the student to make sure he or she is doing better and to set up more appointments when necessary. </div> <div id="body_right"> <p> <a href="register_users.php"> Meet with a Counsellor online by Registering Now(New User)</a> </p> <p> <a href="new_reg.php"> Meet with a Counsellor online by Loggin In(Existing User)</a> </p> <p><img src="images/images.jpg" width="259" height="195" /></p> <p>Are u facing any challenges and you think you need counsel then<a href="register_users.php"> register today</a></p> <p><img src="images/images (4).jpg" width="400" height="120" /></p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> </div> </div> <div id="footer"><center>2014 &copy; Copyright University of Ilorin(Guidance and Counselling Unit)</center></div> </div> </body>
  • 64. 64 </html> /* ABOUT US PAGE*/ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript" src="javascript/jquery-1.3.js"></script> <link href="style.css" rel="stylesheet" type="text/css" /> <link href="menu_style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> $(function() { // create the image rotator setInterval("rotateImages()", 2000); }); function rotateImages() { var oCurPhoto = $('#photoShow div.current'); var oNxtPhoto = oCurPhoto.next();
  • 65. 65 if (oNxtPhoto.length == 0) oNxtPhoto = $('#photoShow div:first'); oCurPhoto.removeClass('current').addClass('previous'); oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 }, 1000, function() { oCurPhoto.removeClass('previous'); }); } </script> <style type="text/css"> #photoShow { height:270px; width:900px; } #photoShow div { position:absolute; z-index: 0; } #photoShow div.previous { z-index: 1; } #photoShow div.current {
  • 66. 66 z-index: 2; } </style> </head> <body> <div id="container"> <div id="banner"></div> <div id="marq"> <marquee> Welcome to Guidance Counselling Unit </marquee> </div> <div id="link" class="menu"> <ul> <li><a href="index.php">Home</a></li> <li><a href="about_us.php" id="current">About Us </a></li> <li><a href="counselling_center.php">Counselling Center</a></li> <li><a href="admin_log.php">Admin Login</a></li> <li><a href="#">Contact Us</a></li> </ul> </div> <div id="image_slideshow">
  • 67. 67 <div id="photoShow"> <div class="current"> <img src="images/1.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/2.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/3.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/4.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> </div> </div> <div id="body"> <div id="body_left"> <div class="span_back"><center>About Guidance and counsellin Centre</center></div> Guidance counselling, by name counselling and guidance, the process of helping individuals discover and develop their educational, vocational, and psychological potentialities and thereby to achieve an optimal level of personal happiness and social usefulness. Students often find themselves caught up in an unprecedented amount of problems in their daily lives be it educational in nature or not, these problems are vast and have roots in an un-imaginable array of topics. Unspoken dilemmas especially amongst the youth often fester in the minds of their hosts poisoning the very core of their person and thus leading them to partake in socially unacceptable manners. People suffering from mental distress of any kind no matter how minute it is, is expected to talk to someone about their problems which is arguably the most effective means of problem solving. <hr />
  • 68. 68 <div class="span_back"><center>About Guidance and counsellin Centre</center></div> . It is for this reason, for students to have a listening and professional ear to adhere to their many troubles that every school is required to have a fully staffed and operational guidance and counselling unit however despite the gross importance of the department; it still faces a large setback concerning its clientele. Seeing as the entire population of clients the guidance and counselling unit caters to are students, most of them in their youth it therefore faces the major problem of diminishing and unwilling clientele. </div> <div id="body_right"> <p> <a href="register_users.php"> Meet with a Counsellor online by Registering Now(New User)</a> </p> <p> <a href="new_reg.php"> Meet with a Counsellor online by Loggin In(Existing User)</a> </p> </div> </div> <div id="footer"><center>2014 &copy; Copyright University of Ilorin(Guidance and Counselling Unit)</center></div> </div> </body> </html> <?php session_start(); ?>
  • 69. 69 <?php require_once("includes/connection.php"); ?> <?php require_once("includes/functions.php"); ?> /* ADMIN LOGIN*/ <?php include_once("includes/form_functions.php") ?> <?php find_selected_page(); ?> <?php include_once("includes/form_functions.php"); //start form processing if(isset($_POST['submit'])){ $errors=array(); $required_fields=array('username','password');
  • 70. 70 $errors=array_merge($errors, check_required_fields($required_fields, $_POST)); $fields_with_lengths=array('username'=>30, 'password'=>30); $errors=array_merge($errors, check_max_field_lengths($fields_with_lengths,$_POST)); $username=trim(mysql_prep($_POST['username'])); $password=trim(mysql_prep($_POST['password'])); $redirect = (isset($_REQUEST['redirect'])) ? $_REQUEST['redirect'] : 'adminpanel.php'; if(empty($errors)){ //check database to see if username and the hashed password exist there $query = "select * "; $query .= "from login_admin "; $query .= "where username = '{$username}' "; $query .= "and password = '{$password}'"; $result_set=mysql_query($query); confirm_query($result_set); if(mysql_num_rows($result_set)==1) { //username/password authenticated and only one match $found_user=mysql_fetch_array($result_set); $_SESSION['user_id']=$found_user['id'];
  • 71. 71 $_SESSION['username']=$found_user['username']; $_SESSION['logged'] = 1; { header ('Refresh: 5; URL=' . $redirect); echo ' <p> You will be redirected to your original page request. </p> '; echo ' <p> If your browser doesn't redirect you properly automatically, ' . ' <a href="' . $redirect . '"> click here </a> . </p> '; die(); } } else{ $message='<strong style="color:red;">'.'Username/Password combination is incorrect'.'</strong>'; } } else { if (count($errors)==1){ $message="There was 1 error in the form"; }else{ $message="There were"." ".count($errors)." "."errors in the form"; }
  • 72. 72 } } else { //form has not been submitted $username=""; $password=""; $message=""; if(isset($_GET['logout']) && $_GET['logout']==1) { $message="<b><i>You are now logout</i></b>"; } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript" src="javascript/jquery-1.3.js"></script> <link href="style.css" rel="stylesheet" type="text/css" /> <link href="menu_style.css" rel="stylesheet" type="text/css" />
  • 73. 73 <script type="text/javascript"> $(function() { // create the image rotator setInterval("rotateImages()", 2000); }); function rotateImages() { var oCurPhoto = $('#photoShow div.current'); var oNxtPhoto = oCurPhoto.next(); if (oNxtPhoto.length == 0) oNxtPhoto = $('#photoShow div:first'); oCurPhoto.removeClass('current').addClass('previous'); oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 }, 1000, function() { oCurPhoto.removeClass('previous'); }); } </script> <style type="text/css"> #photoShow { height:270px;
  • 74. 74 width:900px; } #photoShow div { position:absolute; z-index: 0; } #photoShow div.previous { z-index: 1; } #photoShow div.current { z-index: 2; } </style> </head> <body> <div id="container"> <div id="banner"></div> <div id="marq"> <marquee> Welcome to Guidance Counselling Unit </marquee>
  • 75. 75 </div> <div id="link" class="menu"> <ul> <li><a href="index.php" >Home</a></li> <li><a href="about_us.php">About Us </a></li> <li><a href="counselling_center.php">Counselling Center</a></li> <li><a href="admin_log.php" id="current">Admin Login</a></li> <li><a href="#">Contact Us</a></li> </ul> </div> <div id="image_slideshow"> <div id="photoShow"> <div class="current"> <img src="images/1.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/2.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/3.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/4.png" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> </div> </div> <div id="body"> <div id="body_left">
  • 76. 76 <center> <fieldset style="height:200; width:300; border-color:#808080;" > <legend class="legend"> Admin Login</legend> <?php if(!empty($message)); { echo '<strong style="color:red;">' .$message. '</strong>'; } ?> <?php if(!empty($errors)) {display_errors($errors);} ?> <form id="form1" name="form1" method="post" action="admin_log.php"> <table> <tr> <td><font color="#000000"face="Arial, Helvetica, sans- serif">Username</font></td> <td><label> <input type="text" name="username" id="username" value="<?php echo htmlentities($username); ?>"/> </label> </td>
  • 77. 77 </tr> <tr> <td><font color="#000000" face="Arial, Helvetica, sans- serif">Password</font></td> <td><span id="sprytextfield2"> <label> <input type="password" name="password" id="password" value="<?php echo htmlentities($password); ?>" /> </label> </span></td> <tr> <td> <label> <input type="submit" name="submit" id="button" value="Login" /> </label> <label> <input type="submit" name="reset" id="button2" value="Discard" /> </label> </td> </tr> </form> </tr> </table>
  • 78. 78 </fieldset> </tr> </div> <div id="body_right"> <p> <a href="register_users.php"> Meet with a Counsellor online by Registering Now(New User)</a> </p> </div> </div> <div id="footer"><center>2014 &copy; Copyright University of Ilorin(Guidance and Counselling Unit)</center></div> </div> </body></html> /* ADMINPANEL*/ <?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title>
  • 79. 79 <script type="text/javascript" src="javascript/jquery-1.3.js"></script> <link href="style.css" rel="stylesheet" type="text/css" /> <link href="menu_style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> $(function() { // create the image rotator setInterval("rotateImages()", 2000); }); function rotateImages() { var oCurPhoto = $('#photoShow div.current'); var oNxtPhoto = oCurPhoto.next(); if (oNxtPhoto.length == 0) oNxtPhoto = $('#photoShow div:first'); oCurPhoto.removeClass('current').addClass('previous'); oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 }, 1000, function() { oCurPhoto.removeClass('previous'); }); } </script>
  • 80. 80 <style type="text/css"> #photoShow { height:270px; width:900px; } #photoShow div { position:absolute; z-index: 0; } #photoShow div.previous { z-index: 1; } #photoShow div.current { z-index: 2; } </style> </head> <body> <div id="container"> <div id="banner"></div> <div id="marq">
  • 81. 81 <marquee> Welcome to Guidance Counselling Unit </marquee> </div> <div id="link" class="menu"> <ul> <li><a href="index.php" id="current">Home</a></li> <li><a href="about_us.php">About Us </a></li> <li><a href="counselling_center.php">Counselling Center</a></li> <li><a href="admin_log.php">Admin Login</a></li> <li><a href="#">Contact Us</a></li> </ul> </div> <div id="image_slideshow"> <div id="photoShow"> <div class="current"> <img src="images/1.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/2.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/3.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/4.png" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> </div>
  • 82. 82 </div> <div id="body"> <div id="body_left"> <a href="logout_admin.php">Click here to Logout</a> <p> <a href="appointment_date.php"><span style="color:white; background- color:#F93">Apointment and their date</span></a> </p> <p> <a href="registered_member.php"><span style="color:white; background- color:#F93">Registered Member</span></a> </p> <p> <a href="enter_chat.php"><span style="color:white; background-color:#F93">Enter Chat</span></a> </p> <p> <a href="reply_comment.php"><span style="color:white; background- color:#F93">Reply comments</span></a> </p> <p> <a href="new_admin.php"><span style="color:white; background-color:#F93">Create New Counsellor</span></a> </p>
  • 83. 83 </div> </div> <div id="footer"><center>2014 &copy; Copyright University of Ilorin(Guidance and Counselling Unit)</center></div> </div> </body> </html>
  • 84. 84 /* APPOINTMENT_DATE*/ <?php require_once("includes/staff_redirect.php"); ?> <?php require_once("includes/connection.php"); ?> <?php require_once("includes/functions.php"); ?> <?php include_once("includes/form_functions.php") ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript" src="javascript/jquery-1.3.js"></script> <script type="text/javascript"> $(function() {
  • 85. 85 $("#theList tr:even").addClass("stripe1"); $("#theList tr:odd").addClass("stripe2"); $("#theList tr").hover( function() { $(this).toggleClass("highlight"); }, function() { $(this).toggleClass("highlight"); } ); }); </script> <script type="text/javascript" src="javascript/jquery-1.3.js"></script> <link href="style.css" rel="stylesheet" type="text/css" /> <link href="menu_style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> $(function() { // create the image rotator setInterval("rotateImages()", 2000); });
  • 86. 86 function rotateImages() { var oCurPhoto = $('#photoShow div.current'); var oNxtPhoto = oCurPhoto.next(); if (oNxtPhoto.length == 0) oNxtPhoto = $('#photoShow div:first'); oCurPhoto.removeClass('current').addClass('previous'); oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 }, 1000, function() { oCurPhoto.removeClass('previous'); }); } </script> <style type="text/css"> #photoShow { height:270px; width:900px; } #photoShow div {
  • 87. 87 position:absolute; z-index: 0; } #photoShow div.previous { z-index: 1; } #photoShow div.current { z-index: 2; } th,td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 18px; color: #000000; } tr { border: 1px solid gray; } td { width:200px;
  • 88. 88 padding:3px; } th { background- color:#C60; color:#003366 } table { border: 1pt solid gray; } .clickable { cursor:pointer; } .stripe1 { background-color:#C60; } .stripe2 { background-color:#F99 ; } .highlight { background-color:#C96;
  • 89. 89 font-weight:bold; } </style> </head> <body> <div id="container"> <div id="banner"></div> <div id="marq"> <marquee> Welcome to Guidance Counselling Unit </marquee> </div> <div id="link" class="menu"> <ul> <li><a href="index.php" id="current">Home</a></li> <li><a href="about_us.php">About Us </a></li> <li><a href="counselling_center.php">Counselling Center</a></li> <li><a href="admin_log.php">Admin Login</a></li> <li><a href="#">Contact Us</a></li> </ul>
  • 90. 90 </div> <div id="image_slideshow"> <div id="photoShow"> <div class="current"> <img src="images/1.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/2.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/3.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/4.png" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> </div> </div> <div id="body"> <div id="body_left"> <a href="logout_admin.php">Click here to Logout</a><br/> <a href="adminpanel.php"><>Back to Admin Panel<></a> <table style=" color:#FFFFFF; font-family:Arial, Helvetica, sans-serif; width:500px; height:20px;"><tr><td style="width:500px;"><center>Those on Apointment with Date</center></td></tr></table>
  • 91. 91 <table id="theList" style="width:300px"> <tr> <th> id </th> <th> Matriculation Number</th><th>firstname</th><th>Surname</th><th>Faculty</th><th>De partment</th><th>Session</th><th>Level</th> </tr> <?php $query = 'SELECT id,matric_no,names,counselling_center,year,month,days,time FROM appointment ORDER BY id ASC'; $result = mysql_query($query, $connection) or die(mysql_error($connection)); $odd = true; while ($row = mysql_fetch_array($result)) { echo ($odd == true) ? ' <tr class="odd_row"> ' : ' <tr class="even_row"> '; $odd = !$odd; echo '<td> <a href="appointment_date_edit.php?id=' . $row['id']. '" >' . $row['id'] . '</a> </td>';
  • 92. 92 echo '<td>' . $row['matric_no'] . '</td>'; echo '<td>' . $row['names'] . '</td>'; echo '<td>' . $row['counselling_center'] . '</td>'; echo '<td>' . $row['year'] . '</td>'; echo '<td>' . $row['month'] . '</td>'; echo '<td>' . $row['days'] . '</td>'; echo '<td>' . $row['time'] . '</td>'; echo '</tr>'; } mysql_free_result($result); ?> </th> </tr> </table> </div>
  • 93. 93 </div> <div id="footer"><center>2014 &copy; Copyright University ofIlorin(Guidance and Counselling Unit)</center></div> </div> </body> </html> /* BOOK_APPOINTMENT*/ <?php require_once("includes/student_redirect.php"); ?> <?php define("matric_no","matric_no"); define("names","names"); ?> <?php require_once("includes/connection.php"); ?> <?php require_once("includes/functions.php"); ?>
  • 94. 94 <?php include_once("includes/form_functions.php"); //start form processing if(isset($_POST['submit'])){ $errors=array(); $required_fields=array('counselling_center','year','month','days','time'); $errors=array_merge($errors, check_required_fields($required_fields, $_POST)); $fields_with_lengths=array('matric_no'=>30, 'names'=>30); $errors=array_merge($errors, check_max_field_lengths($fields_with_lengths,$_POST)); $matric_no=trim(mysql_prep($_POST['matric_no'])); $names=trim(mysql_prep($_POST['names'])); $counselling_center=trim(mysql_prep($_POST['counselling_center']));
  • 95. 95 $year=trim(mysql_prep($_POST['year'])); $month=trim(mysql_prep($_POST['month'])); $days=trim(mysql_prep($_POST['days'])); $time=trim(mysql_prep($_POST['time'])); $_SESSION['logged'] = 1; $_SESSION['matric_no'] = $matric_no; $redirect = (isset($_REQUEST['redirect'])) ? $_REQUEST['redirect'] : 'profile_student.php'; /**$_SESSION['user_id']=$found_user['id']; $_SESSION['reg_num']=$found_user['reg_num']; $_SESSION['lastname']=$found_user['lastname']; $_SESSION['firstname']=$found_user['firstname'];
  • 96. 96 **/ //$query = 'SELECT matric_no FROM student_users WHERE matric_no = "' . //$matric_no . '"'; //$result = mysql_query($query, $connection) or die(mysql_error()); if (mysql_num_rows($result) == 1) { $errors[] = 'matric_no ' . $matric_no.' is already registered.'; $matric_no = ''; } if(empty($errors)){ $query="insert into appointment(matric_no,names,counselling_center,year,month,days,time) values('{$matric_no}','{$names}','{$counselling_center}','{$year}','{$month}','{$days}',' {$time}')"; $result=mysql_query($query,$connection); if($result) {
  • 97. 97 header ('Refresh: 5; URL=' . $redirect); echo ' <p> You will be redirected to your original page request. </p> '; echo ' <p> If your browser doesn't redirect you properly automatically, ' . ' <a href="' . $redirect . '"> click here </a> . </p> '; die(); } else { $message="The user could not be created"; $message.= "<br/>" . mysql_error(); } } else
  • 98. 98 { if (count($errors)==1){ $message="There was 1 error in the form, Ensure all columns with asteric are filled(*)"; }else{ $message="There were "." ".count($errors)." "."errors in the form, Ensure all columns with asteric are filled(*)"; } } } else { //form has not been submitted $matric_no=""; $names=""; $counselling_center="";
  • 99. 99 $year=""; $month=""; $days=""; $time=""; $message=""; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript" src="javascript/jquery-1.3.js"></script>
  • 100. 100 <link href="style.css" rel="stylesheet" type="text/css" /> <link href="menu_style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> $(function() { // create the image rotator setInterval("rotateImages()", 2000); }); function rotateImages() { var oCurPhoto = $('#photoShow div.current'); var oNxtPhoto = oCurPhoto.next(); if (oNxtPhoto.length == 0) oNxtPhoto = $('#photoShow div:first'); oCurPhoto.removeClass('current').addClass('previous');
  • 101. 101 oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 }, 1000, function() { oCurPhoto.removeClass('previous'); }); } </script> <style type="text/css"> #photoShow { height:270px; width:900px; } #photoShow div { position:absolute; z-index: 0; }
  • 102. 102 #photoShow div.previous { z-index: 1; } #photoShow div.current { z-index: 2; } th,td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 18px; color: #000000; } tr { border: 1px solid gray; }
  • 103. 103 td { width:200px; padding:3px; } th { background- color:#C60; color:#003366 } table { border: 1pt solid gray; } .clickable { cursor:pointer; } .stripe1 {
  • 104. 104 background-color:#C60; } .stripe2 { background-color:#F99 ; } .highlight { background-color:#C96; font-weight:bold; } </style> </head> <body> <div id="container"> <div id="banner"></div>
  • 105. 105 <div id="marq"> <marquee> Welcome to Guidance Counselling Unit </marquee> </div> <div id="link" class="menu"> <ul> <li><a href="index.php" id="current">Home</a></li> <li><a href="about_us.php">About Us </a></li> <li><a href="counselling_center.php">Counselling Center</a></li> <li><a href="admin_log.php">Admin Login</a></li> <li><a href="#">Contact Us</a></li> </ul> </div> <div id="image_slideshow">
  • 106. 106 <div id="photoShow"> <div class="current"> <img src="images/1.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/2.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/3.jpg" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> <div> <img src="images/4.png" alt="Photo Gallery" width="900" height="270" class="gallery" /></div> </div> </div> <div id="body"> <a href="logout_student.php">Click here to Logout</a> <p> <span style="color:white; background-color:#060">Book Time for Appointment by choosing any category of the counselling unit</span> </p>
  • 107. 107 <?php if(!empty($message)); { echo "<p class="message">" .$message. "</p>"; } ?> <form id="form1" name="form1" method="post" action="book_appointment.php"> <table width="836"> <tr> <?php //Automatically generate registration numbers for student that are registered $sql = mysql_query("select * from student_users where matric_no='" . $_SESSION['matric_no'] . "'") or die(mysql_error()); $row = mysql_fetch_assoc($sql);
  • 108. 108 /// Insert your HTML FORMATTING BELOW HERE WITH THESE VARIABLE ?> <td>Matric No</td> <td><label for=""></label> <input type="text" name="matric_no" value="<?php echo $row[matric_no]; ?>"/></td> </tr> <tr> <td>Names</td> <td><label for="textfield2"></label> <input type="text" name="names" id="textfield2" value="<?php echo $row[names]; ?>"/></td> </tr> <tr>
  • 109. 109 <td width="327">Sections in the Counselling Center</td> <td width="463"><label for="select"></label> <select name="counselling_center" id="select"> <option selected="selected">Select</option> <option value="Education Academic Counselling">Education Academic Counselling</option> <option value="Carrier Guidance Counselling">Carrier Guidance Counselling</option> <option value="Personal Social Counselling">Personal Social Counselling</option> <option value="Mariage and Family Counselling">Mariage and Family Counselling</option> <option value="Financial Counselling">Financial Counselling</option> <option value="Health Counselling">Health Counselling</option> <option value="Research and Other Counselling Related activities">Research and Other Counselling Related activities</option> </select></td>
  • 110. 110 </tr> <tr> <td>Year to book Appointment</td> <td><label for="select5"></label> <select name="year" id="select5"> <option selected="selected">Select</option> <option value="2014">2014</option> <option value="2015">2015</option> <option value="2016">2016</option> <option value="2017">2017</option> <option value="2018">2018</option> <option value="2019">2019</option> <option value="2020">2020</option> </select></td> </tr>
  • 111. 111 <tr> <td>Month of the Year to book Appointment</td> <td><label for="select4"></label> <select name="month" id="select4"> <option selected="selected">Select</option> <option value="January">January</option> <option value="February">February</option> <option value="March">March</option> <option value="April ">April </option> <option value="May">May</option> <option value="June">June</option> <option value="July">July</option> <option value="August">August</option> <option value="September">September</option> <option value="October">October</option>
  • 112. 112 <option value="November">November</option> <option value="December">December</option> </select></td> </tr> <tr> <td>Days of The Week to Book Appointment</td> <td><label for="select3"></label> <select name="days" id="select3"> <option selected="selected">Select</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option>
  • 113. 113 <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option>
  • 114. 114 <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <label for="select2"></label></td> </tr> <tr> <td>Time Schedule to meet with a cousellor</td>
  • 115. 115 <td><select name="time" id="select2"> <option selected="selected">Select</option> <option value="8:00-10am">8:00-10am</option> <option value="12:00pm-2:00pm">12:00pm-2:00pm</option> <option value="4:00pm-6:00pm">4:00pm-6:00pm</option> </select></td> </tr> <tr> <td>&nbsp;</td> <td><input type="submit" name="submit" id="button" value="Submit Comment" /></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> </tr>
  • 116. 116 </table> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> </form> <p>&nbsp;</p> <table id="theList" style="width:150px"> <tr><th> Matriculation Number </th><th>Names</th><th>Section to be Counselled</th><th>Year</th> <th>Month</th> <th>Days</th><th>Time</th> </tr> <?php //Automatically generate registration numbers for student that are registered
  • 117. 117 $sql = mysql_query("select * from appointment where matric_no='" . $_SESSION['matric_no'] . "'") or die(mysql_error()); //$result = mysql_query($sql, $connection) or die(mysql_error($connection)); $odd = true; while ($row = mysql_fetch_array($sql)) { echo ($odd == true) ? ' <tr class="odd_row"> ' : ' <tr class="even_row"> '; $odd = !$odd; //echo '<td> <a href="edit_users_staff.php?id=' . $row['id']. '" >' . //$row['id'] . '</a> </td>'; echo '<td>' . $row['matric_no'] . '</td>'; echo '<td>' . $row['names'] . '</td>'; echo '<td>' . $row['counselling_center'] . '</td>'; echo '<td>' . $row['year'] . '</td>'; echo '<td>' . $row['month'] . '</td>'; echo '<td>' . $row['days'] . '</td>';
  • 118. 118 echo '<td>' . $row['time'] . '</td>'; echo '</tr>'; } mysql_free_result($sql); ?> </th> </tr> </table> </div> <div id="footer"><center>2014 &copy; Copyright University of Ilorin(Guidance and Counselling Unit)</center></div> </div> </body> </html>