You are on page 1of 72

T.

JOHN COLLEGE
(Affiliated to Bangalore University)
Gottigere, Bangalore!"# #$%
ALEGATO
Co&'lete Co&'laint (egister ) A''raisal *anage&ent
+yste&
(,ro-e.t)
,(OJECT (E,O(T
BACHELO( O/ CO*,UTE( A,,L0CAT0ON+
(1#211#2%)
+34&itted 4y5
*iss. (a-es67ari 8 (2#(9+B!#"2)
Under t6e G3idan.e of
*rs. U&a (ani
(:E,A(T*ENT O/ CO*,UTE( A,,L0CAT0ON)
T.JOHN COLLEGE
(Affiliated to Bangalore University)
1 | P a g e
BANNE(GHATTA (OA:, BANGALO(E!"##$%
:E,A(T*ENT O/ CO*,UTE( A,,L0CAT0ON+
CE(T0/0CATE
This is to certify that *iss. (a-es67ari 8 (2#(9+B!#"2) has successfully
completed the project entitled ALEGATO Co&'lete Co&'laint (egister )
A''raisal *anage&ent +yste& as part of partial fulfillment of B.C.A. course of
the Bangalore University during 6th semester in the year 2!2"2!#.
$rs.$ohini Bhatt $rs. Uma%ani
&ead of the 'epartment (roject
)uide
*+ternal *+aminers
!.,,,,,,,,,,,,,,,,, 'ate-,,,,,,,,,,,,,,

2.,,,,,,,,,,,,,,,,, 'ate-,,,,,,,,,,,,,,
To,
T6e HO:,
T. Jo6n College,
2 | P a g e
Bangalore!"##$%
(es'e.ted +ir,
.e undersigned here/y declare that the project report entitled
ALEGATO. Under the guidance of $%0. U$A%A12 and su/mitted to Bangalore
University for the partial fulfillment of the re3uirement of the a4ard of degree of
Bachalor 5f Computer Application 672 0em8 4ritten and su/mitted /y us is our
original 4or9.
The empirical findings in the report are /ased on the data collected /y us
preparing project report. .e have not copied from any report: 4e understand that
any coping is to punish in a 4ay the University authorities deem fit.
,la.e5 BANGALO(E
:ate 5 ;o3rs +in.erely,
*iss. (a-es67ari. 8
*iss. Geet6an-ali.C
0N:E<
+r.
No
To'i. ,age No.
3 | P a g e
! 5rgani;ation 5vervie4
A/out the project
2 (ro/lem 'efinition
# *+isting 0ystem
'isadvantages of e+isting system.
< (ro/lem Analysis
=easi/ility 0tudy
(roject (lan
> 0oft4are %e3uirement Analysis
6 'esign
0ystem 'esign
'esign 1otations
'etailed 'esign
- *ntity %elationship 'iagram 6*%'8
- 'ata =lo4 'iagram 6'='8
- 'ata/ase 'esign
? Coding
@ Testing
=unctional Testing
0tructural Testing
Aevels of Testing
B 2mplementation
! Conclusion

!! Bi/liography
4 | P a g e
ABOUT ,(OJECT
$unicipal Corporation deals 4ith different day"to"day activities related to
general pu/lic amenities. The application is designed to automate these
activities and ena/le people to access the information.
5 | P a g e
2n the e+isting manual system a lot of time is spent in communicating the
information across different /ranches and to general pu/lic. There is a need
for an integrated automated system: 4hich has some centrali;ed control over
the entire process. Conventional 0ystem ma9es use of huge amounts of
paper for recording transactions.
The major activities of the system are to receive various types of grievances
from citi;ens: facilitate speedy processing of grievances received: updating
the status of grievances as and 4hen re3uired: informing the citi;en a/out the
action ta9en /y the $C and generation of reports. User"friendly menu /ased
access to the processes in the system 4ith different access paths to different
users to ensure the easier access to all the users..
*od3les5
The system is proposed to have the follo4ing modules-
Administrator $odule
user module:
operator module:
municipal officer module.
%eports module.
Ad&inistrator *od3le5
This module provides administrator related functionalities. Administrator
can create a ne4 account either for municipal officers or operators. By using
this login id /oth $unicipal officers and operators 4ill log on to this portal and
do all transactions 4hich are assigned to them.
User *od3le5
This module is a/out users of this portal. By using this module user can
lodge any complaint to either operators or to municipal officer a/out pro/lems
such as 4ater pro/lem: electricity pro/lem and se4erage pro/lem. User must
6 | P a g e
/e registered 4ith the system. A user can chec9 the complaint status. A user
can remind the concerned officer a/out the complaint.
O'erator *od3le5
This module is a/out an operator of $unicipal Corporation. By using this
module operators of $unicipal Corporation can vie4 all the complaints from
different users on different pro/lems. 5perator can maintain solved pro/lems
list and pending pro/lems list.
*3ni.i'al offi.er *od3le5
This module is a/out municipal officers 4ho use this portal to 9no4 the
complaints from the users. By using this module municipal officer can vie4 all
the complaints of users on various pro/lems 4hich 4ere sent through
reminder form.
(e'orts *od3le5
Administrator can generate reports li9e list of operators and municipal
officers.
,(OBLE* :E/0N0T0ON
2n the e+isting manual system a lot of time is spent in communicating the
information across different /ranches and to general pu/lic. There is a need
7 | P a g e
for an integrated automated system: 4hich has some centrali;ed control over
the entire process. Conventional 0ystem ma9es use of huge amounts of
paper for recording transactions
All tas9 are done /y manually 4hich is nothing /ut an 4astage of time
and money such as to search any songs /y manually it ta9es too much of
time even re3uired manpo4er for completing any tas9 is also more.
0o 4e have decided to ma9e soft4are 4hich 4ill overcome all
dra4/ac9s of e+isting system as 4ell as it 4ill satisfy the userCs re3uirements.
:isadvantage of t6e E=isting +yste&
The e+isting system has various dra4/ac9s such as
0ystem doesnCt provide data security: authentication and
privileges.
1ot user friendly.
Admin can close and reopen the tic9et
0toc9ing up of papers.
0earching a status is difficult
'oing things manually means itCs 4astage of time: money.
CanDt Access from any4here
ANAL;+0+
=easi/ility Analysis-
8 | P a g e
5ne of the important outcomes of the preliminary investigation is the
determination 4hether the product 60oft4are 0ystem8 is feasi/le. =easi/ility
study is not 4arranted for the system in 4hich economic justification is
o/vious: technical ris9s are lo4: legal pro/lem e+pects is nil and no
reasona/le alternative e+ists to understand the feasi/ility /etter.
*conomical =easi/ility -
*conomical feasi/ility is the cost /enefit analysis for computeri;ing the
system. The economic =easi/ility of the project is the main reasons for its
underta9ing. &ard4are re3uired for project is already present so it is not
needed to purchase any ne4 hard4are. 2t therefore cut do4n the hard4are
cost. 0ome of the needed soft4are is already availa/le and re3uired 4ill /e
purchased /y considering the issue of the cost and time. 1o maintenance
cost 4ill occur on the project. The user 4ill have to /ear the cost of study
material. 1o e+tra development 4ill /e incurred than the nominal ones.
5perational =easi/ility -
5perational =easi/ility is concerned 4ith human organi;ational and political
aspects. 2t is unli9ely that a project 4ill /e rejected solely on the ground of the
operational non feasi/ility /ut such considerations are li9ely to critically affect
the nature and scope of eventual commendations. The product ALEGATO
Can operate in harsh environment. 2t is very user friendly so that every user
can handle it 4ith ease. 2ts different loo9 than others prompts user to use it
4ithout any /oar. The product ALEGATO is developed such that it 4ill not
change the 4or9flo4 of the system if some changes are suggested. 2t is
comforta/le and efficient for the user. The ALEGATO product is capa/le of
handling of large amount of data 4ith high speed. Thus the system is
operationally feasi/le.
Technical =easi/ility -
This product ALEGATO Uses &T$A tools li9e Ta//ed 'ialog Bo+:
Tool/ars as /uttons: 0tatus /ars to sho4 tips a/out controls etc.. These tools
9 | P a g e
are availa/le in &T$A:C00 and (&( there is no need to install them
separately.
,(OJECT ,LAN
A8 (roject 5vervie4- The ALEGATO> is one of the /est solutions if you
4ant to start your o4n music portal. 2t has a /eautiful and intuitive
10 | P a g e
interface /uilt 4ith the latest development tools to ma9e it as easy to
use for you.
B8 (roject 0cope- The scope of this soft4are is never end: 4hich is user
friendly.
C8 'evelopment (rocess- This soft4are is developed /y 2 mem/er of
team namely as $iss. %ajesh4ari E :$iss. )eethanjali C
,ro-e.t Efforts and +.6ed3le
No. Tas? :ays +tarting
:ate
End :ate Na&e
! %e3uirement Analysis F
(lanning
!> @"!2"2!2 2#"!#"2!2 All Team
$em/ers
2 'esign !> 2#"!#"2!2 !@"!"2!# $iss.
%ajesh4ari E
# Coding #> !@"!"2!# 22"2"2!# All Team
$em/ers
< Testing ! 22"2"2!# <"<"2!# $iss.
%ajesh4ari E
> 'ocumentation > <"<"2!# !"<"2!# *iss.
Geet6an-ali
C
,(O,O+E: +;+TE*
Using advance tools and technology ALEGATO provides more
features and advance facilities. is one of the /est solutions if you 4ant to start
your o4n music portal. 2t has a /eautiful and intuitive interface /uilt 4ith the
11 | P a g e
latest development tools to ma9e it as easy to use for you. Beside that there
are many fine features -
User /eat3res
User %egistration
Access from any4here
5pen Gclose tic9ets
Chat 4ith 5perator
%egistration
5ne page application 4ith Hava0cript U%A
Cross"Bro4ser compati/le
(rogress loading pagination
Ad&in /eat3res
7ie4G'elete registered users
7ie4G*ditG'elete categories
7ie4G*ditG'elete staffs
AddG'elete administrators
7ie4 0tatistics
*od3les5
The system is proposed to have the follo4ing modules-
Administrator $odule
user module
operator module
municipal officer module
%eports module.
Ad&inistrator *od3le5
This module provides administrator related functionalities. Administrator
can create a ne4 account either for municipal officers or operators. By using
this login id /oth $unicipal officers and operators 4ill log on to this portal and
do all transactions 4hich are assigned to them.
User *od3le5
This module is a/out users of this portal. By using this module user can
lodge any complaint to either operators or to municipal officer a/out pro/lems
such as 4ater pro/lem: electricity pro/lem and se4erage pro/lem. User must
12 | P a g e
/e registered 4ith the system. A user can chec9 the complaint status. A user
can remind the concerned officer a/out the complaint.
O'erator *od3le5
This module is a/out an operator of $unicipal Corporation. By using this
module operators of $unicipal Corporation can vie4 all the complaints from
different users on different pro/lems. 5perator can maintain solved pro/lems
list and pending pro/lems list.
*3ni.i'al offi.er *od3le5
This module is a/out municipal officers 4ho use this portal to 9no4 the
complaints from the users. By using this module municipal officer can vie4 all
the complaints of users on various pro/lems 4hich 4ere sent through
reminder form.
(e'orts *od3le5
Administrator can generate reports li9e list of operators and municipal
officers.
Li&itation of ,ro'osed +yste&
A/sence of electricity may result into ina/ility in to run the system.
A/sence of internet may result into ina/ility in to run the system.
&ard4are failure can result into loss of data or data corruption.
2f the system is affected /y virus: it can /e disastrous to data.
As the computer industry is developing fast the advancement in
technology may ma9e the system a/solute.
,LAT/O(* U+E:
.e/ (resentation - &T$A: C00: T4itter Bootstrap
Client I side 0cripting - Hava0cript :HJuery
13 | P a g e
(rogramming Aanguage - (&(
Bac9end 'ata/ase - $y03l
5perating 0ystem - .indo4s K(G2G2#G?:
A21UK
.e/ 0erver - .A$(
&ard4are %e3uirements6minimum8-"
(entium processor - 2## $&L
%A$ Capacity - !2@$B
&ard 'is9 - 2)B
C'"%5$ 'rive - #2 &L
Eey/oard - !@ 0tandard
$ouse - 5ptical
$onitor - !>CC Color $onitor
HT*L
&yperte+t $ar9up Aanguage 6&T$A8 is the main mar9up language for
creating 4e/ pages and other information that can /e displayed in a 4e/
/ro4ser.
&T$A is 4ritten in the form of &T$A elements consisting of tags enclosed in
angle /rac9ets 6li9e MhtmlN8: 4ithin the 4e/ page content. &T$A tags most
commonly come in pairs li9e Mh!N and MGh!N: although some tags: 9no4n as
empty elements: are unpaired: for e+ample MimgN. The first tag in a pair is the
start tag: the second tag is the end tag 6they are also called opening tags and
closing tags8. 2n /et4een these tags 4e/ designers can add te+t: tags:
comments and other types of te+t"/ased content.
C++
Cascading 0tyle 0heets 6C008 is a style sheet language used for descri/ing
the presentation semantics 6the loo9 and formatting8 of a document 4ritten in
a mar9up language. 2ts most common application is to style 4e/ pages
4ritten in &T$A and K&T$A. C00 specifies a priority scheme to determine
14 | P a g e
4hich style rules apply if more than one rule matches against a particular
element. 2n this so"called cascade: priorities or 4eights are calculated and
assigned to rules: so that the results are predicta/le.
J@UE(;
jJuery is a multi"/ro4ser Hava0cript li/rary designed to simplify the client"
side scripting of &T$A. 2t 4as released in Hanuary 26 at BarCamp 1OC /y
Hohn %esig. 2t is currently developed /y a team of developers led /y 'ave
$ethvin. Used /y over >>P of the !: most visited 4e/sites: jJuery is the
most popular Hava0cript li/rary in use today
T90TTE( BOOT+T(A,
T4itter Bootstrap is a free collection of tools for creating 4e/sites and 4e/
applications. 2t contains &T$A and C00"/ased design templates for
typography: forms: /uttons: charts: navigation and other interface
components: as 4ell as optional Hava0cript e+tensions.
,H,
5ne of the /est things a/out (&( is the large num/er of 2nternet service
providers 620(s8 and 4e/ hosting companies that support it. Today there are
hundreds of developers using (&(: and itCs not surprising that there are so
many: considering that several million sites are reported to have (&(
installed.
Oou already 9no4 that (&( is a cross"platform technology and that once
OouCve 4ritten your 4e/ page: itCs easy to get it up and running on our .e/
server: /ut ho4 does (&( compare 4ith other technologies out thereQ .ell:
comparing to rapidly create dynamic .e/ content- perl 4as not.s a result: perl
can sometimes /e a complicated language that can /ecome prohi/itive for
users 4ho 4ant to create 4e/ pages. Comparing (&( 4ith A0( is a more
/alanced comparison. /ut then you have to pay for A0(: and A0( doesnCt
4or9 4ell on a variety of platforms"it needs to /e used on other proprietary
platforms for 4hich you also must pay.
Oou may as9: 2s there a do4nside to phpQ 2n the past: php has /een criti;ed
for the 4ay it handled a num/er of thing Ifor e+ample: one of its main
stum/ling /loc9 4as the 4ay in 4hich it implements as 4ell as having a large:
consolidated /ase of small"to medium"si;ed application.
15 | P a g e
0NT(O:UCT0ON O/ ,H,
(&( is the latest incarnation of (&( 6(&(- &yperte+t (reprocessor8"a
programming: language devised /y %asmus Aerdorf in !BB< for /uilding
dynamic: interactive .e/sites. 0ince then: itCs /een evolving into a full"
fledged language in its o4n right: than9s to the hard 4or9 of all the people
4ho contri/ute to its development.
A sure sign that (&( is maturing 655(8 principles and improved support for
K$A.the ;end engine 6the part that interprets and e+ecutes (&( code8 no4
ena/les (&(> developers to implement: among a host of other things:
graceful application"4ide error handling.
.ith all the ne4 features and functionality that (&(> provides: itCs important
for programmers to upgrade their understanding in order to /est ma9e use
of this po4erful .e/ scripting tool. And thatCs 4hy it is important for you: the
reader to invest your time learning a/out the latest and greatest that the
people developing (&(> have to offer.
Oou 9no4 itCs a language for 4riting computer programs: so the real 3uestions
is 4hat sort of programs can you 4rite 4ith itQ in technical terms: (&(Cs
main use is as a cross"platform: html em/edded: server"side 4e/ scripting
language. AetCs ta9e a moment to e+amine these terms
Cross platform- most (&( code can /e processed 4ithout alternation on
computers running many different operating systems. =or *+ample: a (&(
script that runs on Ainu+ generally also runs 4ell on 4indo4s.
&T$A"em/edded- (&( code can /e 4ritten in files containing a mi+ture of
(&( instruction and &T$A code.
0erver"side- The (&( programs are run on server"specially a 4e/ server.
.e/ scripting language- (&( programs run via a 4e/ /ro4ser.
This means you 4ill 4rite programs that mi+ (&( code and &T$A: run them
on a 4e/ server: and access them from a 4e/ /ro4ser that displays the
result of your (&( processing /y sho4ing you the &T$A returned /y the 4e/
server. 2n other 4ords: you can ma9e your programs availa/le for other
16 | P a g e
people to access across the 4e/: simply /y placing them on a pu/lic 4e/
server.
Oou are pro/a/ly already familiar 4ith &T$A 6hyperte+t mar9up language8"itCs
the main language used to create 4e/ pages: com/ining plain te+t 4ith
special tags that tell /ro4sers ho4 to treat that te+t. &T$A is used to descri/e
ho4 different elements in a 4e/ page should /e displayed: ho4 pages should
/e lin9ed: 4here to put image: and so on.
(ure &T$A documents: for all their versatility: are little more than static
arrangements of te+t and pictures: al/eit nicely presented ones. &o4ever:
most of the sites you find on the 4e/ arenCt static /ut dynamic even
interactive. They can sho4 you a list of articles containing a particular 4ord: in
4hich you are interested: sho4 you the latest ne4s: even greet you /y name
4hen you log on. They ena/le you to interact: and present you 4ith different
information according to the choice you ma9e.
Oou canCt /uild a 4e/ site li9e that using ra4 &T$A: and thatCs 4here (&(
comes in. 4hat sort of things can you do 4ith itQ .ell: you can program sites
that
(resent data from a 4ide variety of sources: such as data/ases: files: or even
other .e/ pages.
2ncorporate interactive elements: such as search facilities: message /oards:
and stra4 polls.
*na/le the user to perform actions: such as sending e"mail or /uying
something.
2n other 4ords: (&( can /e used to 4rite the sort of sites that those 4ho
regularly use the 4e/ are li9ely to encounter every day. =rom search engines
to information portals to e"commerce sites: most major 4e/ sites incorporate
some or all of these sorts of programming. Among other things in the course
of this /oo9: you 4ill use (&( to /uild
A simple: online te+t editor
A 4e/"/ased e"mail application
17 | P a g e
An o/ject"oriented contact manager application
An o/ject"oriented logging agent
0o: (&(> can /e used for a diverse range of applications: from simple utilities
such as a te+t editor po4erful 4e/ application such as the logging agent case
study. This /oo9 e3uips you 4ith the 9no4ledge necessary to /uild any 9ind
of 4e/ sites you 4ant using (&(>. you 4ill learn some useful techni3ues
along the 4ay and perhaps pic9 up some ideas that you can incorporate 2nto
your o4n 4e/ sites and applications.

0NT(O:UCT0ON TO *;+@L
$y0JA is a fast: easy"to"use %'B$0 used for data/ases on many .e/
sites.0peed 4as the developersC main focus from the /eginning. 2n the
interest ofspeed: they made the decision to offer fe4er features than their
major competitors6for instance: 5racle and 0y/ase8. &o4ever: even though
$y0JA isless full featured than its commercial competitors: it has all the
features needed /y the large majority of data/ase developers. 2tCs easier to
install and use than its commercial competitors: and the difference in price is
strongly in $y0JACs favor.
$y0JA is developed: mar9eted: and supported /y $y0JA AB: 4hich is a
04edish company. The company licenses it t4o 4ays-
5pen source soft4are- $y0JA is availa/le via the )1U )(A 6)eneral (u/lic
Aicense8 for no charge. Anyone 4ho can meet the re3uirements of the )(A
can use the soft4are for free. 2f youCre using $y0JA as a data/ase on a .e/
site 6the su/ject of this /oo98: you can use $y0JA for free: even if youCre
ma9ing money 4ith your .e/ site.
Commercial license- $y0JA is availa/le 4ith a commercial license for those
4ho prefer it to the )(A. 2f a developer 4ants to use $y0JA as part of a ne4
soft4are product and 4ants to sell the ne4 product: rather than release it
under the )(A: the developer needs to purchase a commercial license. The
fee is very reasona/le.
=inding technical support for $y0JA is not a pro/lem. Oou can join one of
several e"mail discussion lists offered on the $y0JA .e/ site at 444.mys3l.
com. Oou can even search the e"mail list archives: 4hich contain a large
9no4ledge /ase of $y0JA 3uestions and ans4ers. 2f youCre more
18 | P a g e
comforta/le getting commercial support: $y0JA AB offers technical support
contracts R five support levels: ranging from direct e"mail support to phone
support: at five price levels.
Advantages of *y+@L
$y0JA is a popular data/ase 4ith .e/ developers. 2ts speed and small si;e
ma9e it ideal for a .e/ site. Add to that the fact that itCs open source: 4hich
means free: and you have the foundation of its popularity. &ere is a rundo4n
of some of its advantages-
2tCs fast. The main goal of the fol9s 4ho developed $y0JA 4as speed.
Conse3uently: the soft4are 4as designed from the /eginning 4ith
speed in mind.
2tCs ine+pensive. $y0JA is free under the open source )(A license:
and the fee for a commercial license is very reasona/le.
2tCs easy to use. Oou can /uild and interact 4ith a $y0JA data/ase /y
using a fe4 simple statements in the 0JA language: 4hich is the
standard language for communicating 4ith %'B$0s.
2t can run on many operating systems. $y0JA runs on a 4ide variety of
operating systems R .indo4s: Ainu+: $ac 50: most varieties of Uni+
6including 0olaris: A2K: and '*C Uni+8: =reeB0': 50G2: 2ri+: and
others.
Technical support is 4idely availa/le. A large /ase of users provides
free support via mailing lists. The $y0JA developers also participate in
the e"mail lists. Oou can also purchase technical support from $y0JA
AB for a very small fee.
2tCs secure. $y0JACs fle+i/le system of authori;ation allo4s some or all
data/ase privileges 6for e+ample: the privilege to create a data/ase or
delete data8 to specific users or groups of users. (ass4ords are
encrypted.
2t supports large data/ases. $y0JA handles data/ases up to > million
ro4s or more. The default file si;e limit for a ta/le is <)B: /ut you can
19 | P a g e
increase this 6if your operating system can handle it8 to a theoretical
limit of @ million tera/ytes 6TB8.
2tCs customi;a/le. The open source )(A license allo4s programmers to
modify the $y0JA soft4are to fit their o4n specific environments.
E( :0AG(A*
20 | P a g e
:ATA /LO9 :0AG(A*
21 | P a g e
CO:E
22 | P a g e
Database alegato
Table structure for table users
Column Type Null Default
u_id int(11) No
u_name varchar(32) No
u_cardtype varchar(32) No
u_cardno varchar(32) No
u_eai! varchar(32) No
u_pa"" varchar(32) No
u_addr !ongte#t No
u_type varchar(32) No
Table structure for table tickets
Column Type Null Default
t_id int(11) No
t_tit!e varchar(32) No
t_detai!" !ongte#t No
t_dep varchar(32) No
t_u"er varchar(32) No
t_priority varchar(32) No
t_"tatu" varchar(32) No
t_tie !ongte#t No
Table structure for table departments
Column Type Null Default
d_id int(11) No
d_nae varchar(32) No
d_detai!" !ongte#t No
d_operator varchar(32) No
d_"tatu" varchar(32) No
d_tota! int(11) No
\
Table structure for table message
Column Type Null Default
23 | P a g e
_id int(11) No
t_id int(11) No
t_u"er !ongte#t No
t_operator !ongte#t No
inde=.'6'
<?php include('header.php')?>
<body>
<div class="navbar navbar-static-top">
<div class="navbar-inner ">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-
collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="inde.php">!legato</a>
<div class="nav-collapse collapse" id=""ain-"enu">
<ul class="nav pull-right" id=""ain-"enu-right">
<li><a href="reg.php" ><strong>#e$ %egistration&
</strong></a></li>
<li><a href="'">(!)</a></li>
<li><a href="'">*ontact us</a></li>
</ul>

</div>

</div>
</div>

</div>
<div class="container">
<div class="ro$">
<div class="span+ $ell offset," id="loginbo">
<for" class="for"-hori-ontal" id="login" action='login-
process.php' "ethod="./01">
<fieldset>
<div id="legend">
<legend class="">2elco"e to alegato</legend>
</div>
<div class="control-group">
<&-- 3serna"e -->
<label class="control-label" for="u4na"e">3serna"e</label>
<div class="controls">
<input type="tet" id="u4na"e" na"e="u4na"e" placeholder=""
class="input-large">
</div>
</div>

<div class="control-group">
<&-- .ass$ord-->
<label class="control-label" for="u4pass">.ass$ord</label>
<div class="controls">
<input type="pass$ord" id="u4pass" na"e="u4pass" placeholder=""
class="input-large">
</div>
24 | P a g e
</div>


<div class="control-group">
<&-- 5utton -->
<div class="controls">
<button class="btn btn-pri"ary" input type="sub"it"
>6ogin</button>
<button class="btn btn-error" input type="reset">%eset</button>
</div>
</div>
</fieldset>
</for">
</div>

</div>

</div>
<div id=""y7odal" class=""odal hide fade" tabinde="-8" role="dialog"
aria-labelledby=""y7odal6abel" aria-hidden="true">
<div class=""odal-header">
<button type="button" class="close" data-dis"iss=""odal" aria-
hidden="true">9</button>
</div>
<div class=""odal-body">
<for" class="for"-hori-ontal" id="loginbo" action='process.php'
"ethod="./01">
<fieldset>
<div id="legend">
<legend class="">6ogin</legend>
</div>
<div class="control-group">
<&-- 3serna"e -->
<label class="control-label" for="userna"e">3serna"e</label>
<div class="controls">
<input type="tet" id="userna"e" na"e="userna"e"
placeholder="userna"e" class="input-large">
</div>
</div>

<div class="control-group">
<&-- .ass$ord-->
<label class="control-label" for="pass$ord">.ass$ord</label>
<div class="controls">
<input type="pass$ord" id="pass$ord" na"e="pass$ord"
placeholder="userna"e" class="input-large">
</div>
</div>


<div class="control-group">
<&-- 5utton -->
<div class="controls">
<button class="btn btn-success" id="sub" input type="sub"it"
>6ogin</button>
<button class="btn" data-dis"iss=""odal" aria-
hidden="true">*ancel</button>
</div>
</div>
</fieldset>
</for">
25 | P a g e
</div>
<div id=""essage">
<div class="alert alert-success">
</div>
</div>
</div>
<div id=""y7odal" class=""odal hide fade" tabinde="-8" role="dialog"
aria-labelledby=""y7odal6abel" aria-hidden="true">
<div class=""odal-header">
<button type="button" class="close" data-dis"iss=""odal" aria-
hidden="true">9</button>
</div>
<div class=""odal-body">
<for" class="for"-hori-ontal" id="loginbo" action='process.php'
"ethod="./01">
<fieldset>
<div id="legend">
<legend class="">6ogin</legend>
</div>
<div class="control-group">
<&-- 3serna"e -->
<label class="control-label" for="userna"e">3serna"e</label>
<div class="controls">
<input type="tet" id="userna"e" na"e="userna"e"
placeholder="userna"e" class="input-large">
</div>
</div>

<div class="control-group">
<&-- .ass$ord-->
<label class="control-label" for="pass$ord">.ass$ord</label>
<div class="controls">
<input type="pass$ord" id="pass$ord" na"e="pass$ord"
placeholder="userna"e" class="input-large">
</div>
</div>


<div class="control-group">
<&-- 5utton -->
<div class="controls">
<button class="btn btn-success" id="sub" input type="sub"it"
>6ogin</button>
<button class="btn" data-dis"iss=""odal" aria-
hidden="true">*ancel</button>
</div>
</div>
</fieldset>
</for">
</div>
<div id=""essage">
<div class="alert alert-success">
</div>
</div>
</div>
<div id="'beta7odal" class=""odal hide fade" tabinde="-8" role="dialog"
aria-labelledby=""y7odal6abel" aria-hidden="true">
<div class=""odal-header">
26 | P a g e
<button type="button" class="close" data-dis"iss=""odal" aria-
hidden="true">9</button>
</div>
<div class=""odal-body">
<for" class="for"-hori-ontal" id="loginbo" action='process.php'
"ethod="./01">
<fieldset>
<div id="legend">
<legend class="">6ogin</legend>
</div>
<div class="control-group">
<&-- 3serna"e -->
<label class="control-label" for="userna"e">3serna"e</label>
<div class="controls">
<input type="tet" id="userna"e" na"e="userna"e"
placeholder="userna"e" class="input-large">
</div>
</div>

<div class="control-group">
<&-- .ass$ord-->
<label class="control-label" for="pass$ord">.ass$ord</label>
<div class="controls">
<input type="pass$ord" id="pass$ord" na"e="pass$ord"
placeholder="userna"e" class="input-large">
</div>
</div>


<div class="control-group">
<&-- 5utton -->
<div class="controls">
<button class="btn btn-success" id="sub" input type="sub"it"
>6ogin</button>
<button class="btn" data-dis"iss=""odal" aria-
hidden="true">*ancel</button>
</div>
</div>
</fieldset>
</for">
</div>
<div id=""essage">
<div class="alert alert-success">
</div>
</div>
</div>
<div id=""y7odal" class=""odal hide fade" tabinde="-8" role="dialog"
aria-labelledby=""y7odal6abel" aria-hidden="true">
<div class=""odal-header">
<button type="button" class="close" data-dis"iss=""odal" aria-
hidden="true">9</button>
</div>
<div class=""odal-body">
<for" class="for"-hori-ontal" id="loginbo" action='process.php'
"ethod="./01">
<fieldset>
<div id="legend">
<legend class="">6ogin</legend>
</div>
<div class="control-group">
27 | P a g e
<&-- 3serna"e -->
<label class="control-label" for="userna"e">3serna"e</label>
<div class="controls">
<input type="tet" id="userna"e" na"e="userna"e"
placeholder="userna"e" class="input-large">
</div>
</div>

<div class="control-group">
<&-- .ass$ord-->
<label class="control-label" for="pass$ord">.ass$ord</label>
<div class="controls">
<input type="pass$ord" id="pass$ord" na"e="pass$ord"
placeholder="userna"e" class="input-large">
</div>
</div>


<div class="control-group">
<&-- 5utton -->
<div class="controls">
<button class="btn btn-success" id="sub" input type="sub"it"
>6ogin</button>
<button class="btn" data-dis"iss=""odal" aria-
hidden="true">*ancel</button>
</div>
</div>
</fieldset>
</for">
</div>
<div id=""essage">
<div class="alert alert-success">
</div>
</div>
</div>
<div id="beta7odal" class=""odal hide fade">
<div class=""odal-header">
<button class="close" data-dis"iss=""odal">9</button>
<h,>:oin the 5eta</h,>
</div>
<div class=""odal-body">
<div class="ro$-fluid">
<div class="span8;">
<div class="span+">
<div class="logo$rapper">
<i"g class="logoicon"
src="http<//placehold.it/,==,==/bbb/>tet=?our@;=6ogo" alt="!pp 6ogo"/>
</div>
</div>
<div class="span+">
<for" class="for"-hori-ontal">
<p class="help-blocA">#a"e</p>
<div class="input-prepend">
<span class="add-on">B</span><input
class="prependedCnput" si-e="8+" type="tet">
</div>
<p class="help-blocA">D"ail</p>
<div class="input-prepend">
<span class="add-on">E</span><input
class="prependedCnput" si-e="8+" type="e"ail">
28 | P a g e
</div>
<hr>
<div class="help-blocA">
<button type="sub"it" class="btn btn-large btn-
info">%eFuest an Cnvite</button>
</div>
</for">
</div>
</div>
</div>
</div>
<div class=""odal-footer">
<p><i>6astest 3pdate on /ctober ;ndG ;=8;</i></p>
</div>
</div>
<?php include('footer.php')?>
</body>
</ht"l>
header.php
<&H/*1?.D ht"l .356C* "-//2,*//H1H IJ176 8.= 1ransitional//D#"
"http<//$$$.$,.org/1%/ht"l8/H1H/ht"l8-transitional.dtd">
<ht"l "lns="http<//$$$.$,.org/8KKK/ht"l">
<head>
<"eta http-eFuiv="*ontent-1ype" content="tet/ht"lL charset=utf-M" />
<title>alegato N *o"plete *o"plaint %egister > !ppraisal 7anage"ent
0yste"</title>
<linA href="css/bootstrap.css" rel="stylesheet" type="tet/css" />
<linA href="css/style.css" rel="stylesheet" type="tet/css" />
<script type="tet/Oavascript" src="Os/bootstrap.Os"></script>
<script type="tet/Oavascript" src="Os/OFuery."in.Os"></script>
<script type="tet/Oavascript" src="Os/functions.Os"></script>
<script type="tet/Oavascript" src="Os/OFuery.validate.Os"></script>
</head>
login-process.php
<?php
session4start()L
if(isset(P4QD1R"logout"S))T
if(P4QD1R"logout"S = "true")T
session4destroy()L
session4unset()L
?><script type="tet/Oavascript">$indo$.location =
"inde.php"</script><?php
U
U
include('include/config.php')L
Puser4login = P4%D)3D01R"u4na"e"SL
Ppass$ord = P4%D)3D01R"u4pass"SL
PsFl = "select B fro" users $here u4e"ail='Puser4login' and
u4pass='Ppass$ord'"L
Presult = "ysFl4Fuery(PsFlGPdb*onn) or die("ysFl4error())L
Pfetched = "ysFl4fetch4array(Presult)L
29 | P a g e
if (PfetchedR'u4type'S == "ad"in") T
P40D00C/#R"login"S = "success"L
P40D00C/#R"u4id"S = PfetchedR"u4id"SL
P40D00C/#R"u4na"e"S = PfetchedR"u4na"e"SL
P40D00C/#R"u4e"ail"S = PfetchedR"u4e"ail"SL
header("6ocation<dash/")L
U elseif (PfetchedR'u4type'S == "operator") T
P40D00C/#R"login"S = "success"L
P40D00C/#R"u4id"S = PfetchedR"u4id"SL
P40D00C/#R"u4na"e"S = PfetchedR"u4na"e"SL
P40D00C/#R"u4e"ail"S = PfetchedR"u4e"ail"SL
header("6ocation<operator.php")L
U elseif (PfetchedR'u4type'S == "user") T
P40D00C/#R"login"S = "success"L
P40D00C/#R"u4id"S = PfetchedR"u4id"SL
P40D00C/#R"u4na"e"S = PfetchedR"u4na"e"SL
P40D00C/#R"u4e"ail"S = PfetchedR"u4e"ail"SL
header("6ocation<user.php")L
U else T
header("6ocation<inde.php?login=failed")L
U
?>
ne7.o&'laint.'6'
<div class="$ell">
<for" class="for"-hori-ontal" id="addco"" action='reg4co".php'
"ethod="./01">
<fieldset>
<div id="legend">
<legend class="">%egister *o"plaint </legend></div>
<div class="control-group">
<&-- 3serna"e -->
<label class="control-label" for="dep4na"e">Hepart"ent</label>
<div class="controls">
<select na"e="dep4na"e">

<option selected="selected">0elect Hepart"ent</option>
<?php
PsFl = "0D6D*1 B (%/7 depart"ents"L
PFuery = "ysFl4Fuery(PsFlG Pdb*onn)L

$hile(Pro$ = "ysFl4fetch4array(PFuery))T
?>
<option><?php echo Pro$R'd4na"e'SL ?></option>
<?php U ?>
</select>
</div>
</div>

<div class="control-group">
<&-- D-"ail -->
<label class="control-label" for="dep4dsc">*o"plaint 1itle</label>
<div class="controls">
<input type="tet" id="t4title" na"e="t4title" placeholder=""
class="input-large">
30 | P a g e
</div>
</div>
<div class="control-group">
<&-- .ass$ord -->
<label class="control-label" for="pass$ord4confir"">*o"plaint
Hetails</label>
<div class="controls">
<tetarea na"e="t4detials"" class="input-large" id="t4detials"
placeholder=""></tetarea>

</div>
</div>
<div class="control-group">
<&-- 3serna"e -->
<label class="control-label" for="dep4na"e">.riority</label>
<div class="controls">
<select na"e="t4p">

<option selected="selected">0elect .riority</option>

<option>Jigh</option>
<option>7ediu"</option>
<option>6o$</option>

</select>
</div>
</div>

<div class="control-group">
<&-- 5utton -->
<div class="controls">
<button class="btn btn-pri"ary" id="adddepart" input
type="sub"it">%egister</button> <button class="btn btn-error" input
type="reset">%eset</button>
</div>
</div>
</fieldset>
</for">
</div>
O'enti.?et.'6'
<?php
include('include/config.php')L
Puna"e = P40D00C/#R"u4na"e"SL
PsFl = "0D6D*1 B (%/7 depart"ents 2JD%D d4operator ='Puna"e' "L
PFuery = "ysFl4Fuery(PsFlG Pdb*onn)L

$hile(Pro$ = "ysFl4fetch4array(PFuery))T
Pdep= Pro$R'd4na"e'SL
U
echo PdepL
PsFl = "0D6D*1 B (%/7 ticAets 2JD%D t4dep = 'Pdep' !#H
t4status = 'open'"L
PFuery = "ysFl4Fuery(PsFlG Pdb*onn)L

$hile(Pro$ = "ysFl4fetch4array(PFuery))T
?>
31 | P a g e
<div class="$ell">
<hV><?php echo Pro$R't4title'SL ?> </hV>

<div>
<a href="ticAet.php?id=<?php echo Pro$R't4id'SL ?>" class="label
label-info">Wie$ 1icAet</a>

<div class="pull-right"><span class="label label-inverse"><?php
echo Pro$R't4priority'SL ?></span> <span class="label label-success"><?php
echo Pro$R't4status'SL ?></span> <span class="label"><?php echo
Pro$R't4ti"e'SL ?></span></div>
</div>


</div>
<?php U ?>
MQphp

SurlTS,0*%7*%UD%*JU*0T,U%2DVW

GX set the cache limiter to DprivateD XG
session,cache,limiter6DprivateD8W
GX set the cache e+pire to # minutes XG
session,cache,e+pire6#8W
session,start68W
if6Y6isset6S,0*00251UZloginZV88 [[ 6S,0*00251UZloginZV YT ZsuccessZ88\
QN
Mscript typeTZte+tGjavascriptZN4indo4.location T Zinde+.phpZMGscriptN
Mscript typeTZte+tGjavascriptZN
S6document8.ready6function68 \
S6Z]mydivZ8.load6Zmyurl.phpZ8W
^8W
MGscriptN
O'erator.'6'
<?php
U
include ("include/config.php")L
?>
<&H/*1?.D ht"l .356C* "-//2,*//H1H IJ176 8.= 1ransitional//D#"
"http<//$$$.$,.org/1%/ht"l8/H1H/ht"l8-transitional.dtd">
<ht"l "lns="http<//$$$.$,.org/8KKK/ht"l">
<head>
<"eta http-eFuiv="*ontent-1ype" content="tet/ht"lL charset=utf-M" />
<title>alegato N *o"plete *o"plaint %egister > !ppraisal 7anage"ent
0yste"</title>
<linA href="css/bootstrap.css" rel="stylesheet" type="tet/css" />
<linA href="css/style.css" rel="stylesheet" type="tet/css" />
<script type="tet/Oavascript" src="Os/bootstrap.Os"></script>
<script type="tet/Oavascript" src="Os/OFuery."in.Os"></script>
<script type="tet/Oavascript" src="Os/functions.Os"></script>
<script type="tet/Oavascript" src="Os/OFuery.validate.Os"></script>
32 | P a g e
</head>
<body onload=XOavascript<set1i"eout(Ylocation.reload(true)LXGV===)LX>
<div class="navbar navbar-static-top">
<div class="navbar-inner ">
<div class="container"> <a class="btn btn-navbar" data-
toggle="collapse" data-target=".nav-collapse"> <span class="icon-
bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span>
</a> <a class="brand" href="'">!legato</a>
<div class="nav-collapse collapse" id=""ain-"enu">
<ul class="nav pull-right" id=""ain-"enu-right">
<li><a href="'beta7odal" data-toggle=""odal"><strong>#e$
%egistration&</strong></a></li>
<li><a href="'">(!)</a></li>
<li><a href="'">*ontact us</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container $ell" id="$rap">
<div class="ro$-fluid">
<div class="span8;">
<div class="span,">
<div class="sidebar-nav">
<div class="$ell" padding< Mp =L">
<ul class="nav nav-list">
<li class="nav-header">3ser 7enu</li>
<li class="active"><a href="operator.php"><i class="icon-
ho"e"></i> Hashboard</a></li>
<li><a href="operator.php?page=open"><i class="icon-
envelope"></i>/pen 1icAets</a></li>
<li><a href="'"><i class="icon-envelope"></i>.ending
1icAets</a></li>
<li><a href="'"><i class="icon-envelope"></i>*losed
1icAets</a></li>
<li ></li>
<li class="divider"></li>
<li><a href="'"><i class="icon-co""ent"></i> 0ettings</a></li>
<li><a href="'"><i class="icon-co""ent"></i> .rofile</a></li>
<li><a href="login-process.php?logout=true"><i class="icon-
share"></i> 6ogout</a></li>
</ul>
</div>
</div>
</div>
<div class="spanK" id="reload">
<?php
if (& isset(P4QD1R'page'S))
T
include('dep4detials.php')L

U else T
Ppage = P4QD1R'page'SL

s$itch (P4QD1R'page'S)
T
case "open"<
include('open4ticAets.php')L
breaAL
33 | P a g e
case "status"<
include('status.php')L
breaAL
case "ticAets"<
echo "value of Pc = ; <br>"L
breaAL
default<
echo "value of "L
breaAL
U
U
?></div>
</div>
</div>
</div>
</body>
</ht"l>
process.php
<?php
session4start()L
include('include/config.php')L
Puser = P4%D)3D01R"user4na"e"SL
Pctype = P4%D)3D01R"cardtype"SL
Pcno = P4%D)3D01R"cardno"SL
Pue"ail = P4%D)3D01R"user4e"ail"SL
Pupass = P4%D)3D01R"cp$d"SL
Puadd = P4%D)3D01R"user4add"SL
Putype = "user"L
PsFl ="C#0D%1 C#1/
users(u4na"eGu4cardtypeGu4cardnoGu4e"ailGu4passGu4addrGu4type)
W!63D0('Puser'G'Pctype 'G'Pcno'G'Pue"ail'G'Pupass'G'Puadd
'G'Putype')"L
PFuery = "ysFl4Fuery(PsFlG Pdb*onn)L
if(PsFl)T
header("6ocation<reg.php?action=success")L
UelseT
header("6ocation<reg.php?action=failed")L
U
?>
Profile.php
<?php
/B set the cache li"iter to 'private' B/
if(&(isset(P40D00C/#R"login"S)) NN (P40D00C/#R"login"S &=
"success"))T
?>
<script type="tet/Oavascript">$indo$.location = "../inde.php"</script>
<?php
U
include ("../include/config.php")L
Pid=P4%D)3D01R'uid'SL
34 | P a g e
?>
<div class="$ell">
<for" class="for"-hori-ontal" id="registerJere" "ethod='post'
action='process.php'>
<fieldset>
<legend>7y .rofile</legend>
<?php
PsFl = "0D6D*1 B (%/7 users 2JD%D u4id='Pid'"L
PFuery = "ysFl4Fuery(PsFlG Pdb*onn)L

$hile(Pro$ = "ysFl4fetch4array(PFuery))T
?>
<div class="control-group">
<label class="control-label" for="input=8">#a"e</label>
<div class="controls">
<input na"e="user4na"e" type="tet" disabled="disabled"
class="input-large" id="user4na"e" value="<?php echo Pro$R'u4na"e'SL ?>"
>

</div>
</div>
<div class="control-group">
<label class="control-label" for="input=8">0elect your CH</label>
<div class="controls">
<select na"e="cardtype" id="card" >
<option value="">*ard 1ype</option>
<option value="Hriving
6icence">Hriving 6icence</option>
<option value=".an *ard">.an *ard</option>
<option value="Woters CH">Woters CH</option>
<option value="%ation *ard">%ation *ard</option>



</select>

</div>

</div>
<div class="control-group">
<label class="control-label" for="input=8">*ard #o.</label>
<div class="controls">
<input na"e="cardno" type="tet" class="input-large"
id="cardno" value="<?php echo Pro$R'u4cardno'SL ?>">

</div>
</div>
<div class="control-group">
<label class="control-label" for="input=8">D"ail</label>
<div class="controls">
<input na"e="user4e"ail" type="tet" class="input-large"
id="user4e"ail" value="<?php echo Pro$R'u4e"ail'SL ?>"
readonly="readonly">

</div>
</div>
<div class="control-group">
<label class="control-label" for="user4add">!ddress</label>
35 | P a g e
<div class="controls">
<tetarea na"e="user4add" class="input-large" id="user4add" ><?
php echo Pro$R'u4addr'SL ?></tetarea>

</div>
</div>
<?php U ?>
<div class="control-group">
<label class="control-label" for="input=8"></label>
<div class="controls">
<button type="sub"it" id="sub"it" class="btn btn-success"
>3pdate .rofile</button>
<button class="btn btn-pri"ary" type="reset">%eset</button>
</div>

</div>



</fieldset>
</for">
</div>
reg.php
<?php include('header.php')?>
<body>
<div class="navbar navbar-static-top">
<div class="navbar-inner ">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-
collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="inde.php">!legato</a>
<div class="nav-collapse collapse" id=""ain-"enu">
<ul class="nav pull-right" id=""ain-"enu-right">
<li><a href="reg.php"><strong>#e$ %egistration&
</strong></a></li>
<li><a href="'">(!)</a></li>
<li><a href="'">*ontact us</a></li>
</ul>

</div>

</div>
</div>
</div>
<div class="container $ell" id="$rap">
<div class="ro$">


<div class="spanM offset8">
<?php
if(isset(P4QD1R"action"S) >> (P4QD1R"action"S == "success"))
T ?>
36 | P a g e
<div class="alert alert-success">
2ell done& ?ou successfully %egistered. .lease login Jere
</div> <?php
U else
T
?> <?php
U
?>

<for" class="for"-hori-ontal" id="registerJere" "ethod='post'
action='process.php'>
<fieldset>
<legend>#e$ 3ser %egistration</legend>
<div class="control-group">
<label class="control-label" for="input=8">#a"e</label>
<div class="controls">
<input type="tet" class="input-large" id="user4na"e"
na"e="user4na"e">

</div>
</div>
<div class="control-group">
<label class="control-label" for="input=8">0elect your CH</label>
<div class="controls">
<select na"e="cardtype" id="card" >
<option value="">*ard 1ype</option>
<option value="Hriving
6icence">Hriving 6icence</option>
<option value=".an *ard">.an *ard</option>
<option value="Woters CH">Woters CH</option>
<option value="%ation *ard">%ation *ard</option>



</select>

</div>

</div>
<div class="control-group">
<label class="control-label" for="input=8">*ard #o.</label>
<div class="controls">
<input type="tet" class="input-large" id="cardno"
na"e="cardno">

</div>
</div>
<div class="control-group">
<label class="control-label" for="input=8">D"ail</label>
<div class="controls">
<input type="tet" class="input-large" id="user4e"ail"
na"e="user4e"ail">

</div>
</div>

<div class="control-group">
<label class="control-label" for="input=8">.ass$ord</label>
<div class="controls">
37 | P a g e
<input type="pass$ord" class="input-large" id="p$d"
na"e="p$d" >

</div>
</div>
<div class="control-group">
<label class="control-label" for="input=8">*onfir"
.ass$ord</label>
<div class="controls">
<input type="pass$ord" class="input-large" id="cp$d"
na"e="cp$d" rel="popover" >

</div>
</div>
<div class="control-group">
<label class="control-label" for="user4add">!ddress</label>
<div class="controls">
<tetarea na"e="user4add" class="input-large" id="user4add"
></tetarea>

</div>
</div>
<div class="control-group">
<label class="control-label" for="input=8"></label>
<div class="controls">
<button type="sub"it" id="sub"it" class="btn btn-success"
>*reate 7y !ccount</button>
<button class="btn btn-pri"ary" type="reset">%eset</button>
</div>

</div>



</fieldset>
</for">
</div>

</div>


</div><&--/ro$-->

<?php include('footer.php')?>
</body>
</ht"l>
reg_comp.php
<?php
session4start()L
/B set the cache li"iter to 'private' B/
session4cache4li"iter('private')L
/B set the cache epire to ,= "inutes B/
session4cache4epire(,=)L
session4start()L
38 | P a g e
if(&(isset(P40D00C/#R"login"S)) NN (P40D00C/#R"login"S &=
"success"))T
?><script type="tet/Oavascript">$indo$.location =
"inde.php"</script><?php
U
include('include/config.php')L
Pt4dep= P4%D)3D01R"dep4na"e"SL
Pt4title = P4%D)3D01R"t4title"SL
Pt4detials= P4%D)3D01R"t4detials"SL
Pt4priority= P4%D)3D01R"t4p"SL
Pt4user = P40D00C/#R"u4id"SL
Pt4status = "open"L
Pti"e-one = ne$ Hate1i"eZone("!sia/[olAata" )L
Pdate = ne$ Hate1i"e()L
Pdate->set1i"e-one(Pti"e-one )L
Pti"e = Pdate->for"at( 'J<i<s ! / HG 7 O0G ?' )L
PsFl ="C#0D%1 C#1/ ticAets
(t4titleGt4detailsGt4depGt4userGt4priorityGt4statusGt4ti"e)
W!63D0('Pt4title'G'Pt4detials'G'Pt4dep'G'Pt4user'G'Pt4priority'G'Pt4status
'G'Pti"e')"L
PFuery = "ysFl4Fuery(PsFlG Pdb*onn)L
if(PsFl)T
header("6ocation<user.php?page=ne$'success")L
UelseT
header("6ocation<user.php?page=ne$'failed")L
U
?>
Registration.php
<&H/*1?.D ht"l .356C* "-//2,*//H1H IJ176 8.= 1ransitional//D#"
"http<//$$$.$,.org/1%/ht"l8/H1H/ht"l8-transitional.dtd">
<ht"l "lns="http<//$$$.$,.org/8KKK/ht"l">
<head>
<"eta http-eFuiv="*ontent-1ype" content="tet/ht"lL charset=utf-M" />
<title>alegato N *o"plete *o"plaint %egister > !ppraisal 7anage"ent
0yste"</title>
<linA href="css/bootstrap.css" rel="stylesheet" type="tet/css" />
<linA href="css/style.css" rel="stylesheet" type="tet/css" />
<script type="tet/Oavascript" src="Os/bootstrap.Os"></script>
</head>
<body>
<div class="navbar navbar-static-top">
<div class="navbar-inner ">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-
collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
39 | P a g e
</a>
<a class="brand" href="'">!legato</a>
<div class="nav-collapse collapse" id=""ain-"enu">
<ul class="nav pull-right" id=""ain-"enu-right">
<li><a href="'"y7odal" data-toggle=""odal"><strong>#e$
%egistration&</strong></a></li>
<li><a href="'">(!)</a></li>
<li><a href="'">*ontact us</a></li>
</ul>

</div>

</div>
</div>

</div>
<div class="container">
<div class="ro$">
<for" class="for"-hori-ontal" action='' "ethod="./01">
<fieldset>
<div id="legend">
<legend class="">%egister</legend>
</div>
<div class="control-group">
<&-- 3serna"e -->
<label class="control-label" for="userna"e">3serna"e</label>
<div class="controls">
<input type="tet" id="userna"e" na"e="userna"e" placeholder=""
class="input-large">
<p class="help-blocA">3serna"e can contain any letters or nu"bersG
$ithout spaces</p>
</div>
</div>

<div class="control-group">
<&-- D-"ail -->
<label class="control-label" for="e"ail">D-"ail</label>
<div class="controls">
<input type="tet" id="e"ail" na"e="e"ail" placeholder=""
class="input-large">
<p class="help-blocA">.lease provide your D-"ail</p>
</div>
</div>

<div class="control-group">
<&-- .ass$ord-->
<label class="control-label" for="pass$ord">.ass$ord</label>
<div class="controls">
<input type="pass$ord" id="pass$ord" na"e="pass$ord"
placeholder="" class="input-large">
<p class="help-blocA">.ass$ord should be at least \ characters</p>
</div>
</div>

<div class="control-group">
<&-- .ass$ord -->
<label class="control-label" for="pass$ord4confir"">.ass$ord
(*onfir")</label>
<div class="controls">
<input type="pass$ord" id="pass$ord4confir""
na"e="pass$ord4confir"" placeholder="" class="input-large">
40 | P a g e
<p class="help-blocA">.lease confir" pass$ord</p>
</div>
</div>

<div class="control-group">
<&-- 5utton -->
<div class="controls">
<button class="btn btn-success">%egister</button>
</div>
</div>
</fieldset>
</for">
</div>
<div id=""essage">
<div class="alert alert-success">
</div>
</div>
</div>
<div id=""y7odal" class=""odal hide fade" tabinde="-8" role="dialog"
aria-labelledby=""y7odal6abel" aria-hidden="true">
<div class=""odal-header">
<button type="button" class="close" data-dis"iss=""odal" aria-
hidden="true">9</button>
</div>
<div class=""odal-body">
<for" class="for"-hori-ontal" id="loginbo" action='process.php'
"ethod="./01">
<fieldset>
<div id="legend">
<legend class="">6ogin</legend>
</div>
<div class="control-group">
<&-- 3serna"e -->
<label class="control-label" for="userna"e">3serna"e</label>
<div class="controls">
<input type="tet" id="userna"e" na"e="userna"e"
placeholder="userna"e" class="input-large">
</div>
</div>

<div class="control-group">
<&-- .ass$ord-->
<label class="control-label" for="pass$ord">.ass$ord</label>
<div class="controls">
<input type="pass$ord" id="pass$ord" na"e="pass$ord"
placeholder="userna"e" class="input-large">
</div>
</div>


<div class="control-group">
<&-- 5utton -->
<div class="controls">
<button class="btn btn-success" id="sub" input type="sub"it"
>6ogin</button>
<button class="btn" data-dis"iss=""odal" aria-
hidden="true">*ancel</button>
</div>
</div>
</fieldset>
41 | P a g e
</for">
</div>
<div id=""essage">
<div class="alert alert-success">
</div>
</div>
</div>
<div id=""y7odal" class=""odal hide fade" tabinde="-8" role="dialog"
aria-labelledby=""y7odal6abel" aria-hidden="true">
<div class=""odal-header">
<button type="button" class="close" data-dis"iss=""odal" aria-
hidden="true">9</button>
</div>
<div class=""odal-body">
<for" class="for"-hori-ontal" id="loginbo" action='process.php'
"ethod="./01">
<fieldset>
<div id="legend">
<legend class="">6ogin</legend>
</div>
<div class="control-group">
<&-- 3serna"e -->
<label class="control-label" for="userna"e">3serna"e</label>
<div class="controls">
<input type="tet" id="userna"e" na"e="userna"e"
placeholder="userna"e" class="input-large">
</div>
</div>

<div class="control-group">
<&-- .ass$ord-->
<label class="control-label" for="pass$ord">.ass$ord</label>
<div class="controls">
<input type="pass$ord" id="pass$ord" na"e="pass$ord"
placeholder="userna"e" class="input-large">
</div>
</div>


<div class="control-group">
<&-- 5utton -->
<div class="controls">
<button class="btn btn-success" id="sub" input type="sub"it"
>6ogin</button>
<button class="btn" data-dis"iss=""odal" aria-
hidden="true">*ancel</button>
</div>
</div>
</fieldset>
</for">
</div>
<div id=""essage">
<div class="alert alert-success">
</div>
</div>
</div>
<div id=""y7odal" class=""odal hide fade" tabinde="-8" role="dialog"
aria-labelledby=""y7odal6abel" aria-hidden="true">
<div class=""odal-header">
42 | P a g e
<button type="button" class="close" data-dis"iss=""odal" aria-
hidden="true">9</button>
</div>
<div class=""odal-body">
<for" class="for"-hori-ontal" id="loginbo" action='process.php'
"ethod="./01">
<fieldset>
<div id="legend">
<legend class="">6ogin</legend>
</div>
<div class="control-group">
<&-- 3serna"e -->
<label class="control-label" for="userna"e">3serna"e</label>
<div class="controls">
<input type="tet" id="userna"e" na"e="userna"e"
placeholder="userna"e" class="input-large">
</div>
</div>

<div class="control-group">
<&-- .ass$ord-->
<label class="control-label" for="pass$ord">.ass$ord</label>
<div class="controls">
<input type="pass$ord" id="pass$ord" na"e="pass$ord"
placeholder="userna"e" class="input-large">
</div>
</div>


<div class="control-group">
<&-- 5utton -->
<div class="controls">
<button class="btn btn-success" id="sub" input type="sub"it"
>6ogin</button>
<button class="btn" data-dis"iss=""odal" aria-
hidden="true">*ancel</button>
</div>
</div>
</fieldset>
</for">
</div>
<div id=""essage">
<div class="alert alert-success">
</div>
</div>
</div>
<div id=""y7odal" class=""odal hide fade" tabinde="-8" role="dialog"
aria-labelledby=""y7odal6abel" aria-hidden="true">
<div class=""odal-header">
<button type="button" class="close" data-dis"iss=""odal" aria-
hidden="true">9</button>
</div>
<div class=""odal-body">
<for" class="for"-hori-ontal" id="loginbo" action='process.php'
"ethod="./01">
<fieldset>
<div id="legend">
<legend class="">6ogin</legend>
</div>
<div class="control-group">
43 | P a g e
<&-- 3serna"e -->
<label class="control-label" for="userna"e">3serna"e</label>
<div class="controls">
<input type="tet" id="userna"e" na"e="userna"e"
placeholder="userna"e" class="input-large">
</div>
</div>

<div class="control-group">
<&-- .ass$ord-->
<label class="control-label" for="pass$ord">.ass$ord</label>
<div class="controls">
<input type="pass$ord" id="pass$ord" na"e="pass$ord"
placeholder="userna"e" class="input-large">
</div>
</div>


<div class="control-group">
<&-- 5utton -->
<div class="controls">
<button class="btn btn-success" id="sub" input type="sub"it"
>6ogin</button>
<button class="btn" data-dis"iss=""odal" aria-
hidden="true">*ancel</button>
</div>
</div>
</fieldset>
</for">
</div>
<div id=""essage">
<div class="alert alert-success">
</div>
</div>
</div>
<div id=""y7odal" class=""odal hide fade" tabinde="-8" role="dialog"
aria-labelledby=""y7odal6abel" aria-hidden="true">
<div class=""odal-header">
<button type="button" class="close" data-dis"iss=""odal" aria-
hidden="true">9</button>
</div>
<div class=""odal-body">
<for" class="for"-hori-ontal" id="loginbo" action='process.php'
"ethod="./01">
<fieldset>
<div id="legend">
<legend class="">6ogin</legend>
</div>
<div class="control-group">
<&-- 3serna"e -->
<label class="control-label" for="userna"e">3serna"e</label>
<div class="controls">
<input type="tet" id="userna"e" na"e="userna"e"
placeholder="userna"e" class="input-large">
</div>
</div>

<div class="control-group">
<&-- .ass$ord-->
<label class="control-label" for="pass$ord">.ass$ord</label>
44 | P a g e
<div class="controls">
<input type="pass$ord" id="pass$ord" na"e="pass$ord"
placeholder="userna"e" class="input-large">
</div>
</div>


<div class="control-group">
<&-- 5utton -->
<div class="controls">
<button class="btn btn-success" id="sub" input type="sub"it"
>6ogin</button>
<button class="btn" data-dis"iss=""odal" aria-
hidden="true">*ancel</button>
</div>
</div>
</fieldset>
</for">
</div>
<div id=""essage">
<div class="alert alert-success">
</div>
</div>
<div id=""y7odal" class=""odal hide fade" tabinde="-8" role="dialog"
aria-labelledby=""y7odal6abel" aria-hidden="true">
<div class=""odal-header">
<button type="button" class="close" data-dis"iss=""odal" aria-
hidden="true">9</button>
</div>
<div class=""odal-body">
<for" class="for"-hori-ontal" id="loginbo" action='process.php'
"ethod="./01">
<fieldset>
<div id="legend">
<legend class="">6ogin</legend>
</div>
<div class="control-group">
<&-- 3serna"e -->
<label class="control-label" for="userna"e">3serna"e</label>
<div class="controls">
<input type="tet" id="userna"e" na"e="userna"e"
placeholder="userna"e" class="input-large">
</div>
</div>

<div class="control-group">
<&-- .ass$ord-->
<label class="control-label" for="pass$ord">.ass$ord</label>
<div class="controls">
<input type="pass$ord" id="pass$ord" na"e="pass$ord"
placeholder="userna"e" class="input-large">
</div>
</div>


<div class="control-group">
<&-- 5utton -->
<div class="controls">
<button class="btn btn-success" id="sub" input type="sub"it"
>6ogin</button>
45 | P a g e
<button class="btn" data-dis"iss=""odal" aria-
hidden="true">*ancel</button>
</div>
</div>
</fieldset>
</for">
</div>
<div id=""essage">
<div class="alert alert-success">
</div>
</div>
</div>
</div>
</body>
$%ht!&
replay.php
<?php
session4start()L
include('include/config.php')L
date4default4ti"e-one4set('!sia/[olAata')L
Pt4ti"e = date("?-"-d J<i<s")L
Pid = P4%D)3D01R'id'SL
Puid= P40D00C/#R"u4id"SL
Pt4rply = P4%D)3D01R"t4replay"SL
PsFl ="C#0D%1 C#1/ conv(t4idGt4ansGu4idGt4ti"e)
W!63D0('Pid'G'Pt4rply'G'Puid'G'Pt4ti"e')"L
PFuery = "ysFl4Fuery(PsFlG Pdb*onn)L
if(PsFl)T
header("6ocation<ticAet.php?id=Pid>>action=success")L
UelseT
header("6ocation<ticAet.php?id=PidL>>action=failed")L
U
?>
settings.php
<div class="$ell">
<for" class="for"-hori-ontal" id="registerJere" "ethod='post'
action='process.php'>
<fieldset>
<legend>*hange 0ettings
</legend><div class="control-group">
<label class="control-label" for="input=8">*urrent
.ass$ord</label>
<div class="controls">
<input type="pass$ord" class="input-large" id="p$d"
na"e="p$d" >

46 | P a g e
</div>
</div>
<div class="control-group">
<label class="control-label" for="input=8">.ass$ord</label>
<div class="controls">
<input type="pass$ord" class="input-large" id="p$d"
na"e="p$d" >

</div>
</div>
<div class="control-group">
<label class="control-label" for="input=8">*onfir"
.ass$ord</label>
<div class="controls">
<input type="pass$ord" class="input-large" id="cp$d"
na"e="cp$d" rel="popover" >

</div>
</div>
<div class="control-group">
<label class="control-label" for="input=8"></label>
<div class="controls">
<button type="sub"it" id="sub"it" class="btn btn-success"
>3pdate .ass$ord</button>
<button class="btn btn-pri"ary" type="reset">%eset</button>
</div>

</div>



</fieldset>
</for">
</div>
status.php
<div class="$ell">
<select class="pull-right" na"e="sort">
<option>0ort by</option>
<option>;</option>
<option>,</option>
<option>\</option>
<option>V</option>
</select>
<table class="table">
<thead>
<tr>
<th>'</th>
<th >1icAet 1itle</th>
<th>1icAet 0tatus</th>
<th>Hepart"ent</th>
<th >%egistered Hate</th>
</tr>
</thead>
<tbody>
<?php
Pid= P40D00C/#R"u4id"SL
PsFl = "0D6D*1 B (%/7 ticAets 2JD%D t4user= 'Pid'"L
PFuery = "ysFl4Fuery(PsFlG Pdb*onn)L

47 | P a g e
$hile(Pro$ = "ysFl4fetch4array(PFuery))T
?>
<tr>
<td><a href="u4ticAet.php?id=<?php echo Pro$R't4id'SL ?
>>>user=<?php echo P40D00C/#R"u4id"SL ?>" class="label label-info">Wie$
1icAet</a></td>

<td><?php echo Pro$R't4title'SL ?></td>
<td><span class="label label-i"portant"><?php echo
Pro$R't4status'SL ?></span></td>
<td><?php echo Pro$R't4dep'SL ?></td>
<td>
<span class="label label-i"portant"><?php echo
Pro$R't4status'SL ?></span>
</td>
<?php U ?>
</tr>

</tbody>
</table>
</div>
ticAet.php
<?php
/B set the cache li"iter to 'private' B/
session4cache4li"iter('private')L
/B set the cache epire to ,= "inutes B/
session4cache4epire(,=)L
session4start()L
if(&(isset(P40D00C/#R"login"S)) NN (P40D00C/#R"login"S &=
"success"))T
?><script type="tet/Oavascript">$indo$.location =
"inde.php"</script><?php
U
include ("include/config.php")L
Pid = P4%D)3D01R'id'SL
if ( isset(P4%D)3D01R'user'S ) >> &e"pty( P4%D)3D01R'user'S ) )L
?>
<&H/*1?.D ht"l .356C* "-//2,*//H1H IJ176 8.= 1ransitional//D#"
"http<//$$$.$,.org/1%/ht"l8/H1H/ht"l8-transitional.dtd">
<ht"l "lns="http<//$$$.$,.org/8KKK/ht"l">
<head>
<"eta http-eFuiv="*ontent-1ype" content="tet/ht"lL charset=utf-M" />
<title>alegato N *o"plete *o"plaint %egister > !ppraisal 7anage"ent
0yste"</title>
<linA href="css/bootstrap.css" rel="stylesheet" type="tet/css" />
<linA href="css/style.css" rel="stylesheet" type="tet/css" />
<script type="tet/Oavascript" src="Os/bootstrap.Os"></script>
<script type="tet/Oavascript" src="Os/OFuery."in.Os"></script>
<script type="tet/Oavascript" src="Os/functions.Os"></script>
<script type="tet/Oavascript" src="Os/OFuery.validate.Os"></script>
</head>
<body>
<div class="navbar navbar-static-top">
48 | P a g e
<div class="navbar-inner ">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-
collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="'">!legato</a>
<div class="nav-collapse collapse" id=""ain-"enu">
<ul class="nav pull-right" id=""ain-"enu-right">
<li><a href="'beta7odal" data-toggle=""odal"><strong>#e$
%egistration&</strong></a></li>
<li><a href="'">(!)</a></li>
<li><a href="'">*ontact us</a></li>
</ul>

</div>

</div>
</div>

</div>
<div class="container $ell" id="$rap">
<div class="ro$-fluid">
<div class="span8;">
<div class="span8;">

<?php
include ("include/config.php")L
PsFl = "0D6D*1 B (%/7 ticAets 2JD%D t4id='Pid'"L
PFuery = "ysFl4Fuery(PsFlG Pdb*onn)L

$hile(Pro$ = "ysFl4fetch4array(PFuery))T
?>

<div class="$ell">
<div>

<div class="pull-right"><span class="label label-success"><?php
echo Pro$R't4status'SL ?></span> <span class="label label-inverse"><?php
echo Pro$R't4user'SL ?></span> <span class="label label-inverse"><?php
echo Pro$R't4dep'SL ?></span> <span class="label label-inverse"><?php echo
Pro$R't4priority'SL ?></span> <span class="label"><?php echo
Pro$R't4ti"e'SL ?></span></div>
</div>
<h;><?php echo Pro$R't4title'SL ?> </h;>
<p><?php echo Pro$R't4details'SL ?></p>
<div class="span88"> <?php include('reply4data.php')L ?></div>

<for" class="for"-hori-ontal" action="reply.php?id=<?php echo PidL?>"
"ethod='post' id="replaybo" >

<div class="control-group">
<label class="control-label" for="user4add">%eplay 1icAet</label>
<div class="controls">
<tetarea na"e="t4replay" class="input-large" id="rply"
></tetarea>


49 | P a g e
</div>
</div>
<div class="control-group">
<label class="control-label" for="input=8"></label>
<div class="controls">
<button type="sub"it" id="sub"it" class="btn btn-success"
>%eplay</button>
<button class="btn btn-pri"ary" type="reset">%eset</button>
</div>

</div>


</for">

</div>
<?php U ?>

</div>


</div>
</div>
</div>
</body>
</ht"l>
u_replay.php
<?php
session4start()L
include('include/config.php')L
date4default4ti"e-one4set('!sia/[olAata')L
Pt4ti"e = date("?-"-d J<i<s")L
Pid = P4%D)3D01R'id'SL
Pid = P4%D)3D01R'id'SL
Pt4rply = P4%D)3D01R"t4replay"SL
PsFl ="C#0D%1 C#1/ conv(t4idGt4ansGt4ti"e)
W!63D0('Pid 'G'Pt4rply 'G'Pt4ti"e ')"L
PFuery = "ysFl4Fuery(PsFlG Pdb*onn)L
if(PsFl)T
header("6ocation<ticAet.php?id=Pid>>action=success")L
UelseT
header("6ocation<ticAet.php?id=PidL>>action=failed")L
U
?>
user.php
50 | P a g e
<?php
/B set the cache li"iter to 'private' B/
session4cache4li"iter('private')L
/B set the cache epire to ,= "inutes B/
session4cache4epire(,=)L
session4start()L
if(&(isset(P40D00C/#R"login"S)) NN (P40D00C/#R"login"S &=
"success"))T
?><script type="tet/Oavascript">$indo$.location =
"inde.php"</script><?php
U
include ("include/config.php")L
?>
<&H/*1?.D ht"l .356C* "-//2,*//H1H IJ176 8.= 1ransitional//D#"
"http<//$$$.$,.org/1%/ht"l8/H1H/ht"l8-transitional.dtd">
<ht"l "lns="http<//$$$.$,.org/8KKK/ht"l">
<head>
<"eta http-eFuiv="*ontent-1ype" content="tet/ht"lL charset=utf-M" />
<title>alegato N *o"plete *o"plaint %egister > !ppraisal 7anage"ent
0yste"</title>
<linA href="css/bootstrap.css" rel="stylesheet" type="tet/css" />
<linA href="css/style.css" rel="stylesheet" type="tet/css" />
<script type="tet/Oavascript" src="Os/bootstrap.Os"></script>
<script type="tet/Oavascript" src="Os/OFuery."in.Os"></script>
<script type="tet/Oavascript" src="Os/functions.Os"></script>
<script type="tet/Oavascript" src="Os/OFuery.validate.Os"></script>
</head>
<body>
<div class="navbar navbar-static-top">
<div class="navbar-inner ">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-
collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="'">!legato</a>
<div class="nav-collapse collapse" id=""ain-"enu">
<ul class="nav pull-right" id=""ain-"enu-right">
<li><a href="'beta7odal" data-toggle=""odal"><strong>#e$
%egistration&</strong></a></li>
<li><a href="'">(!)</a></li>
<li><a href="'">*ontact us</a></li>
</ul>

</div>

</div>
</div>

</div>
<div class="container $ell" id="$rap">
<div class="ro$-fluid">
<div class="span8;">
<div class="span,"><div class="sidebar-nav">
<div class="$ell" padding< Mp =L">
<ul class="nav nav-list">
51 | P a g e
<li class="nav-header">3ser 7enu</li>
<li class="active"><a href="user.php"><i class="icon-
ho"e"></i> Hashboard</a></li>
<li><a href="user.php?page=ne$"><i class="icon-envelope"></i>#e$
*o"plaint </a></li>
<li><a href="user.php?page=status"><i class="icon-
envelope"></i>Wie$ 0tatus </a></li>
<li ></li>
<li class="divider"></li>
<li><a href="'"><i class="icon-co""ent"></i>
0ettings</a></li>
<li><a href="'"><i class="icon-co""ent"></i> .rofile</a></li>
<li><a href="login-process.php?logout=true"><i class="icon-
share"></i> 6ogout</a></li>
</ul>
</div>
</div></div>
<div class="spanM"><?php
if (& isset(P4QD1R'page'S))
T
echo "2elco"e to 3ser"L
U else T
Ppage = P4QD1R'page'SL

s$itch (P4QD1R'page'S)
T
case "ne$"<
include('ne$4co"p.php')L
breaAL
case "status"<
include('status.php')L
breaAL
case "ticAets"<
echo "value of Pc = ; <br>"L
breaAL
default<
echo "value of "L
breaAL
U
U
?></div>


</div>
</div>
</div>
</body>
</ht"l>
Dash Board
index.php
<?php
/B set the cache li"iter to 'private' B/
session4cache4li"iter('private')L
/B set the cache epire to ,= "inutes B/
52 | P a g e
session4cache4epire(,=)L
session4start()L
if(&(isset(P40D00C/#R"login"S)) NN (P40D00C/#R"login"S &=
"success"))T
?>
<script type="tet/Oavascript">$indo$.location = "../inde.php"</script>
<?php
U
include ("../include/config.php")L
?>
<&H/*1?.D ht"l .356C* "-//2,*//H1H IJ176 8.= 1ransitional//D#"
"http<//$$$.$,.org/1%/ht"l8/H1H/ht"l8-transitional.dtd">
<ht"l "lns="http<//$$$.$,.org/8KKK/ht"l">
<head>
<"eta http-eFuiv="*ontent-1ype" content="tet/ht"lL charset=utf-M" />
<title>alegato N *o"plete *o"plaint %egister > !ppraisal 7anage"ent
0yste"</title>
<linA href="../css/bootstrap.css" rel="stylesheet" type="tet/css" />
<linA href="../css/style.css" rel="stylesheet" type="tet/css" />
<script type="tet/Oavascript" src="../Os/bootstrap.Os"></script>
<script type="tet/Oavascript" src="../Os/OFuery."in.Os"></script>
<script type="tet/Oavascript" src="../Os/functions.Os"></script>
<script type="tet/Oavascript" src="../Os/OFuery.validate.Os"></script>
</head>
<body>
<div class="navbar navbar-static-top">
<div class="navbar-inner ">
<div class="container"> <a class="btn btn-navbar" data-
toggle="collapse" data-target=".nav-collapse"> <span class="icon-
bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span>
</a> <a class="brand" href="'">!legato</a>
<div class="nav-collapse collapse" id=""ain-"enu">
<ul class="nav pull-right" id=""ain-"enu-right">
<li class="dropdo$n"><a href="'" class="dropdo$n-toggle" data-
toggle="dropdo$n">2elco"eG <?php echo P40D00C/#R"u4e"ail"SL ?></strong> <b
class="caret"></b></a>
<ul class="dropdo$n-"enu">
<li><a href="/user/preferences"><i
class="icon-cog"></i> .references</a></li>
<li><a href="/help/support"><i class="icon-
envelope"></i> *ontact 0upport</a></li>
<li class="divider"></li>
<li><a href="/auth/logout"><i class="icon-
off"></i> 6ogout</a></li>
</ul>

</li>
<li><a href="'">(!)</a></li>
<li><a href="'">*ontact us</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container $ell" id="$rap">
<div class="ro$-fluid">
53 | P a g e
<div class="span8;">
<div class="span\">
<div class="sidebar-nav">
<div class="$ell" padding< Mp =L">
<ul class="nav nav-list">
<li class="nav-header">!d"in 7enu</li>
<li class="active"><a href="inde.php"><i class="icon-
ho"e"></i> Hashboard</a></li>
<li><a href="inde.php?page=users"><i class="icon-
envelope"></i> 7anage 3sers</a></li>
<li><a href="inde.php?page=depart"ent"><i class="icon-
co""ent"></i> 7anage Hepart"ents </a></li>
<li ><a href="'"><i class="icon-user"></i> 7anage
.olls</a></li>
<li ><a href="'"><i class="icon-user"></i> %eports</a></li>
<li class="divider"></li>
<li><a href="inde.php?page=settings>>uid=<?php echo
P40D00C/#R"u4id"SL ?>"><i class="icon-co""ent"></i> 0ettings</a></li>
<li><a href="inde.php?page=profile>>uid=<?php echo
P40D00C/#R"u4id"SL ?>"><i class="icon-co""ent"></i> .rofile</a></li>
<li><a href="../login-process.php?logout=true"><i
class="icon-share"></i> 6ogout</a></li>
</ul>
</div>
</div>
</div>
<div class="spanM" id=refresh>
<?php
if (& isset(P4QD1R'page'S))
T
echo "$elco"e to ad"in panel"L
U else T
Ppage = P4QD1R'page'SL

s$itch (P4QD1R'page'S)
T
case "users"<
include('users.php')L
breaAL
case "depart"ent"<
include('depart.php')L
breaAL
case "ticAets"<
echo "value of Pc = ; <br>"L
breaAL
case "profile"<
include('../profile.php')L
breaAL
case "settings"<
include('../settings.php')L
breaAL
default<
echo "value of "L
breaAL
U
U
?>
54 | P a g e






</div>
</div>
</div>
</div>
</body>
</ht"l>
users.php
<?php
include ("../include/config.php")L
?>
<div class="$ell">
<select class="pull-right" na"e="sort">
<option>0ort by</option>
<option>;</option>
<option>,</option>
<option>\</option>
<option>V</option>
</select>
<table class="table">
<thead>
<tr>
<th $idth="M">'</th>
<th $idth="]V">3ser #a"e</th>
<th $idth="]\">3ser D"ail</th>
<th $idth="K]">3ser 1ype</th>
<th $idth=";;" style="$idth< ,+pL"></th>
</tr>
</thead>
<tbody>
<?php
PsFl = "0D6D*1 B (%/7 users"L
PFuery = "ysFl4Fuery(PsFlG Pdb*onn)L

$hile(Pro$ = "ysFl4fetch4array(PFuery))T
?>
<tr>
<td><?php echo Pro$R'u4id'SL ?></td>
<td><?php echo Pro$R'u4na"e'SL ?></td>
<td><?php echo Pro$R'u4e"ail'SL ?></td>
<td><span class="label label-i"portant"><?php echo
Pro$R'u4type'SL ?></span></td>
<td>
<a href="edituser.php?id=<?php echo Pro$R'u4id'SL ?>"><i
class="icon-pencil"></i></a>

</td>
<?php U ?>
</tr>

</tbody>
</table>
55 | P a g e
</div>
adddepartemnts.php
<?php
session4start()L
include('../include/config.php')L
Pdna"e = P4%D)3D01R"dep4na"e"SL
Pddsc = P4%D)3D01R"dep4dsc"SL
Pdhead = P4%D)3D01R"dep4head"SL
PsFl ="C#0D%1 C#1/ depart"ents(d4na"eGd4detailsGd4operator)
W!63D0('Pdna"e'G'Pddsc 'G'Pdhead')"L
PFuery = "ysFl4Fuery(PsFlG Pdb*onn)L
if(PsFl)T
header("6ocation<inde.php?action=success")L
UelseT
header("location<inde.php?page=depart"ent>>action=failed")L
U
?>
edituser.php
<?php
/B set the cache li"iter to 'private' B/
session4cache4li"iter('private')L
/B set the cache epire to ,= "inutes B/
session4cache4epire(,=)L
session4start()L
if(&(isset(P40D00C/#R"login"S)) NN (P40D00C/#R"login"S &=
"success"))T
?>
<script type="tet/Oavascript">$indo$.location = "../inde.php"</script>
<?php
U
include ("../include/config.php")L
Pid=P4%D)3D01R'id'SL
?>
<&H/*1?.D ht"l .356C* "-//2,*//H1H IJ176 8.= 1ransitional//D#"
"http<//$$$.$,.org/1%/ht"l8/H1H/ht"l8-transitional.dtd">
<ht"l "lns="http<//$$$.$,.org/8KKK/ht"l">
<head>
<"eta http-eFuiv="*ontent-1ype" content="tet/ht"lL charset=utf-M" />
<title>alegato N *o"plete *o"plaint %egister > !ppraisal 7anage"ent
0yste"</title>
<linA href="../css/bootstrap.css" rel="stylesheet" type="tet/css" />
<linA href="../css/style.css" rel="stylesheet" type="tet/css" />
<script type="tet/Oavascript" src="../Os/bootstrap.Os"></script>
<script type="tet/Oavascript" src="../Os/OFuery."in.Os"></script>
<script type="tet/Oavascript" src="../Os/functions.Os"></script>
<script type="tet/Oavascript" src="../Os/OFuery.validate.Os"></script>
56 | P a g e
</head>
<body>
<div class="navbar navbar-static-top">
<div class="navbar-inner ">
<div class="container"> <a class="btn btn-navbar" data-
toggle="collapse" data-target=".nav-collapse"> <span class="icon-
bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span>
</a> <a class="brand" href="'">!legato</a>
<div class="nav-collapse collapse" id=""ain-"enu">
<ul class="nav pull-right" id=""ain-"enu-right">
<li class="dropdo$n"><a href="'" class="dropdo$n-toggle" data-
toggle="dropdo$n">2elco"eG <?php echo P40D00C/#R"u4e"ail"SL ?></strong> <b
class="caret"></b></a>
<ul class="dropdo$n-"enu">
<li><a href="/user/preferences"><i
class="icon-cog"></i> .references</a></li>
<li><a href="/help/support"><i class="icon-
envelope"></i> *ontact 0upport</a></li>
<li class="divider"></li>
<li><a href="/auth/logout"><i class="icon-
off"></i> 6ogout</a></li>
</ul>

</li>
<li><a href="'">(!)</a></li>
<li><a href="'">*ontact us</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container $ell" id="$rap">
<div class="ro$-fluid">
<div class="span8;">
<div class="spanM offset;">
<for" class="for"-hori-ontal" id="registerJere"
"ethod='post' action='process.php'>
<button class="btn btn-pri"ary pull-right" type="reset">5acA
to 3ser .anel</button>
<fieldset>

<legend>Ddit 3ser Hetails</legend>

<?php
PsFl = "0D6D*1 B (%/7 users 2JD%D u4id='Pid'"L
PFuery = "ysFl4Fuery(PsFlG Pdb*onn)L

$hile(Pro$ = "ysFl4fetch4array(PFuery))T
?>
<div class="control-group">
<label class="control-label" for="input=8">#a"e</label>

<div class="controls">
<input na"e="user4na"e" type="tet" class="input-large"
id="user4na"e" value="<?php echo Pro$R'u4na"e'SL ?>" readonly >

</div>
57 | P a g e
</div>
<div class="control-group">
<label class="control-label" for="input=8">0elect your CH</label>
<div class="controls">
<select na"e="cardtype" id="card" disabled="disabled">
<option value=""><?php echo
Pro$R'u4cardtype'SL ?></option>
<option value="Hriving
6icence">Hriving 6icence</option>
<option value=".an *ard">.an *ard</option>
<option value="Woters CH">Woters CH</option>
<option value="%ation *ard">%ation *ard</option>



</select>

</div>

</div>
<div class="control-group">
<label class="control-label" for="input=8">*ard #o.</label>
<div class="controls">
<input type="tet" class="input-large" id="cardno"
na"e="cardno" value="<?php echo Pro$R'u4cardno'SL ?>" disabled="disabled">

</div>
</div>
<div class="control-group">
<label class="control-label" for="input=8">D"ail</label>
<div class="controls">
<input type="tet" class="input-large" id="user4e"ail"
na"e="user4e"ail" value="<?php echo Pro$R'u4e"ail'SL ?>"
disabled="disabled">

</div>
</div>
<div class="control-group">
<label class="control-label" for="input=8">*hange 3ser
1ype</label>
<div class="controls">
<select na"e="status" id="status" >
<option value=""><?php echo
Pro$R'u4type'SL ?></option>
<option
value=".an *ard" selected="selected">operator</option>
<option value="Woters CH">user</option>

</select>

</div>

</div>
<?php U ?>
<div class="control-group">
<label class="control-label" for="input=8"></label>
<div class="controls">
<button type="sub"it" id="sub"it" class="btn btn-success"
>3pdate 3ser</button>
<button type="sub"it" id="sub"it" class="btn btn-danger" >Helete
3ser</button>
58 | P a g e

</div>

</div>



</fieldset>
</for">
</div>
</div>
</div>
</div>
</body>
</ht"l>
Helete dep.php
<?php
include ("../include/config.php")L
Pid = P4%D)3D01R'id'SL
PsFl="HD6D1D (%/7 depart"ents 2JD%D d4id='Pid'"L
if (&"ysFl4Fuery(PsFlG Pdb*onn))
T
die('Drror< ' . "ysFl4error())L
U
header("6ocation<inde.php?page=depart"ent'deleted")L
?>
59 | P a g e
+C(EEN+HOT+
60 | P a g e
61 | P a g e
62 | P a g e
63 | P a g e
64 | P a g e
65 | P a g e
TE+T0NG
5nce code has /een generated: program testing /egins. The testing
process focuses on the logical internals of the soft4are: assuring that all
statement have /een tested: and on the functional e+ternals I i.e. conducting
tests to uncover errors and ensure that defined input 4ill produce actual
results that agree 4ith re3uired results.
/3n.tional Testing
=unctional testing refers to activities that verify a specific action or
function of the code. These are usually found in the code re3uirements
documentation: although some development methodologies 4or9 from use
cases or user stories. =unctional tests tend to ans4er the 3uestion of Zcan the
user do thisZ or Zdoes this particular feature 4or9Z.
1on"functional testing refers to aspects of the soft4are that may not /e
related to a specific function or user action: such as scala/ility or security.
1on"functional testing tends to ans4er such 3uestions as Zho4 many people
can log in at onceZ.
+tr3.t3ral Testing
0tructural testing compares test program /ehavior against the apparent
intention of the source code. This contrasts 4ith functional testing 6/lac9"/o+
testing8: 4hich compares test program /ehavior against a re3uirements
specification. 0tructural testing e+amines ho4 the program 4or9s: ta9ing into
account possi/le pitfalls in the structure and logic. =unctional testing
e+amines 4hat the program accomplishes: 4ithout regard to ho4 it 4or9s
internally.
0tructural testing is also called path testing since you choose test
cases that cause paths to /e ta9en through the structure of the program.
Level of Testing
66 | P a g e
Unit Testing5
Unit testing refers to tests that verify the functionality of a specific
section of code: usually at the function level.
*od3le Testing5
2ntegration testing 6$odule Testing8 is any type of soft4are testing that
see9s to verify the interfaces /et4een components against a soft4are design.
+34syste& Testing5
2n this many tested modules are com/ined into su/system 4hich are
then tested.
+yste& Testing5
0ystem testing tests a completely integrated system to verify that it
meets its re3uirements.
A..e'tan.e Testing5
Acceptance testing performed /y the customer: often in their la/
environment on their o4n hard4are: is 9no4n as user acceptance testing
6UAT8.
0&'le&entation
67 | P a g e
'nit
(e"ting
)odu!e
(e"ting
*u+"y"te
(e"ting
*y"te
(e"ting
,cceptance
(e"ting
The implementation phase of soft4are development is concerned 4ith
translating design specification into source code. The primary goal of soft4are
implementation is production of source code that is easy to read and
understand. 0ource code clarity is enhanced /y structured coding techni3ue:
/y good coding style: /y appropriate supporting documents /y good internal
commands: etc.
(rogram codes are 4ritten follo4ing the structured coding techni3ue:
4hich linearism the control flo4. 0o that the e+ecution se3uence follo4s the
se3uence of code: 4hich easy to understanding: de/ugging: testing:
documentation and modification of the programs.
The fre3uently used operation is 4ritten as function in the class
modules: 4hich hide the data structure /ehind the accessing functions.
Calling its name: 4henever they re3uire can use this function. This provides
data a/straction.
A great deal of attention has /een focused in order to produce the
straightfor4ard: elegant code. 2nternal commands are em/edded in the
program codes: 4hich facilitates of easy understanding and also helps in the
future enhancements of the soft4are products. 'ocumentation prologues are
provides for comple+ coding. Usage of parenthesis: /lan9 spaces: /lan9 lines
indentation and proper formats are follo4ed 4hich enhances the reada/ility.
C6ange Over5
Change over is a process /y 4hich are proposed system is put into
operation. There are different techni3ues /y 4hich the e+isting system 2
replaced 4ith the proposed system.
:ire.t C6ange Over5
2n this techni3ue: the e+isting system is replaced /y proposed system
directly after ensuring that the system o/jectives are met.
,arallel (3n5
&ere: the proposed system is put into operation in parallel 4ith the
e+isting system for a period of time to monitor the performance. The e+isting
system is non"operational 2f the proposed system produces the e+pected
results.
68 | P a g e
,ilot (3n5
2n pilot run: the system tested 4ith already availa/le result of the
e+isting system. The performance of the system is studied is studied and then
implemented.
+taged C6ange Over5
2n the techni3ue: the proposed system is implemented in several
stages. The e+isting system /ecomes non"operational if all the stages are
implemented successfully.
(arallel change over is adopted here as the proposed system is found
to /e operation on sensitive data and then online system. Because /usiness
are also runs in the parallel manner. 0o 4e cannot apply other change over
methods.
Ed3.ation and Training5
The purpose of training is to ensure that all the personnel 4ho are
associated 4ith the system should posses the necessary 9no4ledge and
s9ills. The end user must 9no4 in detail 4hat their rules 4ill /e ho4 they can
use the system and 4hat system 4ill or 4ill jot do.
Before the initiali;ation of training program materials are prepared. The
reference manuals are mainly /ased upon the system specification. Both the
system operations and the user need training.
Ed3.ation and Training of +yste& O'eration5
The training of system operation ensures that they are familiar 4ith the
operational re3uirements of the ne4 system that is they are a/le to handle all
possi/le operations: /oth routine and e+traordinary.
The operations are also instructed in 4hat common malfunctions may occur:
hoe to recogni;e them and steps ta9en 4hen they arise. .e gave them
trou/leshooting list that identifies the possi/le pro/lems and demands for
them.
69 | P a g e
/UTU(E ENHANCE*ENT
This system is very fle+i/le and changes can /e made 4ithout such
difficult. Adding more functions can ma9e the future further e+tension in the
system. This system is designed to fulfill the re3uirements of user in current
time /ut there are some chances in future that user re3uirement 4ill
increased. 0o in future system developer can ma9e enhancement in
computeri;ed system in future that are given /ello4.
0ystem 4ill /e improved in )U2 structure
0ystem 4ill 2mproves e+tra security facility
Aive Chat
CONCLU+0ON
70 | P a g e
Algeto is one of the /est solutions for automate these activities and
ena/le people to access the information.. 2t has a /eautiful and intuitive
interface /uilt 4ith the latest development tools to ma9e it as easy to use for
you. Oou Can %egister complaints and vie4 status from any 4here
*verything is customi;a/le. Oou can edit the design: create your o4n
template: edit the header and footer: add your o4n graphics: 4hatever you
need.
2mprovements in /ro4ser compati/ility 2*B
$ore 0ong =eatures
Ain9 4ith other departments F data/ases
The user interface is very simple and innovative to use so the system
can /e used 4ith less efforts.
B0BL0OG(A,H;
71 | P a g e
&ead =irst &T$A 4ith C00 F K&T$A
Authors- *lisa/eth =reeman: *ric =reeman
5riginal language- *nglish
&ead =irst (&( F $y0JA
Aynn Beighley 6Author8: $ichael $orrison 6Author8
5riginal language- *nglish
.e/sites
444.4#schools.com
444.stac9overflo4.com
444.tutorial;ine.com
444.codingtal9s.com
444.lynda.com
444.phpclasses.org
444.j3uery.com
72 | P a g e

You might also like