You are on page 1of 181

Statement and Confirmation of

Own Work
Programme/Qualification name: University of Wales BSc (ons! in Business
Com"uting and #nformation Systems
All NCC Education assessed assignments submitted by students must have this statement as the
cover page or it will not be accepted for marking. Please ensure that this statement is either
firmly attached to the cover of the assignment or electronically inserted into the front of the
assignment.
Student declaration
I have read and understood NCC Educations Policy on Academic ishonesty and Plagiarism.
I can confirm the following details:
Student #$/%egistration num&er: '''()*'*
+ame: ,oac-im ans Pegel +tiamoa-
Centre +ame: #P.C College of /ec-nology
.odule +ame: #nformation Systems Pro0ect:
.odule 1eader: 2ic Page
+um&er of words: 3'4'(5
I confirm that this is my own work and that I have not plagiari!ed any part of it. I have also
noted the assessment criteria and pass mark for assignments.
$ue $ate: 6
t-
,uly )'3)
Student Signature: ,77P7+7
Su&mitted $ate: )8 ,uly )'3)
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ghana
Police
Informatio
n System
(G.P.I.S.)
JULY 9
2012
Crime File Management System
Table of Content
2
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Acknowledgements 6
Abstract..............................................................................................7
Chapter 1: Introduction 8
1.1 Project !er!iew...........................................................................8
1.1.1 "echnical bjecti!e.....................................................................8
1.1.# Personal bjecti!e......................................................................8
1.1.$ Academic bjecti!e.....................................................................8
1.# Project %ackground.......................................................................&
1.$ Project 'usti(cation........................................................................&
1.) Project *cope...............................................................................1+
1., -e!elopment .ethodolog/...........................................................1#
1.6 *ummar/.....................................................................................1$
Chapter #: *peci(cation 1)
#.1 Core */stem................................................................................1)
#.1.# Core */stem..............................................................................1)
#.1.$ Control Panel .odule................................................................16
#.1.) *cope Changes .ade.................................................................17
#.1., *ummar/..................................................................................17
Chapter $: -esign 18
$.1. Architecture................................................................................18
$.1.#. -ata........................................................................................18
$.1.$. -atabase.................................................................................18
$.1.) 0ormalisation...........................................................................1&
$.1., !erall *tructure.......................................................................1&
$.1.6 1ser Inter2ace...........................................................................#+
$.#. -e!elopment..............................................................................#1
$.#.1 Process.....................................................................................#1
$.#.#."ools.........................................................................................#1
$.$ .odule -esign.............................................................................##
$.$.1 Core */stem..............................................................................##
Fi!re ".".1(a) #eister Se$!ence %iaram.......................................................22
Fi!re ".".1(&) '(it Pro)le Se$!ence %iaram...................................................2"
Fi!re ".".1(c) *(( +rime #e,ort.......................................................................2"
Fi!re ".".1(() Se$!ence %iaram-*(( +om,laint............................................2.
Fi!re ".".1(() Se$!ence %iaram- *(( /ost 0ante( Person...........................2.
Fi!re ".".1(f) '(it +om,lain #e,ort-Se$!ence %iaram...................................21
Fi!re ".".1() '(it +om,lain #e,ort-Se$!ence %iaram..................................21
Fi!re ".".1(h) +ore a,,lication-+lass %iaram.................................................22
Fi!re ".".1(I) 'ntity %ata&ase schema-+ore *,,lication..................................23
Chapter ): 3eali4ation #8
).1 *tandards....................................................................................#8
).1.1 Comments................................................................................#8
).1.# 0aming Con!entions..................................................................#8
).#. *ecurit/ and Pri!ac/....................................................................#8
).#.1. Include 5iles............................................................................#&
"
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
).#.#. 1ser Authentication..................................................................#&
).#.). *ta6 and 1ser Permissions.......................................................#&
).$.Code *tructure7 Code *nippet and ser!er implementation..............#&
Code *nippet ).$.1............................................................................$+
*((com,laints4(is,lay.,h,................................................................................ "0
5ie64most46ante(.,h,...................................................................................... "2
'(it4acco!nt4,rocessor.,h,............................................................................... "3
7ie6crime.,h,................................................................................................... "9
most46ante(.,h,............................................................................................... ."
reistration.,h,.................................................................................................. 10
complaints.php..................................................................................6#
).$.#. -atabase "ables.......................................................................7+
).$.$. -ata "/pe................................................................................7+
).$.) %ackup and .aintenance...........................................................7+
).$.,.*/stem !er!iew......................................................................7+
).$.6 -e2ault 8iew o2 9.P.I.*...............................................................71
).$.7. :ogon *creen...........................................................................71
).$.8. 3egistration 5orm....................................................................71
).$.&. 1ser Pro(le Page......................................................................7#
).$.1+ Control Panel..........................................................................7$
).). *ummar/....................................................................................7$
Chapter , "esting 7)
,.1 1nit "esting.................................................................................7)
,.# :og In .odule "esting...................................................................7,
,.$ 1ser Acceptance "esting ;1A"<......................................................76
,.$.1.Integration "est........................................................................76
,.$.#. 1ser Inter2ace -esign...............................................................76
,.$.$. 1se2ulness o2 Application..........................................................77
,.$.). Per2ormance............................................................................77
,.) *ummar/.....................................................................................77
Chapter 6: Conclusion 78
6.1 !er!iew o2 Project......................................................................78
6.1.1 "echnical...................................................................................78
6.1.#. Personal -e!elopment..............................................................78
6.1.$. Project Anal/sis.......................................................................78
6.1.) 1n(nished =ork........................................................................7&
6.# :essons :earnt.............................................................................7&
6.#.1. "echnical..................................................................................7&
6.#.#. Academic.................................................................................7&
6.#.$ Personal...................................................................................7&
6.#.$ *ummar/..................................................................................7&
Appendi> *imilar */stems 81
A......................................................................................................81
In5estiation on similar systems........................................................................81
%? 1se Case -iscriptions.....................................................................8#
C?-ata -ictionar/..............................................................................8)
.
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
-?*/stem 3e@uirements.....................................................................87
A?Installation Instructions..................................................................88
5?1ser .anual...................................................................................&#
9?Code *nippets..............................................................................1+1
C** 53 1*A3 I0"A35ACA ;9eneral *t/le *heet<................................1+#
addcomplaintsBdispla/.php...............................................................1)$
addcrimeBdispla/.php.......................................................................1)6
addmostwantedBdispla/.php.............................................................1)7
Con(g.php.......................................................................................1,1
cpanel.php......................................................................................1,#
crimeBreport.php.............................................................................1,,
editBaccountBprocessor.php..............................................................161
editBcomplaint.php..........................................................................16$
!iewBcomplaint.php.........................................................................168
3e2erencesC%ibliograph/ 17&
Acknowledgements
First and foremost I would like to thank God Almighty for his strength, mercies and courage. I
am grateful.
1
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
The successful completion of the Ghana Police Information System Project has een a
comined effort made y the de!eloper and a contriution made possile y indi!iduals and
organisations I herey do acknowledge.
"y sincere gratitude goes to the management of #$$ %ducation, &ondon and IP"$, Accra for
the gi!ing me the !aluale support and opportunity to complete this project. I also thank the
"anagement of PentiumTech &imited for ser!ing as a liaison with the Ghana Police Ser!ice to
conduct !arious user le!el inter!iews to e ale to come up with user re'uirements for this
project.
I also e(press my sincere gratitude to my colleagues at the #ational Identification Authority for
their input, ideas and support throughout this period. Finally, I thank my family memers and
friends for pro!iding me moral support to achie!e my goal.
Abstract
The purpose of this project is to de!elop an online crime information system for the Ghana
Police Ser!ice to e'uip it with crime reporting and administration application.
2
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
In Ghana when a crime is reported to the Police )epartment it takes manpower and resources
to generate reports. These reports are only peculiar to the station it was reported to.
In order to make a!ailale these reports to other stations it would re'uire a we ased
application system and thus Ghana Police Information System *G.P.I.S+,
Features of this online system includes en'uiry aout complaints that has een reported and
registered already, status of the complaint and the aility to !iew the most wanted person on the
run.
In general an online crime report management system would ser!e as a ridge etween the
!arious district police offices, this would enale !arious police stations to share different
information and help them stay in contact.
The administrati!e function of producing criminal report and tracking these reports would e
reduced greatly. Paper ased report would e minimi,ed since data produced would e stored
centrally in a dataase.
3
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Chapter 1: Introduction
This chapter pro!ides a detailed description of the system y focusing on the scope and
ojecti!es. The justification of the project as well as the ackground to the project is discussed
along with the description of the prolem domain.
)etails of the de!elopment methodology used for the project is discussed and the artifacts
produced from the project is deli!ered.
11 !ro"ect #$er$iew
Ghana Police Information system *G.P.I.S+ is a we-ased application that allows the Ghana
police ser!ice to communicate and collaorate in terms of crime reporting and administration.
To egin with, !arious technical, personal and academic ojecti!es were defined.
111 Technical #b"ecti$e
To produce an o!erall re'uirements specification for the system.
To design and de!elop the system in an incremental approach.
To incorporate each module produced into the o!erall system as soon as that
module is completed.
To identify e(isting open source reusale component liraries that will help in the
'uick de!elopment of a,,lication mo(!les.
11% !ersonal #b"ecti$e
9o ain in-(e,th :no6le(e in con(!ctin soft6are (e5elo,ment
,ro;ects.
9o ,ro(!ce a com,!ter system that 6ill meet the re$!irements of the
Ghana Police Ser5ice.
9o ain ,rorammin e<,erience in P=P an( /YS>L
11& Academic #b"ecti$e
To meet the academic re'uirements of the .$IS Project module.
To pro!e the effecti!eness of relational dataase techni'ues as would e thought
in the dataase design and de!elopment module later on in the semester.
To pro!e the effecti!eness of using P/P and "0S1& to de!elop we applications
8
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
1% !ro"ect 'ackground
$urrently, the state of crime information e(change within the Ghana Police Ser!ice is static
and rigid, the process is mostly analogue and thus criminal data analysis has ecome
inefficient and almost impossile to control, hence the need for G.P.I.S.
In Ghana, there are 23 regional capitals, 456 police stations and 275 district offices*chk
later+.
In Ghana, if a criminal acti!ity is reported, the !ictim reports to the closest police station
where they li!e to file a complaint. The officer on duty fills a statement report, which is a
re!iew of information as rememered y the complainant.
$urrently this is a manual8paper-ased process and these are easily manipulated or lost.
9ith the recommended G.P.I.S system, a !ictim will go to any law enforcement agency, *not
just their local one+ and the :fficer on duty would register the crime direct into the system.
The enefit that would e gained y de!eloping G.P.I.S would e the fact that, once the
situation has een logged to into the GPIS, changing data would e somewhat limited.
The person who registered the case could also get access to case progress report at any
point in time y going to any police station or using other forms of communication such as
email, telephone etc. and re'uesting an officer to access their case status y pro!iding
Statement ;eport $ode numer that is issued at the time of first registration.
A!ailale case details would include the S; code numer, crime details, action taken,
action pending.
The proposed system would e resourced to o!ercome the limitations of the e(isting
system. "anual entries such as paper work would e reduced to the minimum. Security
would also e impro!ed with the help of authentication and authori,ation to pre!ent
unauthori,ed users from ha!ing access to the system.
This system would e'uip the Ghana Police Ser!ice with not just a standalone ut we-
ased crime management system that will pro!ide a centrali,ed and secured data
repository of criminal records and make accurate information easily a!ailale and
accessile to law enforcement in all regions of the country to help create and track history
of culprits.
1& !ro"ect (ustification
The ases for choosing this project are to sol!e the usiness re'uirements of the Ghana
Police Ser!ice which are pro!iding a shared tool for communication and collaoration
etween regional police offices, organi,ing and managing crime reports, ensure data
accuracy. Another reason for choosing this project is to roaden my knowledge in
9
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
dataase systems. The tale elow summari,es how this project draws on other
modules of the course.
Course Module )nowledge to be applied from module to pro"ect
Software *ngineering Methods Practical application of project life cycle, and testing
techni'ues
Corporate Communication Systems
Management
Practical application of internet protocols and
application techni'ues.
Software *ngineering Management Practical application of project estimation, planning
and scheduling
Ad$anced +atabase Management Practical application of relational dataase design
techni'ue
#b"ect #riented Analysis and +esign Practical application of <nified modeling language
*<"&+
Management Support System Aility to apply e!aluation techni'ues such as
decision trees
Tale= 2 $ourse skills application
1, !ro"ect Scope
The scope of the system will e limited to the core usiness acti!ities of the Ghana Police
Ser!ice and its users namely=
Pro!iding tools for communication and collaoration etween regional police offices
:rgani,ing and managing crime reports
%nsure data accuracy
"inimi,e manual entry
Pro!ide .etter ser!ices
"inimum minimi,e time needed for !arious entry
9ith the G.P.I.S systems users are categori,ed into sections for the purpose of access and
security. <sers with higher clearance would e pri!ileged to more system functionalities.
Tale 2.> shows the !arious user and their clearance le!els as part of the systems re'uirement
-#.* C.*A-A/C* .*0*. +*SC-I!TI#/
10
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
0isitor 2 See hot news updateale y super user
-egistered #fficer > "anage own profile
Super 1ser ? "anages the entire system
Tale 2.> system $learance &e!els
$ore system functionalities identified during the project initiation document are needed to meet
the needs of the Ghana Police Ser!ice. Tale 2.? outlines these functionalities.
PDA*A 510C"I0A
:I"E
C:AA3A
0CA
:A8A:
-A*C3IP"I0
Core System ;egister - %nales one to register new account on
the system
&ogin - %nales one to login to the system
:fficers Profile 2 Profile of officer currently logged on
Settings Function that allows officers to edit their
details
Super <ser ? "odify the ackend of the dataase.
Add more tales in the future
Tale 2.? $ore system functionalities
9a&le 1..- %eli5ere( System /o(el
). One of the purposes of UML was to provide the development community with a
stable and common design language that could be used to develop and build
computer applications. UML brought forth a unifed standard modeling notation that
IT professionals had been wanting for years. Using UML IT professionals could now
read and disseminate system structure and design plans ! "ust as construction
wor#ers have been doing for years with blueprints of buildings.
11
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
12 +e$elopment Methodology
For this project I plan on using the Incremental Systems )e!elopment life cycle model and
<nified "odeling language *<"&+ approach.
According to Pressman, *Pressman, >33@=72+ the incremental model module can e de!eloped
for each separate phase in the project. If the projects deadline cannot e met then certain
modules can e renegotiated or dropped from the projects timelines.
This helps to mitigate the project from going eyond the timeline, as at least some functionality
will ha!e een deli!ered. The y-product of this methodology is that there would e always an
assessale project as each module gets integrated into the o!erall system and tested as on
12
Fi!re 1.1 incremental model *9ea!er, >336=43+
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Another reason for selecting the incremental mode is that, according to *9ea!er, >336= 46+ the
incremental model should e chosen if the re'uirement for the project is relati!ely clear and
would not change drastically o!er time. Therefore since there is no major need for prototyping,
other than for user interface design this method can e used.
13 Summary
A road description of the Ghana Police Information System *GPIS+ was pro!ided in this
chapter, its ojecti!es, de!elopment methodology and scope was descried as well.
1"
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Chapter %: Specification
This chapter addresses the22 re'uirement model of the Ghana Police Information System. A full
system re'uirement was carried out after the project initiation phase. <nified "odeling
&anguage diagraming techni'ue *<"&+ was used to facilitate this phase. )uring this phase, 7
modules were identified and de!eloped separately as a cohesi!e unit and later integrated into
the system as a whole.
A modular approach to de!elopment was also identified to manage the systems re'uirement to
enale me reak the work up in to smaller units. The modules that was were identified includes=
2. Add $omplaint
>. Add $rime ;eport
?. Add most wanted person
6. Aiew most wanted person
@. Aiew complaint
4. Aiew $rime ;eport
5. %dit $rime ;eport
7. %dit $omplaint
%ach of these modules is discussed using <"& use case diagrams. The use case descriptions
of these diagrams are pro!ided in appendi( A.
%1 Core System
The central module around which the system operates is known as the core of the system and
itBs categori,ed into two uni'ue sections.
Its functionalities includes=
2. ;egistration "odule
>. $ontrol Panel "odule
%1% Core System
The core of the system shown in figure >.2.2 tackles operations such as officer sign in, sign out,
registration of new officers, editing officer profile and password changes. Appendi( . section
.2outlines the use case description for the use cases in figure >.2.
$urrent officers can register an account on the system y themsel!es ased on prior appro!al
y superior officers. .ased on the rank of the officer, the system automatically assigns the
pri!ileges an officer is entitled to in the control panel. %(ample superior officers are assigned the
pri!ilege of editing crime report whiles su ordinate officers cannot edit a report. %(isting officer
of the system can edit their account information as well as change their password.
1.
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Figure >.2 C $ore System <se $ase )iagram
11
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
%1& Control !anel Module
The control panel module houses uni'ue modules that allows registered officers to either Add
$rime ;eport, Add most wanted person, Aiew most wanted person Aiew complaint, Aiew $rime
;eport, %dit $rime ;eport and %dit $omplaint.
The system automatically assigns specific modules ased on the rank of the officer. The use
case descriptions for the control panel use cases are listed in appendi( . section.
Figure >.> C$ontrol Panel <se $ase )iagram
12
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
%1, Scope Changes Made
Some use cases were not identified after the high le!el-design phase was completed some
use cases, which were not identified during the re'uirement analysis phase, would ha!e to
e added to the re'uirement model. The e(tra use cases with descriptions are pro!ided
elow.
1se Case Security Code has been sent to your e4mail
Actor )escription
#fficer After filling out each form and pressing the
sumit utton, the system automatically sends
out email containing a uni'ue security code to
the complainants email address for future
reference of the complain *how at
complainants who do not ha!e emailsDphone
numer+
%12 Summary
This chapter has e(plained into detail the re'uirement specification of the project. Pro!ision was
made using <"& use case diagrams and descriptions to model the core functions of that was
identified during the re'uirements analysis phase, the ne(t chapter would seek to uild on this
concept y pro!iding an o!er!iew of this systemBs design.
13
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Chapter &: +esign
This chapter addresses the high le!el and detailed design of the system for the modules
mentioned in chapter >.
Ghana Police Information System was de!eloped and customi,ed solely on the asis of security
and integrity of the systemE therefore any other institution cannot use the de!eloped modules.
The system was de!eloped in incremental fashion as descried in chapter 2 section 2.@.
&1 Architecture
The proposed information system utili,es the we protocol to deli!er carefully coded pages to
the we client !ia a we rowser. .y deciding to use this we architecture, pages can e ser!ed
to all district and regional police offices, whiles storing the data on in a central dataase
management system. The /TTP protocol is a standard protocol. The only client software a user
would re'uire is a we rowser and this comes inuilt into the operating system. "ore o!er we
applications ha!e lower maintenance and deployment cost since they do not rely on installing
client software on user computers. In terms of maintenance, we applications can e
maintained y modifying the codes that resides on the ser!er, this drastically reduces the time
and cost compared to traditional client-ser!er application, hence the reason for choosing the
we architecture for G.P.I.S.
G.P.I.S implements we ased technologies such as=
P/P Aersion @.?.4
"yS1& !ersion @.2
$ascading Style Sheet *$SS+
Fa!aScript
The tools used to implement the system must take into consideration the needs and scope of
the project. Also the e(perience of the de!eloper must e taken into consideration. Tools of set
of technologies may e considered appropriate,appropriateE howe!er, limited e(perience of the
de!eloper may affect the de!elopment of a solution.
&1% +ata
The system would store data on crimes and other crime related reports y citi,en and the
general pulic. It would also store information aout the officers in charge, which would enale
easy auditing of the systems and whoe!er makes changes.
&1& +atabase
The main aim of this information system is to store information hence the need for a dataase
management system *)".S+ for the proposed system. A flat file structure would e highly
ineffecti!e for managing the large amount of data especially with considering the issue of
concurrency of data access. A comparison of the major dataase management system *)."S+
that is potentially ale to satisfy the re'uirements of G.P.I.S is listed elow in tale ?.>.2.
18
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
9eature :ccess SQ1 Server .ySQ1 Oracle
Simple modification8alteration of
dataase y no!ices
0 0 # 0
;elati!ely simple solutions for ackup
and migration
0 0 0 0
%fficiently handles large data sets S 0 0 0
Support for Foreign Gey ;eferential
Integrity.
0 0 0 0
;elati!ely ine(pensi!e # # 0 #
/igh 'uality documentation a!ailale # # 0 #
Inde(ing support # 0 S 0
Tale ?.>.2 $omparison of !arious )ataase "anagement Systems
)*5
0 H yes # H no S H to a certain e(tent
From the tale, "yS1& was chosen as the preferred option to implement G.P.I.S due to its
aility to support foreign key referential integrity, "icrosoft Access lacked key the key
functionality that would enale G.P.I.S deploy we application and also that can handle data and
data access efficiently.
:racle supports an identical feature to "yS1&, howe!er, the de!eloper lacked the e(perience
and also the a!ailaility of the )."S hindered this option from eing chosen. Also the price
factor of :racle was taken into consideration. Aery few organisations can afford the cost of
:racle )."S. In future e(pansions, the disregard for not utilising and :racle )."S could e a
hindrance to an e(pansion system. This effect howe!er, may e negated as the features of
"yS1& continue to increase.
The system was to e tested on "icrosoft S1& ser!er to ensure compatiility in a range of we
ser!er technologies, howe!er, due to time constraints this feature could not e carried out. Prior
knowledge of )."S encountered in Ad!anced )ataase management system in the final third
year allowed the de!eloper of G.I.P.S to successfully implement the system. Also portaility and
astraction was some of the factors considered in order to respond to the need to migrate the
system to other platforms.
&1, /ormalisation
#ormali,ation is a process for e!aluating and correcting tale structures to minimi,e data
redundancies, therey reducing the likelihood of data anomalies6 $oronel, et al *>322+. The
de!eloper of G.I.P.S tries to achie!e a sensile of organi,ation of data into tales !ia
normali,ation. The aim of normali,ation is to eliminate repeating groups that eliminate
redundancy, which has great effects on computer resources.
19
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
&12 #$erall Structure
The client side application would e deployed !ia the we rowser that sits on the operating
system of the usersuserBs computer. The application client would then re'uest information from
the weser!er, which would e hosted !ia the 9orld 9ide 9e *999+. Figure ?.>.> shows the
structure of the proposed architecture.
Figure ?.2.@ proposed architecture for G.P.I.S.
The tale ?.2.@ shows the module de!elopment phase and the time it took to complete each
module.
%ach completed module was successfully integrated into the core system.
9a&le ".1.1 mo(!le (e5elo,ment ,hases
&13 1ser Interface
IA key goal of interface design is to ma(imi,e the usaility of the system y ensuring that users
can carry out their tasks effecti!ely, efficiently, safely and enjoyaly, and in order to do this a
designer has to e aware of the a!ailale technology and the needs, tasks and characteristics
of the e!entual users of the systemJ 0eates and 9akefield *>336, p.?27+.
This information system utili,es the Graphical <ser Interface *G<I+ in its design approach. A
pointing de!ice is used y the user to point and click on uttons to perform specific tasks. .y
gi!ing users access to the system !ia G<I, they are ale to easily accept the system and use it
regularly. Ten principles for a well-constructed user interface as outlined y #ielsen *>334+
includes=
Aisiility of system status
"atch etween system and real world
I+ !7AS* STA-T +AT* TA-8*T +AT* C#M!.*T*+
")2 $ore System >282>822 2283282> ?383282>
")> ;egistration "odule 282282> 2383>82> 2383>82>
")? ;eporting "odule 2383>82> >@83>82> ?383>82>
")6 Searching "odule >583>82> 2@823?2> >K83482>
")@ $hat "odule 2@83?82> >K83?82>
20
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
<ser control and freedom
$onsistency and standards
%rror pre!ention
;ecognition rather than recall
Fle(iility and efficiency of use
Aesthetic and minimalist design
/elp and documentation
These principles ha!e een carefully adopted and incorporated into G.P.I.S to produce the
o!erall system.
&% +e$elopment
The !arious methodologies and o!erall de!elopment approach that was adapted to uild G.P.I.S
is further discussed in this section.
&%1 !rocess
)etailed module design produced at the start of each phase of de!elopment together with a,
user interface prototype, re'uirement model, dataase design, and se'uence diagram was
used in this process. Aarious testing acti!ities was carried out including unit testing, regression
testing was carried out after de!eloping indi!idual modules and integrated into the core
application module.
Finally, user documentation was produced for the system and deployed to the li!e en!ironment.
The following processes, acti!ities and artifact were deri!ed.
!rocess /ame= )etailed )esign
Acti$ities: ;e'uirement Specification, <ser Interface Prototyping, )ata "odeling, Application
"odeling
Artifact: <se case diagrams, prototype, class and se'uence diagrams
!rocess /ame: .uild
Acti$ities: )e!elopment and Integration
Artifact: Source $ode, 9orking System
!rocess /ame: Test
Acti$ities: ;egression Test, Acceptance tests
Artifact: Test report
!rocess /ame: Implementation
Acti$ities: )ocumentation, )eployment
Artifact: )eployed system, <ser Guide
&%%Tools
The tools used to uild the G.P.I.S. system comprises of Adoe )reamwea!er cs>, an
integrated de!elopment en!ironment *I)%+ tool that allows the design and code of hyperte(t
21
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
markup language */T"&+. This tool was helpful in mainly in writing content, managing files, and
preliminary page layout. GI"P also allowed for the design of the !arious graphic aspect of the
system. Gimp is a free image manipulation software package. In the analysis stage, entity
relation diagrams were modeled using the current "yS1& workench. This tool allowed the
de!eloper to !isually design, model and generate the entities. In modeling use case diagrams,
%draw application was used to complete the scenario.
&& Module +esign
This section outlines the !arious designs for each of the system modules. Se'uence diagrams
to depict flow of e!ent amongst classes for use cases discussed in chapter >, class diagrams to
model the systems internal architecture and entity relationship diagrams to show the systems
dataase are further discussed in this section.
&&1 Core System
5igure $.$.1;a< 3egister *e@uence -iagram
Figure ?.?.2*a+ shows the se'uence of e!ents that takes place when a user registers for an
account on G.P.I.S.
Fi!re ".".1 #eister User-Se$!ence %iaram
22
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
5igure $.$.1;b< Adit Pro(le *e@uence -iagram
Fi!re ".".1(&) (e,icts the se$!ence of e5ents that occ!rs 6hen an o?cer e(its his
or her ,ro)le.
Fi!re ".".1(&) '(it Pro)le-Se$!ence %iaram
2"
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
5igure $.$.1;c< Add Crime 3eport
Fi!re ".".1(c) (e,icts the se$!ence of e5ents that occ!rs 6hen an o?cer a((s a
crime re,ort.
Fi!re ".".1(c) *(( +rime #e,ort Se$!ence %iaram
5igure $.$.1;d< *e@uence -iagram?Add Complaint
Fi!re ".".1(() (e,icts the se$!ence of e5ents that occ!rs 6hen an o?cer a((s a
com,laint re,ort.
2.
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Fi!re ".".1(() Se$!ence %iaram-*(( +om,laint
5igure $.$.1;d< *e@uence -iagram? Add .ost =anted Person
Fi!re ".".1(e) (e,icts the se$!ence of e5ents that occ!rs 6hen an o?cer a((s a
most 6ante( re,ort.
21
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Fi!re ".".1(e) Se$!ence %iaram @*(( /ost 6ante( Person
5igure $.$.1;2< Adit Complain 3eport?*e@uence -iagram
Fi!re ".".1(f) '(it +om,lain #e,ort-Se$!ence %iaram
5igure $.$.1;g< Adit Complain 3eport?*e@uence -iagram
Fi!re ".".1() '(it +om,lain #e,ort-Se$!ence %iaram
22
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
5igure $.$.1;h< Core application?Class -iagram
Fi!re ".".1(h)-+lass %iaram
23
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
5igure $.$.1;I< Antit/ -atabase schema?Core Application
28
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Chapter ,: -eali9ation
$ompletion of detailed design for !arious modules ga!e way to the uild phase of the project.
Integration of the !arious source codes into the o!erall system was achie!ed in this phase.
For users of the system to easily adapt to the G.P.I.S. system, a thorough user manual was also
produced. The ojecti!e of this chapter is to outline how the system design phase has een
transformed into the working system and an o!erall o!er!iew of the system is also produced in
this chapter.
,1 Standards
Software coding standards are language-specific programming rules that greatly reduce
proaility of introducing errors into an application. 9ithout agreed coding standards, it is easier
for a team working on a project to waste a lot of time and resources ha!ing to reformat each
otherBs code or read and make meaning to another manBs codes */enderson >33?, p.46+.
In !iew of future e(pansions, the G.P.I.S. system employs a standard coding con!entions, y
employing standards featureE future de!elopers can easily amend the codes in order to upgrade
29
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
the system. .y adhering to standards, a code ecome easy to understand and ensures that any
de!eloper who looks at the code will know what to e(pect throughout the entire police
information system.
Standard such as indentation, line length, comments, naming con!entions, control structures,
functions, and P/P tags was employed in the codding standards. Standards allowed this project
source code to look professional and much more maintainale.
,11 Comments
$omment as much as possile without commenting the o!ious.
$omments must as much as possile try to e(plain what they are doing
$omments must e ao!e lock of codes descriing.
In-line commenting must e used sparingly unless !ery necessary
$omment each logical step
,1% /aming Con$entions
$lasses should e descripti!e as est as possile
Are!iations should not e used
;ecommended use of $amel$ase with initial cap and underscore used to
separate logical package8folder oundaries
,% Security and !ri$acy
)ocumented potential !ulnerailities including S1& injections and a host of others ha!e een
written y host of authors *&oureiro, >33>, Spriet, >336 and Scott L Sharp, >33>+. The ojecti!e
of this section is to seek to address the !arious security features employed in the system and
also to ensure the mitigation of any threats and !ulnerailities within the system.
Prominent among the !arious security threats to S1& is S1& injection !ulneraility. An S1&
attack arises when a user causes a we application to send a dataase 'uery that operates in a
way that was not intended y the programmer, *S< L 9asserman, >334+. These attacks
according to */alf and :rso, >33@+ has ecome the most significant threats to we applications.
.y employing drop down menus in G.P.I.S. system the effects of S1& !ulneraility can e
mitigated. )rop o(es allows the de!eloper to control the data eing sent to the system. Also
!alidation of user inputs allowed the de!eloper of G.P.I.S. to control S1& !ulneraility. This
method ensures that the data supplied y users conform to an e(pected data type. Also y
using the P/P uilt in function mys"l#real#escape#string$%, .
S1& !ulnerailities can e pre!ented Ghana police information system holds personally
identifiale information aout users and therefore complies to data protection laws.
,%1 Include Files
Include files allows the use of different files for !arious classes or functions. The concept of
reusaility and maintainaility as outlined in software management systems is reali,ed here.
The system de!eloped uses includes files in the headers and footer sections of the application.
,%% 1ser Authentication
In order to register an officer, the superior officer in charge has to !alidate against the system
efore the officer is allowed to register. .y pro!iding this feature only !erified officers would e
"0
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
allowed to the system. Password protection was a functional re'uirement identified during the
initial user re'uirement elicitation. This feature has ecome increasingly important in the work
place as more secure practices, guidelines and policies are put in place to enforce greater
security.
,%&Session
To store user information for a specific period of time, the G.P.I.S. would need to store session
of each registered user on the ser!er. A normal /T"& page 'uickly forgets all information when
a new page is loaded. This makes it difficult for the task that takes a long time to e completed
ecause the user cannot go ack on to !iew the old information. :nce registered officer logs on
to the system, a session !ariale is created. This session e(pires when the user closes the we
rowser or a period of no acti!ity is recorded y the system after a pre-defined time in the
configuration file. A conditional statement checks at the eginning of e!ery page whether a
session !ariale e(its. If the !ariale does not e(ist, the user is redirected to the main login
page. .y deploying this feature, unauthori,ed access to G.I.P.S would e limited.
,%, Staff and 1ser !ermissions
9ithin the police ser!ice, two types or ranks with su rank was estalishedE that is, Senior ranks
and Funior ranks. Senior ranks like inspector general can ha!e full access to the system. Funior
ranks on the other hand ha!e access to a limited part of the system. .y granting specific
pri!ileges to the user, the system can control what user can and cannot do.
,&Code Structure6 Code Snippet and ser$er implementation
Ghana police information system was de!eloped using we client to !iew the interface and
ser!er architecture. )ifferent technologies were employed to make this a reality. P/P and
"yS1& were deployed on the ser!er side. %ntities identified in the data dictionary were used to
uild the "yS1& dataase tale. P/P pages were then used to communicate with the dataase
tale. Firstly, superior officers use Iigp.phpJ module to a !alidate themsel!es and a
Iregistration.phpJ ecomes acti!e to registers suordinate officers. After registration, the user is
directed to the Iinde(.phpJ to login. The core Mcpanel.phpB is the central repository of the
graphical user interface where officers carry out their duties. P/P "odule functions like
Icomplaints.phpJ *module for adding complaints+ IcrimeNreport.phpJ *module for adding crime
report+ ImostNwanted.phpJ*module for adding most wanted person+.
Code Snippet ,&1
This section of the document shows some of the codes that was used to uild the G.P.I.S.
system. The codes to e outlined are registration code, !iew crime report code, and edit
account report code and add complaint more codes can e found in the appendi( G.
AddcomplaintsBdispla/.php
AB,h, session4start()C
if(Disset(E4S'SSIFGHIcom,laintsn!m&erIJ))K
hea(er(IlocationLin(e<.,h,I)CM
BN
"1
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AD%F+9YP' html PUOLI+ P-QQ0"+QQ%9% =9/L ..0 9ransitionalQQ'GP
Phtt,LQQ666.6".orQ9#Q#'+-html.0Qloose.(t(PN
AhtmlN
Ahea(N
Ameta nameRP(escri,tionP contentRPP QN
Ameta nameRP:ey6or(sP contentRPP QN
AtitleN Ghana Police Information System AQtitleN
Alin: hrefRPcssQstyle.cssP relRPstylesheetP ty,eRPte<tQcssPN
AQhea(N
A&o(yN
AD-- 0#*PP'# O'GIGS--N
A(i5 classRPre4(is,lay6ra,,erPN
AD-- O*GG'# O'GIGS--N
A(i5 classRP&annerPN
AQ(i5N
AD-- +FG9*IG'# O'GIGS--N
A(i5 classRPre(is,4containerPN
A(i5 classRPc,anel4(is,layPN
#eistration %etails.
AQ(i5N
A&rN
A(i5 classRPselectsPN
AB,h,
Esessn!m&er R E4S'SSIFGHIcom,laintsn!m&erIJC
incl!(e(Pcon).,h,P)C
Eselecte( R mys$l4$!ery(Pselect Sfrom a((4com,laints 6here co(en!m&er
RIEsessn!m&erIP)C
if(DEselecte()K
echo PSelection Faile(PC
"2
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
M
elseK
6hile(Ero6s R mys$l4fetch4assoc(Eselecte())K
Es!&;ect R Ero6sHIs!&;ectIJC
E)rstname R Ero6sHI)rstnameIJC
Emi((lename REro6sHImi((lenameIJC
Elastname REro6sHIlastnameIJC
Emarriae REro6sHImarriaeIJC
Ese< REro6sHIse<IJC
echo
PS!&;ectLP.P P. Es!&;ect.PA&r QNP.
PFirst GameLP.P P. E)rstname.PA&r QNP.
P/i((le GameLP.P P. Emi((lename.PA&r QNP.
PLast GameLP.P P. Elastname.PA&r QNP.
P/arital Stat!sLP.P P.Emarriae .PA&r QNP.
PSe<LP.P P.Ese< .PA&r QNP.PA&r QNP.E)rstname.P P.PYo!r Sec!rity +o(e has &een sent
to yo!r e-mailP.PA&r QNP.
PAa hrefRIc,anel.,h,INAA O*+T 9F /*IG +FG9#FL P*G'L AQaNPC
C
M
M
BN
AQ(i5N
AQ(i5N
AD-- FFF9'# O'GIGS--N
A(i5 classRPfooterPN
AQ(i5N
AQ(i5N
AQ&o(yN
""
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AQhtmlN
!iewBmostBwanted.php
AB,h, session4start()C BN
D%F+9YP' html PUOLI+ P-QQ0"+QQ%9% =9/L ..0 9ransitionalQQ'GP
Phtt,LQQ666.6".orQ9#Q#'+-html.0Qloose.(t(PN
AhtmlN
Ahea(N
Ameta nameRP(escri,tionP contentRPP QN
Ameta nameRP:ey6or(sP contentRPP QN
AtitleN Ghana Police Information System AQtitleN
Alin: hrefRPcssQstyle.cssP relRPstylesheetP ty,eRPte<tQcssPN
Alin: hrefRPcssQcalen(ar.cssP relRPstylesheetP ty,eRPte<tQcssPN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQ;$!ery-1.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQcal.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tPN
;>!ery((oc!ment).rea(y(f!nction () K
E(Iin,!t.oneI).sim,le%ate,ic:er(K start(ateL 1901U en((ateL 2018 M)C
M)C
AQscri,tN
AQhea(N
A&o(yN
AD-- 0#*PP'# O'GIGS--N
A(i5 classRP tem,late46ra,,erPN
AB,h, incl!(e(P&anner.,h,P)C BN
AB,h, incl!(e(PhoriVontal&ar.,h,P)BN
AD-- #IG=9 =F#IWFG9*L O*# O'GIGS--N
A(i5 classRPriht4horiVontal4&arPN
AB,h, incl!(e(P(ate.,h,P)C BN
AQ(i5N
".
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AQ(i5N
AD-- 9'/PL*9' +FG9*IG'# O'GIGS--N
A(i5 classRPtem,late4containerPN
A(i5 classRPtem,latePN
A(i5N
AD-- 9'/PL*9' 9FP O'GIGS --N
A(i5 classRPtem,late4to,PN
A(i5 classRPtitle4imaesPN
Aim srcRPimaesQ5ie6most6ante(.;,PN
AQ(i5N
AQ(i5N
AD-- 9'/PL*9' /I%%L' O'GIGS --N
A(i5 classRPtem,late4mi((lePN
D-- 9'/PL*9' UGF#%'#'% LIS9 O'GIGS --N
A!l classRPtem,late4!olistP
Aform actionRP5ie64most46ante(.,h,P metho(RP,ostP N
Ali classRPtem,late4list<P
As,an classRPmo5etorihtPN'nter +o(eLAQs,anNXn&s,CXn&s,C
Ain,!t ty,eRPte<tP siVeRP29P nameRPco(en!m&erPQNXn&s,CAin,!t ty,eRPs!&mitP
nameRPs!&mitP 5al!eRPSearchPN
AQliN
AB,h,
if(isset(E4PFS9HIs!&mitIJ))K
Eco(en!m&er1 R E4PFS9HIco(en!m&erIJC
if(DEco(en!m&er1)K
echo PA(i5 classRI5ie6most6ante(5ali(ationINFill all in,!tsAQ(i5NPCe<itC
M
incl!(e(Pcon).,h,P)C
Eco(en!m&er R mys$l4real4esca,e4strin(Eco(en!m&er1)C
"1
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Eco(en!m&er R a((slashes(Eco(en!m&er1)C
E$!ery R mys$l4$!ery(Pselect S from a((4most6ante( 6here co(en!m&er
RIEco(en!m&erIP)C
En!m R mys$l4n!m4ro6s(E$!ery )C
if(En!mAR0)
echo PA(i5 classRI5ie6most6ante(5ali(ationINGo res!lts Fo!n(AQ(i5NPC
e<itC
M
elseK
6hile(Ero6s R mys$l4fetch4assoc(E$!ery))
Es!&;ect R Ero6sHIs!&;ectIJC
E)rstname R Ero6sHI)rstnameIJC
Emi((lename REro6sHImi((lenameIJC
Elastname REro6sHIlastnameIJC
Emarriae REro6sHImarriaeIJC
E(atea((e( REro6sHI(atea((e(IJC
Eae REro6sHIaeIJC
Ehieht REro6sHIhiehtIJC
Eresi(ence REro6sHIresi(enceIJC
E(ialect REro6sHI(ialectIJC
E4S'SSIFGHImost6ante(searchIJR E4PFS9HIco(en!m&erIJC
echo P
Ali classRItem,late4listIN
Ali classRI5ie64,hotoIN
Aim srcR,ict!re.,h, 6i(thRI110I heihtRI1.0I N
AQliN
A&r QN
A&r QN
A&r QN
"2
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
A&r QN
A&r QN
A&r QN
A&r QN
A&r QN
A&r QN
A&r QN
Ali classRItem,late4listIN
As,an classRImo5etoriht2INS!&;ectLAQs,anN
Es!&;ectAQliN
Ali classRItem,late4listIN
As,an classRImo5etoriht2INFirst GameLAQs,anN
Xn&s,CXn&s,CXn&s,CXn&s,CXn&s,C
E)rstname
AQliN
Ali classRItem,late4listIN
As,an classRImo5etoriht2IN/i((le GameLAQs,anNXn&s,CXn&s,CXn&s,C
Emi((lename
AQliN
Ali classRItem,late4listIN
As,an classRImo5etoriht2INLast GameLAQs,anN
Elastname
AQliN
Ali classRItem,late4listIN
As,an classRImo5etoriht2IN/arital Stat!sLAQs,anN
Emarriae
AQliN
Ali classRItem,late4listIN
"3
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
As,an classRImo5etoriht2IN*eLAQs,anN
Eae
AQliN
Ali classRItem,late4listIN
As,an classRImo5etoriht2IN=iehtLAQs,anN
Ehieht
AQliN
Ali classRItem,late4listIN
As,an classRImo5etoriht2IN#esi(enceLAQs,anN
Xn&s,CXn&s,CXn&s,C
Xn&s,C
Eresi(ence
AQliN
Ali classRItem,late4list(IN
As,an classRImo5etoriht2IN%ailectLAQs,anN
E(ialect
AQliN
Ali classRItem,late4list<IN
As,an classRImo5etoriht2IN%ate *((e(LAQs,anN
E(atea((e(
AQliN
PCMMM
BN
AQformN
AQ!lN
AQ(i5N
AD-- 9'/PL*9' OF99F/ O'GIGS --N
A(i5 classRPtem,late4&ottomPN
"8
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AQ(i5N
AQ(i5N
AQ(i5N
AQ(i5N
AB,h,
incl!(e(Pfooter.,h,P)C
BN
AQ&o(yN
AQhtmlN
AditBaccountBprocessor.php
AB,h, session4start()C
if(Disset(E4S'SSIFGHInameIJ))K
hea(er(IlocationLin(e<.,h,I)C
e<itC
M
E)rstname1 R E4PFS9HI)rstnameIJC
Elastname1 R E4PFS9HIlastnameIJC
Eran:1 R E4PFS9HIran:IJC
Estation1 R E4PFS9HIstationIJC
E(ateof&irth1 R E4PFS9HI(ateof&irthIJC
incl!(e(Pcon).,h,P)C
E)rstname R mys$l4real4esca,e4strin(E)rstname1)C
Elastname R mys$l4real4esca,e4strin(Elastname1)C
Eran: R mys$l4real4esca,e4strin(Eran:1)C
Estation R mys$l4real4esca,e4strin(Estation1)C
E(ateof&irth R mys$l4real4esca,e4strin(E(ateof&irth1)C
E)rstname R a((slashes(E)rstname1)C
Elastname R a((slashes(Elastname1)C
"9
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Eran: R a((slashes(Eran:1)C
Estation R a((slashes(Estation1)C
E(ateof&irth R a((slashes(E(ateof&irth1)C
E$ry!,(ate R mys$l4$!ery(P!,(ate reistration set
)rstnameRIE)rstnameIU
lastnameRIElastnameIU
ran:RIEran:IU
stationRIEstationIU
(ateof&irthRIE(ateof&irthI
6here !sernameRIE4S'SSIFGHnameJI P)C
if(E$ry!,(ate)K
hea(er(PLocationLe(itacco!nt4(is,lay.,h,P)C
e<itC
M
BN
8iewcrime.php
AD%F+9YP' html PUOLI+ P-QQ0"+QQ%9% =9/L ..0 9ransitionalQQ'GP
Phtt,LQQ666.6".orQ9#Q#'+-html.0Qloose.(t(PN
Ahea(N
Ameta nameRP(escri,tionP contentRPP QN
Ameta nameRP:ey6or(sP contentRPP QN
AtitleN Ghana Police Information System AQtitleN
Alin: hrefRPcssQstyle.cssP relRPstylesheetP ty,eRPte<tQcssPN
Alin: hrefRPcssQcalen(ar.cssP relRPstylesheetP ty,eRPte<tQcssPN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQ;$!ery-1.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQcal.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tPN
;>!ery((oc!ment).rea(y(f!nction () K
.0
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
E(Iin,!t.oneI).sim,le%ate,ic:er(K start(ateL 1901U en((ateL 2018 M)C
M)C
AQscri,tN
Alin: relRPstylesheetP ty,eRPte<tQcssP
hrefRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QassetsQs:insQsamQs:in.cssPN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qyahoo-
(om-e5entQyahoo-(om-e5ent.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tP
srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QelementQelement-min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QcontainerQcontainer4core-
min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qmen!Qmen!-min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Q&!ttonQ&!tton-
min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qe(itorQe(itor-min.;sPNAQscri,tN
AQhea(N
A&o(yN
AD-- 0#*PP'# O'GIGS--N
A(i5 classRP tem,late46ra,,erPN
AB,h, incl!(e(P&anner.,h,P)C BN
AB,h, incl!(e(PhoriVontal&ar.,h,P)BN
AD-- #IG=9 =F#IWFG9*L O*# O'GIGS--N
A(i5 classRPriht4horiVontal4&arPN
AB,h, incl!(e(P(ate.,h,P)C BN
AQ(i5N
AQ(i5N
AD-- 9'/PL*9' +FG9*IG'# O'GIGS--N
A(i5 classRPtem,late4containerPN
A(i5 classRPtem,latePN
A(i5N
.1
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AD-- 9'/PL*9' 9FP O'GIGS --N
A(i5 classRPtem,late4to,PN
A(i5 classRPtitle4imaesPN
Aim srcRPimaesQ5ie6crime.;,PN
AQ(i5N
AQ(i5N
AD-- 9'/PL*9' /I%%L' O'GIGS --N
A(i5 classRPtem,late4mi((lePN
AD-- 9'/PL*9' UGF#%'#'% LIS9 O'GIGS --N
A!l classRPtem,late4!olistPN
Aform actionRP5ie6crime.,h,P metho(RP,ostP ons!&mitRPret!rn my%oS!&mit()P
classRPy!i-s:in-samPN
Ali classRPtem,late4list<PN
As,an classRImo5etorihtIN'nter +o(eLAQs,anNXn&s,CXn&s,CXn&s,CXn&s,CXn&s,C
Ain,!t ty,eRPte<tP siVeRP28P nameRPco(en!m&erPQN Xn&s,CAin,!t ty,eRPs!&mitP
nameRPs!&mitP 5al!eRPSearchPNAQliN
AB,h, if(isset(E4PFS9HIs!&mitIJ))K
Eco(en!m&er1 R E4PFS9HIco(en!m&erIJC
if(DEco(en!m&er1)K
echo PA(i5 classRI5ie6,ositionINFill all in,!tsAQ(i5NPC
e<itC
M
incl!(e(Pcon).,h,P)C
Eco(en!m&er R mys$l4real4esca,e4strin(Eco(en!m&er1)
Eco(en!m&er R a((slashes(Eco(en!m&er1)C
E$!ery R mys$l4$!ery(Pselect S from a((4crimere,ort 6here co(en!m&er R
IEco(en!m&erI P)C
En!m R mys$l4n!m4ro6s(E$!ery)C
if(En!mAR0)K
.2
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
echo PA(i5 classRI5ie6,ositionINGo res!lts Fo!n(AQ(i5NPC
e<itC
M
elseK
6hile(Ero6s R mys$l4fetch4assoc(E$!ery))K
Es!&;ect R Ero6sHIs!&;ectIJC
E(atea((e( R Ero6sHI(atea((e(IJC
Emyrichte<t R Ero6sHImyrichte<tIJC
echo P
Ali classRItem,late4listIN
As,an classRImo5etoriht2INS!&;ectLAQs,anN
AQliN
Ali classRItem,late4list<IN
As,an classRImo5etoriht2IN%ate *((e(LAQs,anN
Xn&s,CXn&s,CXn&s,C
E(atea((e(
AQliN
Ali classRItem,late4te<tareaIN
Ate<tarea nameRImyrichte<tI i(RImyrichte<tI NEmyrichte<tAQte<tareaN
AQliN
PC
MMM
BN
AQformN
AQ!lN
AQ(i5
AD-- 9'/PL*9' OF99F/ O'GIGS --N
A(i5 classRPtem,late4&ottomPN
."
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AQ(i5N
AQ(i5N
AQ(i5N
AQ(i5N
AB,h, incl!(e(Pfooter.,h,P)CBN
Ascri,tN
f!nction my%oS!&mit() K
QQalert(Ihan(lin s!&mitDI)C
my'(itor1.sa5e=9/L()C
QQalert((oc!ment.et'lementOyI((Ims,ostI).5al!e)C
ret!rn tr!eC
M
5ar my'(itor R ne6 Y*=FF.6i(et.'(itor(Imyrichte<tIU K
heihtL I.10,<IU
6i(thL I100,<IU
(om,athL falseU QQ9!rns on the &ar at the &ottom
animateL tr!eU QQ*nimates the o,eninU closin an( mo5in of '(itor 6in(o6s
han(leS!&mitL tr!e
M)C
my'(itor.ren(er()C
AQscri,tN
AQ&o(yN
AQhtmlN
mostBwanted.php
AB,h, session4start()C
if(isset(E4PFS9HIs!&mitIJ))K
Eco(en!m&er1 R E4PFS9HIco(en!m&erIJC
Es!&;ect1 R E4PFS9HIs!&;ectIJC
..
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Eemail R E4PFS9HIemailIJC
E,hoto1 R E4FIL'SHI,hotoIJHItm,4nameIJC
E,hoto4ty,e R E4FIL'SHI,hotoIJHIty,eIJC
E,hoto4siVe R E4FIL'SHI,hotoIJHIsiVeIJC
E)rstname1 R E4PFS9HI)rstnameIJC
Emi((lename1 R E4PFS9HImi((lenameIJC
Elastname1 R E4PFS9HIlastnameIJC
Emarriae1 R E4PFS9HImarriaeIJC
Ese<1 R E4PFS9HIse<IJC
Eae1 R E4PFS9HIaeIJC
Ehieht1 R E4PFS9HIhiehtIJC
Eresi(ence1 R E4PFS9HIresi(enceIJC
E(ailect1 R E4PFS9HI(ailectIJC
if(E,hoto4siVe N .0000)K
hea(er(PLocationLmost46ante(.,h,B i(R"P)C
e<itC
M
if(E,hoto4ty,e DR PimaeQ;,eP)K
hea(er(PLocationLmost46ante(.,h,B i(R.P)C
e<itC
M
E,hoto R a((slashes()le4et4contents(E,hoto1))C
if(
DE)rstname1 YY
DElastname1 YY
DEco(en!m&er1 YY
DEmarriae1 YY
DEse<1
.1
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
)K
hea(er(PLocationLmost46ante(.,h,B i(R1P)C
e<itC
M
if(D,re4match(PQ.SZ.S..SQPUEemail) YY ,re4match(PQ(AYN)QPUEemail))K
hea(er(PLocationLcom,laints.,h,B i(R2P)C
e<itCM
incl!(e(Pcon).,h,P)C
Eco(en!m&er R mys$l4real4esca,e4strin(Eco(en!m&er1)C
Es!&;ect R mys$l4real4esca,e4strin(Es!&;ect1)C
E)rstname R mys$l4real4esca,e4strin(E)rstname1)C
Emi((lename R mys$l4real4esca,e4strin(Emi((lename1)C
Elastname R mys$l4real4esca,e4strin(Elastname1)C
Emarriae R mys$l4real4esca,e4strin(Emarriae1)C
Eae R mys$l4real4esca,e4strin(Eae1)C
Ehieht R mys$l4real4esca,e4strin(Ehieht1)C
Eresi(ence R mys$l4real4esca,e4strin(Eresi(ence1)C
E(ailect R mys$l4real4esca,e4strin(E(ailect1)C
Eco(en!m&er R a((slashes(Eco(en!m&er1)C
Es!&;ect R a((slashes(Es!&;ect1)C
E)rstname R a((slashes(E)rstname1)C
Emi((lename R a((slashes(Emi((lename1)C
Elastname R a((slashes(Elastname1)C
Emarriae R a((slashes(Emarriae1)C
Ese< R a((slashes(Ese<1)C
Eae R a((slashes(Eae1)C
Ehieht R a((slashes(Ehieht1)C
Eresi(ence R a((slashes(Eresi(ence1)C
.2
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
E(ailect R a((slashes(E(ailect1)C
Etime R time()C
E(ate R (ate(P%-/-Y hLiLs *PU Etime)C
Einsert R mys$l4$!ery(Pinsert into a((4most6ante( 5al!es(IIU
IEco(en!m&erIU
IEs!&;ectIU
IE,hotoIU
IE)rstnameIU
IEmi((lenameIU
IElastnameIU
IEmarriaeIU
IEse<IU
IE(ateIU
IEaeIU
IEhiehtIU
IEresi(enceIU
IE(ailectI
)P)C
if(Einsert)K
E4S'SSIFGHImost6ante(IJ R E4PFS9HIco(en!m&erIJC
Eto R EemailC
Es!&;ect R P/ost 0ante( +o(ePC
Ehea(er R PFromLGhana Police Information SystemPC
Emessae R P
9he /ost 0ante( +o(e isL Eco(en!m&er
P
CEmail R mail(PEtoPUPEs!&;ectPUPEhea(erPUPEmessaeP)C
if(Email)K
.3
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
hea(er(PLocationLa((most6ante(4(is,lay.,h,P)C
e<itC
M
M
M
BN
AD%F+9YP' html PUOLI+ P-QQ0"+QQ%9% =9/L ..0 9ransitionalQQ'GP
Phtt,LQQ666.6".orQ9#Q#'+-html.0Qloose.(t(PN
AhtmlN
Ahea(N
Ameta nameRP(escri,tionP contentRPP QN
Ameta nameRP:ey6or(sP contentRPP QN
AtitleN Ghana Police Information System AQtitleN
Alin: hrefRPcssQstyle.cssP relRPstylesheetP ty,eRPte<tQcssPN
Alin: hrefRPcssQcalen(ar.cssP relRPstylesheetP ty,eRPte<tQcssPN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQ;$!ery-1.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQcal.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tPN
;>!ery((oc!ment).rea(y(f!nction () K
E(Iin,!t.oneI).sim,le%ate,ic:er(K start(ateL 1901U en((ateL 2018 M)C
M)C
AQscri,tN
AQhea(N
A&o(yN
AD-- 0#*PP'# O'GIGS--N
A(i5 classRP tem,late46ra,,erPN
AB,h, incl!(e(P&anner.,h,P)C BN
AB,h, incl!(e(PhoriVontal&ar.,h,P)BN
AD-- #IG=9 =F#IWFG9*L O*# O'GIGS--N
.8
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
A(i5 classRPriht4horiVontal4&arPN
AB,h, incl!(e(P(ate.,h,P)C BN
AQ(i5N
AQ(i5N
AD-- 9'/PL*9' +FG9*IG'# O'GIGS--N
A(i5 classRPtem,late4containerPN
A(i5 classRPtem,latePN
A(i5N
AD-- 9'/PL*9' 9FP O'GIGS --N
A(i5 classRPtem,late4to,PN
A(i5 classRPtitle4imaesPN
Aim srcRPimaesQa((most6ante(.;,PN
AQ(i5N
AQ(i5N
AD-- 9'/PL*9' /I%%L' O'GIGS --N
A(i5 classRPtem,late4mi((lePN
AD-- 9'/PL*9' UGF#%'#'% LIS9 O'GIGS --N
A!l classRPtem,late4!olistPN
Aform actionRPmost46ante(.,h,P metho(RP,ostP encty,eRPm!lti,artQform-(ataPN
Ali classRPtem,late4list45ali(ationPN
AB,h, incl!(e(P5ali(ation.,h,P)C BN
AQliN
Ali classRPtem,late4listPN
As,anNSec!rity +o(eLAQs,anN
Ain,!t ty,eRPte<tP nameRPco(en!m&erP 5al!eRPAB,h, echo (ran(())C BNP
classRPcom,laint4in,!tP QN
AQliN
Ali classRPtem,late4listPN
As,anNS!&;ectLAQs,anN
.9
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ain,!t ty,eRPte<tP nameRPs!&;ectP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4listPN
As,anN'-mailLAQs,anN
Ain,!t ty,eRPte<tP nameRPemailP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4listPN
As,anNU,loa( PhotoLAQs,anNXn&s,C
Ain,!t ty,eRP)leP nameRP,hotoP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4listPN
As,anNFirst GameLAQs,anN
Ain,!t ty,eRPte<tP nameRP)rstnameP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4listPN
As,anN/i((le GameLAQs,anN
Ain,!t ty,eRPte<tP nameRPmi((lenameP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4listPN
As,anNLast GameLAQs,anN
Ain,!t ty,eRPte<tP nameRPlastnameP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4list<PN
As,anN/arital Stat!sLAQs,anN
Ain,!t ty,eRPra(ioP nameRPmarriaeP 5al!eRPsinleP QNSinle Ain,!t
ty,eRPra(ioP nameRPmarriaeP 5al!eRPmarrie(P QN/arrie(
As,anNSe<LAQs,anN
Ain,!t ty,eRPra(ioP nameRPse<P 5al!eRPmaleP QN/ale Ain,!t ty,eRPra(ioP
nameRPse<P 5al!eRPfemaleP QNFemale
10
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AQliN
Ali classRPtem,late4listPN
As,anN*eLAQs,anN
Ain,!t ty,eRPte<tP nameRPaeP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4listPN
As,anN=iehtLAQs,anN
Ain,!t ty,eRPte<tP nameRPhiehtP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4listPN
As,anN#esi(enceLAQs,anN
Ain,!t ty,eRPte<tP nameRPresi(enceP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4listPN
As,anN%ailectLAQs,anN
Ain,!t ty,eRPte<tP nameRP(ailectP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4list4&!ttonPN
Ain,!t ty,eRPs!&mitP nameRPs!&mitP 5al!eRPS!&mitP classRPm6ante(4s!&mitPN
AQliN
AQformN
AQ!lN
AQ(i5N
AD-- 9'/PL*9' OF99F/ O'GIGS --N
A(i5 classRPtem,late4&ottomPN
AQ(i5N
AQ(i5N
AQ(i5N
11
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AQ(i5N
AB,h,
incl!(e(Pfooter.,h,P)C
BN
AQ&o(yN
AQhtmlN
registration.php
AB,h, session4start()C
QQ if session is not set re(irect the !ser
if(em,ty(E4S'SSIFGHIname2IJ))
hea(er(PLocationLin(e<.,h,P)C
QQif loo!t then (estroy the session an( re(irect the !ser
if(isset(E4G'9HIloo!tIJ))
K
session4(estroy()C
hea(er(PLocationLin(e<.,h,P)C
M
incl!(e(Preistrationcon).,h,P)C
BN
AD%F+9YP' html PUOLI+ P-QQ0"+QQ%9% =9/L ..0 9ransitionalQQ'GP
Phtt,LQQ666.6".orQ9#Q#'+-html.0Qloose.(t(PN
AhtmlN
Ahea(N
Ameta nameRP(escri,tionP contentRPP QN
Ameta nameRP:ey6or(sP contentRPP QN
AtitleN Ghana Police Information System AQtitleN
Alin: hrefRPcssQstyle.cssP relRPstylesheetP ty,eRPte<tQcssPN
Alin: hrefRPcssQcalen(ar.cssP relRPstylesheetP ty,eRPte<tQcssPN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQ;$!ery-1.;sPNAQscri,tN
12
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQcal.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tPN
;>!ery((oc!ment).rea(y(f!nction () K
E(Iin,!t.oneI).sim,le%ate,ic:er(K start(ateL 1901U en((ateL 2018 M)C
J
M)C
AQscri,tN
AQhea(N
A&o(yN
AD-- 0#*PP'# O'GIGS--N
A(i5 classRP6ra,,erPN
AB,h, incl!(e(P&anner.,h,P)C BN
AD-- =F#IWFG9*L O*# O'GIGS--N
A(i5 classRPhoriVontal4&arPN
AD-- L'F9 =F#IWFG9*L O*# O'GIGS--N
A(i5 classRPleft4horiVontal4&arPN
AB,h, echo PAa hrefRIreistration.,h,Bloo!tINA&NSin F!tA&NAQaNPC BN
AQ(i5N
AD-- #IG=9 =F#IWFG9*L O*# O'GIGS--N
A(i5 classRPriht4horiVontal4&arPN
AB,h,
incl!(e(P(ate.,h,P)C
BN
AQ(i5N
AQ(i5N
AD-- +FG9*IG'# O'GIGS--N
A(i5 classRPcontainerPN
AD-- #'GIS9#*9IFG O'GIGS--N
1"
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
A(i5 classRPreistrationPN
AD-- LFGIG O'GIGS--N
A(i5 classRPloinPN
AD-- LFGIG 9FP O'GIGS --N
A(i5 classRPloin4to,PN
A(i5 classRPreister4&annerPNAim srcRPimaesQreister4&anner.;,PNAQ(i5N
AQ(i5N
AD-- LFGIG /I%%L' O'GIGS --N
A(i5 classRPloin4mi((lePN
A!l classRPreistration4formsPN
Aform metho(RP,ostP actionRPreistration.,h,PN
Ali i(RPreistration4hea(inPN
AB,h, incl!(e(Preistration5ali(ation.,h,P)C BN
AQliN
AliN
As,an classRPre4in,!t1PNFirst GameLAQs,anN Ain,!t ty,eRPte<tP
nameRP)rstnameP siVeRP22P ma<lenthRP.1P QN
AQliN
AliN
As,an classRPre4in,!t2PNLast GameL AQs,anNAin,!t ty,eRPte<tP
nameRPlastnameP siVeRP22P ma<lenthRP.1P QN
AQliN
AliN
As,an classRPre4in,!t"PN'-mailLAQs,anN Ain,!t ty,eRPte<tP nameRPemailP
siVeRP22P ma<lenthRP.1P QN
AQliN
AliN
As,an classRPre4in,!t.PN#an:L AQs,anN
Aselect nameRPran:PN
1.
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ao,tro!, la&elRPS!,erior o?cersPN
Ao,tion la&elRPIns,ector General of PolicePN
Ins,ector General of Police
AQo,tionN
Ao,tion la&elRP %e,!ty Ins,ector GeneralPN
%e,!ty Ins,ector General
AQo,tionN
Ao,tion la&elRP+ommissionerPN
+ommissioner
AQo,tionN
Ao,tion la&elRP%e,!ty +ommissionerPN
%e,!ty +ommissioner
AQo,tionN
Ao,tion la&elRP*ssistant +ommissionerPN
*ssistant +ommissioner
AQo,tionN
Ao,tion la&elRP+hief S!,erinten(entPN
+hief S!,erinten(ent
AQo,tionN
Ao,tion la&elRPS!,erinten(entPN
S!,erinten(ent
AQo,tionN
Ao,tion la&elRP%e,!ty S!,erinten(entPN
%e,!ty S!,erinten(ent
AQo,tionN
Ao,tion la&elRP*ssistant S!,erinten(entPN
*ssistant S!,erinten(ent
AQo,tionN
11
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AQo,tro!,N
AQselectN
AQliN
AliN
%istrictL
Aselect nameRPstationPN
Ao,tro!, la&elRP*S=*G9I #'GIFGPN
Ao,tion la&elRP*(ansi GorthPN*(ansi GorthAQo,tionN
Ao,tion la&elRP*(ansi So!thPN*(ansi So!thAQo,tionN
Ao,tion la&elRP*)ya-T6a&rePN*)ya-T6a&reAQo,tionN
Ao,tion la&elRP*hafo *no GorthPN*hafo *no GorthAQo,tionN
Ao,tion la&elRP*hafo *no So!thPN*hafo *no So!thAQo,tionN
Ao,tion la&elRP*mansie +entralPN*mansie +entralAQo,tionN
Ao,tion la&elRP*mansie 0estPN*mansie 0estAQo,tionN
Ao,tion la&elRP*sante *:im So!thPN*sante *:im So!thAQo,tionN
Ao,tion la&elRP*t6ima T6an6omaPN*t6ima T6an6omaAQo,tionN
Ao,tion la&elRP*t6ima /,on!aPN*t6ima /,on!aAQo,tionN
Ao,tion la&elRP*t6ima G6a&iayaPN*t6ima G6a&iayaAQo,tionN
Ao,tion la&elRPOe:6ai /!nici,alPNOe:6ai /!nici,alAQo,tionN
Ao,tion la&elRPOosome FrehoPNOosome FrehoAQo,tionN
Ao,tion la&elRPOosomt6ePNOosomt6eAQo,tionN
Ao,tion la&elRP';is!-J!a&en /!nici,alPN';is!-J!a&en /!nici,alAQo,tionN
Ao,tion la&elRP';!raQSe:ye(!masePN';!raQ Se:ye(!maseAQo,tionN
Ao,tion la&elRPT!masi /etro,olitanPNT!masi /etro,olitanAQo,tionN
Ao,tion la&elRPT6a&re 'astPNT6a&re 'astAQo,tionN
Ao,tion la&elRP/am,on /!nici,alPN/am,on /!nici,alAQo,tionN
Ao,tion la&elRPF&!asi /!nici,alPNF&!asi /!nici,alAQo,tionN
Ao,tion la&elRPF?nso GorthPNF?nso GorthAQo,tionN
12
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ao,tion la&elRPF?nso So!th /!nici,alPNF?nso So!th /!nici,alAQo,tionN
Ao,tion la&elRPSe:yere *fram PlainsPNSe:yere *fram PlainsAQo,tionN
Ao,tion la&elRPSe:yere +entralPNSe:yere +entralAQo,tionN
Ao,tion la&elRPSe:yere 'astPNSe:yere 'astAQo,tionN
Ao,tion la&elRPSe:yere So!thPNSe:yere So!thAQo,tionN
AQo,tro!,N
Ao,tro!, la&elRPO#FGG *=*FF #'GIFGPN
Ao,tion la&elRP*s!ti)PN*s!ti)AQo,tionN
Ao,tion la&elRP*te&!&!-*mantinPN*te&!&!-*mantinAQo,tionN
Ao,tion la&elRPOere:!m /!nici,alPNOere:!m /!nici,alAQo,tionN
Ao,tion la&elRP%ormaa 'astPN%ormaa 'astAQo,tionN
Ao,tion la&elRPormaa /!nici,alPN %ormaa /!nici,alAQo,tionN
Ao,tion la&elRPJaman GorthPNJaman GorthAQo,tionN
Ao,tion la&elRPJaman So!thPNJaman So!thAQo,tionN
Ao,tion la&elRPTintam,o Gorth /!nici,alPNTintam,o Gorth /!nici,alAQo,tionN
Ao,tion la&elRPTintam,o So!thPN Tintam,o So!thAQo,tionN
Ao,tion la&elRPG:oranVa GorthPN G:oranVa GorthAQo,tionN
Ao,tion la&elRPG:oranVa So!thPN G:oranVa So!thAQo,tionN
Ao,tion la&elRPPr!PNPr!AQo,tionN
Ao,tion la&elRPSenePNSeneAQo,tionN
Ao,tion la&elRPS!nyani /!nici,alPNS!nyani /!nici,alAQo,tionN
Ao,tion la&elRPS!nyani 0estPNS!nyani 0estAQo,tionN
Ao,tion la&elRP9ainPN9ainAQo,tionN
Ao,tion la&elRP9ano GorthPN9ano GorthAQo,tionN
Ao,tion la&elRP9ano So!thPN9ano So!thAQo,tionN
Ao,tion la&elRP9echiman /!nici,alPN9echiman /!nici,alAQo,tionN
Ao,tion la&elRP0enchi /!nici,alPN0enchi /!nici,alAQo,tionN
AQo,tro!,N
13
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ao,tro!, la&elRP+'G9#*L #'GIFGPN
Ao,tion la&elRP*&!raQ *se&!Q T6aman:esePN*&!raQ *se&!Q T6aman:eseAQo,tionN
Ao,tion la&elRP*ona 'astPN *ona 'astAQo,tionN
Ao,tion la&elRP*ona 0est /!nici,alPN *ona 0est /!nici,alAQo,tionN
Ao,tion la&elRP*;!ma:oQ 'nyanQ 'ssiamPN *;!ma:oQ 'nyanQ 'ssiamAQo,tionN
Ao,tion la&elRP*si:!maQ F(o&enQ Ora:6aPN*si:!maQ F(o&enQ Ora:6aAQo,tionN
Ao,tion la&elRP*ssin Gorth /!nici,alPN *ssin Gorth
/!nici,alAQo,tionN
Ao,tion la&elRP*ssin So!th PN*ssin So!thAQo,tionN
Ao,tion la&elRP*6!t!-Senya Ge6PN *6!t!-Senya Ge6AQo,tionN
Ao,tion la&elRP+a,e +oast /etro,olitanPN+a,e +oast /etro,olitanAQo,tionN
Ao,tion la&elRP'[!t! /!nici,alPN '[!t! /!nici,alAQo,tionN
Ao,tion la&elRPGomoa 'astPNGomoa 'astAQo,tionN
Ao,tion la&elRPGomoa 0estPNGomoa 0estAQo,tionN
Ao,tion la&elRPTomen(aQ '(inaQ/!nici,al PN Tomen(aQ
'(inaQ/!nici,alAQo,tionN
Ao,tion la&elRP/fantseman /!nici,alPN /fantseman
/!nici,alAQo,tionN
Ao,tion la&elRP96ifoQ =emanQ Lo6er %en:yiraPN 96ifoQ =emanQ Lo6er
%en:yiraAQo,tionN
Ao,tion la&elRPU,,er %en:yira 'ast /!nici,alPN U,,er %en:yira 'ast
/!nici,alAQo,tionN
Ao,tion la&elRPU,,er %en:yira 0estPN U,,er %en:yira 0estAQo,tionN
AQo,tro!,N
Ao,tro!, la&elRP'*S9'#G #'GIFG PN
Ao,tion la&elRP*:!a,im GorthPN *:!a,im GorthAQo,tionN
Ao,tion la&elRP:!a,im So!th /!nici,alPN *:!a,im So!th
/!nici,alAQo,tionN
Ao,tion la&elRP*:yemansa Ge6PN *:yemansa
Ge6AQo,tionN
Ao,tion la&elRP*s!oyamanPN *s!oyamanAQo,tionN
18
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ao,tion la&elRP*ti6aPN *ti6aAQo,tionN
Ao,tion la&elRPOirim +entral /!nici,alPN Oirim +entral /!nici,alAQo,tionN
Ao,tion la&elRPOirim GorthPN Oirim GorthAQo,tionN
Ao,tion la&elRPOirim So!thPN Oirim So!thAQo,tionN
Ao,tion la&elRP'ast *:im /!nici,alPN'ast *:im /!nici,alAQo,tionN
Ao,tion la&elRPFantea:6aPNFantea:6aAQo,tionN
Ao,tion la&elRPT6ae&i&iremPNT6ae&i&iremAQo,tionN
Ao,tion la&elRPT6ah! 'astPN T6ah! 'astAQo,tionN
Ao,tion la&elRPT6ah! GorthPNT6ah! GorthAQo,tionN
Ao,tion la&elRPT6ah! So!thPNT6ah! So!thAQo,tionNAQo,tionN
Ao,tion la&elRPT6ah! 0est /!nici,alPN T6ah! 0est /!nici,alAQo,tionN
Ao,tion la&elRPLo6er /anya Tro&oPNLo6er /anya Tro&oAQo,tionN
Ao,tion la&elRPGe6-J!a&en /!nici,alPN Ge6-J!a&en /!nici,alAQo,tionN
Ao,tion la&elRPS!h!mQ Tra&oaQ +oaltarPNS!h!mQ Tra&oaQ +oaltarAQo,tionN
Ao,tion la&elRP U,,er /anya Tro&oPNU,,er /anya Tro&oAQo,tionN
Ao,tion la&elRP0est *:im /!nici,alPN0est *:im /!nici,alAQo,tionN
Ao,tion la&elRPYilo Tro&oPNYilo Tro&oAQo,tionN
AQo,tro!,N
Ao,tro!, la&elRPG#'*9'# *++#*PN
Ao,tion la&elRP*ccra /etro,olitanPN *ccra /etro,olitanAQo,tionN
Ao,tion la&elRP*(entan /!nici,alPN*(entan /!nici,alAQo,tionN
Ao,tion la&elRP*shaiman /!nici,alPN *shaiman /!nici,alAQo,tionN
Ao,tion la&elRP%anme 'astPN %anme 'astAQo,tionN
Ao,tion la&elRP%anme 0estPN%anme 0estAQo,tionN
Ao,tion la&elRPGa 'ast /!nici,alPN Ga 'ast /!nici,alAQo,tionN
Ao,tion la&elRPGa So!th /!nici,alPN Ga So!th /!nici,alAQo,tionN
Ao,tion la&elRPGa 0est /!nici,alPN Ga 0est /!nici,alAQo,tionN
Ao,tion la&elRPLe(Vo:!:!-Tro6or /!nici,alPN Le(Vo:!:!-
Tro6or/!nici,alAQo,tionN
19
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ao,tion la&elRP9ema /etro,olitanPN9ema /etro,olitanAQo,tionN
AQo,tro!,N
Ao,tro!, la&elRPGF#9='#G #'GIFGPN
Ao,tion la&elRPOolePN OoleAQo,tionN
Ao,tion la&elRPO!n:,!r!!-Y!nyooPN O!n:,!r!!-Y!nyooAQo,tionN
Ao,tion la&elRP+entral Gon;aPN +entral Gon;aAQo,tionN
Ao,tion la&elRP+here,oniPN +here,oniAQo,tionN
Ao,tion la&elRP'ast Gon;aPN 'ast Gon;aAQo,tionN
Ao,tion la&elRP'ast /am,r!siPN 'ast /am,r!siAQo,tionN
Ao,tion la&elRPG!shie!PN G!shie!AQo,tionN
Ao,tion la&elRPTaraaPN TaraaAQo,tionN
Ao,tion la&elRPT,an(aiPN T,an(aiAQo,tionN
Ao,tion la&elRPGan!m&a GorthPN Gan!m&a GorthAQo,tionN
Ao,tion la&elRPGan!m&a So!thPN Gan!m&a So!thAQo,tionN
Ao,tion la&elRPSa&o&aPN Sa&o&aAQo,tionN
Ao,tion la&elRPSa5el!!Q Ganton PN Sa5el!!Q GantonAQo,tionN
Ao,tion la&elRPSa6la-9!na-Tal&a PN Sa6la-9!na-Tal&aAQo,tionN
Ao,tion la&elRP9amale /etro,olitanPN9amale /etro,olitanAQo,tionN
Ao,tion la&elRP9olonQ T!m&!n!PN 9olonQ T!m&!n!AQo,tionN
Ao,tion la&elRP0est Gon;aPN 0est Gon;aAQo,tionN
Ao,tion la&elRP0est /am,r!siPN 0est /am,r!siAQo,tionN
Ao,tion la&elRPYen(i /!nici,alPN Yen(i /!nici,alAQo,tionN
Ao,tion la&elRPWa&V!!Q 9atalePN Wa&V!!Q 9ataleAQo,tionN
AQo,tro!,N
Ao,tro!, la&elRPUPP'# '*S9PN
Ao,tion la&elRPOa6:! /!nici,alPNOa6:! /!nici,alAQo,tionN
Ao,tion la&elRPOa6:! 0estPN Oa6:! 0estAQo,tionN
Ao,tion la&elRPOolatana /!nici,alPN Oolatana /!nici,alAQo,tionN
20
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ao,tion la&elRPOonoPN OonoAQo,tionN
Ao,tion la&elRPO!ilsaPN O!ilsaAQo,tionN
Ao,tion la&elRPGar!-9em,anePN Gar!-9em,aneAQo,tionN
Ao,tion la&elRPTassena Gan:ana 'astPN Tassena Gan:ana 'astAQo,tionN
Ao,tion la&elRPTassena Gan:ana 0estPN Tassena Gan:ana 0estAQo,tionN
Ao,tion la&elRP9alensi-Ga&(amPN 9alensi-Ga&(amAQo,tionN
AQo,tro!,N
Ao,tro!, la&elRPUPP'# 0'S9PNAo,tion la&elRPJira,aPN
Jira,aAQo,tionN
Ao,tion la&elRPLam&!ssie Tarni Ge6PN Lam&!ssie Tarni Ge6AQo,tionN
Ao,tion la&elRPLa6raPN La6raAQo,tionN
Ao,tion la&elRPGa(o6liPN Ga(o6liAQo,tionN
Ao,tion la&elRPSissala 'astPN Sissala 'astAQo,tionN
Ao,tion la&elRPSissala 0estPN Sissala 0estAQo,tionN
Ao,tion la&elRP0a 'astPN 0a 'astAQo,tionN
Ao,tion la&elRP0a /!nici,alPN 0a /!nici,alAQo,tionN
Ao,tion la&elRP0a 0estPN 0a 0estAQo,tionN
AQo,tro!,N
Ao,tro!, la&elRP7FL9*PN
Ao,tion la&elRP*(a:l!-*nyi&ePN *(a:l!-*nyi&eAQo,tionN
Ao,tion la&elRP*:atsiPN *:atsiAQo,tionN
Ao,tion la&elRPOia:oyPN Oia:oyeAQo,tionN
Ao,tion la&elRP=o /!nici,alPN =o /!nici,alAQo,tionN
Ao,tion la&elRP=ohoe /!nici,alPN =ohoe /!nici,alAQo,tionN
Ao,tion la&elRPJasi:anPN Jasi:anAQo,tionN
Ao,tion la&elRPTa(;e&iPN Ta(;e&iAQo,tionN
Ao,tion la&elRPTeta /!nici,alPN Teta /!nici,alAQo,tionN
Ao,tion la&elRPTet! GorthPN Tet! GorthAQo,tionN
Ao,tion la&elRPTet! So!thPN Tet! So!thAQo,tionN
21
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ao,tion la&elRPT,an(oPN T,an(oAQo,tionN
Ao,tion la&elRPTrachi 'astPN Trachi 'astAQo,tionN
Ao,tion la&elRP Gorth 9on!PN Gorth 9on!AQo,tionN
Ao,tion la&elRPSo!th %ayiPN So!th %ayiAQo,tionN
Ao,tion la&elRPSo!th 9on!PN So!th 9on!AQo,tionN
AQo,tro!,N
Ao,tro!, la&elRP0'S9'#G #'GIFGPN
Ao,tion la&elRP*hanta 0estPN *hanta 0estAQo,tionN
Ao,tion la&elRP*o6inQ S!amanPN *o6inQ S!amanAQo,tionN
Ao,tion la&elRPOiaPN OiaAQo,tionNAo,tion la&elRPOi&ianiQ
*nh6iasoQ Oe:6aiPN Oi&ianiQ *nh6iasoQOe:6aiAQo,tionN
Ao,tion la&elRP'llem&ele Ge6PN 'llem&ele Ge6AQo,tionN
Ao,tion la&elRPJomoroPN JomoroAQo,tionN
Ao,tion la&elRP/,ohorQ 0assa 'astPN /,ohorQ 0assa 'astAQo,tionN
Ao,tion la&elRPGVema 'ast /!nici,alPN GVema 'ast /!nici,alAQo,tionN
Ao,tion la&elRPPrestea-=!ni 7alleyPN Prestea-=!ni 7alleyAQo,tionN
Ao,tion la&elRPSef6i *:ontom&ra PN Sef6i *:ontom&raAQo,tionN
Ao,tion la&elRPSef6i-0ia6soPN Sef6i-0ia6soAQo,tionN
Ao,tion la&elRPSe:on(i 9a:ora(i /etro,olitanPNSe:on(i 9a:ora(i
/etro,olitanAQo,tionN
Ao,tion la&elRPShamaPN ShamaAQo,tionN
Ao,tion la&elRP 9ar:6a Gs!aem /!nici,alPN 9ar:6a Gs!aem /!nici,alAQo,tionN
Ao,tion la&elRP0asa *men) 'astPN 0asa *men) 'astAQo,tionN
Ao,tion la&elRP0asa *men) 0estPN 0asa *men) 0estAQo,tionN
AQo,tro!,N
AQselectN
AQliN
AliN
As,an classRPre4in,!t1PN%ate of OirthL AQs,anNAin,!t ty,eRPte<tP
nameRP(ateof&irthP siVeRP22P ma<lenthRP.1P classRPoneP QN
22
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AQliN
AliN
As,an classRPre4in,!t2PNUsernameL AQs,anNAin,!t ty,eRPte<tP
nameRP!sernameP siVeRP22P ma<lenthRP.1P QN
AQliN
AliN
As,an classRPre4in,!t3PNPass6or(L AQs,anNAin,!t ty,eRP,ass6or(P
nameRP,ass6or(P siVeRP22P ma<lenthRP10P QN
AQliN
AliN
As,an classRPre4in,!t8PN#e-ty,e Pass6or(L AQs,anNAin,!t ty,eRP,ass6or(P
nameRP,ass6or(2P siVeRP22P ma<lenthRP10P QN
AQliN
Ali classRPs!&mit2PN
Ain,!t ty,eRPs!&mitP 5al!eRP#eisterP nameRPs!&mitP QN Ain,!t ty,eRPresetP N
AQliN
AQformN
AQ!lN
AQ(i5N
AD-- LFGIG OF99F/ O'GIGS --N
A(i5 classRPloin4&ottomPN
AQ(i5N
AQ(i5N
AQ(i5N
AQ(i5N
AB,h,
incl!(e(Pfooter.,h,P)C
BN
AQ(i5N
AQ&o(yN
2"
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AQhtmlN
complaintsphp
AB,h, session4start()C
if(isset(E4PFS9HIs!&mitIJ))K
Eco(en!m&er1 R E4PFS9HIco(en!m&erIJC
Es!&;ect1 R E4PFS9HIs!&;ectIJC
Eemail R E4PFS9HIemailIJC
E)rstname1 R E4PFS9HI)rstnameIJC
Emi((lename1 R E4PFS9HImi((lenameIJC
Elastname1 R E4PFS9HIlastnameIJC
Emarriae1 R E4PFS9HImarriaeIJC
Ese<1 R E4PFS9HIse<IJC
Emyrichte<t1 R E4PFS9HImyrichte<tIJC
if(
DEco(en!m&er1 YY
DEs!&;ect1 YY
DE)rstname1 YY
DElastname1 YY
DEmarriae1 YY
DEse<1
)K
hea(er(PLocationLcom,laints.,h,B i(R1P)C
e<itC
M
if(D,re4match(PQ.SZ.S..SQPUEemail) YY ,re4match(PQ(AYN)QPUEemail))K
hea(er(PLocationLcom,laints.,h,B i(R2P)C
e<itCM
incl!(e(Pcon).,h,P)C
Eco(en!m&er R mys$l4real4esca,e4strin(Eco(en!m&er1)C
2.
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Es!&;ect R mys$l4real4esca,e4strin(Es!&;ect)C
E)rstname R mys$l4real4esca,e4strin(E)rstname1)C
Emi((lename R mys$l4real4esca,e4strin(Emi((lename1)C
Elastname R mys$l4real4esca,e4strin(Elastname1)C
Eresi(ence R mys$l4real4esca,e4strin(Eresi(ence1)C
Emarriae R mys$l4real4esca,e4strin(Emarriae1)C
Ese< R mys$l4real4esca,e4strin(Ese<1)C
Emyrichte<t R mys$l4real4esca,e4strin(Emyrichte<t1)C
Eco(en!m&er R a((slashes(Eco(en!m&er1)C
Es!&;ect R a((slashes(Es!&;ect1)C
E)rstname R a((slashes(E)rstname1)C
Emi((lename R a((slashes(Emi((lename1)C
Elastname R a((slashes(Elastname1)C
Eresi(ence R a((slashes(Eresi(ence1)C
Emarriae R a((slashes(Emarriae1)C
Ese< R a((slashes(Ese<1)C
Emyrichte<t R mys$l4real4esca,e4strin(Emyrichte<t1)C
Etime R time()C
E(ate R (ate(P%-/-Y hLiLs *PU Etime)C
Einsert R mys$l4$!ery(Pinsert into a((4com,laints 5al!es(IIU
IEco(en!m&erIU
IEs!&;ectIU
IE)rstnameIU
IEmi((lenameIU
IElastnameIU
IEmarriaeIU
IEse<IU
IEmyrichte<tIU
21
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
IE(ateI
)P)C
if(Einsert)K
Eto R EemailC
Es!&;ect R P+om,laint +o(ePC
Ehea(er R PFromLGhana Police Information SystemPC
Emessae R P
Yo!r +om,laint +o(e isL Eco(en!m&er
PC
Email R mail(PEtoPUPEs!&;ectPUPEhea(erPUPEmessaeP)C
if(Email)K
E4S'SSIFGHIcom,laintsn!m&erIJ R E4PFS9HIco(en!m&erIJC
hea(er(PLocationLa((com,laints4(is,lay.,h,P)C
e<itC
M
M
M
BN
AD%F+9YP' html PUOLI+ P-QQ0"+QQ%9% =9/L ..0 9ransitionalQQ'GP
Phtt,LQQ666.6".orQ9#Q#'+-html.0Qloose.(t(PN
AhtmlN
Ahea(N
Ameta nameRP(escri,tionP contentRPP QN
Ameta nameRP:ey6or(sP contentRPP QN
AtitleN Ghana Police Information System AQtitleN
Alin: hrefRPcssQstyle.cssP relRPstylesheetP ty,eRPte<tQcssPN
Alin: hrefRPcssQcalen(ar.cssP relRPstylesheetP ty,eRPte<tQcssPN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQ;$!ery-1.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQcal.;sPNAQscri,tN
22
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ascri,t ty,eRPte<tQ;a5ascri,tPN
;>!ery((oc!ment).rea(y(f!nction () K
E(Iin,!t.oneI).sim,le%ate,ic:er(K start(ateL 1901U en((ateL 2018 M)
M)C
AQscri,tN
Alin: relRPstylesheetP ty,eRPte<tQcssP
hrefRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QassetsQs:insQsamQs:in.cssPN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qyahoo-
(om-e5entQyahoo-(om-e5ent.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tP
srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QelementQelement-min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QcontainerQcontainer4core-
min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qmen!Qmen!-min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Q&!ttonQ&!tton-
min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qe(itorQe(itor-min.;sPNAQscri,tN
AQhea(N
A&o(yN
AD-- 0#*PP'# O'GIGS--N
A(i5 classRP tem,late46ra,,erPN
AB,h, incl!(e(P&anner.,h,P)CBN
AB,h, incl!(e(PhoriVontal&ar.,h,P)BN
AD-- #IG=9 =F#IWFG9*L O*# O'GIGS--N
A(i5 classRPriht4horiVontal4&arPN
AB,h, incl!(e(P(ate.,h,P)C BN
AQ(i5N
AQ(i5N
AD-- 9'/PL*9' +FG9*IG'# O'GIGS--N
23
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
A(i5 classRPtem,late4containerPN
A(i5 classRPtem,latePN
A(i5N
AD-- 9'/PL*9' 9FP O'GIGS --N
A(i5 classRPtem,late4to,PN
A(i5 classRPtitle4imaesPN
Aim srcRPimaesQcom,laint.;,PN
AQ(i5N
AQ(i5N
AD-- 9'/PL*9' /I%%L' O'GIGS --N
A(i5 classRPtem,late4mi((lePN
AD-- 9'/PL*9' UGF#%'#'% LIS9 O'GIGS --N
A!l classRPtem,late4!olistPN
Aform actionRPcom,laints.,h,P metho(RP,ostP ons!&mitRPret!rn my%oS!&mit()P
classRPy!i-s:in-samPN
Ali classRPtem,late4list45ali(ationPN
AB,h, incl!(e(P5ali(ation.,h,P)C BN
AQliN
Ali classRPtem,late4listPN
As,anNSec!rity +o(eLAQs,anN
Ain,!t ty,eRPte<tP siVeRP.0P nameRPco(en!m&erP 5al!eRPAB,h, echo (ran(())C B
NP classRPcom,laint4in,!tP QN
AQliN
Ali classRPtem,late4listPN
As,anNS!&;ectLAQs,anNAin,!t ty,eRPte<tP nameRPs!&;ectP
classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4listPN
As,anN'-mailLAQs,anN
Ain,!t ty,eRPte<tP nameRPemailP classRPcom,laint4in,!tPN
28
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AQliN
Ali classRPtem,late4listPN
As,anNFirst GameLAQs,anN
Ain,!t ty,eRPte<tP nameRP)rstnameP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4listPN
As,anN/i((le GameLAQs,anN
Ain,!t ty,eRPte<tP nameRPmi((lenameP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4listPN
As,anNLast GameLAQs,anN
Ain,!t ty,eRPte<tP nameRPlastnameP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4list<PN
As,anN/arital Stat!sLAQs,anN
Ain,!t ty,eRPra(ioP nameRPmarriaeP 5al!eRPsinleP QNSinle Ain,!t
ty,eRPra(ioP nameRPmarriaeP 5al!eRPmarrie(P QN/arrie(
As,anNSe<LAQs,anN
Ain,!t ty,eRPra(ioP nameRPse<P 5al!eRPmaleP QN/ale Ain,!t ty,eRPra(ioP
nameRPse<P 5al!eRPfemaleP QNFemale
AQliN
Ali classRPtem,late4te<tareaPN
Ate<tarea nameRPmyrichte<tP i(RPmyrichte<tP NAQte<tareaN
AQliN
Ali classRPtem,late4list4&!ttonPN
Ain,!t ty,eRPs!&mitP nameRPs!&mitP 5al!eRPS!&mitPN
AQliN
AQformN
AQ!lN
29
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AQ(i5N
AD-- 9'/PL*9' OF99F/ O'GIGS --N
A(i5 classRPtem,late4&ottomPN
AQ(i5N
AQ(i5N
AQ(i5N
AQ(i5N
AB,h,
incl!(e(Pfooter.,h,P)C
BN
Ascri,tN
f!nction my%oS!&mit() K
QQalert(Ihan(lin s!&mitDI)C
my'(itor1.sa5e=9/L()C
QQalert((oc!ment.et'lementOyI((Ims,ostI).5al!e)C
ret!rn tr!eC
M
5ar my'(itor R ne6 Y*=FF.6i(et.'(itor(Imyrichte<tIU K
heihtL I.10,<IU
6i(thL I100,<IU
(om,athL falseU QQ9!rns on the &ar at the &ottom
animateL tr!eU QQ*nimates the o,eninU closin an( mo5in of '(itor 6in(o6s
han(leS!&mitL tr!e
M)C
my'(itor.ren(er()C
AQscri,tN
AQ&o(yN
AQhtmlN
30
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
,&% +atabase Tables
$ommands to create the dataase was generated and stored in and S1& te(t file. Allocation of
a uni'ue name, and attriutes were also identified. Attriutes contained a name, primary and
foreign key where appropriate not forgetting declaration of !arious data types and attriute si,e.
9ith the use of attriute si,e auto increment, automatic generation of se'uential numers was
used to maintain entity integrity y uni'uely identifying e!ery tuple with the tale *)uois >33@+.
<se of foreign keys allowed G.P.I.S. maintain referential integrity within the datase.it also
ensured user information was consistent.
,&& +ata Type
In defining the !arious data types for tales within the dataase, AA;$/A; was predominantly
used, which allowed the use of alphanumeric data to store all !alues that had to e held in a
string !ariale.
All attriutes that had to store numers were declared of the data type I#T.
,&, 'ackup and Maintenance
)isaster reco!ery is !ital in any organi,ation that makes use of dataase applicationE therefore
e!ery organi,ation needs to ha!e a strong policy document on ackup and reco!ery. The
method ackup employed y G.P.I.S is a feature uilt into "yS1& called "yS1& dump. This
feature enales the content of a dataase to e copied including transfer to another S1&
dataase management system *"yS1& ;eference "anual >323+.
31
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
:ptions such as elow are a!ailale in "yS1& to the administrator to enale ackup. The first
option allows for the creation of full ackup. Included in this option is the create statements that
was used to create the dataase as well as actual data. <sing the first option, administrators of
the system can port whole dataase to another.
The second option creates a copy of the S1& data definition language used to construct the
dataase. This option would come in handy to future de!elopers of the system. A ackup data is
not created with this option. .oth option stores the ackup as a comma separated !alue file
*$SA+. A restore feature, which allows acked up data to e restored to the ser!er at a point in
time.
mysqldump h csdbdev u scs2tm p x t | gzip > filename!gz
mysqldump h csdbdev u scs2tm p x | gzip > filename!gz
,&2System #$er$iew
This section seeks to pro!ide an o!er!iew of the deli!ered system with !arious screen dumps of
the final system. ItBs worth noting that the system has two *>+ distinct users categories and that
certain functionalities are !isile to certain class of officers of the system.
Senior officer
Funior officers
A senior officer is one that has access to an account on the system, and can edit complaint and
crime report. A junior officer howe!er, needs a seniorBs officerBs permission to edit an already
entered report. Further documentations are a!ailale under the systems user documentation.
,&3 +efault 0iew of 8!IS
<sers of the system can log on to it y entering a specific <niform ;esource &ocator *<;&+ that
would e pro!ided y their system administrator. For this de!eloper, the application resides on
the local host ser!er and that is the address *http=88localhost=77778inde(.php+
32
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Figure 6.?.2 )efault Aiew
,&: .ogon Screen
The default screen ser!es as the main logon screen. If an officer has not yet registered for an
account, he or she may do so y clicking on the register now link pro!ided in the second column
of the default screen.
,&; -egistration Form
:fficers can register for an account y first seeking authori,ation from senior officers in charge
at the station. Senior officers need to log in to open up the registration form. .y pro!iding this
feature G.P.I.S. seeks to pre!ent unauthori,ed use of the system y unauthori,ed officers. All
fields are mandatory, the system automatically prompts user if they omit some fields.
Figure 6.?.? ;egistration Form
3"
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
,&< 1ser !rofile !age
:nce logged in, officers ha!e the pri!ilege to update their profile page. :ptions such as rank,
name, and district are presented ack to the officer to edit. "ost importantly, officers ha!e the
pri!ilege to upload their profile picture.
Figure 6.?.6 %dit <ser Profile Page
,&1= Control !anel
The control panel is the main working area where registered officer ha!e the chance to input all
reported case. It consist of utton such as add complaint, add crime report, add most wanted
person, edit crime report, edit complaint and a host of other function depending on the user
pri!ilege assigned.
3.
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Figure 6.?.@ $ontrol Panel
,, Summary
A rief o!er!iew of the de!eloped system has een discussed together with how the code was
structured and de!eloped from the eginning and also how it was integrated into the system.
Security was also tackled in this section together with conformance with software de!elopment
practices and standards. The ne(t chapter introduces the !arious testing strategies during the
de!elopment of the project.
31
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Chapter 2 Testing
The purpose of testing a system is to e certain that components of a system functions as
e(pected oth in isolation and as a complete system. )etails of the !arious testing strategies
utili,ed in this system are discussed in this chapter.
21 1nit Testing
The process of testing indi!idual code module efore they are integrated with other modules
*.urd et al, >336+. A lack o( approach to testing ensures that the tester does not know the
internal workings of the system that are eing tested. The tale elow *tale @.2+ outlines a test
plan and scenarios.
Test Purpose To check for correct working of login
module components.
Test )ata Password and test data pro!ided y user.
Test condition ;e'uires the we applications to e
running in order to accept the input
password. Aalidation of data must occur
efore the user is allowed to the control
panel
%(pected :utcome Application must grant access to the
control panel upon input of correct
username and password. <pon wrong
input, the system should prompt the user to
retry.
Tale @.2 Test plan and scenario
32
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
2% .og In Module Testing
In testing the log in module, the username and password fields were left lank, input of wrong
account credential will also e tested and finally pro!iding correct credentials would also e
tested.
Figure @.> *a+ <sername and Password fields left lank
Figure @.>*+ 9rong user credentials
33
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Figure @.>*c+ $orrect input of username and password opens up control panel
2& 1ser Acceptance Testing >1AT?
The main ojecti!e of conducting an acceptance test is to e sure that the system fulfills user
re'uirements. G.P.I.S. was opened up to the officers on a pilot test program and !arious !iews
such as user interface design, performance, usaility and usefulness were sort and graded
accordingly.
2&1Integration Test
A testing techni'ue for constructing the structure of an application or software whiles conducting
test to unco!er errors associated with interfacing. The aim is to take modules tested during unit
test to uild a program structure that has een dictated y design. Integration testing was
conducted on G.P.I.S. All modules were tested for compatiility with each other. All modules
coe(isted with each other with no ugs
2&% 1ser Interface +esign
An a!erage of 2? out of 2@ officers found the systems interface attracti!e and easy to na!igate
and also understand. A much sort after feature y the testers was a floating widget, howe!er the
de!eloper put into consideration the !arious factors in user interface *<I+ design.
38
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
2&& 1sefulness of Application
A total of 2@ out of 2@ pilot test officers found the information system !ery useful. :fficers were
e(tremely grateful to the fact that the days of paper work was eliminated if not completely.
/owe!er, they raised concerns aout features such as online document collaoration, which
was eyond the scope of this project.
2&, !erformance
:n the issue of o!erall performance, an a!erage user rating of 26 out of 2@ officers was
awarded to G.P.I.S. /owe!er, further in!estigations needs to e done in terms of performance to
help the system up its performance in the future if numer of officer in the !arious regions
increases.
$aching the fre'uently used items is one aspect to e in!estigated to oost the performance of
the system
2, Summary
This chapter has sort to discuss the testing strategies employed for this system. <nit testing
was discussed with emphasis on the lack o( approach eing deployed Acceptance testing
method was also discussed. The ne(t chapter seeks to e!aluate the success of Ghana Police
Information Systems *G.P.I.S.+
39
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Chapter 3: Conclusion
The ojecti!e of this chapter is to pro!ide an o!er!iew of the work done and how it has
impro!ed and helped me technically and personally in terms of de!elopment. It also descries
what further works still remains to e done. Analysis of the success of the project is e!aluated in
this chapter. &essons learnt from the project are also discussed.
31 #$er$iew of !ro"ect
Generally, this project has een ased on practical knowledge in conducting and a managing
real world project, which has helped me gain deep in!aluale e(perience in project
management with emphasis on software de!elopment.
311 Technical
Firstly, a ackground study of popular crime information systems was conducted this
in!estigation ecame the asis of the project. The initial project proposal sumitted at the
commencement of this project discussed important critical aspect of the system. The o!erall
de!elopment methodology and the software de!elopment life cycle were discussed as well as
the scope, ojecti!es of the project, project deli!erales and major timelines.
Secondly, the commencement of user analysis re'uirement was estalished. "odel of the
!arious system modules where descried and produce. A high le!el detailed design was the y-
product of the re'uirement analysis phase. Further more, the high le!el design ga!e way to the
production of the systems architecture for each module identified. <nified modeling language
*<"&+ and dataase modeling were the techni'ues used to model the system.
Integration and iteration was adopted as the method of putting together the !arious system
component modules to ensure that the entire indi!idual pieces fitted together to form a single
workale system. $oding of application logic was completed and the module was tested using
unit and integrations test.
31% !ersonal +e$elopment
This project has gi!en me the chance to ecome an e(pert in a new programming language *i.e.
P/P+. It has created a platform where I can use se!eral of the techni'ues and ideas I ha!e
learnt throughout this course in the real world, techni'ues such as system de!elopment life
cycle can e applied in software project de!elopment, dataase modeling techni'ues can also
e applied to uilding concrete dataases.
The Ghana Police :fficers now ha!e an upscale modern information system that they will use to
collaorate, communicate and engage one another. The project has practically thought me to
e(ercise good estimation skills and managing time constraints within a project. .y conducting
this project, part of the .usiness and $omputing information system re'uirements has een
fulfilled. It has also de!eloped my in de!eloping software applications. %(perience has een
gained in the following fields, software e!aluation, system design and de!elopment, planning
and organi,ation and software testing.
31& !ro"ect Analysis
;e'uirements of the users were gathered first and foremost. The de!elopment of the first phase
of this project egun with the coding of the core system. The core consisted of the login module
and registration module to allow new officers create an account. The core system allows officers
to edit their personal details and also upload a profile picture.
80
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
The control panel was then de!eloped and integrated into the core system in a top down
fashion. Firstly, the Add complaint module was de!eloped with the add crime report following it,
add most wanted person, !iew most wanted person, !iew complaint, edit crime report and edit
complaint in that order.
)e!elopment was to e completed y earliar howe!er, this was not possile. It was estimated to
spend at least an a!erage of >2 hours a week on the project, howe!er due to circumstances
eyond control work could not progress steadily as suggested. 9ork progressed on a!erage
aout 23-26 hours per weekE this was due to other commitments that had to e fulfilled.
31, 1nfinished @ork
)ue to the constraint in time only !ery critical modules needed for the project to succeed were
gi!en priority. The chat system would e de!eloped and integrated as a major !ersion of this
project. The chat option would allow police officers to identify and collaorate in real time with
other officers all o!er the country. Aarious user feedacks collected during the user acceptance
test *<AT+ would e worked out and incorporated into the ne(t major !ersion of G.P.I.S.
3% .essons .earnt
Gnowledge ac'uisition gained from this project is enormous. This section gi!es a summary of
the technical, academic and personal lessons learnt and the special ailities gained.
3%1 Technical
Gnowledge has een ac'uired in producing a thorough re'uirement specification document for
the system. Also software design in incremental8modular fashion has een perfected. The
inherent power in using a top down integration approach when de!eloping in modular fashion
cannot e understated. I ha!e also reali,ed the aility to seek appropriate technical help using
well-documented P/P liraries across the Internet. #ot forgetting how to properly manage a
project in terms of timelines and deli!erales.
3%% Academic
:pting to use P/P and $SS as a platform for the rapid de!elopment of Internet application
particularly G.I.P.S. has een academically appropriate and rewarding. $ascading style sheet
*$SS+ for uilding layouts and user interfaces has een e(tremely helpful. :ne style sheet was
defined which was then applied to layout the general theme for all the pages.
)eploying and de!eloping the system using the incremental system de!elopment life cycle for
software project has een pro!ed to e the a good option for creating a modular ased
information system.
3%& !ersonal
9he (e5elo,er of G.I.P.S has aine( enormo!s ,ersonal e<,erience in manain
soft6are (e5elo,ment ,ro;ects on a ,ersonal le5el. Tno6le(e has &een f!lly
ac$!ire( in /yS>L (ata&ase manaement system.
3%& Summary
This chapter has concluded an o!er!iew of the work done during the entire project. It has also
addressed the o!erall success and how the project was analy,ed and e!aluated. The remaining
work to e carried out has also een outlined. Ghana Police Information System would enale
police officers to effecti!ely store data aout crime reports and also most wanted persons within
81
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
the community therey creating a safe society. A working copy of the software has een hosted
online for education purposes.
The <;& to the li!e demo we information system can e found at and accessed with
Ghana Police Information System *htt,LQQforeenelectricals.comQ,isQin(e<.,h,+
+emo 1sername
<S%;#A"%= pegel3@
+emo !assword
PASS9:;)= slimline3@
+emo 1sername for Inspector 8eneral
<sername=inspector2
Password=igp2>?O
+emo 1sername for chief Inspector
<sernam=cinspector>
Password=cinspector2>?O
82
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AppendiA Similar Systems
A
In5estiation on similar systems
1.Crime*tarFs 3ecords .anagement */stem ;3.*<
$rimeStarPs ;ecords "anagement System *;"S+ is an easy to use multi-user,
network ready system that automates all of the common record keeping
functions of a progressi!e law enforcement agency. The main feature of this
application is=
%(tensi!e ;eporting
Searching
A!ailale at= http=88www.crimestar.com8info.html
#."he CDIP* so2tware suite
The C7I!S software suite is a popular series of professional police and security applications.
A!ailale at= http=88www.chi.co.uk8police8
$rime ;ecording
Searching
$. I.* Crime
I"S $rime is a fle(ile solution for recording and managing crime. The crime
management software supports the full crime in!estigation life cycle from recording and
allocation through to in!estigation and filing.
$rime ;ecording
;eporting and statistics
A!ailale at= htt,LQQ666.a&msoft6are.comQPro(!cts4I/S4+rime.html
).Crime
9indows ased application that stores records related to crimes and criminals.
htt,LQQ666.(,ssoft6are.co.!:Qcrime.as,
$rime ;ecording
8"
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
;eporting and statistics
'4 1se Case +iscriptions
Use +ase %escri,tion
1ser Case: 3egister
:ctors $escri"tion
Ge6 !ser #eister ne6 !sers for the )rst
time
1ser Case: 3egister
:ctors $escri"tion
'<istin User Lo in 6ith 5eri)e( cre(entials
Lo o!t
'(it ,ro)le
1ser Case: Add and Adit 3eports
:ctors $escri"tion
Senior o?cers *(( crime re,ort
*(( most 6ante( ,erson
*(( com,laint
'(it +om,laint
'(it +om,laint
7ie6 com,laint
7ie6 most 6ante( ,erson
8.
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
1ser Case: Add 3eports
:ctors $escri"tion
J!nior o?cers *(( crime re,ort
*(( most 6ante( ,erson
*(( com,laint
7ie6 com,laint
7ie6 most 6ante( ,erson
81
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
C4+ata +ictionary
Antit/: a((4com,laints
-escription: 9his ta&le stores the information a&o!t com,laints from the eneral
,!&lic
Attribute "/pe -escriptions
co(en!m&er 5archar(.1) Uni$!e co(e enerate( &y
the system for searchin
an( e(itin
S!&;ect 5archar(.1) S!&;ect of com,laint
FirstGame 5archar(.1)
"he first name of the user!
LastGame 5archar(.1) 9he last name of the !ser.
/arrie( 5archar(2) /arital stat!s
Se< 5archar(.1) /ale or female
/yrict9e<t 5archar(2000) Stores the &o(y of the
com,laint
%ate*((e( 7archar(.1) %ate the com,laint 6as
)le(
I( Int(1) 9he ,rimary :ey of the
ta&le.
Antit/: a((4crimere,ort
-escription: 9his ta&le stores the information a&o!t crime re,orte( &y the eneral
,!&lic
Attribute "/pe -escriptions
co(eG!m&er 5archar(.1) Uni$!e co(e enerate( &y
the system for searchin
an( e(itin
S!&;ect 5archar(.1) S!&;ect of com,laint
/yrict9e<t 5archar(2000) Stores the &o(y of the
com,laint
%ate*((e( 7archar(.1) %ate the com,laint 6as
)le(
I( Int(1) 9he ,rimary :ey of the
82
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
ta&le.
Antit/: a((4most6ante(
-escription: 9his ta&le stores the information a&o!t the most 6ante( ,erson.
Attribute "/pe -escriptions
+o(en!m&er 5archar(.1) Uni$!e co(e enerate( &y
the system for searchin
an( e(itin
S!&;ect 5archar(.1) S!&;ect of com,laint
FirstGame 5archar(.1)
"he first name of the user!
LastGame 5archar(.1) 9he last name of the !ser.
%ialect 7archar(100)
Se< 5archar(.1) /ale or female
%ate*((e( 7archar(.1) %ate the com,laint 6as
)le(
I( Int(1) 9he ,rimary :ey of the
ta&le.
Photo Olo& Stores the ,ict!re of a
most 6ante( ,erson
=eiht 7archar(100) Stores the heiht of a
most 6ante( ,erson
#esi(ence 7arhcar(100) Stores the location
/arrie( 7archar(.1) Stores the marital stat!s
of a most 6ante( ,erson
*e 7archar(100) Stores the ae of the
,erson
Antit/: a(min
83
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
-escription: 9his ta&le stores the information a&o!t !sername an( ,ass6or( for
the ins,ector eneral an( chief ins,ector.
Attribute "/pe -escriptions
I( Int(") Primary :ey for the ta&le
Game 7archar(.1) Game of a(ministrator
Pass6or( 7archar(2.) Stores the a(ministrators
,ass6or(
Antit/: reistration
-escription: Stores the ,ersonal information an( ,references of all of the !sers of
the system
Attribute "/pe -escriptions
I( Int(") Primary :ey for the ta&le
FirstGame 7archar(.1) First Game of o?cer
LastGame 7archar(.1) Stores the last name of
the o?cer.
'mail 7archar(.1) 'mail a((ress
%ateofOirth 7archar(.1) %ate of &irth of o?cer
#an: 7archar(.1) #an: of o?cer
Station 7archar(.1) Game of station 6here
o?cer o,erates from
Username 7archar(.1) Lo in name of o?cer
Pass6or( 7archar(.1) Lo in ,ass6or(
Photo Olo&(.1) Stores the ,hoto of the
o?cer
88
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
+4System -eBuirements
System ;e'uirements
The tale elow descries the minimum hardware and software specifications need to run the
Ghana police information system.
IT*M S!*CIFICATI#/
)esktop P$ #!$ %&z
;andom Access "emory 2G.
/ard dri!e 73G
Screen ;esolution 23>6 ( 547 pi(els
9e .rowser Internet %(plorer, Google $hrome, "o,illa
Firefo(
89
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
*4Installation Instructions
%o6nloa( an( install easy,h, for test (emo. Follo6 the screen shorts to et starte(.
90
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
91
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report

92
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
F41ser Manual
1. F,en a 6e& &ro6serU ty,e 123.0.0.1Q8080Q,is
9"
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
2. +lic: on #eister Senior o?cers o,en !, the reistration ,ae )rst as Ins,ector
eneral or chief ins,ector.
". +om,lete the initial #eistration form an( sin o!t after.
9.
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
.. Lo in 6ith the reistere( !ser name an( ,ass6or(
1.
System (irect the !ser to the control ,anel
91
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
2. 9o a(( com,lainU clic: on a(( com,lain &!ttonU Fill in all the )el(s an( clic: the
s!&mit &!tton.
92
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
93
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
8. 9o a(( most 6ante( ,erson. +lic: on a(( most 6ante( ,erson &!ttonU com,lete
the form an( s!&mit.
9.9o 7ie6 /ost 0ante( Person (a) 'nter +o(eU +lic: on search
98
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
9o 7ie6 /ost 0ante( Person (&)
10. 9o '(it +rime #e,ort (a) 'nter +o(eU +lic: on search
9o '(it +rime #e,ort (&) /a:e chanesU +lic: on s!&mit
11. 9o '(it +om,laint (a) 'nter +o(eU +lic: on Search
99
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
9o '(it +om,laint (&) /a:e +hanesU +lic: on s!&mit
100
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
84Code Snippets
C** 53 1*A3 I0"A35ACA ;Calendar<
Zcharset P!tf-8PC
QS +SS %oc!ment SQ
.(ate,ic:er K
&or(er-colla,seL
colla,seC &or(erL
2,< soli( \999C
,ositionLa&sol!teC
V-in(e<L10C
M
.(ate,ic:er tr.controls th K heihtL 22,<C font-siVeL 11,<C M
.(ate,ic:er select K font-siVeL 11,<C M
.(ate,ic:er tr.(ays th K heihtL 18,<C M
101
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
.(ate,ic:er tfoot t( K heihtL 18,<C te<t-alinL centerC te<t-transformL ca,italiVeC M
.(ate,ic:er thU .(ate,ic:er tfoot t( K &ac:ro!n(L \eeeC fontL 10,<Q18,< 7er(anaU
*rialU =el5eticaU sans-serifC M
.(ate,ic:er th s,anU .(ate,ic:er tfoot t( s,an K font-6eihtL &ol(C M
.(ate,ic:er t&o(y t( K 6i(thL 2.,<C heihtL 2.,<C &or(erL 1,< soli( \cccC fontL
11,<Q22,< *rialU =el5eticaU sans-serifC te<t-alinL centerC &ac:ro!n(L \[fC M
.(ate,ic:er t&o(y t(.(ate K c!rsorL ,ointerC M
.(ate,ic:er t&o(y t(.(ate.o5er K &ac:ro!n(-colorL \99[[C M
.(ate,ic:er t&o(y t(.(ate.chosen K font-6eihtL &ol(C &ac:ro!n(-colorL \cc[ccC M
CSS F#- 1S*- I/T*-FAC* >8eneral Style Sheet?
&o(yK
min-6i(thL1000,<C
font-familyL arialU tahomaU 5er(anaC
font-siVeL1.,<C
colorL\000000C
te<t-alinLcenterC
&ac:ro!n(L\9999FF !rl(..QimaesQ&o(y&.if) re,eat-<C
M
.!,(ate&!ttonK
,ositionLa&sol!teC
leftL80]C
to,L80]C
marin-to,L-10,<C
marin-leftL-210,<C
M
.tic:erK
102
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
colorL\F2''82C
font-6eihtL&ol(C
M
QS O*GG'# O'GIGS SQ
.&annerK
6i(thL910,<C
marinL 0C
heihtL100,<C
,ositionLrelati5eC
&ac:ro!n(L !rl(..QimaesQ&anner.if) no-re,eatC
M
mar$!eeK
colorL\[[[C
6i(thL210,<C
marin-to,L 30,<C
,ositionLrelati5eC
M
QS =F#IWFG9*L O*# O'GIGS SQ
.horiVontal4&arK
6i(thL910,<C
marinL 0C
heihtL"0,<C
,ositionLrelati5eC
&ac:ro!n(L\9999++C
&or(erLsoli( 1,< \[[[C
M
QS L'F9 =F#IWFG9*L O*# O'GIGS SQ
.left4horiVontal4&arK
10"
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
6i(thL110,<C
marinL 0C
heihtL20,<C
,ositionLrelati5eC
&ac:ro!n(L\9999++C
^oatLleftC
,a((in-to,L10,<C
font-siVeL12,<C
M
QS #IG=9 =F#IWFG9*L O*# O'GIGS SQ
.riht4horiVontal4&arK
6i(thL.00,<C
marinL 0C
heihtL22,<C
,a((in-to,L8,<C
,ositionLrelati5eC
&ac:ro!n(L !rl(..QimaesQriht4horiVontal.if) no-re,eatC
^oatLleftC
colorL\[[[C
M
QS FFF9'# O'GIGS SQ
.footerK
6i(thL910,<C
marinL 0C
heihtL"3,<C
,a((in-to,L13,<C
10.
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
,ositionLrelati5eC
&ac:ro!n(L !rl(..QimaesQfooter.if) no-re,eatC
colorL \[[[C
M
.,ass4(is,layK
colorL\FFFF22C
font-6eihtL&ol(C
M
QS 0#*PP'# O'GIGS SQ
.6ra,,erK
6i(thL910,<C
marinL 0 a!toC
heihtL 200,<C
,ositionLrelati5eC
&or(erL soli( 10,< \[[[C
M
.c,anel46ra,,erK
6i(thL910,<C
marinL 0 a!toC
heihtL 38.,<C
,ositionLrelati5eC
&or(erL soli( 10,< \[[[C
M
101
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
.,ass6or(46ra,,erK
6i(thL910,<C
marinL 0 a!toC
heihtL 21.,<C
,ositionLrelati5eC
&or(erL soli( 10,< \[[[C
M
.re4(is,lay6ra,,erK
6i(thL910,<C
marinL 0 a!toC
heihtL .1.,<C
,ositionLrelati5eC
&or(erL soli( 10,< \[[[C
&ac:ro!n(L\222299C
M
QS O*GG'# O'GIGS SQ
.&annerK
6i(thL910,<C
marinL 0C
heihtL100,<C
,ositionLrelati5eC
&ac:ro!n(L !rl(..QimaesQ&anner.if) no-re,eatC
M
mar$!eeK
102
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
colorL\[[[C
6i(thL210,<C
marin-to,L 30,<C
,ositionLrelati5eC
M
QS =F#IWFG9*L O*# O'GIGS SQ
.horiVontal4&arK
6i(thL910,<C
marinL 0C
heihtL"0,<C
,ositionLrelati5eC
&ac:ro!n(L\9999++C
M
QS L'F9 =F#IWFG9*L O*# O'GIGS SQ
.left4horiVontal4&arK
6i(thL110,<C
marinL 0C
heihtL20,<C
,ositionLrelati5eC
&ac:ro!n(L\9999++C
^oatLleftC
,a((in-to,L10,<C
M
103
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
QS #IG=9 =F#IWFG9*L O*# O'GIGS SQ
.riht4horiVontal4&arK
6i(thL.00,<C
marinL 0C
heihtL22,<C
,a((in-to,L8,<C
,ositionLrelati5eC
^oatLleftC
colorL\[[[C
M
QS +FG9*IG'# O'GIGS SQ
.containerK
6i(thL910,<C
marinL 0C
heihtL.12,<C
,ositionLrelati5eC
&ac:ro!n(L\++++FFC
M
.c,anel4containerK
6i(thL910,<C
marinL 0C
heihtL212,<C
,ositionLrelati5eC
&ac:ro!n(L\++++FFC
M
108
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
QS P*SS0F#% +FG9*IG'# O'GIGS SQ
.,ass6or(4containerK
6i(thL910,<C
marinL 0C
heihtL100,<C
,ositionLrelati5eC
&ac:ro!n(L\222299C
colorL \[[[C
M
.,ass4titleK
colorL\FFFF22C
font-6eihtL&ol(C
te<t-(ecorationL!n(erlineC
M
.,ass6or(4formK
list-style-ty,eLnoneC
^oatLleftC
,a((inL0C
marin-leftL"00,<C
6i(thL200,<C
heihtL.0,<C
,ositionLrelati5eC
M
.,ssfrmK
109
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
^oatLleftC
6i(thL"00,<C
heihtL"0,<C
,ositionLrelati5eC
te<t-alinLleftC
M
QS +P*G'L O'GIGS SQ
\c,anelK
list-style-ty,eLnoneC
6i(thL"1.,<C
heihtL.90,<C
,ositionLa&sol!teC
leftL10]C
to,L10]C
marin-leftL -111,<C
marin-to,L -220,<C
V-in(e<L1C
,a((inL0C
M
\th!m&sK
6i(thL10,<C
heihtL10,<C
^oatLleftC
,ositionLrelati5eC
&or(erL soli( 1,< \000000C
110
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
M
\th!m&s"K
6i(thL10,<C
heihtL10,<C
^oatLleftC
,ositionLrelati5eC
M
\th!m&s4lin:sK
6i(thL2.0,<C
heihtL"",<C
^oatLleftC
,ositionLrelati5eC
,a((in-leftL2,<C
te<t-alinLleftC
,a((in-to,L13,<C
marin-&ottomL1,<C
colorL\FFFF22C
font-6eihtL&ol(C
M
\th!m&s4lin:s2K
6i(thL2.0,<C
heihtL"",<C
^oatLleftC
,ositionLrelati5eC
,a((in-leftL2,<C
colorL\FFFF22C
te<t-alinLleftC
,a((in-to,L13,<C
111
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
marin-&ottomL",<C
font-siVeL18,<C
font-6eihtL&ol(C
te<t-(ecorationL!n(erlineC
M
.c,anel4(is,layK
colorL\FFFF22C
font-6eihtL&ol(C
te<t-(ecorationL!n(erlineC
M
.c,anel4containerK
6i(thL910,<C
marinL 0C
heihtL200,<C
,ositionLrelati5eC
&ac:ro!n(L\++++FFC
colorL \[[[C
M
.re(is,4containerK
6i(thL910,<C
marinL 0C
heihtL"00,<C
,ositionLrelati5eC
&ac:ro!n(L\222299C
colorL \[[[C
112
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
M
QS L'F9 +FLU/G O'GIGS SQ
.left4col!mnK
6i(thL3"0,<C
marinL 0C
heihtL.12,<C
,ositionLrelati5eC
^oatLleftC
M
QS LFGIG O'GIGS SQ
.loinK
6i(thL.11,<C
marin-leftL10,<C
heihtL.00,<C
marin-to,L8,<C
,ositionLrelati5eC
^oatLleftC
M
QS LFGIG 9FP O'GIGS SQ
.loin4to,K
6i(thL.11,<C
11"
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
marinL0C
heihtL"0,<C
,ositionLrelati5eC
&ac:ro!n(L !rl(..QimaesQloin4to,.if) no-re,eatC
colorL\[[[C
te<t-alinLcenterC
,a((in-to,L20,<C
M
QS LFGIG /I%%L' O'GIGS SQ
.loin4mi((leK
6i(thL.11,<C
marinL0C
heihtL"00,<C
,ositionLrelati5eC
&ac:ro!n(L\9999++C
M
.c,anel4mi((leK
6i(thL.11,<C
marinL0C
heihtL.80,<C
,ositionLrelati5eC
&ac:ro!n(L\9999++C
M
.formsK
list-style-ty,eLnoneC
heihtL200,<C
11.
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
,ositionLa&sol!teC
leftL 10]C
to,L 10]C
marin-leftL-180,<C
marin-to,L-100,<C
M
.forms liK
6i(thL290,<C
marin-to,L10,<C
te<t-alinLleftC
colorL\""""22C
M
.s!&mitK
,a((in-leftL30,<C
M
QS LFGIG OF99F/ O'GIGS SQ
.loin4&ottomK
6i(thL.11,<C
marinL0C
heihtL10,<C
,ositionLrelati5eC
&ac:ro!n(L !rl(..QimaesQloin4&ottom.if) no-re,eatC
M
QS #'GIS9#*9IFG O'GIGS SQ
111
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
.reistrationK
6i(thL3"0,<C
marinL 0C
heihtL.12,<C
,ositionLrelati5eC
marin-leftL2"0,<C
M
.reistration4formsK
list-style-ty,eLnoneC
heihtL200,<C
,ositionLa&sol!teC
leftL 10]C
to,L 10]C
marin-leftL-220,<C
marin-to,L-110,<C
V-in(e<L1C
heihtL"10,<C
font-siVeL 12,<C
font-6eihtL&ol(C
M
.reistration4forms liK
6i(thL"20,<C
marin-to,L3,<C
te<t-alinLrihtC
colorL\000022C
M
.selectsK
112
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
6i(thL.00,<C
heihtL210,<C
te<t-alinLleftC
,ositionLrelati5eC
marin-leftL "00,<C
M
\reistration4hea(inK
te<t-alinLcenterC
M
.reister4&annerK
,ositionLa&sol!teC
leftL20]C
to,L20]C
marin-to,L-8,<C
M
.re4acco!ntK
marin-leftL102,<C
M
QS LFGIG2 O'GIGS SQ
.loin2K
6i(thL211,<C
marinL 0C
heihtL.00,<C
marin-to,L8,<C
,ositionLrelati5eC
^oatLrihtC
113
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
&ac:ro!n(L\9999++C
M
QS LFGIG2 9FP O'GIGS SQ
.loin24to,K
6i(thL2.",<C
marinL",<C
heihtL188,<C
,ositionLrelati5eC
,a((inL",<C
&ac:ro!n(L\9999++C
M
.mem&erK
list-style-ty,eLnoneC
6i(thL220,<C
heihtL180,<C
,ositionLrelati5eC
,a((inL0C
marin-leftL12,<C
colorL\""""22C
font-6eihtL&ol(C
M
QS LFGIG2 OF99F/ O'GIGS SQ
.loin24&ottomK
6i(thL2.",<C
marinL",<C
heihtL188,<C
,ositionLrelati5eC
118
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
,a((inL",<C
&ac:ro!n(L\9999++C
M
aLlin:K
colorL \""""00C
M
aL5isite(K
colorL \""""00C
M
aLho5erK
colorL \FFFF99C
M
QS #IG=9 +FLU/G O'GIGS SQ
.riht4col!mnK
6i(thL210,<C
marinL 0C
heihtL.12,<C
,ositionLrelati5eC
^oatLrihtC
&ac:ro!n(L !rl(..QimaesQriht4col!mn.;,) no-re,eatC
M
.tem,late46ra,,erK
6i(thL910,<C
marinL 0 a!toC
heihtL 1"00,<C
,ositionLrelati5eC
119
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
&or(erL soli( 10,< \[[[C
M
.title4imaesK
6i(thL"91,<C
heihtL10,<C
,ositionLa&sol!teC
leftL20]C
to,L20]C
marin-to,L-10,<C
marin-leftL-23,<C
M
QS +F/PL*IG9 O'GIGS SQ
.tem,lateK
6i(thL131,<C
marinL 0C
heihtL1101,<C
,ositionLrelati5eC
marin-leftL189,<C
&ac:ro!n(L\++++FFC
&or(erLsoli( 3,< \++++FFC
M
.tem,late4containerK
6i(thL910,<C
marinL 0C
heihtL1113,<C
,ositionLrelati5eC
&ac:ro!n(L\++++FFC
120
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
M
QS +F/PL*IG9 9FP O'GIGS SQ
.tem,late4to,K
6i(thL111,<C
marin-leftL10,<C
heihtL"0,<C
,ositionLrelati5eC
&ac:ro!n(L !rl(..QimaesQ!,,er4imae.;,) no-re,eatC
colorL\[[[C
te<t-alinLcenterC
,a((in-to,L20,<C
M
QS +F/PL*IG9 /I%%L' O'GIGS SQ
.tem,late4mi((leK
6i(thL111,<C
marinL0C
heihtL1000,<C
,ositionLrelati5eC
&ac:ro!n(L\9999++C
marin-leftL10,<C
M
QS +F/PL*IG9 OF99F/ O'GIGS SQ
.tem,late4&ottomK
6i(thL111,<C
marin-leftL10,<C
heihtL10,<C
,ositionLrelati5eC
121
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
&ac:ro!n(L !rl(..QimaesQ&ottom4imae.;,) no-re,eatC
M
QS 9'/PL*9' UGF#%'#'% LIS9 SQ
.tem,late4!olistK
6i(thL100,<C
heihtL811,<C
,a((inL0C
leftL10]C
to,L10]C
marin-leftL-210,<C
marin-to,L-.30,<C
,ositionLa&sol!teC
list-style-ty,eLnoneC
M
.tem,late4!oliste(tK
6i(thL."0,<C
heihtL811,<C
,a((inL0C
leftL10]C
to,L10]C
marin-leftL-190,<C
marin-to,L-.30,<C
,ositionLa&sol!teC
list-style-ty,eLnoneC
M
.tem,late4!olist2K
122
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
6i(thL100,<C
heihtL311,<C
,a((inL0C
leftL10]C
to,L10]C
marin-leftL-210,<C
marin-to,L-.00,<C
,ositionLa&sol!teC
list-style-ty,eLnoneC
M
.tem,late4list(K
6i(thL.00,<C
heihtL"0,<C
,ositionLrelati5eC
,a((inL0C
marin-&ottomL1,<C
te<t-alinLleftC
M
.tem,late4listK
6i(thL"10,<C
heihtL"0,<C
,ositionLrelati5eC
,a((inL0C
marin-&ottomL1,<C
te<t-alinLleftC
12"
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
M
.tem,late4list<K
6i(thL100,<C
heihtL"0,<C
,ositionLrelati5eC
,a((inL0C
marin-&ottomL1,<C
te<t-alinLleftC
M
.tem,late4list<<K
6i(thL.20,<C
heihtL"0,<C
,ositionLrelati5eC
,a((inL0C
marin-&ottomL1,<C
te<t-alinLleftC
M
.tem,late4list4,hotoK
6i(thL100,<C
heihtL1.0,<C
,ositionLrelati5eC
,a((inL0C
^oatLleftC
marin-&ottomL20,<C
M
.5ie64,hotoK
6i(thL110,<C
heihtL1.0,<C
12.
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
,ositionLrelati5eC
,a((inL0C
^oatLleftC
&or(erLsoli( 1,< \000000C
marin-leftL1"0,<C
M
.5ie64,hoto<K
6i(thL110,<C
heihtL1.0,<C
,ositionLrelati5eC
,a((inL0C
^oatLleftC
&or(erLsoli( 1,< \000000C
marin-leftL1.0,<C
&ac:ro!n(L !rl(..QimaesQacco!nt,i<.;,) no-re,eatC
M
.tem,late4list45ali(ationK
6i(thL100,<C
heihtL"0,<C
,ositionLrelati5eC
,a((inL0C
marin-&ottomL1,<C
te<t-alinLleftC
te<t-alinLcenterC
M
.tem,late4te<tareaK
6i(thL100,<C
heihtL2"1,<C
121
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
,ositionLrelati5eC
,a((inL0C
marin-&ottomL1,<C
M
.tem,late4list4&!ttonK
6i(thL100,<C
heihtL"0,<C
,ositionLrelati5eC
,a((inL0C
marin-&ottomL1,<C
M
.tem,late4list4&!tton<K
6i(thL100,<C
heihtL"0,<C
,ositionLrelati5eC
,a((inL0C
marin-&ottomL1,<C
marin-leftL-11,<C
M
.e(it2crime46ra,,erK
6i(thL910,<C
marinL 0 a!toC
heihtL 20",<C
,ositionLrelati5eC
&or(erL soli( 10,< \[[[C
122
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
M
.e(itin4res!ltsK
6i(thL910,<C
heihtL10,<C
&ac:ro!n(L\222299C
colorL\F2F3*1C
M
\e(itin,K
,ositionLa&sol!teC
leftL10]C
to,L10]C
marin-leftL-139,<C
marin-to,L-11,<C
M
.i,46ra,,erK
6i(thL910,<C
marinL 0 a!toC
heihtL .0",<C
,ositionLrelati5eC
&or(erL soli( 10,< \[[[C
M
.&annerK
6i(thL910,<C
marinL 0C
heihtL100,<C
123
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
,ositionLrelati5eC
&ac:ro!n(L !rl(..QimaesQ&anner.if) no-re,eatC
M
QS IGP +FG9*IG'# O'GIGS SQ
.i,4containerK
6i(thL910,<C
marinL 0C
heihtL210,<C
,ositionLrelati5eC
&ac:ro!n(L\222299C
colorL \[[[C
M
\re(KcolorL\F2F.O1CM
.to, K
marin-&ottomL 11,<C
marin-leftL80,<C
M
.&!tton(i5 K
marin-to,L 10,<C
M
.in(e<4in,!t1K6i(thL200,<CM
.in(e<4in,!t2K6i(thL198,<C marin-leftL.,<CM
128
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
.i,4in,!t1K6i(thL198,<C marin-leftL8,<CM
.i,4in,!t2K6i(thL198,<C marin-leftL.,<CM
.i,4s!&mitKmarin-leftL-11,<C heihtL2",<CM
.re4in,!t1K
^oatLleftC
marin-leftL"1,<C
M
.re4in,!t2K
^oatLleftC
marin-leftL"0,<C
M
.re4in,!t"K
^oatLleftC
marin-leftL12,<C
M
.re4in,!t.K
^oatLleftC
marin-leftL22,<C
M
.re4in,!t1K
^oatLleftC
marin-leftL19,<C
M
.re4in,!t2K
^oatLleftC
129
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
marin-leftL28,<C
M
.re4in,!t3K
^oatLleftC
marin-leftL29,<C
M
.re4in,!t8K
^oatLleftC
marin-leftL-18,<C
M
.com,laint4in,!tK
^oatLrihtC
6i(thL210,<C
M
.m6ante(4s!&mitK
marin-leftL-.0,<C
M.mo5etoriht2K
marin-leftL1"0,<C
M.mo5etoriht"Kmarin-leftL30,<C
M
.mo5etorihtK
marin-leftL30,<CM
Ja5aScri,t (+alen(er)
QSS
the scri,t only 6or:s on Pin,!t Hty,eRte<tJP
1"0
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
SSQ
QQ (onIt (eclare anythin o!t here in the lo&al names,ace
(f!nction(E) K QQ create ,ri5ate sco,e (insi(e yo! can !se E instea( of ;>!ery)
QQ f!nctions an( 5ars (eclare( here are e[ecti5ely IsinletonsI. there 6ill &e only
a sinle
QQ instance of them. so this is a oo( ,lace to (eclare any imm!ta&le items or
stateless
QQ f!nctions. for e<am,leL
5ar to(ay R ne6 %ate()C QQ !se( in (efa!lts
5ar months R
IJan!aryUFe&r!aryU/archU*,rilU/ayUJ!neUJ!lyU*!!stUSe,tem&erUFcto&erUGo5em&erU%
ecem&erI.s,lit(IUI)C
5ar monthlenths R I"1U28U"1U"0U"1U"0U"1U"1U"0U"1U"0U"1I.s,lit(IUI)C
5ar (ate#e'< R Q_`(K1U2M`Q`(K1U2M`Q`(K2MY`(K.MEQC
5ar year#e'< R Q_`(K.U.MEQC
QQ ne<tU (eclare the ,l!in f!nction
E.fn.sim,le%ate,ic:er R f!nction(o,tions) K
QQ f!nctions an( 5ars (eclare( here are create( each time yo!r ,l!n f!nction
is in5o:e(
QQ yo! co!l( ,ro&a&ly refactor yo!r I&!il(IU Iloa(4monthIU etcU f!nctions to &e
,asse(
QQ the %F/ element from &elo6
1"1
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
5ar o,ts R ;>!ery.e<ten((KMU ;>!ery.fn.sim,le%ate,ic:er.(efa!ltsU
o,tions)C
QQ re,laces a (ate strin 6ith a (ate o&;ect in o,ts.start(ate an(
o,ts.en((ateU if one e<ists
QQ ,o,!lates t6o ne6 ,ro,erties 6ith a rea(y-to-!se yearL
o,ts.startyear an( o,ts.en(year
set!,Year#ane()C
QSS e<tracts an( set!, a 5ali( year rane from the o,ts o&;ect SSQ
f!nction set!,Year#ane () K
5ar startyearU en(yearC
if (o,ts.start(ate.constr!ctor RR %ate) K
startyear R o,ts.start(ate.etF!llYear()C
M else if (o,ts.start(ate) K
if (year#e'<.test(o,ts.start(ate)) K
startyear R o,ts.start(ateC
M else if ((ate#e'<.test(o,ts.start(ate)) K
o,ts.start(ate R ne6 %ate(o,ts.start(ate)C
startyear R o,ts.start(ate.etF!llYear()C
M else K
startyear R to(ay.etF!llYear()C
M
M else K
startyear R to(ay.etF!llYear()C
M
o,ts.startyear R startyearC
if (o,ts.en((ate.constr!ctor RR %ate) K
1"2
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
en(year R o,ts.en((ate.etF!llYear()C
M else if (o,ts.en((ate) K
if (year#e'<.test(o,ts.en((ate)) K
en(year R o,ts.en((ateC
M else if ((ate#e'<.test(o,ts.en((ate)) K
o,ts.en((ate R ne6 %ate(o,ts.en((ate)C
en(year R o,ts.en((ate.etF!llYear()C
M else K
en(year R to(ay.etF!llYear()C
M
M else K
en(year R to(ay.etF!llYear()C
M
o,ts.en(year R en(yearC
M
QSS =9/L factory for the act!al (ate,ic:er ta&le element SSQ
QQ has to rea( the year rane so it can set!, the correct years in o!r
=9/L AselectN
f!nction ne6%ate,ic:er=9/L () K
5ar years R HJC
QQ ,rocess year rane into an array
for (5ar i R 0C i AR o,ts.en(year - o,ts.startyearC i aa) yearsHiJ
R o,ts.startyear a iC
QQ &!il( the ta&le str!ct!re
5ar ta&le R ;>!ery(IAta&le classRP(ate,ic:erP cell,a((inRP0P
cells,acinRP0PNAQta&leNI)C
1""
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
ta&le.a,,en((IAthea(NAQthea(NI)C
ta&le.a,,en((IAtfootNAQtfootNI)C
ta&le.a,,en((IAt&o(yNAQt&o(yNI)C
QQ month select )el(
5ar monthselect R IAselect nameRPmonthPNIC
for (5ar i in months) monthselect aR IAo,tion
5al!eRPIaiaIPNIamonthsHiJaIAQo,tionNIC
monthselect aR IAQselectNIC
QQ year select )el(
5ar yearselect R IAselect nameRPyearPNIC
for (5ar i in years) yearselect aR IAo,tionNIayearsHiJ
aIAQo,tionNIC
yearselect aR IAQselectNIC
;>!ery(Pthea(PUta&le).a,,en((IAtr classRPcontrolsPNAth
cols,anRP3PNAs,an
classRP,re5/onthPNXla$!oCAQs,anNXn&s,CIamonthselectayearselectaIXn&s,CAs,
an classRPne<t/onthPNXra$!oCAQs,anNAQthNAQtrNI)C
;>!ery(Pthea(PUta&le).a,,en((IAtr
classRP(aysPNAthNSAQthNAthN/AQthNAthN9AQthNAthN0AQthNAthN9AQthNAth
NFAQthNAthNSAQthNAQtrNI)C
;>!ery(PtfootPUta&le).a,,en((IAtrNAt( cols,anRP2PNAs,an
classRPto(ayPNto(ayAQs,anNAQt(NAt( cols,anRP"PNXn&s,CAQt(NAt(
cols,anRP2PNAs,an classRPclosePNcloseAQs,anNAQt(NAQtrNI)C
for (5ar i R 0C i A 2C iaa)
;>!ery(Pt&o(yPUta&le).a,,en((IAtrNAt(NAQt(NAt(NAQt(NAt(NAQt(NAt(NAQt(NAt
(NAQt(NAt(NAQt(NAt(NAQt(NAQtrNI)C
ret!rn ta&leC
M
QSS et the real ,osition of the in,!t (6ellU anythin really) SSQ
1".
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
QQhtt,LQQ666.$!ir:smo(e.orQ;sQ)n(,os.html
f!nction )n(Position (o&;) K
5ar c!rleft R c!rto, R 0C
if (o&;.o[setParent) K
(o K
c!rleft aR o&;.o[setLeftC
c!rto, aR o&;.o[set9o,C
M 6hile (o&; R o&;.o[setParent)C
ret!rn Hc!rleftUc!rto,JC
M else K
ret!rn falseC
M
M
QSS loa( the initial (ate an( han(le all (ate-na5iation SSQ
QQ initial calen(ar loa( (e is n!ll)
QQ ,re5/onth X ne<t/onth &!ttons
QQ onchane for the select )el(s
f!nction loa(/onth (eU elU (ate,ic:erU chosen(ate) K
QQ reference o!r years for the ne<t/onth an( ,re5/onth &!ttons
5ar mo R ;>!ery(PselectHnameRmonthJPU
(ate,ic:er).et(0).selecte(In(e<C
5ar yr R ;>!ery(PselectHnameRyearJPU
(ate,ic:er).et(0).selecte(In(e<C
5ar yrs R ;>!ery(PselectHnameRyearJ o,tionPU
(ate,ic:er).et().lenthC
QQ )rst try to ,rocess &!ttons that may chane the month 6eIre
on
1"1
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
if (e XX ;>!ery(e.taret).has+lass(I,re5/onthI)) K
if (0 RR mo XX yr) K
yr -R 1C mo R 11C
;>!ery(PselectHnameRmonthJPU
(ate,ic:er).et(0).selecte(In(e< R 11C
;>!ery(PselectHnameRyearJPU
(ate,ic:er).et(0).selecte(In(e< R yrC
M else K
mo -R 1C
;>!ery(PselectHnameRmonthJPU
(ate,ic:er).et(0).selecte(In(e< R moC
M
M else if (e XX ;>!ery(e.taret).has+lass(Ine<t/onthI)) K
if (11 RR mo XX yr a 1 A yrs) K
yr aR 1C mo R 0C
;>!ery(PselectHnameRmonthJPU
(ate,ic:er).et(0).selecte(In(e< R 0C
;>!ery(PselectHnameRyearJPU
(ate,ic:er).et(0).selecte(In(e< R yrC
M else K
mo aR 1C
;>!ery(PselectHnameRmonthJPU
(ate,ic:er).et(0).selecte(In(e< R moC
M
M
QQ may&e hi(e &!ttons
if (0 RR mo XX Dyr) ;>!ery(Ps,an.,re5/onthPU
(ate,ic:er).hi(e()C
else ;>!ery(Ps,an.,re5/onthPU (ate,ic:er).sho6()C
1"2
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
if (yr a 1 RR yrs XX 11 RR mo) ;>!ery(Ps,an.ne<t/onthPU
(ate,ic:er).hi(e()C
else ;>!ery(Ps,an.ne<t/onthPU (ate,ic:er).sho6()C
QQ clear the ol( cells
5ar cells R ;>!ery(Pt&o(y t(PU
(ate,ic:er).!n&in(().em,ty().remo5e+lass(I(ateI)C
QQ )!re o!t 6hat month an( year to loa(
5ar m R ;>!ery(PselectHnameRmonthJPU (ate,ic:er).5al()C
5ar y R ;>!ery(PselectHnameRyearJPU (ate,ic:er).5al()C
5ar ( R ne6 %ate(yU mU 1)C
5ar startin(e< R (.et%ay()C
5ar n!m(ays R monthlenthsHmJC
QQ htt,LQQen.6i:i,e(ia.orQ6i:iQLea,4year
if (1 RR m XX ((y]. RR 0 XX y]100 DR 0) YY y].00 RR 0))
n!m(ays R 29C
QQ test for en( (ates (instea( of ;!st a year rane)
if (o,ts.start(ate.constr!ctor RR %ate) K
5ar start/onth R o,ts.start(ate.et/onth()C
5ar start%ate R o,ts.start(ate.et%ate()C
M
if (o,ts.en((ate.constr!ctor RR %ate) K
5ar en(/onth R o,ts.en((ate.et/onth()C
5ar en(%ate R o,ts.en((ate.et%ate()C
M
1"3
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
QQ 6al: thro!h the in(e< an( ,o,!late each cellU &in(in e5ents
too
for (5ar i R 0C i A n!m(aysC iaa) K
5ar cell R
;>!ery(cells.et(iastartin(e<)).remo5e+lass(IchosenI)C
QQ test that the (ate falls 6ithin a raneU if 6e ha5e a
rane
if (
(yr YY ((Dstart%ate XX Dstart/onth) YY ((ia1 NR
start%ate XX mo RR start/onth) YY mo N start/onth))) XX
(yr a 1 A yrs YY ((Den(%ate XX Den(/onth) YY ((ia1
AR en(%ate XX mo RR en(/onth) YY mo A en(/onth)))) K
cell
.te<t(ia1)
.a((+lass(I(ateI)
.ho5er(
f!nction ()
K ;>!ery(this).a((+lass(Io5erI)C MU
f!nction ()
K ;>!ery(this).remo5e+lass(Io5erI)C M)
.clic:(f!nction () K
5ar chosen%ateF&; R ne6
%ate(;>!ery(PselectHnameRyearJPU (ate,ic:er).5al()U ;>!ery(PselectHnameRmonthJPU
(ate,ic:er).5al()U ;>!ery(this).te<t())C
closeIt(elU (ate,ic:erU chosen%ateF&;)C
M)C
QQ hihliht the ,re5io!s chosen (ate
1"8
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
if (ia1 RR chosen(ate.et%ate() XX m RR
chosen(ate.et/onth() XX y RR chosen(ate.etF!llYear()) cell.a((+lass(IchosenI)C
M
M
M
QSS closes the (ate,ic:er SSQ
QQ sets the c!rrently matche( in,!t elementIs 5al!e to the (ateU if one
is a5aila&le
QQ remo5e the ta&le element from the %F/
QQ in(icate that there is no (ate,ic:er for the c!rrently matche( in,!t
element
f!nction closeIt (elU (ate,ic:erU (ateF&;) K
if ((ateF&; XX (ateF&;.constr!ctor RR %ate)
el.5al(;>!ery.fn.sim,le%ate,ic:er.formatF!t,!t((ateF&;))C
(ate,ic:er.remo5e()C
(ate,ic:er R n!llC
;>!ery.(ata(el.et(0)U Psim,le%ate,ic:erPU K has%ate,ic:er L
false M)C
M
QQ iterate the matche( no(eset
ret!rn this.each(f!nction() K
QQ f!nctions an( 5ars (eclare( here are create( for each matche( element.
so if
QQ yo!r f!nctions nee( to manae or access ,er-no(e state yo! can (e)ne(
them
QQ here an( !se Ethis to et at the %F/ element
if ( ;>!ery(this).is(Iin,!tI) XX Ite<tI RR ;>!ery(this).attr(Ity,eI)) K
1"9
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
5ar (ate,ic:erC
;>!ery.(ata(;>!ery(this).et(0)U Psim,le%ate,ic:erPU
K has%ate,ic:er L false M)C
QQ o,en a (ate,ic:er on the clic: e5ent
;>!ery(this).clic:(f!nction (e5) K

5ar Ethis R ;>!ery(e5.taret)C
if (false RR ;>!ery.(ata(Ethis.et(0)U
Psim,le%ate,ic:erP).has%ate,ic:er) K
QQ store (ata tellin !s there is alrea(y a
(ate,ic:er
;>!ery.(ata(Ethis.et(0)U Psim,le%ate,ic:erPU
K has%ate,ic:er L tr!e M)C
QQ 5ali(ate the formIs initial content for a (ate
5ar initial%ate R Ethis.5al()C
if (initial%ate XX (ate#e'<.test(initial%ate))
K
5ar chosen(ate R ne6
%ate(initial%ate)C
M else if (o,ts.chosen(ate.constr!ctor RR
%ate) K
5ar chosen(ate R o,ts.chosen(ateC
M else if (o,ts.chosen(ate) K
5ar chosen(ate R ne6
%ate(o,ts.chosen(ate)C
M else K
1.0
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
5ar chosen(ate R to(ayC
M
QQ insert the (ate,ic:er in the %F/
(ate,ic:er R ne6%ate,ic:er=9/L()C
;>!ery(P&o(yP).,re,en(((ate,ic:er)C
QQ ,osition the (ate,ic:er
5ar elPos R )n(Position(Ethis.et(0))C
5ar < R (,arseInt(o,ts.<) B ,arseInt(o,ts.<) L
0) a elPosH0JC
5ar y R (,arseInt(o,ts.y) B ,arseInt(o,ts.y) L
0) a elPosH1JC
;>!ery((ate,ic:er).css(K ,ositionL Ia&sol!teIU
leftL <U to,L y M)C
QQ &in( e5ents to the ta&le controls
;>!ery(Ps,anPU
(ate,ic:er).css(Pc!rsorPUP,ointerP)C
;>!ery(PselectPU (ate,ic:er).&in((IchaneIU
f!nction () K loa(/onth (n!llU EthisU (ate,ic:erU chosen(ate)C M)C
;>!ery(Ps,an.,re5/onthPU
(ate,ic:er).clic:(f!nction (e) K loa(/onth (eU EthisU (ate,ic:erU chosen(ate)C M)C
;>!ery(Ps,an.ne<t/onthPU
(ate,ic:er).clic:(f!nction (e) K loa(/onth (eU EthisU (ate,ic:erU chosen(ate)C M)C
;>!ery(Ps,an.to(ayPU
(ate,ic:er).clic:(f!nction () K closeIt(EthisU (ate,ic:erU ne6 %ate())C M)C
;>!ery(Ps,an.closePU
(ate,ic:er).clic:(f!nction () K closeIt(EthisU (ate,ic:er)C M)C
QQ set the initial 5al!es for the month an(
year select )el(s
1.1
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
QQ an( loa( the )rst month
;>!ery(PselectHnameRmonthJPU
(ate,ic:er).et(0).selecte(In(e< R chosen(ate.et/onth()C
;>!ery(PselectHnameRyearJPU
(ate,ic:er).et(0).selecte(In(e< R /ath.ma<(0U chosen(ate.etF!llYear() -
o,ts.startyear)C
loa(/onth(n!llU EthisU (ate,ic:erU
chosen(ate)C
M
M)C
M
M)C
MC
QQ )nallyU I li:e to e<,ose (efa!lt ,l!in o,tions as ,!&lic so they can &e
mani,!late(. one
QQ 6ay to (o this is to a(( a ,ro,erty to the alrea(y-,!&lic ,l!in fn
;>!ery.fn.sim,le%ate,ic:er.formatF!t,!t R f!nction ((ateF&;) K
ret!rn ((ateF&;.et/onth() a 1) a PQP a (ateF&;.et%ate() a PQP a
(ateF&;.etF!llYear()C
MC
;>!ery.fn.sim,le%ate,ic:er.(efa!lts R K
QQ (ate strin matchin Q_`(K1U2M`Q`(K1U2M`Q`(K2MY`(K.MEQ
chosen(ate L to(ayU
QQ (ate strin matchin Q_`(K1U2M`Q`(K1U2M`Q`(K2MY`(K.MEQ
1.2
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
QQ or fo!r (iit year
start(ate L to(ay.etF!llYear()U
en((ate L to(ay.etF!llYear() a 1U
QQ o[set from the to, left corner of the in,!t element
< L 18U QQ m!st &e in ,<
y L 18 QQ m!st &e in ,<
MC
M)(;>!ery)C
addcomplaintsCdisplayphp
AB,h, session4start()C
1."
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
if(Disset(E4S'SSIFGHIcom,laintsn!m&erIJ))K
hea(er(IlocationLin(e<.,h,I)CM
BN
AD%F+9YP' html PUOLI+ P-QQ0"+QQ%9% =9/L ..0 9ransitionalQQ'GP
Phtt,LQQ666.6".orQ9#Q#'+-html.0Qloose.(t(PN
AhtmlN
Ahea(N
Ameta nameRP(escri,tionP contentRPP QN
Ameta nameRP:ey6or(sP contentRPP QN
AtitleN Ghana Police Information System AQtitleN
Alin: hrefRPcssQstyle.cssP relRPstylesheetP ty,eRPte<tQcssPN
AQhea(N
A&o(yN
AD-- 0#*PP'# O'GIGS--N
A(i5 classRPre4(is,lay6ra,,erPN
AD-- O*GG'# O'GIGS--N
A(i5 classRP&annerPN
AQ(i5N
AD-- +FG9*IG'# O'GIGS--N
A(i5 classRPre(is,4containerPN
A(i5 classRPc,anel4(is,layPN
#eistration %etails.
AQ(i5N
A&rN
A(i5 classRPselectsPN
AB,h,
Esessn!m&er R E4S'SSIFGHIcom,laintsn!m&erIJC
incl!(e(Pcon).,h,P)C
1..
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Eselecte( R mys$l4$!ery(Pselect Sfrom a((4com,laints 6here co(en!m&er
RIEsessn!m&erIP)C
if(DEselecte()K
echo PSelection Faile(PC
M
elseK
6hile(Ero6s R mys$l4fetch4assoc(Eselecte())K
Es!&;ect R Ero6sHIs!&;ectIJC
E)rstname R Ero6sHI)rstnameIJC
Emi((lename REro6sHImi((lenameIJC
Elastname REro6sHIlastnameIJC
Emarriae REro6sHImarriaeIJC
Ese< REro6sHIse<IJC
echo
PS!&;ectLP.P P. Es!&;ect.PA&r QNP.
PFirst GameLP.P P. E)rstname.PA&r QNP.
P/i((le GameLP.P P. Emi((lename.PA&r QNP.
PLast GameLP.P P. Elastname.PA&r QNP.
P/arital Stat!sLP.P P.Emarriae .PA&r QNP.
PSe<LP.P P.Ese< .PA&r QNP.PA&r QNP.E)rstname.P P.PYo!r Sec!rity +o(e has &een sent
to yo!r e-mailP.PA&r QNP.
PAa hrefRIc,anel.,h,INAA O*+T 9F /*IG +FG9#FL P*G'L AQaNPC
C
M
M
BN
AQ(i5N
AQ(i5N
AD-- FFF9'# O'GIGS--N
1.1
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
A(i5 classRPfooterPN
AQ(i5N
AQ(i5N
AQ&o(yN
AQhtmlN
1.2
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
addcrimeCdisplayphp
AD%F+9YP' html PUOLI+ P-QQ0"+QQ%9% =9/L ..0 9ransitionalQQ'GP
Phtt,LQQ666.6".orQ9#Q#'+-html.0Qloose.(t(PN
AhtmlN
Ahea(N
Ameta nameRP(escri,tionP contentRPP QN
Ameta nameRP:ey6or(sP contentRPP QN
AtitleN Ghana Police Information System AQtitleN
Alin: hrefRPcssQstyle.cssP relRPstylesheetP ty,eRPte<tQcssPN
AQhea(N
A&o(yN
AD-- 0#*PP'# O'GIGS--N
A(i5 classRP,ass6or(46ra,,erPN
AD-- O*GG'# O'GIGS--N
A(i5 classRP&annerPN
AQ(i5N
AD-- +FG9*IG'# O'GIGS--N
A(i5 classRP,ass6or(4containerPN
A(i5 classRP,ass4(is,layPN
+rime #e,ort Sent S!ccessf!ly.
A&r QN
Yo!r Sec!rity +o(e has &een sent to yo!r e-mail
A&r QNAQ(i5N
A&rN
Aa hrefRPc,anel.,h,PNAAA O*+T 9F /*IG +FG9#FL P*G'L AQaN
AQ(i5N
1.3
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AD-- FFF9'# O'GIGS--N
A(i5 classRPfooterPN
AQ(i5N
AQ(i5
AQ&o(yN
AQhtmlN
addmostwantedCdisplayphp
AB,h, session4start()C
if(Disset(E4S'SSIFGHImost6ante(IJ))K
hea(er(IlocationLin(e<.,h,I)C
M
BN
AD%F+9YP' html PUOLI+ P-QQ0"+QQ%9% =9/L ..0 9ransitionalQQ'GP
Phtt,LQQ666.6".orQ9#Q#'+-html.0Qloose.(t(PN
AhtmlN
Ahea(N
Ameta nameRP(escri,tionP contentRPP QN
Ameta nameRP:ey6or(sP contentRPP QN
AtitleN Ghana Police Information System AQtitleN
Alin: hrefRPcssQstyle.cssP relRPstylesheetP ty,eRPte<tQcssPN
AQhea(N
A&o(yN
AD-- 0#*PP'# O'GIGS--N
A(i5 classRPre4(is,lay6ra,,erPN
AD-- O*GG'# O'GIGS--N
A(i5 classRP&annerPN
AQ(i5N
1.8
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AD-- +FG9*IG'# O'GIGS--N
A(i5 classRPre(is,4containerPN
A(i5 classRPc,anel4(is,layPN
#eistration %etails.
AQ(i5N
A&rN
A(i5 classRPselectsPN
AB,h,
Esessn!m&er R E4S'SSIFGHImost6ante(IJC
incl!(e(Pcon).,h,P)C
Eselecte( R mys$l4$!ery(Pselect Sfrom a((4most6ante( 6here co(en!m&er
RIEsessn!m&erIP)C
if(DEselecte()K
echo PSelection Faile(PC
M
elseK
6hile(Ero6s R mys$l4fetch4assoc(Eselecte())K
Es!&;ect R Ero6sHIs!&;ectIJC
E)rstname R Ero6sHI)rstnameIJC
Emi((lename REro6sHImi((lenameIJC
Elastname REro6sHIlastnameIJC
Emarriae REro6sHImarriaeIJC
Ese< REro6sHIse<IJC
echo
PS!&;ectLP.P P. Es!&;ect.PA&r QNP.
PFirst GameLP.P P. E)rstname.PA&r QNP.
P/i((le GameLP.P P. Emi((lename.PA&r QNP.
PLast GameLP.P P. Elastname.PA&r QNP.
1.9
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
P/arital Stat!sLP.P P.Emarriae .PA&r QNP.
PSe<LP.P P.Ese< .PA&r QNP.E)rstname.P P.PYo!r Sec!rity +o(e has &een sent to yo!r
e-mailP.PA&r QNP.
PAa hrefRIc,anel.,h,INAA O*+T 9F /*IG +FG9#FL P*G'LAQaNPC
M
M
BN
AQ(i5N
AQ(i5N
AD-- FFF9'# O'GIGS--N
A(i5 classRPfooterPN
AQ(i5N
AQ(i5N
AQ&o(yN
AQhtmlN
AB,h, session4start()C
if(Disset(E4S'SSIFGHImost6ante(IJ))K
hea(er(IlocationLin(e<.,h,I)C
M
BN
AD%F+9YP' html PUOLI+ P-QQ0"+QQ%9% =9/L ..0 9ransitionalQQ'GP
Phtt,LQQ666.6".orQ9#Q#'+-html.0Qloose.(t(PN
AhtmlN
Ahea(N
Ameta nameRP(escri,tionP contentRPP QN
Ameta nameRP:ey6or(sP contentRPP QN
AtitleN Ghana Police Information System AQtitleN
Alin: hrefRPcssQstyle.cssP relRPstylesheetP ty,eRPte<tQcssPN
AQhea(N
110
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
A&o(yN
AD-- 0#*PP'# O'GIGS--N
A(i5 classRPre4(is,lay6ra,,erPN
AD-- O*GG'# O'GIGS--N
A(i5 classRP&annerPN
AQ(i5N
AD-- +FG9*IG'# O'GIGS--N
A(i5 classRPre(is,4containerPN
A(i5 classRPc,anel4(is,layPN
#eistration %etails.
AQ(i5N
A&rN
A(i5 classRPselectsPN
AB,h,
Esessn!m&er R E4S'SSIFGHImost6ante(IJC
incl!(e(Pcon).,h,P)C
Eselecte( R mys$l4$!ery(Pselect Sfrom a((4most6ante( 6here co(en!m&er
RIEsessn!m&erIP)C
if(DEselecte()K
echo PSelection Faile(PC
M
elseK
6hile(Ero6s R mys$l4fetch4assoc(Eselecte())K
Es!&;ect R Ero6sHIs!&;ectIJC
E)rstname R Ero6sHI)rstnameIJC
Emi((lename REro6sHImi((lenameIJC
Elastname REro6sHIlastnameIJC
111
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Emarriae REro6sHImarriaeIJC
Ese< REro6sHIse<IJC
echo
PS!&;ectLP.P P. Es!&;ect.PA&r QNP.
PFirst GameLP.P P. E)rstname.PA&r QNP.
P/i((le GameLP.P P. Emi((lename.PA&r QNP.
PLast GameLP.P P. Elastname.PA&r QNP.
P/arital Stat!sLP.P P.Emarriae .PA&r QNP.
PSe<LP.P P.Ese< .PA&r QNP.E)rstname.P P.PYo!r Sec!rity +o(e has &een sent to yo!r
e-mailP.PA&r QNP.
PAa hrefRIc,anel.,h,INAA O*+T 9F /*IG +FG9#FL P*G'LAQaNPC
M
M
BN
AQ(i5N
AQ(i5N
AD-- FFF9'# O'GIGS--N
A(i5 classRPfooterPN
AQ(i5N
AQ(i5N
AQ&o(yN
AQhtmlN
Configphp
AB,h,
mys$l4connect(PlocalhostPUP,isa(minPUP*19%<e21EEP) or (ie (P+onnection 'rrorP)C
mys$l4select4(&(P,isP)C
BN
112
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
cpanelphp
AB,h, session4start()C
if(Disset(E4S'SSIFGHInameIJ))K
hea(er(PlocationLin(e<.,h,P)C
e<itC
BN
AD%F+9YP' html PUOLI+ P-QQ0"+QQ%9% =9/L ..0 9ransitionalQQ'GP
Phtt,LQQ666.6".orQ9#Q#'+-html.0Qloose.(t(PN
AhtmlN
Ahea(N
Ameta nameRP(escri,tionP contentRPP QN
Ameta nameRP:ey6or(sP contentRPP QN
AtitleN Ghana Police Information System AQtitleN
Alin: hrefRPcssQstyle.cssP relRPstylesheetP ty,eRPte<tQcssPN
AQhea(N
A&o(yN
AD-- 0#*PP'# O'GIGS--N
ssRPc,anel46ra,,erPN
AB,h, incl!(e(P&anner.,h,P)C BN
AD-- =F#IWFG9*L O*# O'GIGS--N
A(i5 classRPhoriVontal4&arPN
AD-- L'F9 =F#IWFG9*L O*# O'GIGS--N
A(i5 classRPleft4horiVontal4&arPN
AB,h, echo P0elcomeLP.P P.E4S'SSIFGHInameIJCBN Xn&s,CXn&s,CXn&s,CXn&s,C Aa
hrefRPsino!t.,h,PNSin F!tAQaNXn&s,CXn&s,CXn&s,CXn&s,CXn&s,C Aa
hrefRP,ass6or(1.,h,PN#eset Pass6or( AQaNXn&s,CXn&s,C
Aa hrefRPe(itacco!nt.,h,PN'(it *cco!ntAQaN
AQ(i5N
AD-- #IG=9 =F#IWFG9*L O*# O'GIGS--N
11"
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
A(i5 classRPriht4horiVontal4&arPN
AB,h,
Etime R time()C
echo (ate(Il-(-F-Y hLiLs *IU Etime)C
BN
AQ(i5N
AQ(i5N
AD-- +FG9*IG'# O'GIGS--N
A(i5 classRPc,anel4containerPN
AD-- #'GIS9#*9IFG O'GIGS--N
A(i5 classRPreistrationPN
AD-- LFGIG O'GIGS--N
A(i5 classRPloinPN
AD-- LFGIG 9FP O'GIGS --N
A(i5 classRPloin4to,PN
AQ(i5N
AD-- +P*G'L /I%%L' O'GIGS --N
A(i5 classRPc,anel4mi((lePN
A!l i(RIc,anelIN
Ali i(RIth!m&s"INAQliN
Ali i(RIth!m&s4lin:s2IN
+FG9#FL P*G'L
AQliN
Ali i(RIth!m&sINAim srcRIimaesQc1.;,INAQliN
Ali i(RIth!m&s4lin:sIN
Aa hrefRIcom,laints.,h,IN*(( +om,laintAQaN
AQliN
Ali i(RIth!m&sINAim srcRIimaesQc2.;,INAQliN
11.
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ali i(RIth!m&s4lin:sIN
Aa hrefRIcrime4re,ort.,h,IN*(( +rime #e,ortAQaN
AQliN
Ali i(RIth!m&sINAim srcRIimaesQc".;,INAQliN
Ali i(RIth!m&s4lin:sIN
Aa hrefRImost46ante(.,h,IN*(( most 6ante( ,ersonAQaN
AQliN
Ali i(RIth!m&sINAim srcRIimaesQc".;,INAQliN
Ali i(RIth!m&s4lin:sIN
Aa hrefRI5ie64most46ante(.,h,IN7ie6 most 6ante( ,ersonAQaN
AQliN
Ali i(RIth!m&sINAim srcRIimaesQc..;,INAQliN
Ali i(RIth!m&s4lin:sIN
Aa hrefRI5ie64com,laint.,h,IN7ie6 +om,laintAQaN
AQliN
Ali i(RIth!m&sINAim srcRIimaesQc..;,INAQliN
Ali i(RIth!m&s4lin:sIN
Aa hrefRI5ie6crime.,h,IN7ie6 +rime #e,ortAQaN
AQliN
Ali i(RIth!m&sINAim srcRIimaesQc2.;,INAQliN
Ali i(RIth!m&s4lin:sIN
Aa hrefRIe(it4crime.,h,IN'(it +rime #e,ortAQaN
AQliN
Ali i(RIth!m&sINAim srcRIimaesQc2.;,INAQliN
Ali i(RIth!m&s4lin:sIN
Aa hrefRIe(it4com,laint.,h,IN'(it +om,laintAQaN
AQliN
AQ!lN
111
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AQ(i5N
AD-- LFGIG OF99F/ O'GIGS --N
A(i5 classRPloin4&ottomPN
AQ(i5N
AQ(i5N
AQ(i5N
AQ(i5N
AB,h,
incl!(e(Pfooter.,h,P)C
BN
AQ(i5N
AQ&o(yN
AQhtmlN
crimeCreportphp
AB,h, session4start()C
if(isset(E4PFS9HIs!&mitIJ))K
Eco(en!m&er1 R E4PFS9HIco(en!m&erIJC
Es!&;ect1 R E4PFS9HIs!&;ectIJC
Eemail R E4PFS9HIemailIJC
Emyrichte<t1 R E4PFS9HImyrichte<tIJC
if(DEco(en!m&er1 YY DEs!&;ect1 YY DEmyrichte<t1 )K
hea(er(PlocationLcrime4re,ort.,h,B i(R1P)C
M
if(D,re4match(PQ.SZ.S..SQPUEemail) YY ,re4match(PQ(AYN)QPUEemail))K
hea(er(PLocationLcrime4re,ort.,h,B i(R2P)C
e<itCM
incl!(e(Pcon).,h,P)C
Eco(en!m&er R mys$l4real4esca,e4strin(Eco(en!m&er1)C
112
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Es!&;ect R mys$l4real4esca,e4strin(Es!&;ect1)C
Emyrichte<t R mys$l4real4esca,e4strin(Emyrichte<t1)C
Eco(en!m&er R a((slashes(Eco(en!m&er1)C
Es!&;ect R a((slashes(Es!&;ect1)C
Emyrichte<t R a((slashes(Emyrichte<t1)C
Etime R time()C
E(ate R (ate(P%-/-Y hLiLs *PU Etime)C
Einsert R mys$l4$!ery(Pinsert into a((4crimere,ort
5al!es(IIUIEco(en!m&erIUIEs!&;ectIUIEmyrichte<tIUIE(ateI)P)C
if(Einsert)K
Eto R EemailC
Es!&;ect R P+om,laint +o(ePC
Ehea(er R PFromLGhana Police Information SystemPC
Emessae R P
Yo!r +rime #e,ort +o(e isL Eco(en!m&er
PC
Email R mail(PEtoPUPEs!&;ectPUPEhea(erPUPEmessaeP)C
if(Email)K
hea(er(PlocationLa((crime4(is,lay.,h,P)C
e<itC
M
M
M
BN
AD%F+9YP' html PUOLI+ P-QQ0"+QQ%9% =9/L ..0 9ransitionalQQ'GP
Phtt,LQQ666.6".orQ9#Q#'+-html.0Qloose.(t(PN
AhtmlN
Ahea(N
Ameta nameRP(escri,tionP contentRPP QN
113
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ameta nameRP:ey6or(sP contentRPP QN
AtitleN Ghana Police Information System AQtitleN
Alin: hrefRPcssQstyle.cssP relRPstylesheetP ty,eRPte<tQcssPN
Alin: hrefRPcssQcalen(ar.cssP relRPstylesheetP ty,eRPte<tQcssPN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQ;$!ery-1.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQcal.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tPN
;>!ery((oc!ment).rea(y(f!nction () K
E(Iin,!t.oneI).sim,le%ate,ic:er(K start(ateL 1901U en((ateL 2018 M)C
M)C
AQscri,tN
Alin: relRPstylesheetP ty,eRPte<tQcssP
hrefRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QassetsQs:insQsamQs:in.cssPN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qyahoo-
(om-e5entQyahoo-(om-e5ent.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tP
srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QelementQelement-min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QcontainerQcontainer4core-
min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qmen!Qmen!-min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Q&!ttonQ&!tton-
min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qe(itorQe(itor-min.;sPNAQscri,tN
AQhea(N
A&o(yN
AD-- 0#*PP'# O'GIGS--N
A(i5 classRP tem,late46ra,,erPN
AB,h, incl!(e(P&anner.,h,P)C BN
AB,h, incl!(e(PhoriVontal&ar.,h,P)BN
AD-- #IG=9 =F#IWFG9*L O*# O'GIGS--N
118
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
A(i5 classRPriht4horiVontal4&arPN
AB,h, incl!(e(P(ate.,h,P)C BN
AQ(i5N
AQ(i5N
AD-- 9'/PL*9' +FG9*IG'# O'GIGS--N
A(i5 classRPtem,late4containerPN
A(i5 classRPtem,latePN
A(i5N
AD-- 9'/PL*9' 9FP O'GIGS --N
A(i5 classRPtem,late4to,PN
A(i5 classRPtitle4imaesPN
Aim srcRPimaesQcrime.;,PN
AQ(i5N
AQ(i5N
AD-- 9'/PL*9' /I%%L' O'GIGS --N
A(i5 classRPtem,late4mi((lePN
AD-- 9'/PL*9' UGF#%'#'% LIS9 O'GIGS --N
A!l classRPtem,late4!olistPN
Aform actionRPcrime4re,ort.,h,P metho(RP,ostP ons!&mitRPret!rn my%oS!&mit()P
classRPy!i-s:in-samPN
Ali classRPtem,late4list45ali(ationPN
AB,h, incl!(e(P5ali(ation.,h,P)C BN
AQliN
Ali classRPtem,late4listPN
As,anNSec!rity +o(eLAQs,anN
Ain,!t ty,eRPte<tP nameRPco(en!m&erP 5al!eRPAB,h, echo (ran(())CBNP
classRPcom,laint4in,!tP QN
AQliN
Ali classRPtem,late4listPN
119
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
As,anNS!&;ectLAQs,anN
Ain,!t ty,eRPte<tP nameRPs!&;ectP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4listPN
As,anN'-mailLAQs,anN
Ain,!t ty,eRPte<tP nameRPemailP classRPcom,laint4in,!tPN
AQliN
Ali classRPtem,late4te<tareaPN
Ate<tarea nameRPmyrichte<tP i(RPmyrichte<tP NAQte<tareaN
AQliN
Ali classRPtem,late4list4&!ttonPN
Ain,!t ty,eRPs!&mitP nameRPs!&mitP 5al!eRPS!&mitPN
AQliN
AQformN
AQ!lN
AQ(i5N
AD-- 9'/PL*9' OF99F/ O'GIGS --N
A(i5 classRPtem,late4&ottomPN
AQ(i5N
AQ(i5N
AQ(i5N
AQ(i5N
AB,h,
incl!(e(Pfooter.,h,P)C
BN
Ascri,tN
f!nction my%oS!&mit() K
QQalert(Ihan(lin s!&mitDI)C
120
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
my'(itor1.sa5e=9/L()C
QQalert((oc!ment.et'lementOyI((Ims,ostI).5al!e)C
ret!rn tr!eC
M
5ar my'(itor R ne6 Y*=FF.6i(et.'(itor(Imyrichte<tIU K
heihtL I.10,<IU
6i(thL I100,<IU
(om,athL falseU QQ9!rns on the &ar at the &ottom
animateL tr!eU QQ*nimates the o,eninU closin an( mo5in of '(itor 6in(o6
han(leS!&mitL tr!e
M)C
my'(itor.ren(er()C
AQscri,tN
AQ&o(yN
AQhtmlN
editCaccountCprocessorphp
AB,h, session4start()C
if(Disset(E4S'SSIFGHInameIJ))K
121
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
hea(er(IlocationLin(e<.,h,I)C
e<itC
M
E)rstname1 R E4PFS9HI)rstnameIJC
Elastname1 R E4PFS9HIlastnameIJC
Eran:1 R E4PFS9HIran:IJC
Estation1 R E4PFS9HIstationIJC
E(ateof&irth1 R E4PFS9HI(ateof&irthIJC
incl!(e(Pcon).,h,P)C
E)rstname R mys$l4real4esca,e4strin(E)rstname1)C
Elastname R mys$l4real4esca,e4strin(Elastname1)C
Eran: R mys$l4real4esca,e4strin(Eran:1)C
Estation R mys$l4real4esca,e4strin(Estation1)C
E(ateof&irth R mys$l4real4esca,e4strin(E(ateof&irth1)C
E)rstname R a((slashes(E)rstname1)C
Elastname R a((slashes(Elastname1)C
Eran: R a((slashes(Eran:1)C
Estation R a((slashes(Estation1)C
E(ateof&irth R a((slashes(E(ateof&irth1)C
E$ry!,(ate R mys$l4$!ery(P!,(ate reistration set
)rstnameRIE)rstnameIU
lastnameRIElastnameIU
ran:RIEran:IU
stationRIEstationIU
(ateof&irthRIE(ateof&irthI
6here !sernameRIE4S'SSIFGHnameJI P)C
if(E$ry!,(ate)K
hea(er(PLocationLe(itacco!nt4(is,lay.,h,P)C
122
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
e<itC
M
BN
editCcomplaintphp
AB,h, session4start()C BN
12"
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AD%F+9YP' html PUOLI+ P-QQ0"+QQ%9% =9/L ..0 9ransitionalQQ'GP
Phtt,LQQ666.6".orQ9#Q#'+-html.0Qloose.(t(PN
AhtmlN
Ahea(N
Ameta nameRP(escri,tionP contentRPP QN
Ameta nameRP:ey6or(sP contentRPP QN
AtitleN Ghana Police Information System AQtitleN
Alin: hrefRPcssQstyle.cssP relRPstylesheetP ty,eRPte<tQcssPN
Alin: hrefRPcssQcalen(ar.cssP relRPstylesheetP ty,eRPte<tQcssPN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQ;$!ery-1.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQcal.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tPN
;>!ery((oc!ment).rea(y(f!nction () K
E(Iin,!t.oneI).sim,le%ate,ic:er(K start(ateL 1901U en((ateL 2018 M)C
M)C
AQscri,tNAlin: relRPstylesheetP ty,eRPte<tQcssP
hrefRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QassetsQs:insQsamQs:in.cssPN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qyahoo-
(om-e5entQyahoo-(om-e5ent.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tP
srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QelementQelement-min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QcontainerQcontainer4core-
min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qmen!Qmen!-min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Q&!ttonQ&!tton-
min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qe(itorQe(itor-min.;sPNAQscri,tN
AQhea(N
A&o(yN
AD-- 0#*PP'# O'GIGS--N
A(i5 classRP tem,late46ra,,erPN
12.
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AB,h, incl!(e(P&anner.,h,P)C BN
AB,h, incl!(e(PhoriVontal&ar.,h,P)BN
AD-- #IG=9 =F#IWFG9*L O*# O'GIGS--N
A(i5 classRPriht4horiVontal4&arPN
AB,h, incl!(e(P(ate.,h,P)C BN
AQ(i5N
AQ(i5N
AD-- 9'/PL*9' +FG9*IG'# O'GIGS--N
A(i5 classRPtem,late4containerPN
A(i5 classRPtem,latePN
A(i5N
AD-- 9'/PL*9' 9FP O'GIGS --N
A(i5 classRPtem,late4to,PN
A(i5 classRPtitle4imaesPN
Aim srcRPimaesQe(it.;,PN
AQ(i5N
AQ(i5N
AD-- 9'/PL*9' /I%%L' O'GIGS --N
A(i5 classRPtem,late4mi((lePN
AD-- 9'/PL*9' UGF#%'#'% LIS9 O'GIGS --N
A!l classRPtem,late4!olistPN
Aform actionRPe(it4com,laint.,h,P metho(RP,ostP ons!&mitRPret!rn
my%oS!&mit()P classRPy!i-s:in-samPN
Ali classRPtem,late4list<PN
As,an classRImo5etorihtIN'nter +o(eLAQs,anNXn&s,CXn&s,CXn&s,CXn&s,CXn&s,C
Ain,!t ty,eRPte<tP siVeRP28P nameRPco(en!m&erPQNXn&s,CAin,!t ty,eRPs!&mitP
nameRPs!&mitP 5al!eRPSearchPN
AQliN
AQformN
121
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AB,h, if(isset(E4PFS9HIs!&mitIJ))K
Eco(en!m&er1 R E4PFS9HIco(en!m&erIJC
if(DEco(en!m&er1)K
echo PA(i5 classRI5ie6,ositionIN'nter a co(eAQ(i5NPC
e<itCM
incl!(e(Pcon).,h,P)C
Eco(en!m&er R mys$l4real4esca,e4strin(Eco(en!m&er1)C
Eco(en!m&er R a((slashes(Eco(en!m&er1)C
E$!ery R mys$l4$!ery(Pselect S from a((4com,laints 6here co(en!m&er
RIEco(en!m&erIP)C
En!m R mys$l4n!m4ro6s(E$!ery)C
if(En!mAR0)K
echo PA(i5 classRI5ie6,ositionINGo res!lts Fo!n(AQ(i5NPC
e<itC
M
elseK
6hile(Ero6s R mys$l4fetch4assoc(E$!ery))K
Es!&;ect R Ero6sHIs!&;ectIJC
E)rstname R Ero6sHI)rstnameIJC
Emi((lename REro6sHImi((lenameIJC
Elastname REro6sHIlastnameIJC
Ecom,laint(etailsREro6sHImyrichte<tIJC
E4S'SSIFGHIe(itcom,laintco(eIJ R E4PFS9HIco(en!m&erIJC
echo P
Aform actionRIe(it4com,laint4,rocessor.,h,I metho(RI,ostI ons!&mitRIret!rn
my%oS!&mit()I classRIy!i-s:in-samIN
Ali classRItem,late4list<<IN
As,an classRImo5etoriht"INS!&;ectLAQs,anN
122
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ain,!t ty,eRIte<tI nameRIs!&;ectI classRIcom,laint4in,!tI 5al!eRIEs!&;ectIN
AQliN
Ali classRItem,late4list<<IN
As,an classRImo5etoriht"INFirst GameLAQs,anN
Ain,!t ty,eRIte<tI nameRI)rstnameI classRIcom,laint4in,!tI 5al!eRIE)rstnameIN
AQliN
Ali classRItem,late4list<<IN
As,an classRImo5etoriht"IN/i((le GameLAQs,anN
Ain,!t ty,eRIte<tI nameRImi((lenameI classRIcom,laint4in,!tI
5al!eRIEmi((lenameIN
AQliN
Ali classRItem,late4list<<IN
As,an classRImo5etoriht"INLast GameLAQs,anN
Ain,!t ty,eRIte<tI nameRIlastnameI classRIcom,laint4in,!tI 5al!eRIElastnameIN
AQliN
Ali classRItem,late4te<tareaIN
Ate<tarea nameRImyrichte<tI i(RImyrichte<tI NEcom,laint(etailsAQte<tareaN
AQliN
Ali classRItem,late4list4&!ttonIN
Ain,!t ty,eRIs!&mitI nameRIs!&mitI 5al!eRISa5e +hanesIN
AQliN
AQformN
PC
MMM
BN
AQ!lNAQ(i5N
AD-- 9'/PL*9' OF99F/ O'GIGS --N
A(i5 classRPtem,late4&ottomPN
AQ(i5N
123
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AQ(i5N
AQ(i5N
AQ(i5N
AB,h,
incl!(e(Pfooter.,h,P)C
BN
Ascri,tN
f!nction my%oS!&mit() K
QQalert(Ihan(lin s!&mitDI)C
my'(itor1.sa5e=9/L()C
QQalert((oc!ment.et'lementOyI((Ims,ostI).5al!e)C
ret!rn tr!eC
M
5ar my'(itor R ne6 Y*=FF.6i(et.'(itor(Imyrichte<tIU K
heihtL I.10,<IU
6i(thL I100,<IU
(om,athL falseU QQ9!rns on the &ar at the &ottom
animateL tr!eU QQ*nimates the o,eninU closin an( mo5in of '(itor 6in(o6s
han(leS!&mitL tr!e
M)C
my'(itor.ren(er()C
AQscri,tN
AQ&o(yN
AQhtmlN
128
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
$iewCcomplaintphp
AD%F+9YP' html PUOLI+ P-QQ0"+QQ%9% =9/L ..0 9ransitionalQQ'GP
Phtt,LQQ666.6".orQ9#Q#'+-html.0Qloose.(t(PN
AhtmlN
Ahea(N
Ameta nameRP(escri,tionP contentRPP QN
Ameta nameRP:ey6or(sP contentRPP QN
AtitleN Ghana Police Information System AQtitleN
Alin: hrefRPcssQstyle.cssP relRPstylesheetP ty,eRPte<tQcssPN
Alin: hrefRPcssQcalen(ar.cssP relRPstylesheetP ty,eRPte<tQcssPN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQ;$!ery-1.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRP;a5ascri,tsQcal.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tPN
;>!ery((oc!ment).rea(y(f!nction () K
E(Iin,!t.oneI).sim,le%ate,ic:er(K start(ateL 1901U en((ateL 2018 M)C
M)C
AQscri,tN
Alin: relRPstylesheetP ty,eRPte<tQcssP
hrefRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QassetsQs:insQsamQs:in.cssPN
Ascri,t ty,eRPte<tQ;a5ascri,tP srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qyahoo-
(om-e5entQyahoo-(om-e5ent.;sPNAQscri,tN
Ascri,t ty,eRPte<tQ;a5ascri,tP
srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QelementQelement-min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(QcontainerQcontainer4core-
min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qmen!Qmen!-min.;sPNAQscri,tN
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Q&!ttonQ&!tton-
min.;sPNAQscri,tN
129
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
Ascri,t srcRPhtt,LQQy!i.yahooa,is.comQ2.8.0r.Q&!il(Qe(itorQe(itor-min.;sPNAQscri,tN
AQhea(N
A&o(yN
AD-- 0#*PP'# O'GIGS--N
A(i5 classRP tem,late46ra,,erPN
AB,h, incl!(e(P&anner.,h,P)C BN
AB,h, incl!(e(PhoriVontal&ar.,h,P)BN
AD-- #IG=9 =F#IWFG9*L O*# O'GIGS--N
A(i5 classRPriht4horiVontal4&arPN
AB,h, incl!(e(P(ate.,h,P)C BN
AQ(i5N
AQ(i5N
AD-- 9'/PL*9' +FG9*IG'# O'GIGS--N
A(i5 classRPtem,late4containerPN
A(i5 classRPtem,latePN
A(i5N
AD-- 9'/PL*9' 9FP O'GIGS --N
A(i5 classRPtem,late4to,PN
A(i5 classRPtitle4imaesPN
Aim srcRPimaesQ5ie6com,laint.;,PN
AQ(i5N
AQ(i5N
AD-- 9'/PL*9' /I%%L' O'GIGS --N
A(i5 classRPtem,late4mi((lePN
AD-- 9'/PL*9' UGF#%'#'% LIS9 O'GIGS --N
A!l classRPtem,late4!olistPN
Aform actionRP5ie64com,laint.,h,P metho(RP,ostP ons!&mitRPret!rn
my%oS!&mit()P classRPy!i-s:in-samPN
Ali classRPtem,late4list<PN
130
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
As,an classRImo5etorihtIN'nter +o(eLAQs,anNXn&s,CXn&s,CXn&s,CXn&s,CXn&s,C
Ain,!t ty,eRPte<tP siVeRP28P nameRPco(en!m&erPQN Xn&s,CAin,!t ty,eRPs!&mitP
nameRPs!&mitP 5al!eRPSearchPN
AQliN
AB,h, if(isset(E4PFS9HIs!&mitIJ))K
Eco(en!m&er1 R E4PFS9HIco(en!m&erIJC
if(DEco(en!m&er1)K
echo PA(i5 classRI5ie6,ositionINFill all in,!tsAQ(i5NPC
e<itC
M
incl!(e(Pcon).,h,P)C
co(en!m&er R mys$l4real4esca,e4strin(Eco(en!m&er1)C
Eco(en!m&er R a((slashes(Eco(en!m&er1)C
E$!ery R mys$l4$!ery(Pselect S from a((4com,laints 6here co(en!m&er
RIEco(en!m&erIP)C
En!m R mys$l4n!m4ro6s(E$!ery)C
if(En!mAR0)K
echo PA(i5 classRI5ie6,ositionINGo res!lts Fo!n(AQ(i5NPC
e<itC
M
elseK
6hile(Ero6s R mys$l4fetch4assoc(E$!ery))K
Es!&;ect R Ero6sHIs!&;ectIJC
E)rstname R Ero6sHI)rstnameIJC
Emi((lename REro6sHImi((lenameIJC
Elastname REro6sHIlastnameIJC
Emarriae REro6sHImarriaeIJC
Ecom,laint(etailsREro6sHImyrichte<tIJC
E(atea((e(REro6sHI(atea((e(IJC
131
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
echo P
Ali classRItem,late4listIN
As,an classRImo5etoriht2INS!&;ectLAQs,anN
Es!&;ect
AQliN
Ali classRItem,late4listIN
As,an classRImo5etoriht2INFirst GameLAQs,anN
E)rstname
AQliN
Ali classRItem,late4listIN
As,an classRImo5etoriht2IN/i((le GameLAQs,anNXn&s,CXn&s,CXn&s,C
Emi((lename
AQliN
Ali classRItem,late4listIN
As,an classRImo5etoriht2INLast GameLAQs,anN
Elastname
AQliN
Ali classRItem,late4listIN
As,an classRImo5etoriht2IN/arital Stat!sLAQs,anN
Emarriae
AQliN
Ali classRItem,late4list<IN
As,an classRImo5etoriht2IN%ate *((e(LAQs,anN
E(atea((e(
AQliN
Ali classRItem,late4te<tareaIN
Ate<tarea nameRImyrichte<tI i(RImyrichte<tI NEcom,laint(etailsAQte<tareaN
AQliN
132
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
PCMMMBN
AQformN
AQ!lN
AQ(i5N
AD-- 9'/PL*9' OF99F/ O'GIGS --N
A(i5 classRPtem,late4&ottomPN
AQ(i5N
AQ(i5N
AQ(i5N
AQ(i5N
AB,h,
incl!(e(Pfooter.,h,P)C
BN
Ascri,tN
f!nction my%oS!&mit() K
QQalert(Ihan(lin s!&mitDI)C
my'(itor1.sa5e=9/L()C
QQalert((oc!ment.et'lementOyI((Ims,ostI).5al!e)C
ret!rn tr!eC
5ar my'(itor R ne6 Y*=FF.6i(et.'(itor(Imyrichte<tIU K
heihtL I.10,<IU
6i(thL I100,<IU
(om,athL falseU QQ9!rns on the &ar at the &ottom
animateL tr!eU QQ*nimates the o,eninU closin an( mo5in of '(itor 6in(o6s
han(leS!&mitL tr!e
M)C
my'(itor.ren(er()C
AQscri,tN
13"
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
AQ&o(yN
AQhtmlN
-atabase *cript
-- php"yAdmin S1& )ump
-- !ersion ?.6.23.2
-- http=88www.phpmyadmin.net
13.
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
--
-- /ost= localhost
-- Generation Time= Fun >7, >32> at 32=>? P"
-- Ser!er !ersion= @.3.K@
-- P/P Aersion= @.>.K
S%T S1&N":)%HQ#:NA<T:NAA&<%N:#NR%;:QE
S%T timeN,one H QS33=33QE
8TU63232 S%T V:&)N$/A;A$T%;NS%TN$&I%#THVV$/A;A$T%;NS%TN$&I%#T T8E
8TU63232 S%T V:&)N$/A;A$T%;NS%TN;%S<&TSHVV$/A;A$T%;NS%TN;%S<&TS T8E
8TU63232 S%T V:&)N$:&&ATI:#N$:##%$TI:#HVV$:&&ATI:#N$:##%$TI:# T8E
8TU63232 S%T #A"%S utf7 T8E
--
-- )ataase= WgpisW
--
-- --------------------------------------------------------
--
-- Tale structure for tale WaddNcomplaintsW
--
$;%AT% TA.&% IF #:T %XISTS WaddNcomplaintsW *
WidW int*@+ #:T #<&& autoNincrement,
WcodenumerW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WsujectW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
131
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
WfirstnameW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WmiddlenameW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WlastnameW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WmarriageW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
Wse(W !archar*6@+ collate utf7NunicodeNci #:T #<&&,
Wmyrichte(tW !archar*>333+ collate utf7NunicodeNci #:T #<&&,
WdateaddedW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
P;I"A;0 G%0 *WidW+
+ %#GI#%H"yISA" )%FA<&T $/A;S%THutf7 $:&&AT%Hutf7NunicodeNci
A<T:NI#$;%"%#TH55 E
-- --------------------------------------------------------
--
-- Tale structure for tale WaddNcrimereportW
--
$;%AT% TA.&% IF #:T %XISTS WaddNcrimereportW *
WidW int*@+ #:T #<&& autoNincrement,
WcodenumerW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WsujectW !archar*233+ collate utf7NunicodeNci #:T #<&&,
Wmyrichte(tW !archar*>333+ collate utf7NunicodeNci #:T #<&&,
WdateaddedW !archar*>33+ collate utf7NunicodeNci #:T #<&&,
P;I"A;0 G%0 *WidW+
+ %#GI#%H"yISA" )%FA<&T $/A;S%THutf7 $:&&AT%Hutf7NunicodeNci
A<T:NI#$;%"%#THK4 E
-- --------------------------------------------------------
132
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
--
-- Tale structure for tale WaddNmostwantedW
--
$;%AT% TA.&% IF #:T %XISTS WaddNmostwantedW *
WidW int*@+ #:T #<&& autoNincrement,
WcodenumerW int*6@+ #:T #<&&,
WsujectW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WphotoW lo #:T #<&&,
WfirstnameW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WmiddlenameW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WlastnameW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WmarriageW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
Wse(W !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WdateaddedW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WageW !archar*233+ collate utf7NunicodeNci #:T #<&&,
WhieghtW !archar*233+ collate utf7NunicodeNci #:T #<&&,
WresidenceW !archar*233+ collate utf7NunicodeNci #:T #<&&,
WdialectW !archar*233+ collate utf7NunicodeNci #:T #<&&,
P;I"A;0 G%0 *WidW+
+ %#GI#%H"yISA" )%FA<&T $/A;S%THutf7 $:&&AT%Hutf7NunicodeNci
A<T:NI#$;%"%#TH?7 E
-- --------------------------------------------------------
--
-- Tale structure for tale WadminW
--
133
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
$;%AT% TA.&% IF #:T %XISTS WadminW *
WidW int*?+ #:T #<&& autoNincrement,
WnameW !archar*>3+ collate utf7NunicodeNci #:T #<&&,
WpasswordW !archar*>6+ collate utf7NunicodeNci #:T #<&&,
P;I"A;0 G%0 *WidW+
+ %#GI#%H"yISA" )%FA<&T $/A;S%THutf7 $:&&AT%Hutf7NunicodeNci
A<T:NI#$;%"%#TH7 E
-- --------------------------------------------------------
--
-- Tale structure for tale WregistrationW
--
$;%AT% TA.&% IF #:T %XISTS WregistrationW *
WidW int*@+ #:T #<&& autoNincrement,
WfirstnameW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WlastnameW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WemailW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WrankW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WstationW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WdateofirthW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WusernameW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WpasswordW !archar*6@+ collate utf7NunicodeNci #:T #<&&,
WphotoW lo #:T #<&&,
P;I"A;0 G%0 *WidW+
+ %#GI#%H"yISA" )%FA<&T $/A;S%THutf7 $:&&AT%Hutf7NunicodeNci
A<T:NI#$;%"%#TH7@ E
138
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
8TU63232 S%T $/A;A$T%;NS%TN$&I%#THV:&)N$/A;A$T%;NS%TN$&I%#T T8E
8TU63232 S%T $/A;A$T%;NS%TN;%S<&TSHV:&)N$/A;A$T%;NS%TN;%S<&TS T8E
8TU63232 S%T $:&&ATI:#N$:##%$TI:#HV:&)N$:&&ATI:#N$:##%$TI:# T8E
139
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
-eferencesD'ibliography
'##)S
9ea!er, P. *>336+ Success in 0our Project= A Guide to Student System )e!elopment Projects,
2st edition. /arlow= Pearson %ducation &imited.
Pressman, ;. *>33@+ Software engineering= A practitionerPs approach, 4th edition,
#ew 0ork= "cGraw-/ill.
180
BSc (Hons) Business Computing and Information Systems
Information Systems Project: Final Report
0eates, ). and 9akefield, T. >336, System Analysis and Design, 2
nd
edn., Prentice /all, #ew
0ork.
)u.ois, P, *>33@+, and "yS1&Y= The definiti!e guide to using, programming, and administering
"yS1& 6.2 and @.3, ?
rd
%dition, Sams
/enderson, $. >33?, Building Scalable Web Sites, :B;eilly "edia, Inc., $alifornia.
.urd, S ), Fackson, ; . L Sat,inger, F 9, *>336+, Systems Analysis and )esign in a changing
world, ?
rd
%dition, pg. 46>, $ourse Technology *Thompson Inc+
$arlos $oronel, Ste!en "orris, and Peter ;o, )ataase Systems, *>322+, )esign,
Implementation, and "anagement, #inth %dition
I0"A30A" =A%*I"A*
#ielsen, Fako *>334+, 7euristics for 1ser Interface +esign
<;&= http=88www.useit.com8papers8heuristic8heuristicNlist.html Z6th )ecemer >322[
GI"P-Introduction. >32>. GI"P - Introduction. Z:#&I#%[ A!ailale at=
http=88www.gimp.org8aout8introduction.html. ZAccessed 3@ )ecemer >322[.
"yS1& == "yS1& 9orkench @.>. >32>. "yS1& == "yS1& 9orkench @.>. Z:#&I#%[ A!ailale
at= http=88www.mys'l.com8products8workench8. ZAccessed 3@ )ecemer >322[.
Godit Project \ Introduction to P/P $oding Standards. >32>. Godit Project \ Introduction to
P/P $oding Standards. Z:#&I#%[ A!ailale at= http=88godit.com8article8introduction-to-php-
coding-standards. ZAccessed 34 Fune >32>[.
P/P Tutorial - Session. >32>. P/P Tutorial - Session. Z:#&I#%[ A!ailale at=
http=88www.ti,ag.com8phpT8phpsessions.php8. ZAccessed 34 "arch >32>[.
'y()* +eference 'anual, -2..$/, mysqldump 0 database bac1up program,
2+*: http:33dev!mysql!com3doc3refman34!.3en3mysqldump!html, 5#6

'arch 2.#27
181

You might also like