Vehicle Management System
Vehicle Management System
Vehicle Management System
Submitted By
Mr. Atul , ENROLMENT NO:-021633537
COURSE CODE:-CS-76
STUDY CNETER CODE:-0741(p),Vikas Puri.
REGIONAL CENTER CODE:-07,TUGLAKABAD.
NEW DELHI- 110046
Page: 3
CERTIFICATE
This is to certify that Mr. Atul final year B.C.A. student of (IGNOU), STUDY CENTER
(VIKAS PURI ,0741P), did a project on web based solution for VEHICLE
MANAGEMENT SYSTEM for the Internet Business solution group of Falcon Marine
Exports Limited, BBSR.The project was successfully completed during his study from –
JUN to SEP
During this period we found his conduct to be excellent, adaptive, hard working and
adhering to the norms of our organization
Mr Hiranmay Dash
Project Guide
Page: 4
VIVA-VOCE EXAMINATION
Page: 5
ACKNOWLEDGEMENT
First and foremost I thank the almighty for his shower of blessings and for giving me the
courage and enthusiasm and perseverance to handle this project work
It is my duty to thank my parents for their rich source of inspiration and advice.
I also wish to thank my guide Mr.Kijol Agrawall for their kind suggestions and
cooperation during the complete duration of the project.
Page: 6
Page: 7
Page: 8
Contents
Page: 9
Cancel Job card..................................................................................................................................20
Edit of job card...................................................................................................................................20
Page: 10
Page: 11
About Falcon Motors
Falcon Motors is one of the premiere transport service company in India. Falcon
Motors is a full fledge Transport Services Company with a host of other local
offices all over the India. It is committed to excellence to provide services and
support to satisfy the customer needs. It is a market-tested leader in delivery
services, offering an easy full-fledged delivery of transport services globally.
Serving as a strategic advisor and trusted delivery to his clients, it also delivers
solutions that are tailored to meet the customer needs through our major product
channels.
Falcon Motors is the ideal solution for the majority of client time-sensitive
deliveries to virtually, whether full or multiple piece delivery. Every day at Falcon
Motors, delivers national shipments within with in different states of India. It offers
a variety of transport services to meet the different type of customer requirements
like to provide the services for Dept Stores and warehouses.
Electronic tracking and confirmation of delivery is available on-line through the
Internet within minutes of delivery. Services are made to suite individuals' needs.
Falcon offers a full fledged of transport services such as:
Page: 12
Project Overview
VMS has been developed in conjunction with the Transport Industry in an effort to
provide a total web-based solution for Maintenance, Operational and
Administrative Controls in any vehicle situation.
The competitive nature of our transport world today requires that we manage all
aspects of the transport business. The VMS includes customers resources, the
vehicles that play an integral part in delivering your products and services to the
customer.
The Benefits
It is widely accepted by VMS that available feature changes the playing field by
providing numerous benefits. The science of Vehicle Management has been forever
changed by these benefits :
Page: 13
Profitability: serve more customers in less time, save on gas and slow
Vehicle wear and tear, reduce unnecessary overtime, minimize unauthorized
use of company vehicles, fewer resources to do equal or more work
Project Scope
Vehicle Management
Tyre Management
Workshop
Trip Planning
Trip
Incidents and Accidents
Reports
Solution Architecture
MS Internet Weblogic
Explorer Server Oracle 8i
Page: 14
Technology Used
Development Environment
Deployment Environment
Requirement Details
A modular approach has been followed to provide for the necessary flexibility to
use only the modules related to the user's specific environment.
Vehicle management module forms the core of the Vehicle Management System.
This module provides all relevant information pertaining to the vehicle such as
vehicle description, scheduled activities, licensing details and other statistical data.
Functionalities:
Vehicle master keeps basic information of a vehicle. Vehicle Master has that
information of vehicle, which are dynamic, and change with every trip of the
vehicle .New vehicle addition, edition/deletion of existing vehicles. Queries income
Page: 15
details and cost details (fixed /operational/maintenance cost) attached with a
vehicle.
Unit Allocation
This facility allows the user to allocate Exchange Units to vehicles or placing them
back to stores.
Scheduled Activities
This is for planning planned services, licenses, insurance, permits etc. The user
has to specify the last dates and/or odometer readings for these services last
provided to ensure that user is timely warned for due activities as period/ distance
between two instances of same service is also captured.
Change status
This facility allows one to change the status of a vehicle within any of the user-
defined status.
Alter Registrations
This facility allows the user to alter the registration number of a vehicle. This is
especially useful where a vehicle has been re-registered due to number plate
changes. All costs incurred on the old vehicle are automatically carried over to the
new registration number.
Fuel Management
On receipt of fuel, invoicing facility is provides and user is allowed to print a fuel
receipt note. Fuel cannot receive more than the maximum capacity of the tank. At
the time receipt of fuel the system will prompt the level of existing fuel.
Driver Management
Page: 16
TYRE Management Module
This module provides for a comprehensive tyre management system catering for
tyre identification, wheel positions, expected km life, purchase details. Full
tracking per tyre and/or wheel position is provided to enable a detailed analysis of
tracked km's, positioning and removal reasons, dates positioned and removed,
etc.
The system caters for new and retread tyres and each retread life is monitored
separately for comparative reasons. Repair costs, casing residuals and
amortisation costs enable accurate costing on each individual tyre, as well as costs
per vehicle.
Full scrapping analysis and repair history is kept to enable management accurate
decision making in choosing the correct tyre for the operation.
Functionalities:
This function allows the user edit old or adds new tyres. ”Pop-up” screens are
provided wherever possible to help the user select from listed values. Entries in
some critical fields are essential and fixed fields are made non-editable. Editing,
deletion and query of an existing tyre is provided on the basis of unique identity
number.
Tyre Movements
This function allows the user to move a tyre from / to a store, vehicle or as a
spare on a vehicle. When selecting a vehicle the user has to enter the position and
date the tyre has been fitted.
Tyre Purchases
This facility allows the user to purchase in bulk from a specific supplier. Once the
tyres are received the user has to enter for each tyre an identity number, make ,
type etc. On entry of new tyres , cross checks are done with invoice balance.
The user has option of returning goods to the supplier if they have been incorrectly
supplied. Then all tyres in the invoice are listed with identity number, make, type
and amount. Against each identity number details entered can be seen. The total
amount is summed under a head called subtotal. On this subtotal discount % is
mentioned and the discount amount shown. Over this delivery charges are added
Page: 17
along with tax amount to arrive at total amount. On confirmation a goods received
note can be generated and printed.
Scrap Tyres
• Ship Tyres
• Receive Tyres
Punctures
This function allows the user to enter any costs on the tyre pertaining to a
puncture. The user selects a tyre and the account number of the supplier to whom
the tyre has been sent for repair. A reference, date, amount charged as well as
the current tread depth are entered.
Workshop Module
The Workshop Module is fully integrated with the Main Module avoiding duplication
of entries. Job cards are printed as instruction of work to be carried out. Detailed
Performa job cards for different services are created to specify the tasks to be
performed, parts to be replaced/repaired as well as standard times for each type
of service.
As soon as the job card is closed, the details are automatically transferred to the
Main Module to update the vehicle detail.
This module helps to maintain the details of the vehicle symptoms, the actions
taken to rectify them (spares used, labour worked on it and other maintenances
undertaken). It also gives the picture of total costs incurred on the vehicle and
also on spares, labour and other maintenances. So the user can take the proper
decision whether to incur extra expenses on vehicle or not. It also maintains the
information in which workshop a particular vehicle has been maintained and the
labours worked on it.
Page: 18
Features:
• User of the vehicle can directly report the faults with his experience on a scale
of 0 to 9, 9 being the severest.
• One job card for one vehicle can cater to one or multiple faults existing against
the vehicle.
• A profile exists for rectifying each symptom, which can be called and edited as
per the case.
• Handles scheduled and unscheduled maintenance jobs.
• Provides information about maintenance labours and spares costs incurred on
each vehicle.
Functionalities:
• Logging symptoms
• Create job card
• Cancel job card
• Edit of job card
Logged Symptoms
The user can log scheduled and unscheduled symptoms against a vehicle. User
may choose to take action against all symptoms or a few of symptoms logged
while creating a job card. He is able to choose the symptom from a user defined
list .He can accept the default severity factor and repair cost and time or may
override those details according to his own experience or depending upon the
vehicles present condition. It gives the details of estimated cost, time and actual
cost, time for each symptom in a graphical form. The user can take actions to
reduce the cost in future works. He can also cancel the job card when he feels the
symptom has been logged unnecessarily.
Page: 19
incur further expenses on that vehicle. It also gives the complete details of the
vehicle whether job card is being created due to accident or abuse and in and out
odometer reading etc.
From the functional point of view this module plays very important role as
this module controls all sorts vehicle bookings, utilisation contract printing
and debtors related reports. It’s one of the advantages is the ability to
generate departmental as well as inter company billing.
Functionalities:
As the name suggests the rental agreement is to give vehicles on rent which is
performed through various steps such as:
Initial Agreements
Final Agreements
Initial Agreements
Before issuing the agreement it looks for the detailed debtor’s information
including postal address, telephone no etc. Allows to enter the date and time out
as well as the planned date and time back which also looks for the condition of
the vehicles before the delivery to the customer
Once the vehicle is not available or there is a conflicting booking then it shows the
existing booking along with the option of either canceling or continuing it.
All varieties of charging is allowed including:
Page: 20
Time Sheets
Rates may include/exclude kilometers charge
Flat quoted rate
Rates may include driver/operator charges
Hourly/Weekly/Daily/Monthly rates
Rates may allow additional/free kilometers
Final Agreements
See the list of outstanding contracts and select desired
contract.
Allow user to change/confirm dates and times in and out
which also includes the adding/changing to the
collection/delivery details and the remark fields .
It can also calculate the chargeable no. of hours , days ,
weeks ,months while taking into considerations for Holidays ,
Sundays and Saturdays if the need arise .
Calculate the discount , tax , and insurance as well as time
sheet input .
While calculating Kilometers it takes into consideration the following
fact that, “x” no. of kms to be free; next “y” no. of kms to be
charged @1 ; “z” no. of kms to be charged @2 ; remaining no.
of kms to be charged @3 .
Also it takes care of any new labour charges or any operator.
Allow unlimited different user definable sundry charges, which
include delivery, and special charges.
Takes care of Vehicle Damage Insurance (VDI), excess charges and
permits.
Accessories Items
User-defined sundry charges are allowed where ever applicable which may be
either hourly, daily, weekly, monthly or flat basis which include if any discountable
charge to be listed along with whether it is standard rated, zero rated or exempt
from tax.
Trip Module
Vehicle trip data is recorded in this module and database details of customers and
products delivered are captured in this module.
Page: 21
Trip Completion and Invoicing can be done through this module. Each
Invoice is allocated to a specific vehicle, driver on basis of each trip. Delivery and
trip reports are provided as well as detailed analysis regarding cost ratios per trip,
per day, per hour, per unit delivered, c/ton-km, etc. Vehicle utilization in terms of
time and capacity is also reported on.
Trip costing is a crucial element of Vehicle management excels in this area with its
very powerful reporting features. The system caters for both kilometers as well as
hourly-based vehicles and reports have been designed accordingly.
This module tracks all the trips and loads for each vehicle & generates invoice
against the customer. Further same invoice can be printed & rise to the debtor for
payment.
Functionalities:
Departure
A client or trip profile containing basic information regarding the chargeable trip is
entered into the system as a “template” so as to reduce typing at the stage of
operation. In addition this profile is used as a record of rates and details
standardized.
The client order is entered into the system using either the specific trip scheduling
that is suitable for amendment to meet the requirements of this particular load
and trip.
A number of loads are scheduled and allocated to a particular vehicle and driver to
be collected and delivered at specific times and dates.
Arrival
When “Proof of Delivery” (POD) is received, the order is amended to cater for
differences in times, tonnage etc. It is then invoiced to the client.
Page: 22
Functionalities:
This facility allows the user to enter/update any insurance for a specific vehicle. All
costs and dates are recorded against the vehicle as sundry item costs.
Incidents
The user requires to keep detailed information about all incidents. So use has the
provision to enter new incidents, and edit or delete or query existing ones.
Accidents
Report Module
Report module is fully integrated to the Vehicle Main Module, where most of the
global Vehicle Management reporting takes place.
Functionalities:
Vehicle Reports
Page: 23
Tyre Reports
Listing of Tyres
Depth of Tread Analysis Report
Tyre Movement Report
Scrapped Tyre Report
Puncture Report
Tyre Location Report
Expense Analysis Report
Driver Reports
Workshop Reports: Reports are generated to list job cards, symptoms etc. to
facilitate the user with quick overall idea.
Job card Listings: It gives the list of all job cards and the status of the job
card and reason of the job card etc.
Spares shortage Report: It gives the on hand quantity of spares and used
and required quantities of spares by the vehicles. So the user can predict the
requirement of spares beforehand and can take to procure them.
Vehicles exceeding given maintenance cost limit: The user can get the
list of vehicles whose Maintenance cost has been exceeded that the amount
given by the user.
Trip Reports
Page: 24
Following reports are generated for client, route, vehicle and driver.
Trip Sheets
Load Registers
Proof of Deliveries
Fuel consumption
Invoice
Trip-wise expenditure
Periodic Expenditure
Incidents reports
Dataflow Diagrams
Vehicle Management Module
START
SELECT WORKSHOP
NO
IS USER AGREE
TO
CREATE JOB
CARD?
YES
Page: 25
CREATE JOB CARD
LOGIN SYMPTOMS
APPROXIMATED OUT TIME
INSURED MAINTENANCE
INITIAL METER READING
INITIAL FUEL LEAVEL
IS USER AGREE TO
TAKE ACTION ON
EACH LOGG
SYMPTOMS?
YES
SYMPTOM NAME
SPAIRS
SYMPTOM ID
QUANTITY OF SPAIRS
NO OF LABOURS
WORKING HOUR
OYHER MAINTENANCE
Page: 26
SYMPTOM ID
VEHICLE REGISTRATION NUMBER
SPAIR COST
LABOR COST
OTHER MAINTENANCE COST
TOTAL COST
*Vehicle Regd_No
Completion date
Out meter reading
Out fuel level
Insured on labors
Insured on spare
Final bill Page: 27
Payment by user
Logical Schema Design
All the modules including user security logical data structure is as follows:
Page: 28
Vehicle Management Module
Page: 29
TABLE NAME TYRE
DESCRIPTION IT TELLS INFORMATION ABOUT DIFFERENT TYPES OF TYRE
Page: 30
Accidents & Incidents Module
Page: 31
Sl Column Name Type Width Key Description
No
Page: 32
Sl Column Name Type Width Key Description
No
3. Prt_No Varchar2 10 Vehicle Permit Number
4.
Trip Varchar2 10 Vehicle Go to Trip
5.
Own Varchar2 10 Vehicle Go to Own
6. Drv Varchar2 10 Vehicle Drive
7. Dt_Occ Date Date Occurrence
8. Tm_Occ Time Time Occurrence
9. Plc_Occ Varchar2 10 Place Occurrence
10. Wht_ Rt Varchar2 10 Wheather Report
11. Vis_Rt Varchar2 10 Visibility Report
12. Ins_Clm Varchar2 10 Insurance Claim Report
13. Ot_Accr Varchar2 10 Vehicle Other Accessories Detail
14. Pol_Case Varchar2 10 Police Case
15. Civ/Crim_Case Varchar2 20 Civil/Criminal Case
16. Compen Varchar2 20 Vehicle Compensation
Page: 33
Sl Column Name Data Type Key Description
No
2 Workshop_Type Char (8) It tells the type of workshop i.e
. light or heavy
Page: 34
Table name: Create_ job_Card
Description: It tells the information about the creation of job card for the
Vehicle
Index file: (VM_Regd_No)
Page: 35
Table name: Action_On_Each_symptom
Description: It tells the information about the action taken against each
symptom
Index file: (Symptom_Name)
Page: 36
Table: Maintenance_Cost_Of_Symptom
Description: It tells the information about the maintenance cost of the
symptoms
Index file: (Symptom_ID)
Sl No Column Name Data Type Key Description
1. Symptom_ID Char (20) PK It tells the identification number
of the symptom which is given by
the workshop
Table: Edit_Job_Card
Description: It tells the information about the vehicle when the vehicle
Release from the Workshop
Index file: (VM_Regd_No)
Page: 37
Sl No Column Name Data Type Key Description
7. Final_Bill Varchar2(20) It tells the cost the customer have to
paid
Detail Design
1.
Page: 38
Page: 39
Page: 40
Page: 41
Page: 42
Page: 43
Page: 44
Page: 45
Page: 46
Page: 47
Page: 48
Page: 49
Page: 50
Page: 51
Page: 52
Page: 53
Page: 54
Page: 55
Page: 56
Page: 57
Page: 58
Page: 59
Page: 60
HTML CODING
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<TITLE>Motor Vehicle Maintance VEHICLE MASTER page</TITLE>
<LINK REL=stylesheet href="../css/mycss.css" type="text/css">
<script language="Javascript">
function display()
{
location="MANUE.HTML"
}
function cancel()
{
alert("Do you want to go the details page")
if (alert)
location="Workshop_information.html"
}
</Script>
</HEAD>
<BODY bgColor=cornsilk leftmargin=0 topmargin=0>
Page: 61
<BODY bgColor=cornsilk leftmargin=0 topmargin=0>
Page: 62
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="Microsoft FrontPage 4.0" name=GENERATOR>
<script language="javascript">
var a,y,x=1;
function fintd()
{
if(document.getElementById('VEHICLE').value!="")
{
if(x==1)
{
x=document.getElementById('VEHICLE').value;
a=12-x.length;
for(var i=1;i<=a;i++)
{
x=x+" ";
}
top.myname.document.getElementById(x).style.background='oldlace';
y=x;
}
else
{
x=document.getElementById('VEHICLE').value;
a=12-x.length;
for(var i=1;i<=a;i++)
{
x=x+" ";
}
top.myname.document.getElementById(x).style.background='oldlace';
top.myname.document.getElementById(y).style.background='';
y=x;
}
}
else
{
alert("ENTER THE VEHICLE REGD NO.");
}
}
function printdoc()
{
window.print();
}
</script>
</HEAD>
<BODY bgColor=cornsilk leftmargin=0 topmargin=0 >
<br>
<br>
<P align=center ><FONT color="#f05a00" size=5 face="verdana"><b>ABOUT VEHICLE
INFORMATION</b></FONT></P>
<P align=center style="font-family:arial;font-size:20">Select Vehicle Regd No.
<input type=text name=vehicle id="VEHICLE"> <INPUT id=button2 style="WIDTH: 102px;
HEIGHT: 24px" type=button size=51 value=Search name=button2 Onclick="fintd()">
</P>
Page: 63
<TR style="font-family:arial;font-size:14;font-weight:bold;align:center;background-
color:'oldlace'" id="my">
<TD style="width: 41; align: center; border: 2 solid #000000" height="25">Sl No</TD>
<TD style="width: 94; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">Vm Regd No</TD>
<TD style="width: 100; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">vehicle Name</TD>
<TD style="width: 85; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">Engine No</TD>
<TD style="width: 140; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">Company Address</TD>
<TD style="width: 98; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">Owner Name</TD>
<TD style="width: 109; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">Purchase Date </TD>
<TD style="width: 114; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">Dealer Address</TD>
<TD style="width: 86; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">View/Edit</TD>
</TR>
<TR style="font-family:arial;font-size:12">
<TD width="41" align="center" colspan="9" height="126" valign="top" style="border-left: 2
solid #000000; border-right: 2 solid #000000; border-bottom: 2 solid #000000">
<iframe src="../jsp/v_master_vehicle1.jsp" frameborder="0" height="250" width="868"
border="0" scrolling="yes" name="myname"></iframe>
</TD>
</TR>
<TR>
<TD colspan="9" height=35 align="center">
<INPUT id=button1 type=SUBMIT value=Add name=button1 style="WIDTH: 86px; HEIGHT: 24px;
BACKGROUND-COLOR: silver" size=86>
<INPUT name=print type=button value=Print style="WIDTH: 89px; HEIGHT: 24px; BACKGROUND-COLOR:
silver" size=44 Onclick="printdoc()">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="Microsoft FrontPage 4.0" name=GENERATOR>
<script language="javascript">
var a,y,x=1;
function fintd()
{
if(document.getElementById('VEHICLE').value!="")
{
if(x==1)
{
x=document.getElementById('VEHICLE').value;
a=20-x.length;
for(var i=1;i<=a;i++)
{
x=x+" ";
}
top.myname.document.getElementById(x).style.background='oldlace';
Page: 64
y=x;
}
else
{
x=document.getElementById('VEHICLE').value;
a=20-x.length;
for(var i=1;i<=a;i++)
{
x=x+" ";
}
top.myname.document.getElementById(x).style.background='oldlace';
top.myname.document.getElementById(y).style.background='';
y=x;
}
}
else
{
alert("ENTER THE VEHICLE REGD NO.");
}
}
function printdoc()
{
window.print();
}
</script>
</HEAD>
<BODY bgColor=cornsilk leftmargin=0 topmargin=0 >
<br>
<br>
<P align=center ><FONT color="#f05a00" size=5 face="verdana"><b>FUEL
MAINTENANCE</b></FONT></P>
<P align=center style="font-family:arial;font-size:20">Select Vehicle Regd No.
<input type=text name=vehicle id=VEHICLE> <INPUT id=button2 style="WIDTH: 102px;
HEIGHT: 24px" type=button size=51 value=Search name=button2 Onclick="fintd()">
</P>
<TR style="font-family:arial;font-size:14;font-weight:bold;align:center;background-
color:'oldlace'" id="my">
<TD style="width: 41; align: center; border: 2 solid #000000" height="25">Sl No</TD>
<TD style="width: 90; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">Vm Regd No</TD>
<TD style="width: 100; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">Vehicle Name</TD>
<TD style="width: 120; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">Fuel Filling Date</TD>
<TD style="width: 90; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">Fuel Amount</TD>
<TD style="width: 90; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">Amount Paid</TD>
<TD style="width: 156; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25"> Initial Meter Reading</TD>
<TD style="width: 86; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25"> Option</TD>
</TR>
<TR style="font-family:arial;font-size:12">
<TD width="41" align="center" colspan="9" height="99" valign="top" style="border-left: 2
solid #000000; border-right: 2 solid #000000; border-bottom: 2 solid #000000">
Page: 65
<iframe src="../jsp/V_Fuel_iframe.jsp" frameborder="0" height="250" width="773" border="0"
scrolling="yes" name="myname">15656
gggg g
<p> </p>
<p> </p>
<p> &n
bsp;
</p>
</iframe>
</TD>
</TR>
<TR>
<TD colspan="9" height=35 align="center">
<INPUT id=button1 type=SUBMIT value=Add name=button1 style="WIDTH: 86px; HEIGHT: 24px;
BACKGROUND-COLOR: silver" size=86>
<INPUT name=print type=button value=Print style="WIDTH: 89px; HEIGHT: 24px; BACKGROUND-COLOR:
silver" size=44 Onclick="printdoc()">
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<TITLE>Motor Vehicle Maintance VEHICLE MASTER page</TITLE>
<LINK REL=stylesheet href="../css/mycss.css" type="text/css">
<script language="Javascript">
function display()
{
location="MANUE.HTML"
}
function cancel()
{
alert("Do you want to go the details page")
if (alert)
location="v_master_vehicle.html"
}
</Script>
</HEAD>
<BODY bgColor=cornsilk leftmargin=0 topmargin=0>
<TABLE cellSpacing=1 cellPadding=1 width=571 border=0 align=center height="410">
<form action="../jsp/v_master_Fuel1.jsp" method="post">
<TR>
<TD colspan=2 height="153" align=middle width="408"><FONT color="#f05a00" size=5
face="verdana" ><b>
&nb
sp; </b></FONT>
<p><font color="#f05a00" size="5"
face="verdana"><b> &nb
sp;
FUEL MAINTENANCE</b></font></p>
</TD>
</TR><TR> <TD width="273"
height="25"> &nb
sp;
Vm Regd No</TD> <TD width="79" height="25" ><INPUT name=VM_REGD_NO></TD>
Page: 66
</TR><TR> <TD width="273"
height="25"> &nb
sp;
Vehicle Type</TD><TD width="79" height="25"><INPUT name=VM_TYPE></TD></TR>
<TR><TD width="273" height="25">
&nb
sp;
Fuel Filling Date</TD>
<TD width="79" height="25"><INPUT name= F_DATE></TD></TR>
<TR><TD width="273"
height="25"> &nb
sp;
Fuel Amount</TD><TD width="79" height="25"><INPUT name=AMOUNT></TD></TR>
<TR><TD width="273"
height="25"> &nb
sp;
Amount Paid</TD><TD width="79" height="25"><INPUT name=PAID></TD></TR>
<TR> <TD width="273"
height="25"> &nb
sp;
Initial Meter Reading</TD><TD width="79" height="25"><INPUT name=READING></TD></TR>
<tr>
<TD width="273"
height="25"> &nb
sp;
Vehicle Name</TD><TD width="79" height="25"><INPUT name=VM_NAME></TD>
</tr>
<TR> <TD colspan=2 align="center" height="46"
width="408"> &nb
sp;
<INPUT id=submit1 type=submit value="Save" style="width:82px;height:24px;background-
color: silver" size=82 name=submit1>
<INPUT id=button1 type=button value=Cancel style="width:82px;height:24px;background-color:
silver" size=82 name=button1 OnClick=cancel()>
<INPUT id=button2 type=button value=Exit style="width:82px;height:24px;background-color:
silver" size=82 name=button2 Onclick=display()></TD></TR>
</TABLE></form></BODY></HTML>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<TITLE>Motor Vehicle Maintance VEHICLE MASTER page</TITLE>
<LINK REL=stylesheet href="../css/mycss.css" type="text/css">
<script language="Javascript">
function display()
{
location="MANUE.HTML"
}
function cancel()
{
alert("Do you want to go the details page")
if (alert)
location="v_master_vehicle.html"
}
</Script>
</HEAD>
<BODY bgColor=cornsilk leftmargin=0 topmargin=0>
<TABLE cellSpacing=1 cellPadding=1 width=400 border=0 align=center height="367">
<form action="../jsp/v_master_Fuel1.jsp" method="post">
<TR>
<TD colspan=4 height="110" align=middle>
<p><FONT color="#f05a00" size=5 face="verdana" ><b> FUEL MAINTENANCE </b></FONT></p>
Page: 67
</TD>
</TR>
<TR>
<TD height="25">Vm Regd No</TD>
<TD height="25" ><INPUT name=VM_REGD_NO></TD>
<TR>
<TD height="25"> Vehicle Name</TD>
<TD height="25" ><INPUT name=VM_NAME></TD></TR>
<TR>
<TD height="25">Vehicle Type</TD>
<TD height="25"><INPUT name=VM_TYPE></TD></TR>
<TR>
<TD height="25"> Fuel Filling Date</TD>
<TD height="25"><INPUT name= F_DATE></TD></TR>
<TR>
<TD height="25">Fuel Amount</TD>
<TD height="25"><INPUT name=AMOUNT></TD></TR>
<TR>
<TD height="25">Amount Paid</TD>
<TD height="25"><INPUT name=PAID></TD></TR>
<TR>
<TD height="25">Initial Meter Reading</TD>
<TD height="25"><INPUT name=READING></TD></TR>
<TR>
<TD colspan=4 align="center" height="46">
<INPUT id=submit1 type=submit value="Delete" style="width:82px;height:24px;background-
color: silver" size=82 name=submit1>
<INPUT id=button1 type=button value=Cancel style="width:82px;height:24px;background-color:
silver" size=82 name=button1 OnClick=cancel()>
<INPUT id=button2 type=button value=Exit style="width:82px;height:24px;background-color:
silver" size=82 name=button2 Onclick=display()></TD></TR>
</TABLE>
</form>
</BODY>
</HTML>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<TITLE>Motor Vehicle Maintance VEHICLE MASTER page</TITLE>
<LINK REL=stylesheet href="../css/mycss.css" type="text/css">
<script language="Javascript">
function display()
{
location="MANUE.HTML"
}
function cancel()
{
alert("Do you want to go the details page")
if (alert)
location="v_master_vehicle.html"
}
</Script>
</HEAD>
<BODY bgColor=cornsilk leftmargin=0 topmargin=0>
<TABLE cellSpacing=1 cellPadding=1 width=400 border=0 align=center>
<form action="../jsp/v_master_Fuel1.jsp" method="post">
Page: 68
<TR>
<TD colspan=4 height="200" align=middle><FONT color="#f05a00" size=5 face="verdana" ><b>
FUEL MAINTENANCE </b></FONT></TD>
</TR>
<TR>
<TD>Vm Regd No</TD>
<TD ><INPUT name=VM_REGD_NO></TD>
<TR>
<TD> Vehicle Name</TD>
<TD ><INPUT name=VM_NAME></TD></TR>
<TR>
<TD>Vehicle Type</TD>
<TD><INPUT name=VM_TYPE></TD></TR>
<TR>
<TD> Fuel Filling Date</TD>
<TD><INPUT name= F_DATE></TD></TR>
<TR>
<TD>Fuel Amount</TD>
<TD><INPUT name=AMOUNT></TD></TR>
<TR>
<TD>Amount Paid</TD>
<TD><INPUT name=PAID></TD></TR>
<TR>
<TD>Initial Meter Reading</TD>
<TD><INPUT name=READING></TD></TR>
<TR>
<TD colspan=4 align="center" height="50">
<INPUT id=submit1 type=submit value="Udate" style="width:82px;height:24px;background-
color: silver" size=82 name=submit1>
<INPUT id=button1 type=button value=Cancel style="width:82px;height:24px;background-color:
silver" size=82 name=button1 OnClick=cancel()>
<INPUT id=button2 type=button value=Exit style="width:82px;height:24px;background-color:
silver" size=82 name=button2 Onclick=display()></TD></TR>
</TABLE>
</form>
</BODY>
</HTML>
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="Microsoft FrontPage 4.0" name=GENERATOR>
<script language="javascript">
var a,y,x=1;
function fintd()
{
if(document.getElementById('VEHICLE').value!="")
{
if(x==1)
{
x=document.getElementById('VEHICLE').value;
a=12-x.length;
for(var i=1;i<=a;i++)
{
x=x+" ";
}
Page: 69
top.myname.document.getElementById(x).style.background='oldlace';
y=x;
}
else
{
x=document.getElementById('VEHICLE').value;
a=12-x.length;
for(var i=1;i<=a;i++)
{
x=x+" ";
}
top.myname.document.getElementById(x).style.background='oldlace';
top.myname.document.getElementById(y).style.background='';
y=x;
}
}
else
{
alert("ENTER THE VEHICLE REGD NO.");
}
}
function printdoc()
{
window.print();
}
</script>
</HEAD>
<BODY bgColor=cornsilk leftmargin=0 topmargin=0 >
&nb
sp;
<b><font color="#f05a00" face="verdana" size="4">TYRE MASTER MAINTENANCE</font></b>
<p>
&nb
sp;
<font size="3">Select Tyre No. </font> <input type=text name=vehicle
id="VEHICLE"> <INPUT id=button2 style="WIDTH: 102px; HEIGHT: 24px" type=button size=51
value=Search name=button2 Onclick="fintd()">
</p>
<TR style="font-family:arial;font-size:14;font-weight:bold;align:center;background-
color:'oldlace'" id="my">
<TD style="width: 41; align: center; border: 2 solid #000000" height="25">Sl No</TD>
<TD style="width: 94; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">Vm Regd No</TD>
<TD style="width: 100; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25"> Tyre No</TD>
<TD style="width: 105; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25"> Tyre Name</TD>
<TD style="width: 120; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25"> Vehicle Name</TD>
<TD style="width: 110; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25">Purchase Date</TD>
<TD style="width: 88; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25"> Location</TD>
<TD style="width: 86; align: center; border-right: 2 solid #000000; border-top: 2 solid
#000000; border-bottom: 2 solid #000000" height="25"> Option</TD>
Page: 70
</TR>
<TR style="font-family:arial;font-size:12">
<TD width="41" align="center" colspan="9" height="72" valign="top" style="border-left: 2
solid #000000; border-right: 2 solid #000000; border-bottom: 2 solid #000000">
<iframe src="../jsp/V_Tyre_iframe.jsp" frameborder="0" height="200" width="753" border="0"
scrolling="yes" name="myname"></iframe>
</TD>
</TR>
<TR>
<TD colspan="9" height=35 align="center">
<INPUT id=button1 type=SUBMIT value=Add name=button1 style="WIDTH: 86px; HEIGHT: 24px;
BACKGROUND-COLOR: silver" size=86>
<INPUT name=print type=button value=Print style="WIDTH: 89px; HEIGHT: 24px; BACKGROUND-COLOR:
silver" size=44 Onclick="printdoc()">
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<TITLE>Motor Vehicle Maintance VEHICLE MASTER page</TITLE>
<LINK REL=stylesheet href="../css/mycss.css" type="text/css">
<script language="Javascript">
function display()
{
location="MANUE.HTML"
}
function cancel()
{
alert("Do you want to go the details page")
if (alert)
location="v_master_vehicle.html"
}
</Script>
</HEAD>
<BODY bgColor=cornsilk leftmargin=0 topmargin=0>
<TABLE cellSpacing=1 cellPadding=1 width=400 border=0 align=center>
<form action="../jsp/v_punctures_tyre.jsp" method="post">
<TR>
<TD colspan=4 height="200" align=middle><FONT color="#f05a00" size=5 face="verdana"
><b>TYRE PUNCTURES </b></FONT></TD>
</TR>
<TR>
<TD >VM Regd No</TD>
<TD ><INPUT name=VM_REGD_NO></TD>
<TR>
<TD > Tyre Id </TD>
<TD ><INPUT name=TYRE_ID></TD></TR>
<TR>
<TD >Tyre Name</TD>
<TD><INPUT name=TYRE_NAME></TD></TR>
<TR>
<TD> Vehicle Name</TD>
<TD><INPUT name= VEHICLE_NAME></TD></TR>
<TR>
Page: 71
<TD >Puncture Date</TD>
<TD><INPUT name=PUNCTURE_DATE></TD></TR>
<TR>
<TD colspan=4 align="center" height="50">
<INPUT id=submit1 type=submit value="SAVE" style="width:82px;height:24px;background-color:
silver" size=82 name=submit1>
<INPUT id=button1 type=button value=Cancel style="width:82px;height:24px;background-color:
silver" size=82 name=button1 OnClick=cancel()>
<INPUT id=button2 type=button value=Exit style="width:82px;height:24px;background-color:
silver" size=82 name=button2 Onclick=display()></TD></TR>
</TABLE>
</form>
</BODY>
</HTML>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<TITLE>Motor Vehicle Maintance VEHICLE MASTER page</TITLE>
<LINK REL=stylesheet href="../css/mycss.css" type="text/css">
<script language="Javascript">
function display()
{
location="MANUE.HTML"
}
function cancel()
{
alert("Do you want to go the details page")
if (alert)
location="v_master_vehicle.html"
}
</Script>
</HEAD>
<BODY bgColor=cornsilk leftmargin=0 topmargin=0>
<TABLE cellSpacing=1 cellPadding=1 width=400 border=0 align=center>
<form action="../jsp/v_punctures_tyre.jsp" method="post">
<TR>
<TD colspan=4 height="200" align=middle><FONT color="#f05a00" size=5 face="verdana"
><b>TYRE PUNCTURES </b></FONT></TD>
</TR>
<TR>
<TD >VM Regd No</TD>
<TD ><INPUT name=VM_REGD_NO></TD>
<TR>
<TD > Tyre Id </TD>
<TD ><INPUT name=TYRE_ID></TD></TR>
<TR>
<TD >Tyre Name</TD>
<TD><INPUT name=TYRE_NAME></TD></TR>
<TR>
<TD> Vehicle Name</TD>
<TD><INPUT name= VEHICLE_NAME></TD></TR>
<TR>
<TD >Puncture Date</TD>
<TD><INPUT name=PUNCTURE_DATE></TD></TR>
Page: 72
<TR>
<TD colspan=4 align="center" height="50">
<INPUT id=submit1 type=submit value="update" style="width:82px;height:24px;background-
color: silver" size=82 name=submit1>
<INPUT id=button1 type=button value=Cancel style="width:82px;height:24px;background-color:
silver" size=82 name=button1 OnClick=cancel()>
<INPUT id=button2 type=button value=Exit style="width:82px;height:24px;background-color:
silver" size=82 name=button2 Onclick=display()></TD></TR>
</TABLE>
</form>
</BODY>
</HTML>
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="Microsoft FrontPage 4.0" name=GENERATOR>
<script language="javascript">
var a,y,x=1;
function fintd()
{
if(document.getElementById('VEHICLE').value!="")
{
if(x==1)
{
x=document.getElementById('VEHICLE').value;
a=20-x.length;
for(var i=1;i<=a;i++)
{
x=x+" ";
}
top.myname.document.getElementById(x).style.background='oldlace';
y=x;
}
else
{
x=document.getElementById('VEHICLE').value;
a=20-x.length;
for(var i=1;i<=a;i++)
{
x=x+" ";
}
top.myname.document.getElementById(x).style.background='oldlace';
top.myname.document.getElementById(y).style.background='';
y=x;
}
}
else
{
alert("ENTER THE VEHICLE REGD NO.");
}
}
function printdoc()
{
window.print();
}
</script>
Page: 73
</HEAD>
<BODY bgColor=cornsilk leftmargin=0 topmargin=0 >
<br>
&nb
sp;
&nb
sp;
<b><font color="#f05a00" face="verdana" size="4">TYRE PURCHASES</font></b>
<p>
&nb
sp;
Select Tyre Id.
<input type=text name=vehicle id=VEHICLE> <INPUT id=button2 style="WIDTH: 102px;
HEIGHT: 24px" type=button size=51 value=Search name=button2 Onclick="fintd()">
</p>
<TR style="font-family:arial;font-size:14;font-weight:bold;align:center;background-
color:'oldlace'" id="my">
<TD style="width:41;align:center;height:25;border-left:2 solid #000000;border-right:2
solid #000000;border-bottom:2 solid #000000;border-top:2 solid #000000;">Sl No</TD>
<TD style="width:90;align:center;height:25;border-right:2 solid #000000;border-bottom:2
solid #000000;border-top:2 solid #000000;"> Tyre Id</TD>
<TD style="width:100;align:center;height:25;border-right:2 solid #000000;border-bottom:2
solid #000000;border-top:2 solid #000000;"> Tyre Name</TD>
<TD style="width:120;align:center;height:25;border-right:2 solid #000000;border-bottom:2
solid #000000;border-top:2 solid #000000;">Delear Address</TD>
<TD style="width:110;align:center;height:25;border-right:2 solid #000000;border-bottom:2
solid #000000;border-top:2 solid #000000;">Purchase Date</TD>
<TD style="width:90;align:center;height:25;border-right:2 solid #000000;border-bottom:2
solid #000000;border-top:2 solid #000000;">Amount Paid</TD>
<TD style="width:136;align:center;height:25;border-right:2 solid #000000;border-bottom:2
solid #000000;border-top:2 solid #000000;"> Warrenty Period</TD>
<TD style="width:86;align:center;height:25;border-right:2 solid #000000;border-bottom:2
solid #000000;border-top:2 solid #000000;"> Option</TD>
</TR>
<TR style="font-family:arial;font-size:12">
<TD width="41" align="center" colspan="9" height="250" valign="top" style="border-right:2
solid #000000;border-bottom:2 solid #000000;border-left:2 solid #000000;">
<iframe src="../jsp/V_tyre_purchase_iframe.jsp" frameborder="0" height="250" width="773"
border="0" scrolling="yes" name="myname"></iframe>
</TD>
</TR>
<TR>
<TD colspan="9" height=35 align="center">
<INPUT id=button1 type=SUBMIT value=Add name=button1 style="WIDTH: 86px; HEIGHT: 24px;
BACKGROUND-COLOR: silver" size=86>
<INPUT name=print type=button value=Print style="WIDTH: 89px; HEIGHT: 24px; BACKGROUND-COLOR:
silver" size=44 Onclick="printdoc()">
<HTML>
<HEAD>
Page: 74
<META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<TITLE>Motor Vehicle Maintance VEHICLE MASTER page</TITLE>
<LINK REL=stylesheet href="../css/mycss.css" type="text/css">
<script language="Javascript">
function display()
{
location="MANUE.HTML"
}
function cancel()
{
alert("Do you want to go the details page")
if (alert)
location="v_master_vehicle.html"
}
</Script>
</HEAD>
<BODY bgColor=cornsilk leftmargin=0 topmargin=0>
<TABLE cellSpacing=1 cellPadding=1 width=400 border=0 align=center>
<form action="../jsp/v_tyre_purchase.jsp" method="post">
<TR>
<TD colspan=4 height="200" align=middle><FONT color="#f05a00" size=5 face="verdana"
><b>TYRE PURCHASES </b></FONT></TD>
</TR>
<TR>
<TD > Tyre Id</TD>
<TD ><INPUT name=TYRE_ID></TD>
<TR>
<TD > Tyre Name </TD>
<TD ><INPUT name=TYRE_NAME></TD></TR>
<TR>
<TD >Company Address</TD>
<TD><INPUT name=COMPANY_ADDS></TD></TR>
<TR>
<TD> Delear Address</TD>
<TD><INPUT name= DELEAR_ADDS></TD></TR>
<TR>
<TD >Purchase Date</TD>
<TD><INPUT name=PURCHASE_DATE></TD></TR>
<TR>
<TD >Purchase Cash/Cheque</TD>
<TD><INPUT name=CASH_CHEQUE></TD></TR>
<TR>
<TD >Amount Paid</TD>
<TD><INPUT name=AMOUNT_PAID></TD></TR>
<TR>
<TD >Warrenty Period</TD>
<TD><INPUT name=WARRENTY_PERIOD></TD></TR>
<TR>
<TD colspan=4 align="center" height="50">
<INPUT id=submit1 type=submit value="Save" style="width:82px;height:24px;background-color:
silver" size=82 name=submit1>
<INPUT id=button1 type=button value=Cancel style="width:82px;height:24px;background-color:
silver" size=82 name=button1 OnClick=cancel()>
<INPUT id=button2 type=button value=Exit style="width:82px;height:24px;background-color:
silver" size=82 name=button2 Onclick=display()></TD></TR>
</TABLE>
</form>
</BODY>
</HTML>
Page: 75
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<TITLE>Motor Vehicle Maintance VEHICLE MASTER page</TITLE>
<LINK REL=stylesheet href="../css/mycss.css" type="text/css">
<script language="Javascript">
function display()
{
location="MANUE.HTML"
}
function cancel()
{
alert("Do you want to go the details page")
if (alert)
location="v_master_vehicle.html"
}
</Script>
</HEAD>
<BODY bgColor=cornsilk leftmargin=0 topmargin=0>
<TABLE cellSpacing=1 cellPadding=1 width=400 border=0 align=center>
<form action="../jsp/v_tyre_purchase.jsp" method="post">
<TR>
<TD colspan=4 height="200" align=middle><FONT color="#f05a00" size=5 face="verdana"
><b>TYRE PURCHASES </b></FONT></TD>
</TR>
<TR>
<TD > Tyre Id</TD>
<TD ><INPUT name=TYRE_ID></TD>
<TR>
<TD > Tyre Name </TD>
<TD ><INPUT name=TYRE_NAME></TD></TR>
<TR>
<TD >COMPANY Address</TD>
<TD><INPUT name=COMPANY_ADDS></TD></TR>
<TR>
<TD> Delear Address</TD>
<TD><INPUT name= DELEAR_ADDS></TD></TR>
<TR>
<TD >Purchase Date</TD>
<TD><INPUT name=PURCHASE_DATE></TD></TR>
<TR>
<TD >Purchase Cash/Cheque</TD>
<TD><INPUT name=CASH_CHEQUE></TD></TR>
<TR>
<TD >Amount Paid</TD>
<TD><INPUT name=AMOUNT_PAID></TD></TR>
<TR>
<TD >Warrenty Period</TD>
<TD><INPUT name=WARRENTY_PERIOD></TD></TR>
<TR>
<TD colspan=4 align="center" height="50">
<INPUT id=submit1 type=submit value="Delete" style="width:82px;height:24px;background-
color: silver" size=82 name=submit1>
<INPUT id=button1 type=button value=Cancel style="width:82px;height:24px;background-color:
silver" size=82 name=button1 OnClick=cancel()>
<INPUT id=button2 type=button value=Exit style="width:82px;height:24px;background-color:
silver" size=82 name=button2 Onclick=display()></TD></TR>
</TABLE></form>
</BODY></HTML>
<HTML>
Page: 76
<HEAD>
<META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<TITLE>Motor Vehicle Maintance VEHICLE MASTER page</TITLE>
<LINK REL=stylesheet href="../css/mycss.css" type="text/css">
<script language="Javascript">
function display()
{
location="MANUE.HTML"
}
function cancel()
{
alert("Do you want to go the details page")
if (alert)
location="v_master_vehicle.html"
}
</Script>
</HEAD>
<BODY bgColor=cornsilk leftmargin=0 topmargin=0>
<TABLE cellSpacing=1 cellPadding=1 width=400 border=0 align=center>
<form action="../jsp/v_tyre_purchase.jsp" method="post">
<TR>
<TD colspan=4 height="200" align=middle><FONT color="#f05a00" size=5 face="verdana"
><b>TYRE PURCHASES </b></FONT></TD>
</TR>
<TR>
<TD > Tyre Id</TD>
<TD ><INPUT name=TYRE_ID></TD>
<TR>
<TD > Tyre Name </TD>
<TD ><INPUT name=TYRE_NAME></TD></TR>
<TR>
<TD >COMPANY Address</TD>
<TD><INPUT name=COMPANY_ADDS></TD></TR>
<TR>
<TD> Delear Address</TD>
<TD><INPUT name= DELEAR_ADDS></TD></TR>
<TR>
<TD >Purchase Date</TD>
<TD><INPUT name=PURCHASE_DATE></TD></TR>
<TR>
<TD >Purchase Cash/Cheque</TD>
<TD><INPUT name=CASH_CHEQUE></TD></TR>
<TR>
<TD >Amount Paid</TD>
<TD><INPUT name=AMOUNT_PAID></TD></TR>
<TR>
<TD >Warrenty Period</TD>
<TD><INPUT name=WARRENTY_PERIOD></TD></TR>
<TR>
<TD colspan=4 align="center" height="50">
<INPUT id=submit1 type=submit value="Update" style="width:82px;height:24px;background-
color: silver" size=82 name=submit1>
<INPUT id=button1 type=button value=Cancel style="width:82px;height:24px;background-color:
silver" size=82 name=button1 OnClick=cancel()>
<INPUT id=button2 type=button value=Exit style="width:82px;height:24px;background-color:
silver" size=82 name=button2 Onclick=display()></TD></TR>
</TABLE></form>
</BODY></HTML>
Page: 77
JSP CODING
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ page language="java" import="java.sql.*" %>
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<%String userId=request.getParameter("userId");
String Password=request.getParameter("password");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection myConn=DriverManager.getConnection("jdbc:odbc:vms","vms","vms");
Statement stmt=myConn.createStatement();
ResultSet resultset=stmt.executeQuery("Select * from user_admin where userid='"+userId+"' and
passwd='"+Password+"'");
if(resultset.next())
{
%>
<jsp:forward page="/vms/html/WINFORM.HTML"/>
<%
}
else
{ %>
<jsp:forward page="/vms/loggin.htm"/>
<% }
stmt.close();
myConn.close();
%>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ page import="java.sql.*" %>
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<%
String VM_REGD_NO = request.getParameter("VM_REGD_NO");
String VM_NAME = request.getParameter("VM_NAME");
String VM_COLOR = request.getParameter("VM_COLOR");
String VM_MODEL = request.getParameter("VM_MODEL");
String VM_CHESISH_NO= request.getParameter("VM_CHESISH_NO");
String VM_ENGINE_NO = request.getParameter("VM_ENGINE_NO");
String VM_FUEL_TY = request.getParameter("VM_FUEL_TY");
String VM_COMPANY_ADD = request.getParameter("VM_COMPANY_ADD");
String VM_KMLITER = request.getParameter("VM_KMLITER");
Page: 78
String VM_OWNERNAME= request.getParameter("VM_OWNERNAME");
String VM_PUR_DA= request.getParameter("VM_PUR_DA");
String VM_WARR_D= request.getParameter("VM_WARR_D");
String VM_PERMIT= request.getParameter("VM_PERMIT");
String VM_AC_OR_N= request.getParameter("VM_AC_OR_N");
String VM_CAPACIT= request.getParameter("VM_CAPACIT");
String V_COST= request.getParameter("V_COST");
String VM_SERVICI= request.getParameter("VM_SERVICI");
String VM_CC_ENGINE= request.getParameter("VM_CC_ENGINE");
String VM_DEALERNAME= request.getParameter("VM_DEALERNAME");
String VM_DEALERADDRESS= request.getParameter("VM_DEALERADDRESS");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection myConn=DriverManager.getConnection("jdbc:odbc:vms","vms","vms");
String template="INSERT INTO VEHICLE_MASTER (VM_REGD_NO,VM_NAME,VM_COLOR,VM_MODEL,"+
"VM_CHESISH_NO,VM_ENGINE_NO,VM_FUEL_TYPE,VM_COMPANY_ADD,VM_KMLITER,VM_OWNERNAME,VM_P
UR_DATE,"+
"VM_WARR_DATE,VM_PERMIT,VM_AC_OR_NOT,VM_CAPACITY,V_COST,VM_SERVICINGDATE,VM_CC_ENGINE
,VM_DEALERNAME,"+
"VM_DEALERADDRESS) values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
PreparedStatement pstmt=myConn.prepareStatement(template);
pstmt.setString(1,VM_REGD_NO);
pstmt.setString(2,VM_NAME);
pstmt.setString(3,VM_COLOR);
pstmt.setString(4,VM_MODEL);
pstmt.setString(5,VM_CHESISH_NO);
pstmt.setString(6,VM_ENGINE_NO);
pstmt.setString(7,VM_FUEL_TY);
pstmt.setString(8,VM_COMPANY_ADD);
pstmt.setString(9,VM_KMLITER);
pstmt.setString(10,VM_OWNERNAME);
pstmt.setString(11,VM_PUR_DA);
pstmt.setString(12,VM_WARR_D);
pstmt.setString(13,VM_PERMIT);
pstmt.setString(14,VM_AC_OR_N);
pstmt.setString(15,VM_CAPACIT);
pstmt.setString(16,V_COST);
pstmt.setString(17,VM_SERVICI);
pstmt.setString(18,VM_CC_ENGINE);
pstmt.setString(19,VM_DEALERNAME);
pstmt.setString(20,VM_DEALERADDRESS);
pstmt.executeUpdate();
if(pstmt!=null) pstmt.close();
if(myConn!=null)myConn.close();
%>
<h1>Data has been succefully inserted</h1>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ page language="java" import="java.sql.*" %>
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<LINK REL=stylesheet href="mycss.css" type="text/css">
Page: 79
<BODY leftmargin="0" topmargin="0">
<TABLE cellSpacing=0 cellPadding=0 width=800
align=center border=0 borderColor=black id=tabl style="background-color:#ffffff">
<%
int counter=1;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection myConn=DriverManager.getConnection("jdbc:odbc:vms","vms","vms");
Statement stmt=myConn.createStatement();
ResultSet myresultset=stmt.executeQuery("Select * from vehicle_master");
while(myresultset.next())
{
String Vehicle = myresultset.getString("VM_REGD_NO");
%>
<TR id="<%=vehicle%>">
Page: 80
String VM_REGD_NO = request.getParameter("VM_REGD_NO");
String VM_NAME = request.getParameter("VM_NAME");
String VM_TYPE = request.getParameter("VM_TYPE");
String F_DATE = request.getParameter("F_DATE");
String AMOUNT= request.getParameter("AMOUNT");
String PAID = request.getParameter("PAID");
String READING = request.getParameter("READING");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection myConn=DriverManager.getConnection("jdbc:odbc:vms","vms","vms");
String template="INSERT INTO FUEL (VM_REGD_NO,VM_NAME,VM_TYPE,F_DATE,AMOUNT,PAID,READING)
values(?,?,?,?,?,?,?)";
PreparedStatement pstmt=myConn.prepareStatement(template);
pstmt.setString(1,VM_REGD_NO);
pstmt.setString(2,VM_NAME);
pstmt.setString(3,VM_TYPE);
pstmt.setString(4,F_DATE);
pstmt.setString(5,AMOUNT);
pstmt.setString(6,PAID);
pstmt.setString(7,READING);
pstmt.executeUpdate();
if(pstmt!=null) pstmt.close();
if(myConn!=null)myConn.close();
%>
<h1>Data has been succefully inserted</h1>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ page language="java" import="java.sql.*" %>
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<%
int counter=1;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection myConn=DriverManager.getConnection("jdbc:odbc:vms","vms","vms");
Statement stmt=myConn.createStatement();
ResultSet myresultset=stmt.executeQuery("Select * from Fuel");
while(myresultset.next())
{
Page: 81
<TD style="width:100;height:25;border-right:1 solid #000000;border-bottom:1 solid #000000;border-
top:1 solid #000000;"align=center><%= myresultset.getString("VM_NAME") %></TD>
<TD style="width:120;height:25;border-right:1 solid #000000;border-bottom:1 solid #000000;border-
top:1 solid #000000;"align=center><%= myresultset.getString("F_DATE") %></TD>
<TD style="width:90;height:25;border-right:1 solid #000000;border-bottom:1 solid #000000;border-
top:1 solid #000000;" align=center><%= myresultset.getString("AMOUNT") %></TD>
<TD style="width:90;height:25;border-right:1 solid #000000;border-bottom:1 solid #000000;border-
top:1 solid #000000;" align=center><%= myresultset.getString("PAID") %></TD>
<TD style="width:156;height:25;border-right:1 solid #000000;border-bottom:1 solid
#000000;border-top:1 solid #000000;" align=center><%= myresultset.getString("READING") %></TD>
<TD style="width:69;height:25;border-bottom:1 solid #000000;border-top:1 solid #000000;"
align=center><A >View</A>/<A >Edit</A></TD>
</tr>
<%
}
myresultset.close();
if(stmt!=null)stmt.close();
if(myConn!=null)myConn.close();
%>
</table>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ page import="java.sql.*" %>
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<%
String VM_REGD_NO = request.getParameter("VM_REGD_NO");
String TYRE_NO = request.getParameter("TYRE_NO");
String TYRE_NAME = request.getParameter("TYRE_NAME");
String VEHICLE_NAME = request.getParameter("VEHICLE_NAME");
String PURSH_DATE= request.getParameter("PURSH_DATE");
String LOCATION = request.getParameter("LOCATION");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection myConn=DriverManager.getConnection("jdbc:odbc:vms","vms","vms");
String template="INSERT INTO TYRE2_MASTER
(VM_REGD_NO,TYRE_NO,TYRE_NAME,VEHICLE_NAME,PURSH_DATE,LOCATION) values(?,?,?,?,?,?)";
PreparedStatement pstmt=myConn.prepareStatement(template);
pstmt.setString(1,VM_REGD_NO);
pstmt.setString(2,TYRE_NO);
pstmt.setString(3,TYRE_NAME);
pstmt.setString(4,VEHICLE_NAME);
pstmt.setString(5,PURSH_DATE);
pstmt.setString(6,LOCATION);
pstmt.executeUpdate();
if(pstmt!=null) pstmt.close();
if(myConn!=null)myConn.close();
%>
<h1>Data has been succefully inserted</h1>
</BODY></HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Page: 82
<%@ page import="java.sql.*" %>
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<%
String TYRE_ID = request.getParameter("VM_REGD_NO");
String TYRE_NAME = request.getParameter("TYRE_ID");
String COMPANY_ADDS = request.getParameter("TYRE_NAME");
String DELEAR_ADDS = request.getParameter("VEHICLE_NAME");
String PURCHASE_DATE= request.getParameter("PUNCTURE_DATE");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection myConn=DriverManager.getConnection("jdbc:odbc:vms","vms","vms");
String template="INSERT INTO puncture
(VM_REGD_NO,TYRE_ID,TYRE_NAME,VEHICLE_NAME,PUNCTURE_DATE) values(?,?,?,?,?)";
PreparedStatement pstmt=myConn.prepareStatement(template);
pstmt.setString(1,TYRE_ID);
pstmt.setString(2,TYRE_NAME);
pstmt.setString(3,COMPANY_ADDS);
pstmt.setString(4,DELEAR_ADDS);
pstmt.setString(5,PURCHASE_DATE);
pstmt.executeUpdate();
if(pstmt!=null) pstmt.close();
if(myConn!=null)myConn.close();
%>
<h1>Data has been succefully inserted</h1>
</BODY>
</HTML>
<%
int counter=1;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection myConn=DriverManager.getConnection("jdbc:odbc:vms","vms","vms");
Statement stmt=myConn.createStatement();
Page: 83
ResultSet myresultset=stmt.executeQuery("Select * from tyre2_mASTER");
while(myresultset.next())
{
<%
int counter=1;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection myConn=DriverManager.getConnection("jdbc:odbc:vms","vms","vms");
Statement stmt=myConn.createStatement();
ResultSet myresultset=stmt.executeQuery("Select * from purchase");
Page: 84
while(myresultset.next())
{
function cancel()
{
alert("Do you want to cancel")
if (alert)
location="../html/Workshop_information.html";
}
</Script>
</HEAD>
<BODY bgcolor=cornsilk>
<%
String vehicle=request.getParameter("VM_REGD_NO");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection myConn=DriverManager.getConnection("jdbc:odbc:vms","vms","vms");
Statement stmt=myConn.createStatement();
ResultSet myresultset=stmt.executeQuery("Select * from vehicle_master where
VM_REGD_NO='"+vehicle+"'");
Page: 85
while(myresultset.next())
{
%>
<TABLE cellSpacing=1 cellPadding=1 width="550" align=center border=0>
<TR>
<TD colSpan=2 style="HEIGHT: 200px" style="FONT-FAMILY: arial" >
<P align=center><FONT color=red size=5 style="FONT-FAMILY: arial" ><b>WORKSHOP INFORMATION
VIEW</b> </FONT> </TD>
<TR>
<TD >Vehicle Regd No</TD>
<TD ><INPUT id=text1 name=VM_REGD_NO value=<%=myresultset.getString("VM_REGD_NO")
%></TD>
<TD >Vehicle Name</TD>
<TD ><INPUT id=text1 name= VM_NAME value=<%=myresultset.getString("VM_NAME")
%></TD></TR>
<TR>
<TD>Vehicle Color</TD>
<TD><INPUT id=text1 name=VM_COLOR value=<%=myresultset.getString("VM_COLOR")%></TD>
<TD>Vehicle Model</TD>
<TD><INPUT id=text1 name=VM_MODEL value=<%=myresultset.getString("VM_MODEL")
%></TD></TR>
<TR>
<TD>Chesish No</TD>
<TD><INPUT id=text1 name=VM_CHESISH_NO value=<%=myresultset.getString("VM_CHESISH_NO")
%></TD>
<TD>Engine No</TD>
<TD><INPUT id=text1 name=VM_ENGINE_NO value=<%=myresultset.getString("VM_ENGINE_NO")
%></TD></TR>
<TR>
<TD>Fuel type</TD>
<TD><INPUT id=text1 name=VM_FUEL_TY value=<%=myresultset.getString("VM_FUEL_TYPE")
%></TD>
<TD>Company Address</TD>
<TD><INPUT id=text1 name=VM_COMPANY_ADD value=<
%=myresultset.getString("VM_COMPANY_ADD")%></TD></TR>
<TR>
<TD>Km/Liter</TD>
<TD><INPUT id=text1 name= VM_KMLITER value=<%=myresultset.getString("VM_KMLITER")%></TD>
<TD>Owner Name</TD>
<TD><INPUT id=text1 name=VM_OWNERNAME value=<
%=myresultset.getString("VM_OWNERNAME")%></TD></TR>
<TR>
<TR>
<TD>Purchase date</TD>
<TD><INPUT id=text1 name=VM_PUR_DA value=<%=myresultset.getString("VM_PUR_DATE")%></TD>
<TD>Warranty date</TD>
<TD><INPUT id=text1 name=VM_WARR_D value=<
%=myresultset.getString("VM_WARR_DATE")%></TD></TR>
<TR>
<TD>Permit</TD>
<TD><INPUT id=text1 name= VM_PERMIT value=<%=myresultset.getString("VM_PERMIT")%></TD>
<TD>A/C Or Not</TD>
<TD><INPUT id=text1 name= VM_AC_OR_N value=<
%=myresultset.getString("VM_AC_OR_NOT")%></TD></TR>
<TR>
Page: 86
<TD>Sitting Capacity</TD>
<TD><INPUT id=text1 name=VM_CAPACIT value=<%=myresultset.getString("VM_CAPACITY")%></TD>
<TD>Vehicle Cost</TD>
<TD><INPUT id=text1 name= V_COST value=<%=myresultset.getString("V_COST")
%></TD></TR>
<TR>
<TD>Servicing Date</TD>
<TD><INPUT id=text1 name=VM_SERVICI value=<%=myresultset.getString("VM_SERVICINGDATE")
%></TD>
<TD>Cc per Engine</TD>
<TD><INPUT id=text1 name=VM_CC_ENGINE value=<
%=myresultset.getString("VM_CC_ENGINE")%></TD></TR>
<TR>
<TD>Dealer Name</TD>
<TD><INPUT id=text1 name=VM_DEALERNAME value=<%=myresultset.getString("VM_DEALERNAME")
%></TD>
<TD>Dealer Address</TD>
<TD><INPUT id=text1 name= VM_DEALERADDRESS value=<
%=myresultset.getString("VM_DEALERADDRESS")%></TD></TR>
<TR>
<TD colspan=2 align="CENTER" height="150"><INPUT id=submit1 type=submit value="Delete"
name=submit1 style="WIDTH: 86px; HEIGHT: 24px; BACKGROUND-COLOR:'silver';">
<INPUT id=button1 type=button value=Back name=button1 style="WIDTH: 86px; HEIGHT: 24px;
BACKGROUND-COLOR:'silver';" OnClick=cancel()>
</TABLE>
<%
}
myresultset.close();
if(stmt!=null)stmt.close();
if(myConn!=null)myConn.close();
%>
</form></BODY></HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ page language="java" import="java.sql.*" %>
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<%
int counter=1;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection myConn=DriverManager.getConnection("jdbc:odbc:vms","vms","vms");
Statement stmt=myConn.createStatement();
ResultSet myresultset=stmt.executeQuery("Select * from purchase");
while(myresultset.next())
{
Page: 87
<TR style="font-family:arial;font-size:12" id="<%= TYRE_ID%>">
<TD style="width:41;height:25;border-right:1 solid #000000;border-bottom:1 solid #000000;border-
top:1 solid #000000;" align=center><%= counter++ %></TD>
<TD style="width:90;height:25;border-right:1 solid #000000;border-bottom:1 solid #000000;border-
top:1 solid #000000;"align=center><%=TYRE_ID%></TD>
<TD style="width:100;height:25;border-right:1 solid #000000;border-bottom:1 solid #000000;border-
top:1 solid #000000;"align=center><%= myresultset.getString("TYRE_NAME") %></TD>
<TD style="width:120;height:25;border-right:1 solid #000000;border-bottom:1 solid #000000;border-
top:1 solid #000000;"align=center><%= myresultset.getString("DELEAR_ADDS") %></TD>
<TD style="width:110;height:25;border-right:1 solid #000000;border-bottom:1 solid #000000;border-
top:1 solid #000000;" align=center><%= myresultset.getString("PURCHASE_DATE") %></TD>
<TD style="width:90;height:25;border-right:1 solid #000000;border-bottom:1 solid #000000;border-
top:1 solid #000000;" align=center><%= myresultset.getString("AMOUNT_PAID") %></TD>
<TD style="width:136;height:25;border-right:1 solid #000000;border-bottom:1 solid
#000000;border-top:1 solid #000000;" align=center><%= myresultset.getString("WARRENTY_PERIOD")
%></TD>
<TD style="width:69;height:25;border-bottom:1 solid #000000;border-top:1 solid #000000;"
align=center><A >View</A>/<A >Edit</A></TD>
</tr>
<%
}
myresultset.close();
if(stmt!=null)stmt.close();
if(myConn!=null)myConn.close();
%>
</table>
</BODY>
</HTML>
Page: 88
Page: 89