Raja Balwant Singh Polytechnic College: Web Development Using PHP IN
Raja Balwant Singh Polytechnic College: Web Development Using PHP IN
Raja Balwant Singh Polytechnic College: Web Development Using PHP IN
BICHPURI, AGRA
A
SUMMER TRAINING
REPORT ON
SUBMITTED BY
ARJUN (L.E.)
I
A
Training Report
On
CARRENTAL PORTAL
IN
SUBMITTED BY
ARJUN
II
I
STUDENT’SDECLARATION
I hereby declare that the work being presented in this report entitled“CAR
RENTAL PORTAL ” is an authentic record of my own
workcarriedoutunderthesupervisionofMr.“Pradeep Dwivedi”.Thematter
embodied in this report has not been submitted by me for theaward ofany
otherdegree.
Date: SignatureofStudent
Name:ARJUN
SignatureofHOD
Date :
I
V
ACKNOWLEDGEMENT
SignatureofStudent
V
TABLE OF CONTENT
1.Introduction……………………… 1-7
9. Implementation Methodology..................20-27
V
I
10. System Analysis.....................................28
18. Testing........................................................36-37
21.Conclusion.................................................42-43
22. Coding.......................................................44-85
V
II
LISTOFFIGURE
S.No. Figure PageNo.
Fig-1 RDBMSArchitecture 19
Fig-2 MVCDiagram 21
Fig-3 0levelDFD 23
Fig-4 1stlevelDFD 24
Fig-5 E-RDiagram 25
Fig-6 ClassDiagram 26
Fig-7 UseCaseDiagram 27
V
II
ABSTRACT
The Online car rental system is being developed for customers so thatthey can
book their vehicles from anywhere.This application can takeinformation from
the customers through filling their details. A customerbeing registered in the
website has the facility to book a vehicle which
herequires.Theproposedsystemiscompletelyintegratedonlinesystems.It
automatesthemanual procedurein aneffectiveandefficient way.This automated
system facilitates customers and providers to fill up thedetails according to their
requirements. It include type of vehicle they aretryingtohire anddates(from&
to).Thepurpose ofthissystemistodevelop a website for the people who can book
their vehicle along withtheir requirement manually by unable to find a vehicle of
their choice. Itinvolves the grouping of different type of cars at one location or
platform.A user can search a car he/she wants to hire according to their need
andbook it by giving the dates from which he want to hire that car and thedate he
will return that car to the owner. The final confirmation of bookingisdoneby
theadminof theOnlineCarRentalSystem.
VII
1. Introduction
1.1. Aim&Objective
To easecustomerstaskwhenevertheyneedtorenta car.
1
ScopefortheprojectOnlinecarrentalsystem:
The project traverse a lot of areas ranging from business concept tocomputing
field, and required to perform several researches to be able toachieve theproject
objectives.
Theareacoversinclude:
Carrentalindustry:Thisincludesstudyonhowthecarrentalbusiness is being
done, processes involved and opportunities thatexistsforimprovements.
PHPtechnologyusedforthedevelopmentoftheapplication.
Generalcustomersaswellastheadminofthecarrentalbusinesswill
beabletousethesystem effectively.
Web platform means that the system will be available for 24/7
exceptwhenthereisatemporaryserverissuewhichisexpectedtobeminimal.
ProductPerspectives:
TheproposedsystemfallsunderRDBMS(RelationalDatabaseManagement System)
category. I have adopted PHP as front end for thesoftware-
andMYSQLasbackend.
2
thenetwork.MYSQLhasmanyimportantfeaturesthatmakeitnotonlyanexceptionald
atabasemanagementsystembutalsoanexcellentdatabaseserver
choiceforclient/server databasecomputing.
So the overall system will prove to reliable, secure and efficient for
theorganization.
ProductFunctions
Functionalities:
2.2.1.Anypersoncanqueryforbooksavailabilityaccordingtospecifiedconditions.
2.2..3.APersoncanbook/cancelthebookonlyafterhelogsin.
2.2.5.0nloggingin,theuserhasoptionsto
1. Bookissued
2. EditProfileinformation
3. Cancellationofhisbookedissued.
4. Viewall currentbooksbookedbyhim.
5. Logout
A person can get all information about 3 books if he keys in the book
id.Aperson cangettheavailabilityofallbooksforthenext20days
3
Officialmembersaresupposetodothatworkwhichdistributedbytheadministrator
Administratororassignedofficialadd/modify/deletelibraryinformation.
Administratororassignedofficialmemberscanadd/modify/deleteseattype
accordingtheiravailabilityandgeneratereport
Administratororassignedofficialmemberscanadd/modify/deletelibraryinformation.
Administratororassignedofficialmemberscandefineandmanagechargesinformati
on.
Administratororassignedofficialmemberscandefineschemeandmodifytimetotim
eandgeneratereport
Administratorcanadd/modify/deleteofficialmemberandgeneratereport.
OperatingEnvironment
A client/server can deliver the better performance than the file sewersystem
because aclientapplicationand database sewerwork
togethertosplitprocessingloadofapplications(thusthetermdistributedprocessing).
The server manages the database among the number ofclients, while the client
send, request. and analyze the data entry formwith small spec-inc data set, such
as rows in a table not File as in the fileserver system. A database server is
intelligent enough so that it lock
andreturnonlytherowsaclientrequest,whichensureconcurrency,minimizethenetwo
rktraffic andincreasethesystemperformance.
4
AssumptionsandDependencies-Whilecostestimationoftheproposed system
it has been assumed that the cost hardware and forlicense of Operating System
and back end will be met by client (theorganization). Hence only the cost
incurred for the proposed software isincludedtherein.
1. Non-availabilityofrequiredresources.
2. Powercuts.
3. Slippageofscheduleduetounpredictableholidays,etc.
ExternalInterfaceRequirements
User Interfaces - It has been required that every form's interface shouldbe user
friendly and simple to use. Besides, there should be facility
ofaccessingthesystemthrough;keyboardalongwiththemousei.e.keyboardshortcuts.
5
1. The systemshould besecuredenoughtorelyupon.
2. Usersshouldnotbeallowed todelete/modifyanyrecords.
3. Usersshouldnotbeallowed totakefinancialreports.
4. Everyusersreportshouldkeepthe tracksoruserInputtingtherecord.
6. SystemshouldbeabletointegrateWithusPhase lldevelopments.
OtherNonfunctionalRequirement:
PerformanceRequirements-Asitisgoingtobeusedbyalltheconcerned
employees within the organization, the system should have
agoodperformanceintermsofspeedandaccuracy.Theproposedsystemshouldbeaccu
rateandfastenoughtohandlehugedata.
Itshouldprovidefastcommunicationbetweenserver andclients.
Safety Requirements -As the system is going to handle records for along run
eliminating the manual system, it is‘ Supposed to ensure theretaining
ofdataavoidingoreliminatinganyprobablecausefordataloss.
1. Accurateandhencereliable.
2. Secured.
6
3. FastSpeed.
4. Compatibility.
5. Portability.
6.
2. HowCarRentalSystemWork
Mostcompaniesthroughoutthetheindustrymakeaprofitbasedonthetypeofcarsthatare
rented.therentalcarsarecategorizedintoeconomy,compact,compactpremium,premiu
mandluxuryandcustomersarefreetochooseanycaroftheirchoicebasedontheirbudgeta
ndneedandalsotheavailability ofcarat thetimeof reservation.
Itisvery easytouse.
Thisonlinecarrentalsystemhelpsinbackofficeadministrationbystreamliningand
standardizingtheprocedures.
7
Itsaveslotoftime,moneyandlabour.
Eco-
friendly:themonitoringofthevehicleactivityandtheoverallbusinessbecomes
easyandincludestheleastpaperwork.
The softwareactsasanofficethatisopen24/7.
Itincreasetheefficiencyofthemanagementatofferingthequalityservicestothecust
omers.
Itprovides customfeaturedevelopmentandsupportwiththesoftware.
3. FUNCTIONALREQUIREMENTS
Requirementanalysisisasoftwareengineeringtechniquethatiscomposed of various
tasks that determine theneeds or conditions thatare to be meet for a new or
altered product, taking into the
considerationthepossibleconflictingrequirementsofthevarioususers.functionalrequ
irements are the requirements that are used to illustrate the
internalworkingnatureofthesystem,thedescriptionofthesystem,andexplanationofea
chsubsystem.Itconsistsofwhattaskthesystemshouldperform,theprocessinvolved,w
hichdatashouldthesystemholdsandtheinterfacewiththeuser.Thefunctionalrequirem
entsidentifiedare:
1. Customer’sRegistration:Thesystemshouldallownewusertoregisterandgenerate
hismembership.
2. Onlinebookingofcars:customersshouldbeabletousethesystemtomakebookinga
ndreserveacarforhim.
3. Automaticupdatetodatabaseoncereservationismadeornewcustomer
registered: Whenever there is new booking or new
8
registrationthesystemshouldbeabletoupdatethedatabasewithoutanyadditionalef
fortsfromtheadmin.
4.NON-FUNCTIONALREQUIREMENTS
Itdescribesaspectsofthesystemthatareconcernedwithhowthesystemprovidethefunc
tionalrequirements.Theyare:
2. Performanceandresponsetime:Thesystemshouldhavehighperformance rate
when executing user’s input and should be able toprovide feedback and
response within a short period of time
spanusually50secondsforhighcomplicatedtaskand20to25secondsforless
complicatedtask.
3. Errorhandling:Errorshouldbeconsiderablyminimizedandanappropriate
errormessage that guides the user to recover from anerror should be
provided. Validations for the user’s input is highlyessential. Also the
standard time to recoverfrom an error should be15 to20seconds.
9
malfunctioning, the system should be available in 1 to 2 working
days,sothebusinessprocessis notseverelyaffected.
5. PROJECTCATEGORY
5.1. BriefintroductionaboutRDBMS
Arelationaldatabasemanagementsystem(RDBMS)isadatabasemanagement
system (DBMS) based on the relational model invented byEdgar F. Codd at
IBM's San Jose Research Laboratory. Most
databasesinwidespreadusetodayarebasedonhisrelationaldatabasemodel.
10
NoSQLdatabaseshaverecentlybeguntopeckawayatthemarketshare ofRDBMS.
6. SYSTEMPURPOSE
Thecompanywanttoreduceitsoperationcosts.Thesystembeingdeveloped is a
system to handle the business needs of renting out thevehicles to the customers ,
maintaining records and the data on vehiclefleet, operation the customer portal
website and reporting the state of
thesystemtothecompany.Thesystemdoesnotfulfillanyotherneedsofthebusiness.
6.1. SystemScope
This module purpose will be to contain the data on the vehicle fleetand
information about the specific vehicles. The fleet
managementmodulewillnothandletherentingofthevehicles.
The scope of the customer web portal is to rent vehicle online in theabsence
of an employee. The module will interface with the fleetmanagement module
but will not perform any of that module’s duties.The samegoes
forcustomerservicemodule.
11
out a rental. As mentioned above the module will interface with thefleet
management module but will not perform any of that module’sduties.
6.2. SYSTEMSOVERVIEW
SystemContext:
SystemsFunctions
12
The systemwill beabletokeeptrackofrentalfleet.
Usercharacteristics
The user will be the customers which can include traveling businesspeople, out
of town visitors and local residents in need of a car. Otheruser of the system is
the admin of the system. The admin will be
usingwindowsdesktopstoconducttheirbusinessonthesystembutthesystemwillneedt
oaccommodatethevarietyofdevicesthatthecustomer will have. The customers will
have the desktop, laptop or willhave mobile devices running several different
operating systems
whichincludesandroid,iOSandblackberry.Thefullwebsitealsomustaccommodateth
esedifferentoperatingsystems.
DefinitionsofCarRentalSystem:
CustomerServiceModule:CS
CustomerWebPortal:WP
FleetManagement:FM
ReportsandAnalytics:RA
Actors
Admin
Customer
13
7. RequirementExternalInterfaces
HardwareInterfaces
R1:Thesystemwillhave3terminalsperstore,witheachonehavingatouchscreenm
onitor, keyboardandmouse.
R2:Thesystemwillhavea45minutesbatterybackupateachterminal.
SystemInterfaces
R4:Thesystemwillinteractwiththebankingnetworkforthepurposeofprocessingpayments.
R5:Thesystemdataneedswillbesupportedbyaconnectiontotheheadquartersserver.
UserInterfaces
FunctionalRequirements
R7: The system will contain a customer service module that will
allowcustomerandcorporateemployeestoprovideinformationtocustomers.
14
R8: The system will contain a customer service module that will
allowcustomerandcorporateemployeesaccesstothesystemforthepurposeof
renting.
R10:Thesystemwillcontainacustomerportalwebsitethatwillprovide
information to the public and customers about the companyandoperations
ofthecompany.
R13: The system will allow to add the new vehicle to the inventory
ofthecompany.
R14:Thefleetmanagementmodulewillallowthe systemtotrackvehicle
maintenance. Maintenance will be tracked through mileageandorthetimeas
decidedby thecompany.
R15: The system will contain a report and analytic s module that
willservethepurpose ofgenerating reportsontheoperationsofthecompany.
15
R16:Thesystemwillcontainareportandanalyticsmodulethatwillbecapableofgen
eratingreportsfortheitemssuchassales,maintenance,vehiclehistory,operations,r
entalandinsurance.
R17:Thesystemwillcontainareportandanalyticsmodulethatwillbecapableof
generatingreportsforadesiredtimeandlocation.
R21: The system will display only vehicles that are currently
availabletorenttothecustomerduringtherentalprocess.
R24: The system will require a credit card be on file but will
allowcustomertousedifferent formsofpayment attimeofrental.
R25:Thesystemwillprovideareportofthevehiclesthatarescheduledtoberented
outandreturnedforthespecifiedday".
16
R26:Thesystemwillallowforablockreservationofmorethanone
(1)carat atime.
R27: at time of pickup the System will allow the employee to bring
upthespecifiedreservationandtoprintout a''rentalagreement
R29: The system Will ask if the employee has obtained the
customerSignatureonthe"rental1agreement".Customersignatureisrequiredont
herental agreementbycompanypolicy.
PerformanceRequirement
17
8. RDBMSArchitectureDiagram
For setting this portal, it requires certain technical requirements to be metfor the
store to operate properly. First, a web server must be created
tomaketheecommercestorepubliclyavailableontheweb.Domainnames and hosting
services can easily be purchased for an affordableprice. When selecting a hosting
service, you should check to see
thattheseserverrequirementsareprovidedandinstalledontheirwebservers:.
SoftwareDetailsforrunningPortal .
WebServer(preferablyApache)
PHP(at least5.2)
MYSQL
Fig.1.Tools/
PlatformHardwareandSoftwareRequirementsspecifications:
18
Forsettingthisecommerceportal,itrequirescertaintechnicalrequirements to be met
for the store to operate properly. First, a webserver must be created to make the
online car rental system publiclyavailable on the web. Domain names and
hosting services can easily bepurchased for an affordable price. When selecting a
hosting service, youshould check to see that these server requirements are
provided andinstalledontheirwebservers:
SoftwareDetailsforrunningOnlineCarRentalSystem:
WebServer(preferablyApache)
PHP(atleast5.2).
MYSQL
RequiredPHPlibraries/modules
Curl
19
ZIP
Zlib
GDLibrary
Mcrypt
Mbstrings
9. ImplementationMethodology:
ModelThelowestlevelofthepatternwhichisresponsibleformaintainingdata.
ControllerSoftwareCodethatcontrolstheinteractionsbetweentheModelandVie
w.
MVC is popular as it isolates the application logic from the user interfacelayer
and supports separation of concerns. Here the Controller receivesall requests for
the application and then works with the Model to prepareany data needed by the
View. The View then uses the data prepared
bytheControllertogenerateafinalpresentableresponse.TheMVCabstractioncanbegr
aphicallyrepresentedas follows.
20
Fig.2.MVC(ModelViewControllerFlow)Diagram
Implementationofsecuritymechanismsatvariouslevels
Data Security System: The data security system will allow data to
besecurelytransmittedbetweenthevariouscomponentsoftheportal.This
21
includestransmissionofproduct,merchantandcustomerinformationfromthecontent
managementsystemtothewebsite,andalsothetransmissionofdatafromthewebsitetot
hecontentmanagementsystem.
FolderSecurityusing.htaccess:The.htaccessfileinyoursitesdirectory is a
configuration file you can use to override the settings onyour web server. With
the right commands, you can enable/disable
extrafunctionalityandfeaturestoprotectyoursitefromspammers,hackersandotherthr
eats.
RestrictAccesstoYourAdminArea:Asimplewaytorestrictaccessif your
internet has a fixed IP address and you always accessyoursiteform thesame
locationisbycreatinga new .htaccess file with thefollowing snippet:
orderdeny,allowallowfrom192.168.S.1denyfromall
22
Fig.3.ZEROLEVELDFD
23
Fig.4.FIRSTLEVELDFD
24
Fig.5.ER-DIAGRAM
25
Fig.6.CLASSDIAGRAM
26
Fig.7.USECASEDIAGRAM
27
10. SYSTEMANALYSIS
Thesteps,whichareessentialforsystemanalysis,are:
1. Researchanddefineessentialcomponents.
2. Analyzecurrentprocessesandidentifygaps.
3. Interviewusers,Trainee,Trainersandotherconcernedpersonnelregardingessenti
alcomponentsandcurrent processes.
4. Writerequirementsdocument.
5. Definestandardsforstandards,policies,andprocedures.
6. Reviewdraftrequirementsdocumentwithusers,Trainee,Trainersandotherconcer
nedpersonnel.
11. IDENTIFICATIONOFNEED
28
registrationandsuppliers.Thiswillhelporganizationinbetterutilizationofhumanreso
urces.
In this phase, the user identifies the need for a new or improved
system.Inlargeorganizationsthisidentificationmaybepartofasystemsplanningproce
ss.
12. PRELIMINARYINVESTIGATION
BenefittoOrganization:
Theorganizationwillobviouslybeabletogainbenefitssuchassavingsinoperatingcost,
reductionin paperwork,betterutilizationofhumanresources and more presentable
image increasing goodwill. The otherbenefits are improved service and faster
and better access to up- to-dateinformation.
TheInitialCost:
The initial cost of setting up the system will include the cost of
hardware(sewer/clients, network adapter and related hardware), software
(serverOS, add-on software, utilities) & labor (setup & maintenance). The
samehastobearby theorganization.
RunningCost:
Besides the initial cost the long term cost will include the running cost forthe
system including the AMC, book charges, cost for human
resources,costforupdate/renewalof variousrelatedsoftware.
29
NeedforTraining:
The users along with the administrator need to be trained at the time
ofimplementationofthesystemforsmoothrunningofthesystem.Theclientwillprovid
ethetrainingsite.
Dependinguponthisdefinition,weanalyzedthepresentLibraryManagement System,
duringthe analysis process; we had to go throughthe entire manual system that
was being followed in the Organization forpastfewyears.
Therewasalengthyprocedureforenteringthedetailsofbooks,members,visitors.
andthenmakingtheirtimingsandBills.
The other problem with the manual system was of report generation. Thereports
to be generated on a daily/weekly/monthly basis required lot
ofpaperworkandcalculationsetc.Thus,ReportingManagerhadtomanually calculate
all the consultation fees of every player at the end ofevery day/week/month.
Even a small calculation mistake was leading toreanalysisandrecreationof
wholewalk.
30
13. FEASIBILITYSTUDY
Atthisstage,theanalystestimatestheurgencyoftheprojectandestimates the
development cost. In feasibility analysis, we have to studythefollowing:
TechnicalFeasibility:
After the study we came to conclusion that we proceed further with thetools and
development environment chosen by us. This was important inour case as we
were working on two various phases of the
departmentthatwillneedtobeintegratedinfuturetomakeanextendedsystem.
OperationalFeasibility:
Operationalfeasibilityis,allaboutproblemsthatmayariseduringoperations.Thereare
twoaspectsrelatedwiththis issue:
What is the probability that the solution developed may not be put
touseormay notwork?
31
EconomicalFeasibility:
14. PROJECTPLANNING
Softwareprojectplancanbeviewed asthefollowing:
1. Withintheorganization:Howtheprojectis tobeimplemented?
Whatarevariousconstraints(time.cost,staff)?whatismarketstrategy?
Forasuccessfulsoftwareproject,thefollowingstepscanbefollowed:
Selectaproject
Identifyingproject'saimsandobjectives
Understandingrequirementsandspecification
32
Methodsofanalysis,designandimplementation
Testingtechniques
Documentation
Projectmilestonesanddeliverables
Budgetallocation
Exceedinglimitswithincontrol
ProjectEstimates
Cost
Time
Sizeofcode
Duration
ResourceAllocation
Hardware
Software
Previousrelevantprojectinformation
DigitalLibrary
RiskManagement
Riskavoidance
Riskdetection
33
15. PROJECTSCHEDULING
An elementary gantt chart or timeline chart for the development plan isgiven
below. The plan explains the various tasks versus the time
(inweeks)theywilltaketocomplete.
Wi’sareweeksofthemonths,fori=1,2,3,4.
16. SOFTWAREREQUIREMENTSPECIFICATION
17. SYSTEMDESIGN
Inthisphase,alogicalsystemisbuiltwhichfulfilsthegivenrequirements.Designphaseo
fsoftwaredevelopmentdealswithtransforming the customer's requirements into a
logically working system.Normally.designisperformedinthefollowing
inthefollowing twosteps:
PrimaryDesignPhase
In this phase. the system is designed at block level. The blocks arecreated on the
basis of analysis done in the problem identification phase.Different blocks are
created for different functions emphasis is put onminimizing the information
flow between blocks. Thus, all activities whichrequiremoreinteractionarekept
inoneblock.
34
Secondary Design Phase : In the secondary phase the detailed
designofeveryblockis performed.
Thegeneraltasksinvolvedinthedesignprocessarethe following:
I. Designvariousblocksforoverallsystemprocesses.
II. Designsmaller.compactandw0rkablemodulesineachblock
III. Designvariousdatabasestructures.
IV. Specifydetailsofprogramstoachievedesiredfunctionality.
VI. Performdocumentationofthedesign.
VII. System
reviews.VIII.
UserInterfaceDesign
UserInterfaceDesignisconcernedwiththedialoguebetweenauserandthecomputer.Iti
sconcernedwitheverythingfromstartingthesystemorloggingintothesystemtotheeve
ntuallypresentationofdesired inputs and outputs. The overall flow of screens and
messages iscalledadialogue.
35
3. Message, instructions or information should be displayed
longenoughtoallowthesystemusertoreadthem.
4. Usedisplayattributessparingly.
5. Defaultvaluesforfieldsandanswerstobeenteredbytheusershouldbespecified.
7. Thesystemusershouldnevergetanoperatingsystemmessageorfatalerror.
18.TESTING
36
VALIDATIONCRITERIA
Thevalidationcrlterlainthisprotectanasfollows...
In Portal System also, the user inputs are validated before storing them.and then
further for displaying etc. The main validations that are done
inPortalsystemareas follows-
All the screens have a similar look and feel. They all have the almostsame color
combinations in its background. This provides a better userinterfacetotheusers.
1. Theprimarykeyvaluescannotbeduplicated.
2. Alltheentriesinanycomboboxhavebeensortedinalphabeticalorder.Thishelpsaus
erwhile selectingavaluefromthecombobox.
IMPORTANCEOFTESTING
19.IMPLEMENTATIONANDTESTING
DetailedDesignofImplementation-
Thisphaseofthesystemdevelopmentlifecycleretineshardwareandsoftwarespecifica
tions.establishesprogrammingplans,trainusersandimplementsextensive
37
testingprocedurestoevaluatedesignandoperatingspecificationsand/
orprovidethebmishrfurthermodification.
TechnicalDesign-Thisactivitybuildsuponspecificationproducedduring new
system design. adding detailed technical specifications anddocumentation.
ProgrammingandTesting-
Thisactivityencompassesactualdevelopment,writingandtestingofprogramunitsor
modules.
UserTraining-
Thisactivityencompasseswritinguserproceduremanuals.preparationofusertraining
materials,conductingtrainingprograms.andtestingprocedures.
Installationphase-InthisphasethenewComputerizedsystemisinstalled, the
conversion to new pmcedum is fully implemented, and thepotentialofthenew
systemis explored.
Review Phase - This phase evaluates the successes and failures duringa
systems development project and to measure the results of a
newComputerizedTransportsystemintermsofbenefitsandsavingsprojectedat
thestartof theproject.
DevelopmentRecap-
Areviewofaprojectimmediatelyaftercompletiontofindsuccessesandpotentialprobl
ems infuturework.
38
Post-Implementation Review - A review conducted after a new
systemhasbeeninoperationforsometimetoevaluatemutualsystemperformanceagain
storiginalexpectationsandprojectionsforcost-benefitimprovements. Alsoidentifies
maintenanceprojects toenhanceorimprovethesystem.
THESTEPSINTHESOFTWARETESTING
ThestepsinvolvedduringUnittestingareasfollows:
I. Preparationofthetestcases.
III. Completecodereviewofthemodule.
IV. Actualtestingdonemanually.
V. Modificationsdonefortheerrorsfoundduringtesting.
VI. Preparedthetestresultscripts.
TheunittestingdoneincludedthetestingofthefollowingItems:
Functionalityoftheentiremodule/forms.
Validationsforuserinput.
CheckingoftheCodingstandardstobemaintainedduringcoding.
Restingthemodulewithallthe possibletestdata.
Testingofthefunctionalityinvolvingalltype ofcalculationsetc.
Commentingstandardin thesourcetiles.
After completing the Unit testing of all the modules, the whole system
isintegratedwithallitsdependenciesinthatmodule.WhileSystem
39
Integration,Weintegratedthemodulesonebyoneandtestedthesystem at each step
This helped in reduction of errors at the time of thesystemtesting.
Thestepsinvolvedduringsystem testingareasfollows:
Integrationofallthemodules/formsinthesystem.
Preparationofthetestcase.
Preparationofthepossibletestdatawithall thevalidationchecks.
Actualtestingdonemanually.
Recordingofallthereproducederrors.
Modificationsdonefortheerrorsfoundduringtesting.
Preparedthetestresultscriptsafterrectificationoftheerrors.
ThesystemtestingdoneincludedthetastingofthefollowingItems:
1. Functionalityoftheentiresystemasawhole.
2. UserInterfaceofthesystem.
4. VerificationandValidationtesting.
5. Testingthereportswithallitsfunctionality.
40
After the completion of system testing, the next following phase was
theAcceptanceTesting.Clientsattheirenddidthisandacceptedthesystemwithappreci
ation.
Thus,wereachedthefinalphaseoftheprojectdelivery.
There are other six tests, which fall under special category They
aredescribedbelow:
ProcedureTesting:Itdeterminestheclarityofdocumentationonoperation and
uses of system by having users do exactly what manualsrequest. For example,
powering down system at the end of week orrespondingtopaper-out
lightonprinter.
Human Factors Testing: It determines how users will use the systemwhen
processingdataorpreparingreports.
41
20. COSTESTIMATIONOFTHEPROJECT
The main point that was considered during the cost estimation of projectwas its
sizing. In spite of complete software sizing, function point andapproximate lines
of code were also used to "size" each element of theSoftware andtheircosting.
ThecostestimationdonebymeforProjectalsodependuponthebaseline metrics
collected from past projects and these were used
inconjunctionwithestimationvariablestodevelopcostandeffortprojections.
Wehave basicallyestimatedthisprojectmainlyontwobases:
21. CONCLUSION
OnlineCarrentalbusinesshasemergedwithanewgoodiescomparedtothepastexperie
ncewhereeveryactivityconcerningcarrental
42
businessislimitedtoaphysicallocationonly.EventhoughthephysicalIocatbnhasnotbe
entotallyeradicated;thenatureoffunctionsandhowthesefunctionsareachievedhasbee
nreshapedbythepowerofinternet.Nowadays,customerscanreservecarsonline.rentcar
online,andhavethecarbroughttotheirdoorsteponcethecustomerisaregisteredmember
orgototheofficetopicksthecar.
Futurescopeandfurtherenhancementoftheproject:
Today, the market place is flooded with several. car rental options forshoppers to
choose from. A variety of -innovative products and servicesare being offered
spoiling customers for choice. Online car rental systemis no more a privilege
enjoyed by your friends and family. Today, it is areality in India. In the last
couple of years the growth of car rental systemindustry in India has been
phenomenal as more shoppers have starteddiscovering the benefits of using this
platform There is enough scope foronline businesses in the future if they
understand the Indian shopperspsycheandcatertotheirneeds.
43
22. CODING
CarListing:
<!DOCTYPEhtml>
<html>
<head>
<title>CARRENTALPORTAL</title>
<linkrel="stylesheet"type="text/css"href="carlist.css">
</head>
<body>
<divclass="container">
<divclass="main">
<nav>
<div>
<imgsrc="logo/logo3.png"class="logo">
</div>
<ul>
<li><ahref="car-listing.php">Car LIst</a></li>
<li><ahref="check_availability.php">Availability</a></li>
<li><ahref="contact-us.php">ContactUs</a></li>
<li><ahref="index.php">Index</a></li>
<li><ahref="manage-bookings.php">ManageBookings</a></li>
<li><ahref="my-testimonials.php">MyTestimonials</a></li>
<li><ahref="my-booking">MyBookings</a></li>
</ul>
</nav>
</div>
<divclass="slider">
<divclass="title">
44
<h1>Webeleive<spanstyle="color:#01d7a7;">InBestTransport</span>
Services</h1>
<p>ThisIsTheIndia'sBestTransportSiteAndTravelSiteWeBeleiveInBest
ServicesInBestWagesAnd WeMakeYourJourneyRemarkable </p>
<ahref="booking.html"class="btn">BOOKCARS</a>
<ahref="carlist.html"class="btn">STARTTRAVEL</a>
</div>
</div>
<divclass="main">
<divclass="flex-container">
<divclass="flex-items">
<iclass="fafa-cartext-blue"></i>
<h5><ahref="">BrowseCars</a></h5>
<p>ouCanSelectYourCar</p>
</div>
<divclass="flex-items">
<iclass="fafa-newspaper-otext-blue"></i>
<h5><ahref="">DailyInformation</a></h5>
<p>KnowOurDailyFeeds</p>
</div>
<divclass="flex-items">
<iclass="fafa-planetext-blue"></i>
<h5><ahref="">BookFlightticket</a></h5>
<p>YouCanSelectYourAirlines</p>
</div>
<divclass="flex-items">
<iclass="fafa-traintext-blue"></i>
<h5><ahref="">BookTrainTickets</a></h5>
<p>YouCanSelectYourTrain</p>
</div>
</div>
45
<divclass="flex-container">
<divclass="flex-items2">
<h6>EasyWayToTravelAnywhere</h6>
<h3>PerfectCarsAndWagesForEveroneAndJourneyWith
Joy</h3>
<p>HereWeProvideASeamlessExperienceToOur
CustomersAndMakeThemHappywhenOurCustomerIsHappyThanWeHappyAlso</p>
<ahref="#"class="read">READMORE</a>
</div>
<divclass="flex-items2">
<divclass="zoom">
<imgsrc="images/4.jpg">
</div>
<divclass="title-linemargin-top"></div>
<divclass="para">
</div>
</div>
<divclass="flex-items2">
<divclass="zoom">
<imgsrc="images/5.jpg">
</div>
<divclass="title-linemargin-top"></div>
<divclass="para">
</div>
</div>
</div>
</div>
</div>
46
<sectionclass="who-we-are">
<divclass="main">
<divclass="heading">
<h2>WhoWeAre</h2>
<p>This Is The India's Best Transport Site And Travel Site We Beleive In
BestServicesInBestWagesAndWeMake YourJourney Remarkable</p>
</div>
<divclass="col-1">
<imgsrc="images/7.jpg">
<divclass="text-box">
<h4><ahref="">LuxuryCars</a></h4>
<p>WeHaveAllBrandsOfLuxuryCarsAndYou Choose</p>
</div>
</div>
<divclass="col-1">
<imgsrc="images/10.jpg">
<divclass="text-box">
<h4><ahref="">SuperCars</a></h4>
<p>WeHaveAllBrandsOfLuxuryCarsAndYou Choose</p>
</div>
</div>
<divclass="col-1">
<imgsrc="images/8.jpg">
<divclass="text-box">
<h4><ahref="">BudgetCars</a></h4>
<p>WeHaveAllBrandsOfLuxuryCarsAndYou Choose</p>
</div>
</div>
</div>
</section>
<sectionclass="full-dark">
47
<divclass="main">
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-leaf"></i>
</div>
<divclass="text-box-1">
<h5>AwardWinnings</h5>
<p>ThisIsTheIndia'sBestTransportSiteAndTravelSite</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-mobile"></i>
</div>
<divclass="text-box-1">
<h5>PhoneNumber</h5>
<p>+911111111111,+236455641641</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-copyright"></i>
</div>
<divclass="text-box-1">
<h5>Copyrights</h5>
<p>AllCopyrightsAreReserverdForThisSite2017-2019</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
48
<iclass="fafa-twitter"></i>
</div>
<divclass="text-box-1">
<h5>twitterHandles</h5>
<p>abcd@gmail.com,carrentalportal@gmail.com</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-facebook"></i>
</div>
<divclass="text-box-1">
<h5>facebookHandles</h5>
<p>abcd@gmail.com,carrentalportal@gmail.com</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-gear"></i>
</div>
<divclass="text-box-1">
<h5>DevelopedBy</h5>
<p>AtulPathak</p>
</div>
</div>
</div>
</section>
</body>
</html>
CheckAvailability
49
<!DOCTYPEhtml>
<html>
<head>
<title>AboutUs</title>
<linkrel="stylesheet"type="text/css"href="aboutus.css">
</head>
<body>
<divclass="container">
<divclass="main">
<nav>
<div>
<imgsrc="logo/logo3.png"class="logo">
</div>
<ul>
<li><ahref="car-listing.php">CarLIst</a></li>
<li><ahref="check_availability.php">Availability</a></li>
<li><ahref="contact-us.php">ContactUs</a></li>
<li><ahref="index.php">Index</a></li>
<li><ahref="manage-bookings.php">ManageBookings</a></li>
<li><ahref="my-testimonials.php">MyTestimonials</a></li>
<li><ahref="my-booking">MyBookings</a></li>
</ul>
</nav>
</div>
<divclass="slider">
<divclass="title">
<h1>Webeleive<spanstyle="color:#01d7a7;">InBestTransport</span>
Services</h1>
<p>AboutUs!HereYouCanKnowaboutEverything</p>
</div>
50
</div>
</div>
<sectionclass="about_us">
<divclass="container">
<h2>AboutUs</h2>
<p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis
praesentiumvoluptatumdelenitiatquecorruptiquosdoloresetquasmolestiasexcepturisintoccaecaticupiditatenonprovi
dent,similiquesunt inculpaquiofficiadeseruntmollitiaanimi,idestlaborum etdolorum fuga.Et harum quidem rerum
facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis esteligendi optiocumquenihilimpedit
quominusidquodmaximeplaceatfacerepossimus,omnis
voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis
debitisautrerumnecessitatibussaepeevenietutetvoluptatesrepudiandaesint etmolestiaenonrecusandae.Itaque earum
rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores aliasconsequaturaut
perferendisdoloribus asperioresrepellat.</p>
</div>
</section>
<sectionclass="full-dark">
<divclass="main">
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-leaf"></i>
</div>
<divclass="text-box-1">
<h5>AwardWinnings</h5>
<p>ThisIsTheIndia'sBestTransportSiteAndTravelSite</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-mobile"></i>
</div>
51
<divclass="text-box-1">
<h5>PhoneNumber</h5>
<p>+911111111111,+236455641641</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-copyright"></i>
</div>
<divclass="text-box-1">
<h5>Copyrights</h5>
<p>AllCopyrightsAreReserverdForThisSite2017-2019</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-twitter"></i>
</div>
<divclass="text-box-1">
<h5>twitterHandles</h5>
<p>abcd@gmail.com,globaltransport@gmail.com</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-facebook"></i>
</div>
<divclass="text-box-1">
<h5>facebookHandles</h5>
<p>abcd@gmail.com,carrentalportal@gmail.com</p>
52
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-gear"></i>
</div>
<divclass="text-box-1">
<h5>DevelopedBy</h5>
<p>AtulPathak</p>
</div>
</div>
</div>
</section>
</body>
</html>
My-booking:
<!DOCTYPEhtml>
<html>
<head>
<title>CarBooking</title>
<linkrel="stylesheet"type="text/css"href="booking.css">
</head>
<body>
<section>
<divclass="container">
<divclass="main">
<nav>
<div>
<imgsrc="logo/logo3.png"class="logo">
53
</div>
<ul>
<li><ahref="car-listing.php">CarLIst</a></li>
<li><ahref="check_availability.php">Availability</a></li>
<li><ahref="contact-us.php">ContactUs</a></li>
<li><ahref="index.php">Index</a></li>
<li><ahref="manage-bookings.php">ManageBookings</a></li>
<li><ahref="my-testimonials.php">MyTestimonials</a></li>
<li><ahref="my-booking">MyBookings</a></li>
</ul>
</nav>
</div>
<divclass="slider">
<divclass="title">
<h1><spanstyle="color:#01d7a7;">Car</span>Booking</h1>
<p>InThisSectionYouCanBookYourCar</p>
</div>
</div>
</div>
</section>
<form>
<sectionclass="back">
<divclass="contact-form">
<h1><spanstyle="color:#01d7a7;">BookaCar</span></h1>
<divclass="textb">
<label>To:</label>
<inputtype="text"name="username"placeholder="YourLoaction"required>
</div>
<divclass="textb">
54
<label>From:</label>
<inputtype="text"name="username"placeholder="YourDestination"required>
</div>
<divclass="textb">
<label>E-mail:</label>
<inputtype="email"name="username"placeholder="EnterYourE-mailAddress"
required>
</div>
<divclass="textb">
<label>PhoneNumber:</label>
<inputtype="text"name="username"placeholder="EnterYourPhoneNumber"
required>
</div>
<divclass="textb">
<label>Address:</label>
<textarearequired></textarea>
</div>
<inputtype="submit"name="btn"class="btn"value="Book">
</div>
</section>
</form>
<sectionclass="full-dark">
<divclass="main">
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-leaf"></i>
</div>
<divclass="text-box-1">
<h5>AwardWinnings</h5>
55
<p>ThisIsTheIndia'sBestTransportSiteAndTravelSite</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-mobile"></i>
</div>
<divclass="text-box-1">
<h5>PhoneNumber</h5>
<p>+911111111111,+236455641641</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-copyright"></i>
</div>
<divclass="text-box-1">
<h5>Copyrights</h5>
<p>AllCopyrightsAreReserverdForThisSite2017-2019</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-twitter"></i>
</div>
<divclass="text-box-1">
<h5>twitterHandles</h5>
<p>abcd@gmail.com,carrentalportal@gmail.com</p>
</div>
</div>
56
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-facebook"></i>
</div>
<divclass="text-box-1">
<h5>facebookHandles</h5>
<p>abcd@gmail.com,carrentalportal@gmail.com</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-gear"></i>
</div>
<divclass="text-box-1">
<h5>DevelopedBy</h5>
<p>AtulPathak</p>
</div>
</div>
</div>
</section>
</body>
</html>
ContactUs:
<!DOCTYPEhtml>
<html>
<head>
<title>ContactUs</title>
<linkrel="stylesheet"type="text/css"href="contact-us.css">
57
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/font-
awesome/4.7.0/css/font-awesome.min.css">
<linkhref="https://maxdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<divclass="container">
<divclass="main">
<nav>
<div>
<imgsrc="logo/logo3.png"class="logo">
</div>
<ul>
<li><ahref="car-listing.php">CarLIst</a></li>
<li><ahref="check_availability.php">Availability</a></li>
<li><ahref="contact-us.php">ContactUs</a></li>
<li><ahref="index.php">Index</a></li>
<li><ahref="manage-bookings.php">ManageBookings</a></li>
<li><ahref="my-testimonials.php">MyTestimonials</a></li>
<li><ahref="my-booking">MyBookings</a></li>
</ul>
</nav>
58
</div>
<divclass="slider">
<divclass="title">
<h1><spanstyle="color:#01d7a7;">Contact</span>Us</h1>
</div>
</div>
</div>
<formmethod="POST"action="conu.php">
<sectionclass="back">
<divclass="contact-form">
<h1>ContactUs</h1>
<divclass="textb">
<label>FullName:</label>
<inputtype="text"name="first"placeholder="EnterYourName"required>
</div>
<divclass="textb">
<label>E-mail:</label>
<inputtype="email"name="last"placeholder="EnterYourE-mailAddress"required>
</div>
<divclass="textb">
<label>PhoneNumber:</label>
<inputtype="text"name="mob"placeholder="EnterYourPhoneNumber"required>
</div>
59
<divclass="textb">
<label>Message:</label>
<textareaname="mess"required></textarea>
</div>
<inputtype="submit"name="btn"class="btn"value="SendMessage">
</div>
</section>
</form>
<sectionclass="full-dark">
<divclass="main">
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-leaf"></i>
</div>
<divclass="text-box-1">
<h5>AwardWinnings</h5>
<p>ThisIsTheIndia'sBestTransportSiteAndTravelSite</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-mobile"></i>
</div>
<divclass="text-box-1">
<h5>PhoneNumber</h5>
<p>+911111111111,+236455641641</p>
</div>
</div>
60
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-copyright"></i>
</div>
<divclass="text-box-1">
<h5>Copyrights</h5>
<p>AllCopyrightsAreReserverdForThisSite2017-2019</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-twitter"></i>
</div>
<divclass="text-box-1">
<h5>twitterHandles</h5>
<p>abcd@gmail.com,carrentalportal@gmail.com</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-facebook"></i>
</div>
<divclass="text-box-1">
<h5>facebookHandles</h5>
<p>abcd@gmail.com,carrentalportal@gmail.com</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
61
<iclass="fafa-gear"></i>
</div>
<divclass="text-box-1">
<h5>DevelopedBy</h5>
<p>AtulPathak</p>
</div>
</div>
</div>
</section>
</body>
</html>
Index
<!DOCTYPEhtml>
<html>
<head>
<title>Login/SignUP</title>
<linkrel="stylesheet"type="text/css"href="signup.css">
<script
type="text/javascript">function
valid()
if(document.signup.password.value!=document.signup.confirmpassword.value)
match !!");document.signup.confirmpassword.focus();
returnfalse;
returntrue;
</script>
62
</head>
<body>
<divclass="container">
<divclass="main">
<nav>
<div>
<imgsrc="logo/logo3.png"class="logo">
</div>
<ul>
<li><ahref="car-listing.php">CarLIst</a></li>
<li><ahref="check_availability.php">Availability</a></li>
<li><ahref="contact-us.php">ContactUs</a></li>
<li><ahref="index.php">Index</a></li>
<li><ahref="manage-bookings.php">ManageBookings</a></li>
<li><ahref="my-testimonials.php">MyTestimonials</a></li>
<li><ahref="my-booking">MyBookings</a></li>
</ul>
</nav>
</div>
<divclass="slider">
<divclass="title">
<h1><spanstyle="color:#01d7a7;">LOGIN</span>/SIGNUP</h1>
</div>
</div>
</div>
<sectionid="back">
<formmethod="POST"onSubmit="returnvalid();"action="signup.php">
<divid="login-box">
<divclass="left-box">
63
<h1>SignUp</h1>
<inputtype="text"name="username"placeholder="Username"required>
<inputtype="email"name="email"placeholder="E-mailAddress"required>
<inputtype="password"name="password"placeholder="Password"required>
<inputtype="password"name="confirmpassword"placeholder="ConfirmPassword"
required>
<inputtype="submit"name="signup-button"value="SignUp">
</div>
</div>
<divclass="right-box">
<spanclass="signinwith">SigninWith<br>SocialNetwork</span>
<buttonclass="socialfacebook">LoginwithFacebook</button>
<buttonclass="socialtwitter">Loginwithtwitter</button>
<buttonclass="socialgoogle">LoginwithGoogle+</button>
</div>
<divclass="or">OR</div>
</form>
</section>
<sectionclass="full-dark">
<divclass="main">
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-leaf"></i>
</div>
<divclass="text-box-1">
<h5>AwardWinnings</h5>
<p>ThisIsTheIndia'sBestTransportSiteAndTravelSite</p>
</div>
64
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-mobile"></i>
</div>
<divclass="text-box-1">
<h5>PhoneNumber</h5>
<p>+911111111111,+236455641641</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-copyright"></i>
</div>
<divclass="text-box-1">
<h5>Copyrights</h5>
<p>AllCopyrightsAreReserverdForThisSite2017-2019</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-twitter"></i>
</div>
<divclass="text-box-1">
<h5>twitterHandles</h5>
<p>abcd@gmail.com,carrentalportal@gmail.com</p>
</div>
</div>
<divclass="col-md-1">
65
<divclass="icon">
<iclass="fafa-facebook"></i>
</div>
<divclass="text-box-1">
<h5>facebookHandles</h5>
<p>abcd@gmail.com,carrentalportal@gmail.com</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-gear"></i>
</div>
<divclass="text-box-1">
<h5>DevelopedBy</h5>
<p>AtulPathak</p>
</div>
</div>
</div>
</section>
</body>
</html>
MyTstimonials
<!DOCTYPEhtml>
<html>
<head>
<title>Login/SignUP</title>
<linkrel="stylesheet"type="text/css"href="signup.css">
<scripttype="text/javascript">
66
functionvalid()
if(document.signup.password.value!=document.signup.confirmpassword.value)
match !!");document.signup.confirmpassword.focus();
returnfalse;
returntrue;
</script>
</head>
<body>
<divclass="container">
<divclass="main">
<nav>
<div>
<imgsrc="logo/logo3.png"class="logo">
</div>
<ul>
<li><ahref="car-listing.php">CarLIst</a></li>
<li><ahref="check_availability.php">Availability</a></li>
<li><ahref="contact-us.php">ContactUs</a></li>
<li><ahref="index.php">Index</a></li>
<li><ahref="manage-bookings.php">ManageBookings</a></li>
<li><ahref="my-testimonials.php">MyTestimonials</a></li>
<li><ahref="my-booking">MyBookings</a></li>
</ul>
</nav>
</div>
<divclass="slider">
67
<divclass="title">
<h1><spanstyle="color:#01d7a7;">LOGIN</span>/SIGNUP</h1>
</div>
</div>
</div>
<sectionid="back">
<formmethod="POST"onSubmit="returnvalid();"action="signup.php">
<divid="login-box">
<divclass="left-box">
<h1>SignUp</h1>
<inputtype="text"name="username"placeholder="Username"required>
<inputtype="email"name="email"placeholder="E-mailAddress"required>
<inputtype="password"name="password"placeholder="Password"required>
<inputtype="password"name="confirmpassword"placeholder="ConfirmPassword"
required>
<inputtype="submit"name="signup-button"value="SignUp">
</div>
</div>
<divclass="right-box">
<spanclass="signinwith">SigninWith<br>SocialNetwork</span>
<buttonclass="socialfacebook">LoginwithFacebook</button>
<buttonclass="socialtwitter">Loginwithtwitter</button>
<buttonclass="socialgoogle">LoginwithGoogle+</button>
</div>
<divclass="or">OR</div>
</form>
</section>
68
<sectionclass="full-dark">
<divclass="main">
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-leaf"></i>
</div>
<divclass="text-box-1">
<h5>AwardWinnings</h5>
<p>ThisIsTheIndia'sBestTransportSiteAndTravelSite</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-mobile"></i>
</div>
<divclass="text-box-1">
<h5>PhoneNumber</h5>
<p>+911111111111,+236455641641</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-copyright"></i>
</div>
<divclass="text-box-1">
<h5>Copyrights</h5>
<p>AllCopyrightsAreReserverdForThisSite2017-2019</p>
</div>
</div>
69
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-twitter"></i>
</div>
<divclass="text-box-1">
<h5>twitterHandles</h5>
<p>abcd@gmail.com,carrentalportal@gmail.com</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-facebook"></i>
</div>
<divclass="text-box-1">
<h5>facebookHandles</h5>
<p>abcd@gmail.com,carrentalportal@gmail.com</p>
</div>
</div>
<divclass="col-md-1">
<divclass="icon">
<iclass="fafa-gear"></i>
</div>
<divclass="text-box-1">
<h5>DevelopedBy</h5>
<p>AtulPathak</p>
</div>
</div>
</div>
</section>
70
</body>
</html>
P.H.P
CODING(Database)Regis
terdetail:
<?php
$fname=$_POST['fname'];
$pass=$_POST['pass'];
$pass1=$_POST['pass1'];
$email=$_POST['email'];
$mobile=$_POST['mobile'];
$school=$_POST['school'];
$adds=$_POST['adds'];
$con=mysqli_connect("localhost","root","","library");
$query="INSERTINTO`reg`(`USER_NAME`,`PASS`,`CONF`,`EMAIL_ID`,`MOBILE_NO`,
`SCHOOL`,`ADDRESS`)VALUES('$fname','$pass','$pass1','$email','$mobile','$school','$adds')";
$run=mysqli_query($con,$query);if($run==TRUE)
echo"DATAINSERTED";
else
echo"errror";
?>
Contactdetail:
<?php
$fname=$_POST['name'];
$email=$_POST['e_mail'];
$mobile=$_POST['phone'];
$school=$_POST['schoo'];
$sadds=$_POST['saddr'];
$message=$_POST['message'];
71
$con=mysqli_connect("localhost","root","","library");
$query="INSERTINTO`contact`(`First_NAME`,`Email_id`,`MOBILE_NO`,`SCHOOL`, `School_addr`,
`message`)VALUES('$fname','$email','$mobile','$school','$sadds','$message')";
$run=mysqli_query($con,$query);if($run==TRUE)
header("location:iframe/iframe2.html");
else
echo"errror";
?>
login:
<?php
include("config.php");
?>
<?phpif(isset($_POST['login']))
extract($_POST);
$query="SELECT*FROMregWHEREUSER_NAME='$fname'ANDPASS='$pass'";
//$query="SELECT*FROM'reg'WHEREUSER_NAME='".$fname."'ANDPASS='".$pass."'";
$run=mysqli_query($conn,$query);if($run)
if(mysqli_num_rows($run)>0)
$_SESSION['USER_NAME']=$fname;
$_SESSION['PASS']=$pass;
header("location:books.html");
else
72
{
echo"loginfailed";
?>
css:
.form_row1
width:250px;clear:both
;padding:10px 0 10px
0;color:#a53d17;
.form_row12
width:50px;
clear:both;
padding:10px 0 10px
0;color:#a53d17;
.contact1
width:75px;
float:left;
font-
size:12px;text-
align:right;
padding:4px5px00;
.contact_input1
width:150px;
height:18px;
73
background-
color:#fff;color:#999999;
border:1px #DFDFDF
solid;border-
radius:50px;float:left;
.terms{
padding:00080px;
.register1{widt
h:
71px;height:
25px;
border-radius:
7px;cursor:
pointer;text-align:
center;float:right;
color:#FFFFFF;
background-color:saddlebrown;
.register1:hover
background-color:green;
.register12
width:71px;height:
25px;border-
radius: 7px;cursor:
pointer;text-align:
center;float:left;
color:#FFFFFF;
background-color:saddlebrown;
74
}
.register12:hover
background-color:green;
.contact_form
width:355px;float:left;
padding:25px;margin:
20px0015px;
border:1px #DFD1D2
dashed;position:relative;
.contact_form1
width:250px;float:left;
padding:25px;margin:
20px0015px;
border:1px #DFD1D2
dashed;position:relative;
.form_subtitle
position:absolute;
top:-
11px;left:7px;widt
h:auto;height:20p
x;
background-
color:#795636;text-
align:center;
75
padding:0 7px 0
7px;color:#FFFFFF;
font-
size:15px;line-
height:20px;
.left_content
width:490px;
float:left;
padding:20px020px20px;
.center_content
width:900px;paddin
g:5px05px0;
background:url(images/center_bg.gif)repeat-ycenter;
.right_content
width:370px;
float:left;
padding:20px020px20px;
.right_content
width:370px;
float:left;
padding:20px020px20px;
.feat_prod_box_details
padding:10px 0 10px
76
0;margin:020px10px 0;
77
clear:both;
.clear{clea
r:both;
.logo
padding:50px00130px;
.details
15px;font-size:21px;
.details1
80px;font-size:21px;
text-align:justify;
.details1a
10px;font-size:40px;
text-align:justify;
font-family:ComicSans,ComicSansMS,cursive;
.title
color:#734633;
font-size:19px;
margin:10px010px 0;
78
body
background-color:#6F605A;
serif;padding:0;
font-size:12px;
auto;color:#000000;
#wrap{width
:900px;heig
ht:
auto;margin:
auto;
background-color:#FFFFFF;
.text
serif;font-size:12px;
color:#999999;
.contact_textarea
width:253px;
height:120px;
serif;font-size:12px;
color:#999999;background
-color:#fff;border:1px
#DFDFDF solid;float:left;
79
a.contact
width:53px;height
:24px;display:bloc
k;float:right;margi
n:00010px;
background:url(images/contact_bt.gif) no-repeat
center;text-decoration:none;
text-
align:center;line-
height:24px;colo
r:#fff;
.contact
width:75px;
float:left;
font-
size:12px;text-
align:right;
padding:4px5px00;
.contact_input
width:253px;height:18
px;background-
color:#fff;color:#99999
9;
border:1px #DFDFDF
solid;border-
radius:50px;float:left;
.captcha_input
80
{
81
width:180px;height:45
px;background-
color:#fff;color:#99999
9;
border:1px #DFDFDF
solid;border-
radius:50px;float:left;
font-size:
40px;text-
align:center;
.captcha_input1
width:180px;height:45
px;background-
color:#fff;color:#99999
9;
border:1px #DFDFDF
solid;border-
radius:50px;float:left;
font-size:
40px;text-
align:center;
.feat_prod_box_details
padding:10px 0 10px
0;clear:both;
.footer
height:100px;
82
border-top:1px #b2b2b2
dashed;background:url(images/footer_bg.gif)no-
repeatbottom;
83
font-size:25px;
.header
width:900px;
height:181px;
background:url(images/header.jpg)no-repeatcenter;
.form_row
width:335px;
_width:355px;clear:bot
h;padding:10px010px0
_padding:5px 0 5px
0;color:#a53d17;
padding:50px00130px;
#menu
width:628px;height:30
px;padding:55px0010p
x;
#menuul
list-
style:none;padding:9
px 0 0
84
10px;margin:0px;
85
position:relative;
float:left;
#menuula
height:27px;display:bloc
k;padding:0px 10px 0
10px;margin:0 4px 0
4px;float:left;
text-
decoration:none;text-
align:center;color:#ff
f;
font-
size:13px;line-
height:25px;
#menuulli
display:inline;pa
dding:0px;margi
n:0px;height:20p
x;position:relativ
e;float:left;
#menuulul
position:absolute;display:n
one;
background-color:#4e3123;
#menuullia:hover
86
color:#f7a849;
#menuulli:hover>ul
display:block;
#menuululli
float:none;
table,td
red;border-
collapse:collapse;paddin
g:30px;
#table,#td
border:none;
border-
collapse:collapse;padding:30px;
.title_icon
float:left;padding:
05px00;
.thumb
87
{
88
padding:10px 0 0
0;height:120px;
.thumb1
padding:0 0 0
0;height:180px;
.register
{width:
71px;height:
25px;
border-radius:
7px;cursor:
pointer;text-align:
center;float:right;
color:#FFFFFF;
background-color:saddlebrown;
.register:hover
background-color:green;
.new_book_box1{
/* float: left;
*/text-align:
left;padding:1
5px;
.new_book_box1
a{padding:5px 0 5px
0;color:#b5b5b6;
text-
89
decoration:none;display:bl
ock;
90
.new_book_box{
float:left;
text-
align:center;padding:15px;
.new_book_box
a{padding:5px 0 5px
0;color:#b5b5b6;
text-
decoration:none;display:bl
ock;
91
23. PROJECTSCREENSHOTS
1. HomePageTop
2. HomePageMid
92
3. HomePageBottom
4. LoginPage
93
5. SignUpPage
6. About UsPage
94
7. CarListingPage
8. FAQPage
95
9. Contact UsPage
96
11. AdminLoginPage
97
24.References
1. SoftwareEngineering-R.S.Pressman
2. PHPForDummies
3. PHPBeginnersGuideByMcGrawhillPublication
4. JavascriptByMcGrawhiIIPublication
5. DeepakThomas”BeginningPHP4Databases”,WroxPressLtd.Paperback-17.
6. MattDoyle,“BeginningPH5.3,2ndedition”,
8. Server-SideScriptinghttp://php.net/manual/en/index.php.
9. HTML&CSShttps://www.w3schools.com/
10. Bootstraphttp://getbootstrap.com/
11. https://stackoverflow.com/
98