0% found this document useful (0 votes)
55 views86 pages

Bus Reservation Vishnu

bus reservastion system report

Uploaded by

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

Bus Reservation Vishnu

bus reservastion system report

Uploaded by

ashrafmalik0319
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 86

CONTENT

CHAPTER NO TITLE PAGE NO

ABSTRACT 1
1
INTRODUCTION
1.1 PROJECT AIMS AND OBJECTIVES
4
1.2 BACKGROUND OF PROJECT
1.3 OPERATION ENVIRONMENT
2 SYSTEM ANALYSIS 6

2.1 SOFTWARE REQUIREMENT


SPECIFICATION
2.1 EXISTING VS PROPOSED
2.2 SOFTWARE TOOL USED
3 18
SYSTEM DESIGN

3.1 TABLE DESIGN

3.2 DATA’S FLOW DIAGRAM

4 SYSTEM IMPLEMENTATION 22

4.1 MODULE DESCRIPTION


4.2 SCREEN SHOTS

5 31
SYSTEM TESTING
5.1 UNIT TESTING
5.2 INTEGRATION TESTING
CONCLUSION
6 47
REFERENCES
7 48

1
ABSTRACT

2
ABSTRACT

Traveling is a large growing business across all countries. Bus reservation


system deals with maintenance of records of details of each passenger. It also
includes maintenance of information like schedule and details of each bus. We
observed the working of the Bus reservation system and after going through it, we
get to know that there are many operations, which they have to do manually. It
takes a lot of time and causing many errors while data entry. Due to this, sometimes
a lot of problems occur and they were facing many disputes with customers. To
solve the above problem, and further maintaining records of passenger details, seat
availability, price per seat, bill generation and other things, we are offering this
proposal of computerized reservation system.

3
CHAPTER-1

INTROUCTION

4
INTROUCTION

The Bus Reservation System is a digital platform designed to simplify and streamline the process of
booking bus tickets for travelers. It eliminates the need for manual reservations, providing users with a
convenient, fast, and secure way to plan their journeys. By integrating real-time bus schedules, seat
availability, and online payments, this system transforms the traditional ticket booking process into a
modern and user-friendly experience.

1.1 PROJECT AIMS AND OBJECTIVES


The primary aim of the Bus Reservation System is to develop a user-friendly, efficient, and secure
platform that simplifies the process of booking bus tickets. The system aims to enhance the travel
planning experience for customers while streamlining administrative tasks for bus operators. It
seeks to reduce manual processes, improve customer satisfaction, and enable a modern, hassle-free
ticketing solution.

OBJECTIVES

User-Centric Features

● Provide an intuitive interface for users to search, book, and manage bus tickets easily. ●

Offer personalized experiences by incorporating user accounts and travel preferences.

Real-Time Data Access

● Enable real-time updates on bus schedules, seat availability, and booking status.
● Integrate notifications for trip reminders, schedule changes, and promotional offers.

Secure and Flexible Transactions

● Implement secure payment gateways to facilitate seamless transactions.


● Support multiple payment methods, including credit/debit cards, UPI, and mobile
wallets.

5
Efficient Booking Management

● Allow users to view, modify, or cancel their bookings with clear policies.
● Provide detailed booking summaries, including boarding points, seat numbers, and
payment receipts.
Scalability and Reliability

● Design the system to accommodate high volumes of users and transactions without
downtime.
● Ensure data security and privacy through encryption and compliance with industry
standards.

1.2 BACKGROUND OF PROJECT


The traditional process of bus ticket booking involved manual reservations through ticket
counters or phone calls. This method was often time-consuming, prone to errors, and
inconvenient for both travelers and bus operators. With the rise of digitalization and the
increasing reliance on technology, the need for an efficient, automated system to manage bus
reservations has become essential.

The Bus Reservation System was conceived to address these challenges by leveraging
technology to simplify the booking process for users while improving operational efficiency
for bus service providers. The project aims to bridge the gap between travelers and bus
operators through a seamless, centralized platform that caters to both parties' needs.

6
CHAPTER 2
SYSTEM ANALYSIS

7
SYSTEM ANALYSIS
System analysis involves understanding the requirements, identifying the challenges, and
defining the functionalities of the Bus Reservation System. This phase ensures that the
developed system meets the needs of end-users and administrators effectively.

2.1 SOFTWARE REQUIREMENT SPECIFICATION

1.1 HARDWARE REQUIREMENTS

Hardware requirements refer to the physical components of a computer


or device that are necessary for running a specific software application or
operating system. These requirements outline the minimum and
recommended specifications for the processor, memory, storage, graphics, and
other essential hardware elements needed to ensure smooth and efficient
software performance.

 PROCESSOR : INTEL XEON OR AMD EQUIVALENT


 RAM : 8GB
 HARD DISK : 10 GB

1.2 SOFTWARE REQUIREMENTS


Software requirements refer to the specific software and system
configurations needed to run a particular program or application efficiently.
These requirements ensure that the software functions as intended and can
interact with the necessary components of the system, including operating
systems, libraries, and other dependent software.

8
• FRONT END : HTML, CSS,PHP
• BACK END : MYSQL
• OPERATING SYSTEM : WINDOW 10, MACOS, LINUX

2.1.1 Functional Requirements

1.1 User Registration and Login:


● Users must be able to create an account by providing personal details (name, email, phone
number, password).
● Login options should include:
o Username and password.
o One-Time Password (OTP) via mobile/email.
● Provide functionality for password recovery.
1.2 Search Buses:
● Users should be able to search for available buses based on:
o Departure and destination cities.
o Date and time.
● Display search results with relevant information:
o Operator name, bus type (AC, non-AC), departure time, arrival time, fare, and seat
availability.
1.3 Seat Selection and Booking:
● Allow users to view real-time seat availability.
● Enable selection of preferred seats before booking.
● Generate a summary of selected seats, fare details, and trip details before confirming
the booking.
● Generate and send an e-ticket with all booking details (seat number, route, boarding point)
via email.

1.5 Booking Management:

9
● Provide a dashboard for users to:
o View current and past bookings.
o Cancel reservations based on operator policies.
o Request refunds where applicable.

2.1 Route and Schedule Management:


● Allow admins to create, update, and delete routes.
● Add or modify schedules for each route, specifying:
o Departure/arrival
times. o Frequency
(daily, weekly).
2.2 Bus and Seat Management:
● Enable adding, updating, or removing buses.
● Define seat layouts and capacity for each bus.
2.3 Booking Oversight:
● Provide admins with access to view all bookings.
● Enable booking approvals and cancellations, if necessary.
2.4 User and Operator Management:
● Manage user accounts, including registration, deactivation, or banning users for
violations.
● Assign operator accounts with limited access to manage specific routes and buses.

3.1 General Functionalities


3.1.1 Notifications:
● Send email/SMS notifications for:
o Booking confirmations. o Schedule changes.

o Refund status.
3.2 Search and Filtering:
● Allow users and admins to filter and sort data (e.g., by date, route, operator, or fare).

10
3.3 Reporting and Analytics:
● Generate reports for operators and admins, including:
 Booking
trends. o
Reve
nue details. o
Occu
pancy rates.
3.4 Support:
● Provide a contact form or chatbot for users to raise issues or queries.
● Include FAQs for common user questions.

2.2 EXISTING VS PROPOSED

2.2.1 User Interface and Experience:

● Web Interface: A responsive, user-friendly design that works across all devices (desktop,
tablet, and mobile) with intuitive navigation.
● Mobile Interface: A seamless mobile application (for iOS and Android) optimized for user-
friendly banking experiences, including easy access.

2.2.2 System Performance & Speed

• Existing: Slower response times, especially during peak hours or after


large-scale updates. Transaction processing can experience delays due
to outdated infrastructure or inefficient code.

• Proposed: Optimized performance, with faster transaction processing


and better system scalability. Real-time updates and instant responses to
customer interactions will be standard, reducing latency and improving
operational speed.

11
2.2.3 Performance Metrics
1. Response Time:
o Average response time for user actions, such as searching for
buses or booking tickets, must be under 2-3 seconds.
o Payment processing should complete within 5-10 seconds,
depending on the payment gateway.
2. Throughput:
o The system should handle up to 1,000 concurrent users for
small-scale deployment and scale to 10,000+ concurrent
users for larger implementations.
3. Downtime:
o Target system uptime is 99.9%, with minimal downtime for
maintenance. 4. Database Queries:
o Optimize database queries to fetch results in milliseconds,
ensuring quick data retrieval for bus schedules and seat
availability.

2.2.4 Factors Influencing Speed

2.1 Hardware Optimization


● Use SSD storage for faster data read/write operations.
● Allocate sufficient RAM and high-performance CPUs to servers to
handle concurrent requests efficiently.

2.2 Database Optimization


● Use indexes for frequently queried fields like bus schedules, routes,
and user bookings.

12
● Implement database sharding for scalability in high-traffic
scenarios.
● frequently accessed data, reducing database load.
2.3 Network Speed
● Host the system on high-speed, low-latency servers.
● Use CDNs (Content Delivery Networks) to speed up static content
delivery for users across different regions.
2.4 Application Performance
● Minimize the size of frontend assets using techniques like code
minification and image compression.
● Implement asynchronous processing for tasks like sending
notifications or generating reports.
2.5 Load Balancing
● Use load balancers to distribute traffic across multiple servers,
ensuring optimal performance during peak usage times.

2.2.5 Techniques for Enhanced Performance


1.Caching:
o Cache frequently requested data like bus schedules, routes,
and seat availability.
o Employ client-side caching to reduce server requests for
repeated users.

2. Database Optimization:
o Use normalized schema designs for reducing redundancy.
o Optimize complex queries using joins and aggregate
functions for batch processing.

13
3. Stress and Load Testing
● Conduct stress testing to identify the maximum user load the
system can handle before performance degrades.
● Perform load testing to simulate real-world scenarios and ensure
system stability under varying traffic conditions.

4. Monitoring and Maintenance


● Use monitoring tools like New Relic, Datadog, or Prometheus to
track performance metrics in real time. ● Set up alerts for performance
bottlenecks or slow response times.

2.3 SOFTWARE TOOL USED

FRONT END
The whole Project is divided in two parts the front end and the back end.
The front end is designed using of html , Css, php, javascript.

2.3.1 HTML
i. HTML- HTML or Hyper Text Markup Language is the main
markup language for creating web pages and other information
that can be displayed in a web browser.HTML is written in the
form of HTML elements consisting of tags enclosed in angle
brackets (like <html>), within the web page content.

ii. HTML tags most commonly come in pairs like <h1> and </h1>,
although some tags represent empty elements and so are unpaired,

14
for example <img>. The first tag in a pair is the start tag, and the
second tag is the end tag (they are also called opening tags and
closing tags).

iii. HTML elements form the building blocks of all websites.


HTMLallows images and objects to be embedded and can be used
to create interactive forms. It provides a means to create structured
documents bydenoting structural semantics for text.

15
2.3.2
CSS

i. CSS- Cascading Style Sheets(CSS) is a style sheet language used


fordescribing the look and formatting of a document written in a markup
language. While most often used to style web pages and interfaces
written in HTML and XHTML, the language can be applied to any kind
of XML document, including plain XML, SVG and XUL. CSS is a
cornerstone specification of the web and almost all web pages use CSS
style sheets to describe their presentation.

ii. CSS is designed primarily to enable the separation of document content


from document presentation, including elements such as the layout,
colors, and fonts. This separation can improve content accessibility,
provide more flexibility and control in the specification.

iii. of presentation characteristics, enable multiple pages to share


formatting, and reduce complexity and repetition in the structural
content (such as by allowing for table less web design).CSS can also
allow the same markup page to be presented in different styles for
different rendering methods, such as on-screen, in print, by voice (when
read out by a speech-based browser or screen reader) and on Braille-
based, tactile devices.

2
2.3.3
JAVASCRIPT(JS)

i. JAVA SCRIPT- JavaScript(JS) is a dynamic computer programming


language. It is most commonly used as part of web browsers, whose
implementations allow client-

side scripts to interact with the user, control the browser, communicate
asynchronously, a0nd alter the document content that is displayed. It is also
being used in server-side programming, game development and the
creation of desktop and mobile applications.

ii. JavaScript is a prototype-based scripting language with dynamic typingand


has first- class functions. Its syntax was influenced by C.

iii. JavaScript copies many names and naming conventions from Java, but the
two languages are otherwise unrelated and have very different semantics.
The key design principles within JavaScript are taken from the Self and
Scheme programming languages. It is a multi- paradigm language,
supporting object-oriented, imperative, and functional programming
styles.

3
2.3.4
PHP

i. PHP Hypertext Preprocessor is a server-side scripting language primarily


used for web development. It's widely used for building dynamic websites
and web applications. Server-Side Scripting: PHP code runs on the server

ii. Embedded in HTML: PHP scripts can be written directly within HTML
pages, enabling dynamic content creation (e.g., form submissions,
databases interaction, session management).
Open Source: PHP is free to use and has a large community that actively
contributes to its development.

iii. An HTML tag is a code element that defines the structure of a web page.
It is used to mark up content on a webpage to specify its meaningand
behaviour. Basic Structure: HTML tags are usually enclosed in angle
brackets (e.g., `<p>` for a paragraph, `<h1>` for a heading).Opening and
Closing Tags: Many HTML tags come in pairs: an opening tag `<tag>` and
a closing tag `</tag>`. For example, `<div>` opens a division, and `</div>`
closes it. Purpose: Tags specify how content should be displayed (e.g., bold
text with `<b>`, links with `<a>`, images `<img>`).

4
BACKEND
MySQL is one of the most popular and widely-used open-source relational
database management systems (RDBMS). It's known for its performance,
reliability, and ease of use. Here are three key points about MySQL:

Open-Source and Free


MySQL is an open-source software, meaning it's free to use and can be modified
or distributed under the terms of the **GNU General Public License (GPL).
Being open-source, it has a large community of contributors who help maintain
and improve the software.

Relational Database Management System (RDBMS)


MySQL is a relational database system, meaning it stores data in structured
tables with rows and columns, allowing for efficient data management and
relationships between different sets of data.
It supports SQL (Structured Query Language), which is used to query, insert,
update, and manage data.

Scalable, Fast, and Reliable

Scalability: MySQL is highly scalable and can handle large amounts of data and
high traffic loads, making it suitable for both small projects and large enterprise
applications.
Performance: MySQL is known for its fast query performance and low
overhead, thanks to features like indexing, caching, and optimization.
Reliability: It provides robust data security features and backup solutions,
making it reliable for mission-critical applications.

5
USER MODULE

USER LOGIN

● The user login module in a bus reservation system is designed to provide


secure and seamless access to the platform for users, enabling them to book
tickets, view schedules, and manage their bookings.

HOME PAGE
● The system caters to a wide range of users, including individual passengers,
frequent commuters, and travel agencies. With its easy-to-use interface,
customers can search for routes, select their preferred bus type, book tickets, and
manage reservations effortlessly. Additionally, features like personalized user
accounts, booking history, and notifications ensure a seamless travel experience.

BOOKING DETAILS

● The Booking Details section provides users with comprehensive information about
their ticket reservations, ensuring transparency and convenience. It includes all
the essential data required for a smooth travel experience, such as bus
information, passenger details, and transaction specifics. Here's an overview of
the key elements.

1. Passenger Information

● Name: Full name of the passenger(s).


● Contact Details: Phone number and email address for communication.

6
● ID Proof (if required): Details of government-issued ID (e.g., Aadhaar, Passport).

2. Trip Information

● Route: Departure and destination cities.


● Date and Time:
o Departure Date and Time: When the bus leaves the boarding point.
o Arrival Date and Time: Estimated arrival at the destination.
● Boarding Point: Location where the passenger boards the bus.
● Drop-off Point: Location where the passenger disembarks.
3. Bus Details

● Bus Operator: Name of the service provider or company.


● Bus Type:
o Example: Sleeper, Semi-Sleeper, AC, Non-AC, Luxury, or Volvo.
● Bus Number: Unique identification for the assigned bus.
● Seat Number(s): Allocated seat(s) for the passenger(s).

4. Payment Information

● Ticket Price: Breakdown of charges (base fare, taxes, and fees).


● Total Amount Paid: Final payment made by the user.
● Payment Mode: Payment method used (e.g., credit card, UPI, wallet). ●
Transaction ID: A unique identifier for the payment transaction.

5. Ticket and Booking ID

● Booking ID: Unique ID assigned to the reservation for tracking and support.

7
● Ticket ID: Specific identifier for the e-ticket generated after booking.

6. Additional Information

● Terms and Conditions:


o Cancellation policies.
o Rules regarding boarding and luggage.
● Special Requests:
o Notes for special assistance or requirements.
7. Notifications

● Email/SMS Alerts: Booking details sent via email and SMS upon confirmation.
● Real-Time Updates: Notifications for schedule changes, delays, or cancellations.

SEARCH AND BOOKING

● A prominent search bar is featured on the homepage, allowing users to book tickets
quickly. Users can enter their departure and destination cities, select a travel date, and
search for available buses. This simplifies the process of finding and booking trips,
saving users time.
Example:

● Fields for "From," "To," and "Date."


A "Search Buses" button that dynamically displays results based on user input.

8
CHAPTER-3
SYSTEM DESIGN

9
3.1 TABLE DESIGN

VARIOUSTABELSTOMAINTAIN

INFORMATION

⮚ Database Design

10
⮚ ADMIN DATABASE

⮚ USER DATABASE

11
⮚ BUSES DATABASE

⮚ TICKECT DETAILS

12
3.2 DATA FLOW DIAGRAMS:
A data flow diagram (DFD) is a graphical representation of the "flow" of data through an
information system, modeling its process aspects. A DFD shows what kind of information
will be input to and output from the system, where the data will come from and go to, and
where the data will be stored. The development of DFD’S is done in several levels. Each
process in lower level diagrams can be broken down into a more detailed DFD in the next
level. The Top-level diagram is often called context diagram. It consist a single process bit,
which plays vital role in studying the current system. The process in the context level
diagram is exploded into other process at the first level DFD. Figures 3.1 to 3.3 shows a
data flow diagram about the system.

13
3.3 USE CASE DIAGRAM FOR USERS AND ADMIN

A use case is a description of a system’s behaviour as it responds to a request that


originates from outside of that system (the user). In figure 3.4, a use case of the
activities in a bus transport system is shown.

14
In other words a use case describes “who” can do “what” with the system in question.
The use case technique is used to capture a system’s behavioural requirements by
detailing scenario-driven threads through the functional requirements.

15
16
CHAPTER 4
SYSTEM
IMPLEMENTATION

17
SYSTEM IMPLEMENTATION

4.1 MODULE DESCRIPTION


⮚ Login/Signup: Customers sign up or log in to the system.
⮚ Search for Bus: Customers enter their departure and arrival cities, along with the date of
travel.
⮚ Select Bus: The system shows available buses based on the search criteria. Customers
choose a bus and then select their preferred seats.
⮚ Make Payment: Customers proceed to a secure payment page and complete the booking
using a debit/credit card, PayPal, or other payment methods.
⮚ Confirmation: A booking confirmation with the ticket details is sent to the customer via
email/SMS.
⮚ Manage Booking: Customers can view or modify their reservation, cancel their ticket,
or request a refund if necessary.

18
4.2 SCREEN SHOTS

ONLINE BUS RESERVATION SYSTEM

4.2.1 ADMIN LOGIN

19
4.2.2 ADMIN HOME PAGE

20
4.2.3 ADD BUS DETAILS

21
4.2.4 USER LOGIN AND SIGNUP PAGE

22
4.2.5 BOOKING DETAILS

23
4.2.6 BOOKING RESULT

24
4.2.7 SERACH BUS

4.2.8 PROTFOLIO

25
SOURCE CODING
Index:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Transport</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">

26
<meta content="" name="description">

<!-- Favicons -->


<link href="img/favicon.png" rel="icon">
<link href="img/apple-touch-icon.png" rel="apple-touch-icon">

<!-- Google Fonts -->


<link
href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i|Rale
way:300,400,500,700,800|Montserrat:300,400,700" rel="stylesheet">

<!-- Bootstrap CSS File -->


<link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Libraries CSS Files -->
<link href="lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="lib/animate/animate.min.css" rel="stylesheet">
<link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<link href="lib/magnific-popup/magnific-popup.css" rel="stylesheet">
<link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">

<!-- Main Stylesheet File -->


<link href="css/style.css" rel="stylesheet">

</head>

<body id="body">

27
<!--==========================
Top Bar
============================-->
<section id="topbar" class="d-none d-lg-block">
<div class="container clearfix">
<div class="contact-info float-left">
<i class="fa fa-envelope-o"></i> <a
href="mailto:[email protected]">[email protected]</a>
<i class="fa fa-phone"></i> +91 8003649945
</div>
</div>
</section>

<!--==========================
Header
============================-->
<header id="header">
<div class="container">

<div id="logo" class="pull-left">


<h1><a href="#body" class="scrollto">Tran<span>Sport</span></a></h1>
<!-- Uncomment below if you prefer to use an image logo -->
<!-- <a href="#body"><img src="img/logo.png" alt="" title="" /></a>-->
</div>

<nav id="nav-menu-container">
<ul class="nav-menu">
<li class="menu-active"><a href="#body">Home</a></li>
<li><a href="#about">About Us</a></li>

28
<li><a href="#portfolio">Portfolio</a></li>
<li><a href="registration/admin.php">Admin</a></li>
<li><a href="registration/login.php">login</a></li>
</ul>
</nav><!-- #nav-menu-container -->
</div>
</header><!-- #header -->

<!--==========================
Intro Section
============================-->
<section id="intro">

<div class="intro-content">
<h2>Making <span>your Ride</span><br>happen!</h2>
<div>
<a href="profile.php" class="btn-get-started scrollto">Ticket Book</a> </div>
</div>

<div id="intro-carousel" class="owl-carousel" >


<div class="item" style="background-image: url('img/bus1.jpg');"></div>
<div class="item" style="background-image: url('img/bus2.jpg');"></div>
<div class="item" style="background-image: url('img/bus3.jpg');"></div>
<div class="item" style="background-image: url('img/bus4.jpg');"></div>
<div class="item" style="background-image: url('img/bus5.jpg');"></div>
<div class="item" style="background-image: url('img/bus6.jpg');"></div>

29
<div class="item" style="background-image: url('img/bus7.jpg');"></div>
<div class="item" style="background-image: url('img/intro-carousel/5.jpg');"></div>
</div>

</section><!-- #intro -->

<main id="main">
<section id="portfolio" class="wow fadeInUp">
<div class="container">
<div class="section-header">
<h2>Our Portfolio</h2>

<p>“The Impulse to Travel is one of the hopeful symptoms of life” ... </p> </div>
</div>

<div class="container-fluid">
<div class="row no-gutters">
<div class="col-lg-3 col-md-4">
<div class="portfolio-item wow fadeInUp">
<a href="img/port1.jpg" class="portfolio-popup">
<img src="img/port1.jpg" alt="" style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">

30
<div class="portfolio-item wow fadeInUp">
<a href="img/port2.jpg" class="portfolio-popup">
<img src="img/port2.jpg" alt="" style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port3.jpg" class="portfolio-popup">
<img src="img/port3.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port4.jpg" class="portfolio-popup">
<img src="img/port4.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>

31
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port5.jpg" class="portfolio-popup">
<img src="img/port5.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port6.jpg" class="portfolio-popup">
<img src="img/port6.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">

32
<a href="img/port7.jpg" class="portfolio-popup">
<img src="img/port7.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port8.jpg" class="portfolio-popup">
<img src="img/port8.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

</div>
</div>
</section><!-- #portfolio -->
<section id="Partners" class="wow fadeInUp">
<div class="container">
<div class="section-header">
<h2>Partners</h2>
<p>With there Help and Corporation we make your travel full of Joy and
Memorable</p>

33
</div>

<div class="owl-carousel clients-carousel">


<img src="img/partner1.png" alt="">
<img src="img/partners2.jpeg" alt="">
<img src="img/partner3.jpg" alt="">
<img src="img/partner4.jpg" alt="">
<img src="img/partner5.png" alt="">
</div>

</div>
</section><

<!--==========================
About Section
============================-->
<section id="about" class="wow fadeInUp">
<div class="container">
<div class="row">
<div class="col-lg-6 about-img">
<img src="img/port3.jpg" alt="">
</div>

<script src="lib/jquery/jquery-migrate.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/superfish/hoverIntent.js"></script>
<script src="lib/superfish/superfish.min.js"></script>

34
<script src="lib/wow/wow.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<script src="lib/magnific-popup/magnific-popup.min.js"></script>
<script src="lib/sticky/sticky.js"></script>

<!-- Contact Form JavaScript File -->


<script src="contactform/contactform.js"></script>

<!-- Template Main Javascript File -->


<script src="js/main.js"></script>

</body>
</html>
Profile:
<?php session_start();
if(!isset($_SESSION['uid'])){
header('location:registration/login.php');
}

?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Transport</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">
<meta content="" name="description">

35
<!-- Favicons -->
<link href="img/favicon.png" rel="icon">
<link href="img/apple-touch-icon.png" rel="apple-touch-icon">

<!-- Google Fonts -->


<link
href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i|Rale
way:300,400,500,700,800|Montserrat:300,400,700" rel="stylesheet">

<!-- Bootstrap CSS File -->


<link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">

<!-- Libraries CSS Files -->


<link href="lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="lib/animate/animate.min.css" rel="stylesheet">
<link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<link href="lib/magnific-popup/magnific-popup.css" rel="stylesheet">
<link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">

<!-- Main Stylesheet File -->


<link href="css/style.css" rel="stylesheet">

</head>

<body id="body">

36
<!--==========================
Top Bar
============================-->
<section id="topbar" class="d-none d-lg-block">
<div class="container clearfix">
<div class="contact-info float-left">
<i class="fa fa-envelope-o"></i> <a
href="mailto:[email protected]">[email protected]</a>
<i class="fa fa-phone"></i> +91 8003649945
</div>
</div>
</section>

<!--==========================
Header
============================-->
<header id="header">
<div class="container">

<div id="logo" class="pull-left">


<h1><a href="#body" class="scrollto">Tran<span>Sport</span></a></h1>
<!-- Uncomment below if you prefer to use an image logo -->
<!-- <a href="#body"><img src="img/logo.png" alt="" title="" /></a>-->
</div>

<nav id="nav-menu-container">
<ul class="nav-menu">

37
<li class="menu-active"><a href="#body">Home</a></li>
<li><a href="#portfolio">Portfolio</a></li>
<li><a href="ticket.php">your tickets</a></li>
<!-- <li><a href="#"><?php echo $_SESSION['uname'];?></a></li> -->
<li><a href="registration/logout.php">logout</a></li>
</ul>
</nav><!-- #nav-menu-container -->
</div>
</header><!-- #header -->

<!--==========================
Intro Section
============================-->
<section id="intro">

<div class="intro-content">
<h2>Making <span>your Ride</span><br>happen!</h2>
<div>
<a href="registration/bussearch.php" class="btn-get-started scrollto">Ticket Book</a>
</div>

</div>

<div id="intro-carousel" class="owl-carousel" >


<div class="item" style="background-image: url('img/bus1.jpg');"></div>
<div class="item" style="background-image: url('img/bus2.jpg');"></div>
<div class="item" style="background-image: url('img/bus3.jpg');"></div>
<div class="item" style="background-image: url('img/bus4.jpg');"></div>
<div class="item" style="background-image: url('img/bus5.jpg');"></div>

38
<div class="item" style="background-image: url('img/bus6.jpg');"></div>
<div class="item" style="background-image: url('img/bus7.jpg');"></div>
<div class="item" style="background-image: url('img/intro-carousel/5.jpg');"></div>
</div>

</section><!-- #intro -->

<main id="main">
<section id="portfolio" class="wow fadeInUp">
<div class="container">
<div class="section-header">
<h2>Our Portfolio</h2>

<p>“The Impulse to Travel is one of the hopeful symptoms of life” ... </p> </div>
</div>

<div class="container-fluid">
<div class="row no-gutters">

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port1.jpg" class="portfolio-popup">
<img src="img/port1.jpg" alt="" style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

39
<div class="col-lg-3 col-md-4">
<div class="portfolio-item wow fadeInUp">
<a href="img/port2.jpg" class="portfolio-popup">
<img src="img/port2.jpg" alt="" style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port3.jpg" class="portfolio-popup">
<img src="img/port3.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>
<div class="col-lg-3 col-md-4">
<div class="portfolio-item wow fadeInUp">
<a href="img/port4.jpg" class="portfolio-popup">
<img src="img/port4.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">

40
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port5.jpg" class="portfolio-popup">
<img src="img/port5.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port6.jpg" class="portfolio-popup">
<img src="img/port6.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

41
<div class="col-lg-3 col-md-4">
<div class="portfolio-item wow fadeInUp">
<a href="img/port7.jpg" class="portfolio-popup">
<img src="img/port7.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port8.jpg" class="portfolio-popup">
<img src="img/port8.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

</div>

</div>
</section><!-- #portfolio -->
<section id="Partners" class="wow fadeInUp">
<div class="container">

42
<div class="section-header">
<h2>Partners</h2>
<p>With there Help and Corporation we make your travel full of Joy and
Memorable</p>
</div>

<div class="owl-carousel clients-carousel">


<img src="img/partner1.png" alt="">
<img src="img/partners2.jpeg" alt="">
<img src="img/partner3.jpg" alt="">
<img src="img/partner4.jpg" alt="">
<img src="img/partner5.png" alt="">
</div>

</div>
</section><

<!--==========================
About Section
============================-->
<section id="about" class="wow fadeInUp">
<div class="container">
<div class="row">
<div class="col-lg-6 about-img">
<img src="img/port3.jpg" alt="">
</div>

43
</div>
</div>
</section><!-- #about -->

</main>

<!--==========================
Footer
============================-->
<footer id="footer">
<div class="container">
<div class="copyright">
&copy; Copyright <strong>Traveler</strong>. All Rights Reserved
</div>
<div class="credits">

Designed by <a href="#">Bus Transport</a>


</div>
</div>
</footer><!-- #footer -->

<a href="#" class="back-to-top"><i class="fa fa-chevron-up"></i></a>

<!-- JavaScript Libraries -->


<script src="lib/jquery/jquery.min.js"></script>
<script src="lib/jquery/jquery-migrate.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.bundle.min.js"></script>

44
<script src="lib/easing/easing.min.js"></script>
<script src="lib/superfish/hoverIntent.js"></script>
<script src="lib/superfish/superfish.min.js"></script>
<script src="lib/wow/wow.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<script src="lib/magnific-popup/magnific-popup.min.js"></script>
<script src="lib/sticky/sticky.js"></script>

<!-- Contact Form JavaScript File -->


<script src="contactform/contactform.js"></script>

<!-- Template Main Javascript File -->


<script src="js/main.js"></script>

</body>
</html>
Ticket:
<?php session_start();
if(!isset($_SESSION['uid'])){
header('location:registration/login.php');
}

?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Transport</title>

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

<!-- Favicons -->


<link href="img/favicon.png" rel="icon">
<link href="img/apple-touch-icon.png" rel="apple-touch-icon">

<!-- Google Fonts -->


<link
href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i|Rale
way:300,400,500,700,800|Montserrat:300,400,700" rel="stylesheet">

<!-- Bootstrap CSS File -->


<link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">

<!-- Libraries CSS Files -->


<link href="lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="lib/animate/animate.min.css" rel="stylesheet">
<link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<link href="lib/magnific-popup/magnific-popup.css" rel="stylesheet">
<link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">

<!-- Main Stylesheet File -->


<link href="css/style.css" rel="stylesheet">

46
</head>

<body id="body">
<div class="container">

<div id="results"></div>
<!-- - <div class='card'>
<div class='card-header bg-info'>
<h3 class='text-center'>Ticket Detail</h3>
</div>
<div class='card-body bg-dark'>
<div class='card bg-dark '>
<h2 class='text-center text-white'>Passenger Detail</h2><hr>
<div class='row'>
<div class='col-md-6'>
<h4 class=' text-white'>Passenger Name :</h4>
<h4 class='text-white'>Adhar Card No :</h4>
<h4 class='text-white'>Age :</h4>
<h4 class='text-white'>Email :</h4>
</div>
<div class='col-md-6'>
<h4 class=' text-white'>Passenger Name :</h4>
<h4 class='text-white'>Adhar Card No :</h4>
<h4 class='text-white'>Age :</h4>
<h4 class='text-white'>Email :</h4>
</div>
</div>
</div>

47
<div class='card bg-dark '>
<h2 class='text-center text-white'>Bus Detail</h2><hr>
<div class='row'>
<div class='col-md-6'>
<h4 class=' text-white'>Bus Name :</h4>
<h4 class='text-white'>Bus No :</h4>
<h4 class='text-white'>Time :</h4>
<h4 class='text-white'>From :</h4>
<h4 class='text-white'>To :</h4>
</div>
<div class='col-md-6'>
<h4 class=' text-white'>Passenger Name :</h4>
<h4 class='text-white'>Adhar Card No :</h4>
<h4 class='text-white'>Age :</h4>
<h4 class='text-white'>Email :</h4>
<h4 class='text-white'>Email :</h4>
</div>
</div>
</div>
<div class='card bg-dark '>
<h2 class='text-center text-white'>Ticket Detail</h2><hr>
<div class='row'>
<div class='col-md-6'>
<h4 class=' text-white'>Number Of Seat :</h4>
<h4 class='text-white'>Seat No :</h4>
<h4 class='text-white'>Status :</h4>
<h4 class='text-white'>Fare :</h4>
<h4 class='text-white'>Journey Date :</h4>

48
<h4 class='text-white'>Booking Date :</h4>
</div>
<div class='col-md-6'>
<h4 class=' text-white'>Passenger Name :</h4>
<h4 class='text-white'>Adhar Card No :</h4>
<h4 class='text-white'>Age :</h4>
<h4 class='text-white'>Email :</h4>
<h4 class='text-white'>Email :</h4>
<h4 class='text-white'>Email :</h4>
</div>
</div>
</div>
</div>
<div class='card-footer bg-info'>
<a href='profile.php' class='btn btn-outline-danger'>Home</a>
</div>
</div> >
</div>

<footer id="footer">
<div class="container">
<div class="copyright">
&copy; Copyright <strong>Traveler</strong>. All Rights Reserved
</div>
<div class="credits">

49
Designed by <a href="https://bootstrapmade.com/">Bus Transport</a> </div>
</div>
</footer><!-- #footer -->

<a href="#" class="back-to-top"><i class="fa fa-chevron-up"></i></a>

<!-- JavaScript Libraries -->


<script src="lib/jquery/jquery.min.js"></script>
<script src="lib/jquery/jquery-migrate.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/superfish/hoverIntent.js"></script>
<script src="lib/superfish/superfish.min.js"></script>
<script src="lib/wow/wow.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<script src="lib/magnific-popup/magnific-popup.min.js"></script>
<script src="lib/sticky/sticky.js"></script>

<!-- Contact Form JavaScript File -->


<script src="contactform/contactform.js"></script>

<!-- Template Main Javascript File -->


<script src="js/main.js"></script>
<script src="js/main1.js"></script>
</body>
</html>

50
Admin:
<?php session_start();
if(!isset($_SESSION['aname'])){
header('location:registration/admin.php');
}

?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Transport</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">
<meta content="" name="description">

<!-- Favicons -->


<link href="img/bus3.jpg" rel="icon">
<link href="img/bus3.jpg" rel="apple-touch-icon">

<!-- Google Fonts -->


<link
href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i|Rale
way:300,400,500,700,800|Montserrat:300,400,700" rel="stylesheet">
<!-- Bootstrap CSS File -->
<link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">

51
<!-- Libraries CSS Files -->
<link href="lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="lib/animate/animate.min.css" rel="stylesheet">
<link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<link href="lib/magnific-popup/magnific-popup.css" rel="stylesheet">
<link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">

<!-- Main Stylesheet File -->


<link href="css/style.css" rel="stylesheet">

</head>

<body id="body">

<!--==========================
Top Bar
============================-->
<section id="topbar" class="d-none d-lg-block">
<div class="container clearfix">
<div class="contact-info float-left">
<i class="fa fa-envelope-o"></i> <a
href="mailto:[email protected]">[email protected]</a>
<i class="fa fa-phone"></i> +91 8003649945
</div>
</div>

52
</section>
<!--==========================
Header
============================-->
<header id="header">
<div class="container">

<div id="logo" class="pull-left">


<h1><a href="#body" class="scrollto">Tran<span>Sport</span></a></h1>
<!-- Uncomment below if you prefer to use an image logo -->
<!-- <a href="#body"><img src="img/logo.png" alt="" title="" /></a>-->
</div>

<nav id="nav-menu-container">
<ul class="nav-menu">
<li class="menu-active"><a href="#body">Home</a></li>
<li><a href="booking.php">Check Booking</a></li>
<li><a href="bookingdetail.php">Journey Date</a></li>
<!-- <li><a href="#"><?php echo $_SESSION['aname'];?></a></li> -->
<li><a href="registration/logout.php">logout</a></li>
</ul>
</nav><!-- #nav-menu-container -->
</div>
</header><!-- #header -->

<!--==========================
Intro Section
============================-->

53
<section id="intro">
<div class="intro-content">
<h2>Making <span>your Ride</span><br>happen!</h2>
<div>
<a href="registration/busdetail.php" class="btn-get-started scrollto">Add Bus Details</a>
</div>
</div>

<div id="intro-carousel" class="owl-carousel" >


<div class="item" style="background-image: url('img/bus1.jpg');"></div>
<div class="item" style="background-image: url('img/bus2.jpg');"></div>
<div class="item" style="background-image: url('img/bus3.jpg');"></div>
<div class="item" style="background-image: url('img/bus4.jpg');"></div>
<div class="item" style="background-image: url('img/bus5.jpg');"></div>
<div class="item" style="background-image: url('img/bus6.jpg');"></div>
<div class="item" style="background-image: url('img/bus7.jpg');"></div>
<div class="item" style="background-image: url('img/intro-carousel/5.jpg');"></div>
</div>

</section><!-- #intro -->

<main id="main">
<section id="portfolio" class="wow fadeInUp">
<div class="container">
<div class="section-header">
<h2>Our Portfolio</h2>

<p>“The Impulse to Travel is one of the hopeful symptoms of life” ... </p>
</div>

54
</div>

<div class="container-fluid">
<div class="row no-gutters">

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port1.jpg" class="portfolio-popup">
<img src="img/port1.jpg" alt="" style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port2.jpg" class="portfolio-popup">
<img src="img/port2.jpg" alt="" style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">

55
<div class="portfolio-item wow fadeInUp">
<a href="img/port3.jpg" class="portfolio-popup">
<img src="img/port3.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port4.jpg" class="portfolio-popup">
<img src="img/port4.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port5.jpg" class="portfolio-popup">
<img src="img/port5.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>

56
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port6.jpg" class="portfolio-popup">
<img src="img/port6.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">
<a href="img/port7.jpg" class="portfolio-popup">
<img src="img/port7.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>

<div class="col-lg-3 col-md-4">


<div class="portfolio-item wow fadeInUp">

57
<a href="img/port8.jpg" class="portfolio-popup">
<img src="img/port8.jpg" alt=""style="height:350px;">
<div class="portfolio-overlay">
<div class="portfolio-info"><h2 class="wow fadeInUp"></h2></div>
</div>
</a>
</div>
</div>
</div>

</div>
</section><!-- #portfolio -->
<section id="Partners" class="wow fadeInUp">
<div class="container">
<div class="section-header">
<h2>Partners</h2>
<p>With there Help and Corporation we make your travel full of Joy and
Memorable</p>
</div>

<div class="owl-carousel clients-carousel">


<img src="img/partner1.png" alt="">
<img src="img/partners2.jpeg" alt="">
<img src="img/partner3.jpg" alt="">
<img src="img/partner4.jpg" alt="">
<img src="img/partner5.png" alt="">
</div>

58
</div>
</section><

<!--==========================
About Section
============================-->
<section id="about" class="wow fadeInUp">
<div class="container">
<div class="row">
<div class="col-lg-6 about-img">
<img src="img/port3.jpg" alt="">
</div>
</div>
</div>
</section><!-- #about -->

</main>

<!--==========================
Footer
============================-->
<footer id="footer">
<div class="container">
<div class="copyright">
&copy; Copyright <strong>Traveler</strong>. All Rights Reserved
</div>
<div class="credits">

59
Designed by <a href="#">Bus Transport</a>
</div>
</div>
</footer><!-- #footer -->

<a href="#" class="back-to-top"><i class="fa fa-chevron-up"></i></a>

<!-- JavaScript Libraries -->


<script src="lib/jquery/jquery.min.js"></script>
<script src="lib/jquery/jquery-migrate.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/superfish/hoverIntent.js"></script>
<script src="lib/superfish/superfish.min.js"></script>
<script src="lib/wow/wow.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<script src="lib/magnific-popup/magnific-popup.min.js"></script>
<script src="lib/sticky/sticky.js"></script>

<!-- Contact Form JavaScript File -->


<script src="contactform/contactform.js"></script>

<!-- Template Main Javascript File -->


<script src="js/main.js"></script>

</body>
</html>

60
Booking_details:
<?php session_start();
if(!isset($_SESSION['aname'])){ header('location:index.php');
}

?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Transport</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">
<meta content="" name="description">

<!-- Favicons -->


<link href="img/favicon.png" rel="icon">
<link href="img/apple-touch-icon.png" rel="apple-touch-icon">

<!-- Google Fonts -->


<link
href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i|Rale
way:300,400,500,700,800|Montserrat:300,400,700" rel="stylesheet">

<!-- Bootstrap CSS File -->

61
<link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">

<!-- Libraries CSS Files -->


<link href="lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="lib/animate/animate.min.css" rel="stylesheet">
<link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<link href="lib/magnific-popup/magnific-popup.css" rel="stylesheet">
<link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">

<!-- Main Stylesheet File -->


<link href="css/style.css" rel="stylesheet">

</head>

<body id="body">
<div id="ticketdate" class="container">
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<div class="card">
<div class="card-header">
<h3 class="text-center">Enter Bus Detail</h3>
</div>
<div class="card-body bg-dark">
<form>
<div class="form-group">

62
<input type="text" class="form-input form-control" name="usn" id="bid"
placeholder="Enter Bus Id"/>
</div>
<div class="form-group">
<h4 class="form-input form-control">Date : <input type="date" class="form-
input" id="pdate"/> </h4>

</div>
</form>
</div>
<div class="card-footer bg-dark">
<div class="btn btn-danger ticketdate">Submit</div>
</div>

</div>
</div>
</div>
<div class="col-md-3"></div>
</div>
<div class="container-fluid mt-5" id="bookeddate">
<div class="card" >
<h2 class="text-center ">Passenger Details </h2>
<div class="card-header bg-info">
<div class="row">
<div class="col-md-2">
<h3 class="text-center text-white">Passenger Name</h3>
</div>
<div class="col-md-2">
<h3 class="text-center text-white">Seat No </h3>

63
</div>
<div class="col-md-2">
<h3 class="text-center text-white">Number of Seat</h3>
</div>
<div class="col-md-2">
<h3 class="text-center text-white">Fare</h3>
</div>
<div class="col-md-2">
<h3 class="text-center text-white">Status</h3>
</div>
<div class="col-md-2">
<h3 class="text-center text-white">Journey Date</h3>
</div>

</div>
</div>
<div class="card-body bg-dark">
<div id="bdresult"></div>
</div>
</div>
</div>

<footer id="footer">
<div class="container">
<div class="copyright">
&copy; Copyright <strong>Traveler</strong>. All Rights Reserved
</div>

64
<div class="credits">

Designed by <a href="#">Bus Transport</a>


</div>
</div>
</footer><!-- #footer -->

<a href="#" class="back-to-top"><i class="fa fa-chevron-up"></i></a>

<!-- JavaScript Libraries -->


<script src="lib/jquery/jquery.min.js"></script>
<script src="lib/jquery/jquery-migrate.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/superfish/hoverIntent.js"></script>
<script src="lib/superfish/superfish.min.js"></script>
<script src="lib/wow/wow.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<script src="lib/magnific-popup/magnific-popup.min.js"></script>
<script src="lib/sticky/sticky.js"></script>

<!-- Contact Form JavaScript File -->


<script src="contactform/contactform.js"></script>

<!-- Template Main Javascript File -->


<script src="js/main.js"></script>
<script src="js/main1.js"></script>

</body>
</html>

65
CHAPTER-5
SYSTEM TESTING

66
5. 1 UNIT TESTING

Unit testing for a Bus Reservation System focuses on testing individual units or
components of the system to ensure that each part functions correctly in isolation.
These tests verify that the logic behind booking tickets, viewing available buses,
and managing reservations works as expected.
Here's how you might approach unit testing for a Bus Reservation System,
including examples of test cases for different modules.

5.3 INTEGRATION TESTING

Integration Testing is a phase in software testing where individual components


or modules are combined and tested as a group. The goal of integration testing is
to verify that different modules or components of the system work together as
expected. This is particularly important for systems like a Bus Reservation
System, where various components, such as booking, payment, and user
management, interact with one another.

In the case of a Bus Reservation System, several key modules interact with each
other. The primary modules include:
● User Registration and Authentication
● Bus Availability
● Booking System
● Payment System
● Cancellation System
● Test Steps:
1. Register a new user and log in.

67
2. Search for available buses based on origin and destination.
3. Book a seat on a bus.
4. Make the payment successfully.
5. After a few days, attempt to cancel the booking.
● Expected Result: All steps should work seamlessly. The user should be able
to complete the entire process without any issues. Test Case 2: End-to-End
Test with Failure
● Test Name: test_end_to_end_failure
● Description: Verifies the system’s behavior when one of the steps fails (e.g.,
payment failure).
● Modules Involved: User Registration + Booking System + Payment
System + Cancellation System
● Test Steps:

1. Register a new user and log in.


2. Search for available buses and book a seat.
3. Simulate a payment failure (invalid payment details).
● Expected Result: The booking should not be confirmed, and the user should
receive a payment failure message.

68
CHAPTER-6
CONCLUSION & FUTURE
SCOPE

69
CONCLUSION & FUTURE SCOPE

It can be observed that computer applications are very important in every


field of human endeavor. Here all the information about customer that made
reservation can be gotten just by clicking a button with this new system, some of
the difficulties encountered with the manual system are overcome. It will also
reduce the workload of the staff, reduce the time used for making reservation at
the bus terminal and also increase efficiency. The application also has the ability
to update records in various files automatically thereby relieving the company’s
staff the stress of working from file security of data.

Mobile Application Development:


● To improve accessibility, the system could be developed as a mobile app
(iOS and Android), offering users the flexibility to manage their banking on
the go.
● Mobile push notifications can also be added to alert users about important
activities, such as successful transactions, bill payments, or loan status
updates.
Advanced Security Features:

● Implement biometric authentication (fingerprint or facial recognition) for


enhanced security.
● Use AI-based fraud detection to monitor and prevent unauthorized
transactions or suspicious activities.
● Incorporate multi-layered encryption for protecting sensitive user data both
at rest and in transit.

70
CHAPTER-7
REFERENCE

71
REFERENCES

1. Bus Reservation System in Python: A Python-based bus


reservation system that includes functionalities like user
registration, booking, and payment.
2. Bus Reservation System in Java: A Java-based project with a
basic bus reservation system including admin and user
functionalities.
3. Node.js Bus Reservation System: A Node.js-based project
implementing bus reservation with an admin panel and
database.
4. Creating a Bus Reservation System using Python: A detailed tutorial on creating a
simple bus reservation system in Python.
5. Java Bus Reservation System: This guide explains how to create a bus reservation
system in Java, including basic classes and logic.
6. Bus Reservation System using JavaScript and Node.js: A
YouTube tutorial on how to build a bus reservation system
using Node.js and JavaScript.

72

You might also like