0% found this document useful (0 votes)
3 views71 pages

E-Parking System Mini-Project Report

The document outlines a mini-project titled 'E Parking System' developed by students N.J. Sairam and N.Sai Rakesh as part of their Bachelor of Technology in Computer Science Engineering. The project aims to facilitate online booking of parking spaces, addressing issues of congestion and time consumption in urban areas. It includes various modules for user and admin functionalities, utilizes technologies like HTML, CSS, JavaScript, and MySQL, and highlights both advantages and drawbacks of the system.

Uploaded by

kanurisubbarao
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views71 pages

E-Parking System Mini-Project Report

The document outlines a mini-project titled 'E Parking System' developed by students N.J. Sairam and N.Sai Rakesh as part of their Bachelor of Technology in Computer Science Engineering. The project aims to facilitate online booking of parking spaces, addressing issues of congestion and time consumption in urban areas. It includes various modules for user and admin functionalities, utilizes technologies like HTML, CSS, JavaScript, and MySQL, and highlights both advantages and drawbacks of the system.

Uploaded by

kanurisubbarao
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

E PARKING SYSTEM

BACHELOR OF TECHONOLOGY
IN
COMPUTER SCIENCE ENGINEERING
(III YEAR –I SEMESTER)

APPLICATION DEVELOPMENT USING JAVA LAB


(2019-2020)
BY
Mr. [Link] Mr. [Link] RAKESH
([Link].17B91A05D8) ([Link].17B91A05E6)

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

[Link] COLLEGE

(APPROVED BY A.I.C.T.E., ACCREDITED BY NBA, AFFILIATED TO


JNTU KAKINADA)

BHIMAVARAM
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

[Link] COLLEGE

BHIMAVARAM

CERTIFICATE
This is to certify that it is a bonafide work on “E Parking System ” has been
submitted Mini-Project by [Link] ([Link].17B91A05D8) in
APPLICATION DEVELOPMENT USING JAVA LAB, during the academic
year2019-2020.

IN-CHARGES

[Link] SHANKAR, [Link] VARMA,

ASSISTANT PROFESSOR, ASSISTANT PROFESSOR,

DEPARTMENT OF CSE, DEPARTMENT OF CSE,

[Link] COLLEGE, [Link] COLLEGE,

BHIMAVARAM. BHIMAVARAM.
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

[Link] COLLEGE

BHIMAVARAM

CERTIFICATE
This is to certify that it is a bonafide work on “E Parking System ” has been
submitted Mini-Project by [Link] RAKESH ([Link].17B91A05E6) in
APPLICATION DEVELOPMENT USING JAVA LAB, during the academic
year2019-2020.

IN-CHARGES

[Link] SHANKAR, [Link] VARMA,

ASSISTANT PROFESSOR, ASSISTANT PROFESSOR,

DEPARTMENT OF CSE, DEPARTMENT OF CSE,

[Link] COLLEGE, [Link] COLLEGE,

BHIMAVARAM. BHIMAVARAM.
ACKNOWLEDGEMENT
I am pleased to acknowledge [Link] RAJU ,Professor
& HOD,Department of CSE,[Link]
college,Bhimavaram.
I sincerely thank to Sri. [Link] Shankar, Sri [Link] Varma
Assistant Professors, Department of CSE,[Link]
college,Bhimavaram who continuously helped us throught the project
and without their guidance; this project would have been an uphill
task.
I am also grateful to our classmates who co-operated wuth us
throughout the project.

Project Associate
[Link].
[Link] Rakesh.
E-PARKING SYSTEM
E-parking system that is designed to make it easier for people to book
parking spaces online .Our e-parking system is to reserve parking spaces in
the immediate parking area .As they need, and to set the period of availability
can add many types of vehicle parking slots. Searching for a vacant parking
space in a metropolitan area is the daily concern for most people and it is time
consuming. The system heavily relies on human interaction with the physical
space and entity. This leads to wastage of human manpower and also parking
spaces at times. It commonly results more traffic load and air pollution in
certain area only for an available parking space.

Advantages:
● Users can get learn about parking areas for particular locations.

● It saves user time in search for parking space availability in such a long
parking area.

● This system provides graphical view of the parking spaces.

Disadvantages:
● Everyone may not have computer/mobile knowledge.
● Server/Internet connection problem may occur.

Modules:
● Admin login, User registration/login, Adding parking areas, Search parking
availability check, Bill payment

Technologies used:
● HTML, CSS, JavaScript, JSP/PHP, MYSQL.

Submitted by
[Link](17B91A05D8)
[Link] Rakesh(17B91A05E6)
SYSTEM REQUIREMENT SPECIFICATIONS
PURPOSE:
The E-Parking System is a system that enables customers/drivers to
reserve a parking space. It also allows the customers/drivers to view
the parking status at parking area. It was developed because the
congestion and collision of the vehicle .Therefore the project aimed at
solving such problems by designing a web based system that will
enable the customers/drivers to make a reservation of available
parking space at parking area.
SCOPE:
The scope of this project is to know that parking slot is available in
particular parking area or not .By this website we can know which
parking slot is available in parking area.

OBJECTIVE:
It is designed to make easier for people to
book parking slots online. Searching for a vacant parking space in a
metropolitan area is the daily concern for most people and it is time
consuming. The system heavily relies on human interaction with the
physical space and entity.

EXISTING SYSTEM:
The existing system shows how many parking slots available in that
particular parking area. The user can reserve the parking slot at any
time i.e., on a required date.
DRAWBACKS:
 If the admin do not update the empty slots then the user will
face the problem.

PROPOSED SYSTEM:
The proposed system includes the book option in which the user
can book the parking slot he/she needed. If a user booked one slot
then that particular slot is displayed in red colour.
ADVANTAGES:
● Users can get learn about parking areas for particular locations.

● It saves user time in search for parking space availability in such a long
parking area.

● This system provides graphical view of the parking spaces

REQUIREMENT ANALYSIS.
Analysis focuses on producing a model of the system called the analysis
model, which is correct, complete, consistent and verifiable. Analysis model
is composed mainly of three individual models.

 Functional model
 Analysis object mode
 Analysis dynamic model

The functional model is represents with use of case diagrams, the object
model with class diagram and the dynamic model with state chart and
sequence diagrams.
FUNCTIONAL REQUIREMENTS:
MODULES
[Link] MODULE
 Authentication
1. Admin name and Password will be given
2. Login Failed will be displayed if wrong else logs in
3. After login the admin can view who reserved the slots and
where. In that you can see DELETE, LOGOUT options
 DELETE
Admin can delete the slots which requirement time was over. By
Giving the [Link] and click delete button .Then the data will be
automatically deleted from his reserved slots.
 LOGOUT
If we press logout you will redirect to the main page.
[Link] MODULE
 Authentication
1. Email id and Password will be given
2. Login Failed will be displayed if wrong else logs in
3. Verifies the details with database and logs in if TRUE .In
that you can BOOK,VIEW YOUR DATA,LOGOUT options

 REGISTRATION
1. All required fields are given.
2. Successfully registered.
3. Update database with provided details

 VIEW YOUR DATA


Our data will be shown for confirmation purpose. we can see
our car no , phone no , area ,place , slot no and we can check the
slot availability.
 BOOK
By entering the required details you can able to see the your
information and you can book the required slot.
 LOGOUT
If we press logout then it redirect to the main page.

NON-FUNCTIONAL REQUIREMENTS
Non-functional requirements are the limitations under which system
should provide its services to users .Following are the Non-functional
requirements:
RELIABILITY:
The system is more reliable because of the qualities that are
inherited from the chosen platform jsp. The code built by using jsp is
more reliable.
COST:
The cost of development and maintenance is minimum. As this
project uses all open source tools to develop , the cost of construction
is low.
PERFORMANCE:
The system is developed using high-level languages and using
advanced languages for front end and back [Link] will give response
to user within less time.
SUPPORTABILITY:
The system is designed to the cross platform supportable. The
system is supported on the wide range of hardware and any software
platform, which is having JVM , built into the system.
SECURITY:
This avoids the non-authorised users and workers access to the
system.
PSEUDO REQUIREMENTS:
 SOFTWARE REQUIREMENTS
1. Web server - Xampp server
2. Operating System - Supports WINDOWS/LINUX
 HARDWARE REQUIREMENTS
1. Processor - Intel core i3 or i5
2. RAM - 3GB OR ABOVE
3. Hard Disk - 256GB OR ABOVE

GLOSSORY:
 HTTP: Hyper Text Transfer Protocol is a transaction oriented
client or server protocol lbetween web browser and web server.
 HTML: Hyper Text Markup Language. It is a markup language
used to design static web pages. HTML can be created using text
editor

DATA BASE DESIGN

TABLES

ADMIN TABLE
FIELD TYPE
Adminname Varchar2(20)
Password Varchar2(20)
USER REGISTRATION
FIELD TYPE
Name Varchar2(20)
Email Varchar2(40)
Phone number Varchar2(20)
Password Varchar2(20)
USER LOGIN
FIELD TYPE
Email id Varchar2(40)
Password Varchar2(20)

SLOT BOOKING
FIELD TYPE
CarNo Varchar2(20)
phoneno Varchar2(20)
Date Varchar2(20)
from Varchar2(20)
AM/PM Varchar2(20)
to Varchar2(20)
AM/PM Varchar2(20)
Place Varchar2(20)
Area Varchar2(20)
slotNo Varchar2(20)

ACTUAL DATA
ADMIN LOGIN
Admin name Password
sai ram
sai rakesh

REGISTER LOGIN
Name Email Phone no Password
rakesh rakesh@[Link] 9542992236 12345
prasanna prasanna@[Link] 7981585120 12345
pradeep pradeep@[Link] 9182461847 12345
sairam sairam@[Link] 8886833396 12345
suresh suresh@[Link] 9542049729 12345
SLOT BOOKING:
CarN phoneno Date from AM to AM Place Area slotNo
o PM PM
AP05 7981585120 2019-09- 1:00 AM 2:00 AM Bhima Railway Slot 3
BG54 28 varam station
70
AP05 9955668855 2019-09- 1:00 PM 2:00 PM Bhima multiple Slot 3
DH2 30 varam x
502
AP05 9542992236 2019-10- 1:00 AM 2:00 AM Bhima multiple Slot 3
DH2 02 varam x
502
AP37 8886833395 2019-10- 2:00 PM 4:00 PM Bhima Railway Slot 1
DG0 03 varam station
734
AP05 8074545117 2019-10- 1:00 AM 2:00 AM Bhima multiple Slot12
DX2 10 varam x
502
[Link] screens
[Link] page

[Link] login
[Link] Booked Details

[Link] registration
[Link] login

[Link] booking
[Link] slot availability

[Link] slots
[Link] details

[Link]
[Link]
CODE
[Link]
head>

<title>main page</title>

<link rel="stylesheet" type="text/css" href="[Link]">

</head>

<body>

<div class="lbox">

<center><h1>E PARKING SYSTEM</h1>

<a href="[Link]">

<button class="abc">Admin</button>

</a>

<a href="[Link]">

<button class="abd">User</button>

</a>

</center>

</div>

</body>

</html>

<html>

[Link]
body

margin:0;

padding:0;
background: url([Link]);

background-size:cover;

background-position:center;

font-family:sans-serif;

.lbox

width:320px;

height:220px;

background:rgba(0,0,0,0.6);

top:50%;

left:50%;

position:absolute;

transform:translate(-50%,-50%);

box-sizing:border-box;

padding:40px 30px;

color:#fff;

.abc

padding:10px;

.abd

padding:10px;

}
[Link]
<html>

<head>

<title>admin page</title>

<link rel="stylesheet" type="text/css" href="[Link]">

<body>

<div class="loginbox">

<img src="[Link]" class="avatar">

<h1>Admin Login</h1>

<form action="[Link]" method="post">

<p>Admin name</p>

<input type="text" name="Admin name" value="" placeholder="enter name">

<p>Password</p>

<input type="Password" name="Password" value="" placeholder="enter password">

<p><input type="submit" name="" value="login"></p>

</form>

</div>

</body>

</head>

</html>

[Link]
body

margin:0;

padding:0;

background: url([Link]);
background-size:cover;

background-position:center;

font-family:sans-serif;

.loginbox{

width:320px;

height:360px;

background:rgba(0,0,0,0.6);

top:50%;

left:50%;

position:absolute;

transform:translate(-50%,-50%);

box-sizing:border-box;

padding:70px 30px;

color:#fff;

.avatar{

width:100px;

height:100px;

border-radius: 50%;

position:absolute;

top: -50px;

left:calc(50% -50px);

h1

margin:0;
padding:0 0 20px;

text-align:center;

font-size:22px;

.loginbox p{

margin:0;

padding:0;

font-weight:bold;

.loginbox input{

width:100%;

margin-bottom:20px;

.loginbox input[type="text"],input[type="password"]

border:none;

border-bottom:1px solid #fff;

background:transparent;

outline:none;

height:48px;

color:#fff;

font-size:16px;

.loginbox input[type="submit"]

border:none;

outline:none;
height:40px;

background:#fb2525;

color:#fff;

font-size:18px;

border-radius:20px;

.loginbox input[type="submit"]:hover

cursor:pointer;

background:#ffc107;

color:#000;

.loginbox a

text-decoration:none;

font-size:12px;

line-height:20px;

color:darkgrey;

.loginbox a:hover

color:#ffc107;

}
[Link]
<%@ page import="[Link].*" %>

<%@ page import="[Link].*" %>

<%

[Link]("[Link]");

Connection
con=[Link]("jdbc:mysql://localhost:3306/admin","root","");

Statement stmt=[Link]();

String id=[Link]("Admin name");

String pass=[Link]("Password");

ResultSet rs=[Link]("select * from adminlogin where Adminname='"+id+"' and


Password='"+pass+"'");

if([Link]())

%>

<jsp:forward page="[Link]"/>

<%

else

[Link]("Login Failed");

%>

[Link]
<%@page import="[Link]"%>

<%@page import="[Link]"%>
<%@page import="[Link]"%>

<%@page import="[Link]"%>

<%

String ph= [Link]("Admin name");

String ps= [Link]("Password");

String driver = "[Link]";

String connectionUrl = "jdbc:mysql://localhost:3306/";

String database = "loginback";

String userid = "root";

String password = "";

try {

[Link](driver);

catch (ClassNotFoundException e)

[Link]();

Connection connection = null;

Statement statement = null;

ResultSet rs= null;

%>

<!DOCTYPE html>

<html>

<link rel="stylesheet" type="text/css" href="[Link]">

<head>

</head>

<body background="[Link]" >


<h1>Slots Booked Details</h1>

<h2>

<table border="1">

<tr>

<td>[Link]</td>

<td>[Link]</td>

<td>Date</td>

<td>from</td>

<td>AM/PM</td>

<td>To</td>

<td>AM/PM</td>

<td>Place</td>

<td>Area</td>

<td>[Link]</td>

</tr>

</h2>

<%

try{

connection = [Link](connectionUrl+database, userid, password);

statement=[Link]();

rs=[Link]("select * from backend;");

while([Link]()){

%>

<tr>

<td><%=[Link](1) %></td>

<td><%=[Link](2) %></td>

<td><%=[Link](3) %></td>
<td><%=[Link](4) %></td>

<td><%=[Link](5) %></td>

<td><%=[Link](6) %></td>

<td><%=[Link](7) %></td>

<td><%=[Link](8) %></td>

<td><%=[Link](9) %></td>

<td><%=[Link](10) %></td>

</tr>

<%

[Link]();

catch(Exception e)

[Link]();

%>

</table>

<form action="[Link]"method="post">

Enter carNo to be deleted:<input type='text' name='carno'>

<input type='submit' value='delete'>

</form>

<form action="[Link]" method="post">

<p><input type="submit" class="abc" name="" value="logout"></p>

</form>

</body>

</html>
[Link]

.abc

padding:10px;

[Link]
<%@page import="[Link].*" %>

<%@page import="[Link].*" %>

<%

String cn=[Link]("carno");

[Link]("[Link]");

Connection
con=[Link]("jdbc:mysql://localhost:3306/loginback","root","");

Statement st=[Link]();

int d=[Link]("delete from backend where CarNo ='"+cn+"'");

if(d==1)

[Link]("[Link]");

%>
[Link]
<html>

<head>

<title>user login page</title>

<link rel="stylesheet" type="text/css" href="[Link]">

</head>

<body>

<div class="loginbox">

<img src="[Link]" class="avatar">

<h1>Login Here</h1>

<form action="[Link]" method="post">

<p>Email id</p>

<input type="text" name="Email id" placeholder="enter Email id" required>

<p>Password</p>

<input type="Password" name="Password" placeholder="enter password" required>

<input type="submit" name="" value="login">

<br>

not registered..Register here<br><br>

<a href="[Link]">

<p><input type="button" class="abc" name="" value="register"></p>

</a>

</form>

</div>

</body>

</html>
[Link]
body

margin:0;

padding:0;

background: url([Link]);

background-size:cover;

background-position:center;

font-family:sans-serif;

.loginbox{

width:320px;

height:440px;

background:rgba(0,0,0,0.6);

top:50%;

left:50%;

position:absolute;

transform:translate(-50%,-50%);

box-sizing:border-box;

padding:70px 30px;

color:#fff;

.avatar{

width:100px;

height:100px;

border-radius: 50%;
position:absolute;

top: -50px;

left:calc(50% -50px);

h1

margin:0;

padding:0 0 20px;

text-align:center;

font-size:22px;

.loginbox p{

margin:0;

padding:0;

font-weight:bold;

.loginbox input{

width:100%;

margin-bottom:20px;

.loginbox input[type="text"],input[type="password"]

border:none;

border-bottom:1px solid #fff;

background:transparent;

outline:none;
height:48px;

color:#fff;

font-size:16px;

.loginbox input[type="submit"]

border:none;

outline:none;

height:40px;

background:#fb2525;

color:#fff;

font-size:18px;

border-radius:20px;

.loginbox input[type="submit"]:hover

cursor:pointer;

background:#ffc107;

color:#000;

.loginbox a

text-decoration:none;

font-size:12px;

line-height:20px;

color:darkgrey;
}

.loginbox a:hover

color:#ffc107;

.abc

padding:10px;

[Link]
<%@page import="[Link].*" %>

<%@page import="[Link].*" %>

<%

String cn=[Link]("carno");

[Link]("[Link]");

Connection
con=[Link]("jdbc:mysql://localhost:3306/loginback","root","");

Statement st=[Link]();

int d=[Link]("delete from backend where CarNo ='"+cn+"'");

if(d==1)

[Link]("[Link]");

%>
[Link]
<html>

<head>

<title>Registration page</title>

<link rel="stylesheet" type="text/css" href="[Link]">

<body background="[Link]">

<div class="loginbox">

<img src="[Link]" class="avatar">

<h1>Register Here</h1>

<form action="[Link]" method="post">

<p>Name<input type="text" name="Name" placeholder="enter name" required>

<p>Email id<input type="text" name="Email" size="30"


placeholder="example@[Link]" required></p>

<p>phone number<input type="text" name="phone number" placeholder="phone number"


required>

<p>Password<input type="Password" name="Password" placeholder="enter password"


required></p><br>

<a href="[Link]">

<p><input type="submit" name="" value="Register"></p>

</a>

</form>

</div>

</body>

</head>

</html>
[Link]
c1body

margin:0;

padding:0;

background: url([Link]);

background-size:cover;

background-position:center;

font-family:sans-serif;

.loginbox{

width:320px;

height:520px;

background:rgba(0,0,0,0.6);

top:50%;

left:50%;

position:absolute;

transform:translate(-50%,-50%);

box-sizing:border-box;

padding:70px 30px;

color:#fff;

.avatar{

width:100px;

height:100px;

border-radius: 50%;

position:absolute;
top: -50px;

left:calc(50% -50px);

h1

margin:0;

padding:0 0 20px;

text-align:center;

font-size:22px;

.loginbox p{

margin:0;

padding:0;

font-weight:bold;

.loginbox input{

width:100%;

margin-bottom:20px;

.loginbox input[type="text"],input[type="password"]

border:none;

border-bottom:1px solid #fff;

background:transparent;

outline:none;

height:48px;

color:#fff;
font-size:16px;

.loginbox input[type="submit"]

border:none;

outline:none;

height:30px;

background:#fb2525;

color:#fff;

font-size:18px;

border-radius:20px;

.loginbox input[type="submit"]:hover

cursor:pointer;

background:#ffc107;

color:#000;

.loginbox a

text-decoration:none;

font-size:12px;

line-height:20px;

color:darkgrey;

.loginbox a:hover

{
color:#ffc107;

[Link]
<%@ page import="[Link].*" %>

<%@ page import="[Link].*" %>

<%

[Link]("[Link]");

Connection con=[Link]("jdbc:mysql://localhost:3306/car","root","");

String fn=[Link]("Name");

String uname=[Link]("Email");

String pwd=[Link]("phone number");

String g=[Link]("Password");

PreparedStatement ps=[Link]("insert into registration values(?,?,?,?)");

[Link](1,fn);

[Link](2,uname);

[Link](3,pwd);

[Link](4,g);

int result=[Link]();

if(result==1)

%>

<jsp:forward page="[Link]"/>

<%

else

{
[Link]("failure");

%>

[Link]
<html>

<head>

<title>back end</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="stylesheet" type="text/css" href="[Link]">

<style>

.b input[type="submit"]

width:100px;

border-radius:10px;

</style>

</head>

<body>

<form action="[Link]" method="get">

<a href="[Link]">

<button class="abd">Check slot availability</button>

</a>

</form>

<div class="b">

<form action="[Link]" method="post"><b>

Select slot<br><br>

<input type="submit" name="slot" value="slot01">


<input type="submit" name="slot" value="slot02">

<input type="submit" name="slot" value="slot03">

<input type="submit" name="slot" value="slot04">

<input type="submit" name="slot" value="slot05"><br>

<input type="submit" name="slot" value="slot06">

<input type="submit" name="slot" value="slot07">

<input type="submit" name="slot" value="slot08">

<input type="submit" name="slot" value="slot09">

<input type="submit" name="slot" value="slot10"><br>

<input type="submit" name="slot" value="slot11">

<input type="submit" name="slot" value="slot12">

<input type="submit" name="slot" value="slot13">

<input type="submit" name="slot" value="slot14">

<input type="submit" name="slot" value="slot15"><br>

<input type="submit" name="slot" value="slot16">

<input type="submit" name="slot" value="slot17">

<input type="submit" name="slot" value="slot18">

<input type="submit" name="slot" value="slot19">

<input type="submit" name="slot" value="slot20"><br>

<input type="submit" name="slot" value="slot21">

<input type="submit" name="slot" value="slot22">

<input type="submit" name="slot" value="slot23">

<input type="submit" name="slot" value="slot24">


<input type="submit" name="slot" value="slot25"><br><br><br>

<input type="submit" name="slot" value="slot26">

<input type="submit" name="slot" value="slot27">

<input type="submit" name="slot" value="slot28">

<input type="submit" name="slot" value="slot29">

<input type="submit" name="slot" value="slot30"><br>

<input type="submit" name="slot" value="slot31">

<input type="submit" name="slot" value="slot32">

<input type="submit" name="slot" value="slot33">

<input type="submit" name="slot" value="slot34">

<input type="submit" name="slot" value="slot35"><br>

<input type="submit" name="slot" value="slot36">

<input type="submit" name="slot" value="slot37">

<input type="submit" name="slot" value="slot38">

<input type="submit" name="slot" value="slot39">

<input type="submit" name="slot" value="slot40"><br>

<input type="submit" name="slot" value="slot41">

<input type="submit" name="slot" value="slot42">

<input type="submit" name="slot" value="slot43">

<input type="submit" name="slot" value="slot44">

<input type="submit" name="slot" value="slot45"><br>

<input type="submit" name="slot" value="slot46">


<input type="submit" name="slot" value="slot47">

<input type="submit" name="slot" value="slot48">

<input type="submit" name="slot" value="slot49">

<input type="submit" name="slot" value="slot50"><br><br>

</b>

</div>

<div class="loginbox">

<h1>SLOT BOOKING</h1>

<p>[Link]</p>

<input type="text" name="CarNo" placeholder="enter [Link]" required>

<br>

<p>[Link]</p>

<input type="text" name="phoneno" placeholder="enter phone number" required>

<br>Date

<input type="date" name="Date" id="myDate" value="">

<script>

function date()

var x=[Link]("myDate").value;

[Link]("demo").inner=x;

</script>

<br>

<p>from</p>

<div style="display:block;">

<select name="from1">
<option>1:00</option>

<option>2:00</option>

<option>3:00</option>

<option>4:00</option>

<option>5:00</option>

<option>6:00</option>

<option>7:00</option>

<option>8:00</option>

<option>9:00</option>

<option>10:00</option>

<option>11:00</option>

<option>12:00</option>

</select>

<select name="AMPM">

<option>AM</option>

<option>PM</option>

</select>

<p>To</p>

<select name="to1">

<option>1:00</option>

<option>2:00</option>

<option>3:00</option>

<option>4:00</option>

<option>5:00</option>

<option>6:00</option>

<option>7:00</option>

<option>8:00</option>
<option>9:00</option>

<option>10:00</option>

<option>11:00</option>

<option>12:00</option>

</select>

<select name="AMPM1">

<option>AM</option>

<option>PM</option>

</select>

</div><br>

<p>Place</p>

<select name="Place">

<option value="select place">select place</option>

<option value="Bhimavaram">Bhimavaram</option>

</select><br><br>

<p>Area</p>

<select name="Area">

<option value="select area">select area</option>

<option value="multiplex">multiplex</option>

<option value="srkr">srkr</option>

<option value="railway station">railway station</option>

<option value="bus stand">bus stand</option>

</select><br><br>

</form>

</div>

</body>
</html>

[Link]
body

margin:0;

padding:0;

background: url([Link]);

background-size:cover;

background-position:center;

font-family:sans-serif;

.loginbox{

width:320px;

height:600px;

background:rgba(0,0,0,0.6);

top:50%;

left:50%;

position:absolute;

transform:translate(-50%,-50%);

box-sizing:border-box;

padding:70px 30px;

color:#fff;

.avatar{

width:100px;

height:100px;

border-radius: 50%;
position:absolute;

top: -50px;

left:calc(50% -50px);

h1

margin:0;

padding:0 0 20px;

text-align:center;

font-size:22px;

.loginbox p{

margin:0;

padding:0;

font-weight:bold;

.loginbox input{

width:100%;

margin-bottom:20px;

.loginbox input[type="text"],input[type="password"]

border:none;

border-bottom:1px solid #fff;

background:transparent;

outline:none;

height:48px;
color:#fff;

font-size:16px;

.loginbox input[type="submit"]

border:none;

outline:none;

height:40px;

background:#fb2525;

color:#fff;

font-size:18px;

border-radius:20px;

.loginbox input[type="submit"]:hover

cursor:pointer;

background:#ffc107;

color:#000;

.loginbox a

text-decoration:none;

font-size:12px;

line-height:20px;

color:darkgrey;

.loginbox a:hover
{

color:#ffc107;

.abc

padding:10px;

.abd

padding:10px;

[Link]
<%@ page import="[Link].*" %>

<%@ page import="[Link].*" %>

<%

[Link]("[Link]");

Connection
con=[Link]("jdbc:mysql://localhost:3306/loginback","root","");

String a=[Link]("CarNo");

String b=[Link]("phoneno");

String c=[Link]("Date");

String d=[Link]("from1");

String e=[Link]("AMPM");

String f=[Link]("to1");

String g=[Link]("AMPM1");

String h=[Link]("Place");

String i=[Link]("Area");
String j=[Link]("slot");

PreparedStatement ps=[Link]("insert into backend values(?,?,?,?,?,?,?,?,?,?)");

[Link](1,a);

[Link](2,b);

[Link](3,c);

[Link](4,d);

[Link](5,e);

[Link](6,f);

[Link](7,g);

[Link](8,h);

[Link](9,i);

[Link](10,j);

int result=[Link]();

if(result==1)

[Link]("[Link]");

else

[Link]("insertion Failed");

%>

[Link]
<html>

<head>

<link rel="stylesheet" type="text/css" href="[Link]">

</head>
<body><center>

<form action="[Link]" method="post">

<div class="loginbox">

<h1>

<p>Enter your details to check slot availability</p>

Date

<input type="date" name="Date" id="myDate" value="">

<script>

function date()

var x=[Link]("myDate").value;

[Link]("demo").inner=x;

</script>

<br><br>

Place

<select name="Place">

<option value="select place">select place</option>

<option value="Bhimavaram">Bhimavaram</option>

</select><br><br>

Area

<select name="Area">

<option value="select area">select area</option>

<option value="multiplex">multiplex</option>

<option value="srkr">srkr</option>

<option value="railway station">railway station</option>

<option value="bus stand">bus stand</option>


</select><br><br>

<a href="[Link]">

<button class="abd">Submit</button>

</a>

</h1>

</div>

</form>

</center>

</body>

</html>

[Link]
<%@page import="[Link]"%>

<%@page import="[Link]"%>

<%@page import="[Link]"%>

<%@page import="[Link]"%>

<%@page import="[Link].*"%>

<%

String ph= [Link]("Admin name");

String ps= [Link]("Password");

String driver = "[Link]";

String connectionUrl = "jdbc:mysql://localhost:3306/";

String database = "loginback";

String userid = "root";

String password = "";


try {

[Link](driver);

catch (ClassNotFoundException e)

[Link]();

Connection connection = null;

Statement statement = null;

ResultSet rs= null;

%>

<!DOCTYPE html>

<html>

<head>

<link rel="stylesheet" type="text/css" href="[Link]">

<style>

.a

background-color:red;

.b

background-color:green;

</style>

</head>
<body background="[Link]">

<form action="[Link]" method="post">

<h1>check status:</h1>

<%

try

connection = [Link](connectionUrl+database, userid, password);

statement=[Link]();

String d=[Link]("Date");

String p=[Link]("Place");

String a=[Link]("Area");

rs=[Link]("select Date,from1,AMPM,to1,AMPM1,Place,Area,slotNo from


backend where(Date='"+d+"'and Place='"+p+"'and Area='"+a+"')");

while([Link]())

String s=[Link](8);

[Link]("<button class='a'>");

[Link](s);

[Link]("</button>");

/*while(![Link]())

{
[Link]("<button class='b'>");

[Link]("n");

[Link]("</button>");

}*/

[Link]();

catch(Exception e)

[Link]("no data available");

%>

</table>

<p><input type="submit" class="abc" name="" value="OK"></p>

</form>

</body>

</html>

[Link]
<html>

<head>

<link rel="stylesheet" type="text/css" href="[Link]">

</head>

<body><center>

<form action="[Link]" method="post">

<h1>
<p>please enter ur phone number to confirm details</p>

<h1><input type="text" name="phoneno" placeholder="enter phone number"></h1>

<input type="submit" name="phoneno" value="submit">

</h1>

</form>

</center>

</body>

</html>

[Link]
body

margin:0;

padding:0;

background: url([Link]);

background-size:cover;

background-position:center;

font-family:sans-serif;

h1

margin:0;

padding:0 0 20px;

text-align:center;

font-size:22px;

}
[Link]
<%@page import="[Link]"%>

<%@page import="[Link]"%>

<%@page import="[Link]"%>

<%@page import="[Link]"%>

<%

String ph= [Link]("Admin name");

String ps= [Link]("Password");

String driver = "[Link]";

String connectionUrl = "jdbc:mysql://localhost:3306/";

String database = "loginback";

String userid = "root";

String password = "";

try {

[Link](driver);

catch (ClassNotFoundException e)

[Link]();

Connection connection = null;

Statement statement = null;

ResultSet rs= null;

%>

<!DOCTYPE html>

<html>

<head>
<link rel="stylesheet" type="text/css" href="[Link]">

</head>

<body background="[Link]">

<form action="[Link]" method="post">

<h1>Please Confirm your Details:</h1>

<h2>

<table border="1">

<tr>

<td>[Link]</td>

<td>[Link]</td>

<td>Date</td>

<td>from</td>

<td>AM/PM</td>

<td>To</td>

<td>AM/PM</td>

<td>Place</td>

<td>Area</td>

<td>[Link]</td>

</tr>

</h2>

<%

try{

connection = [Link](connectionUrl+database, userid, password);

statement=[Link]();

String pho=[Link]("phoneno");

rs=[Link]("select * from backend where phoneno='"+pho+"'");

while([Link]()){
%>

<tr>

<td><%=[Link](1) %></td>

<td><%=[Link](2) %></td>

<td><%=[Link](3) %></td>

<td><%=[Link](4) %></td>

<td><%=[Link](5) %></td>

<td><%=[Link](6) %></td>

<td><%=[Link](7) %></td>

<td><%=[Link](8) %></td>

<td><%=[Link](9) %></td>

<td><%=[Link](10) %></td>

</tr>

<%

[Link]();

catch(Exception e)

[Link]("no data available");

%>

</table>

<p><input type="submit" class="abc" name="" value="Confirm Details"></p>

</form>

</body>

</html>
[Link]
.abc

padding:10px;

[Link]

<html>

<head>

<link rel="stylesheet" type="text/css" href="[Link]">

</head>

<body>

<form action=[Link] method="post">

<center>

<p><input type="submit" class="abc" name="" value="LOGOUT"></p>

</center>

</form>

</body>

<html>

[Link]
body
{
margin:0;
padding:0;
background: url([Link]);
background-size:cover;
background-position:center;
font-family:sans-serif;
}
.abc
{
padding:20px;
}

You might also like