0% found this document useful (0 votes)
46 views

Final Dbms PDF

The document describes a movie booking management system that allows users to view movie details, schedules, and book tickets online. It manages information about movies, shows, seats, customers, and bookings in a MySQL database. The system uses a client-server architecture with PHP on the server-side and HTML, CSS, JavaScript on the client-side. It aims to simplify the movie booking process and reduce manual work through an easy-to-use online platform.

Uploaded by

Macrin Jeny
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

Final Dbms PDF

The document describes a movie booking management system that allows users to view movie details, schedules, and book tickets online. It manages information about movies, shows, seats, customers, and bookings in a MySQL database. The system uses a client-server architecture with PHP on the server-side and HTML, CSS, JavaScript on the client-side. It aims to simplify the movie booking process and reduce manual work through an easy-to-use online platform.

Uploaded by

Macrin Jeny
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

MOVIE BOOKING MANAGEMENT

SYSTEM
ABSTRACT

Movie Ticket Management System is to manage the details of Shows,


Booking, Payment, Movie and Customer. It manages all the information
about Shows, Seats, Customers and Shows. The project is totally built at the
administrative end and thus only the administrator is guaranteed access.
The purpose of the project is to build an application program to reduce the
manual work for managing the Shows, Booking, Seats and Payment. It
tracks all the details about the Payment, Movie and Customer. Customers
may view the contents of any movie show at any time and may book any
movie ticket as needed. The program automatically calculates the subtotal
and grand total. When a visitor decides to finally book the ticket, the order
information including the buyer's name, address and billing instruction is
stored in the database securely and payment has been made.
INTRODUCTION

Movie Ticket Management System is basically aimed to provide complete


information of the movie and schedule to the customer, according to which
he/she can easily get a ticket instantly and can book a ticket on his/her
favorite movies.
The booking information is kept in a text database, which consists of:
combo cost, username, seat type, no of seats booked, ticket cost and net
payable amount to be paid by the customer. This database is modified
when the user books the ticket.
The customer can be presented with a booking page, which allows them to
add more of the same items or remove items from the combo items. The
booking page also shows the seat type to be booked, no of seats to be
booked, service charges to be applied, ticketing cost and net payable
amount to the customer.
When the customers have done their booking they will checkout using the
payment information page. This page collects data about the customer, his
bank name, his credit card number, credit card type, address, telephone
number, mobile number etc.
It enables users to book movie tickets online. It is a web-based system that
enables users to select their preferred cinema, movie, show time and seat
number. The system is designed to simplify the process of booking movie
tickets by providing an easy to use platform for users.
EXISTING TECHNOLOGY

The movie booking management system follows a client-server


architecture. The client-side is developed using HTML, CSS and
JavaScript while the server-side is developed using PHP. The
system uses a MySQL database to store user information, movie
information, and booking details. The system communicates with
the database using PHP and SQL queries.
PROPOSED METHODOLOGY

The proposed methodology for developing the movie booking management


system is the Agile methodology. Agile is an iterative and incremental
approach to software development that emphasizes collaboration between
cross-functional teams, customer involvement, and rapid delivery of
functional software. This methodology is well-suited for the development
of the movie booking management system as it involves frequent feedback
and changes from the customer's perspective.
The Agile methodology consists of several phases:
Planning: In this phase, the project requirements are gathered, and a
project plan is created. The team identifies the features and functionalities
that are required in the movie booking management system.
Design: In this phase, the system architecture and design are created. The
design includes wireframes, database schema, and the user interface
design.
Development: In this phase, the actual development of the system takes
place. The team uses the technologies such as HTML, CSS, JavaScript, PHP,
and MySQL to build the system.
Testing: In this phase, the system is tested to ensure that it is functioning
correctly. The team performs functional, performance, and security testing
on the system.
Deployment: In this phase, the system is deployed to the production
environment, and the customer starts using the system.
Maintenance: In this phase, the team provides ongoing support and
maintenance to the system to ensure that it remains functional and up-to-
date.
Using the Agile methodology, the movie booking management system can
be developed in a collaborative and efficient manner. The frequent
feedback and changes from the customer ensure that the system meets
their needs and requirements. The system can be delivered in a timely
manner, and ongoing support and maintenance can be provided to ensure
that it remains functional and up-to-date.
ER DIAGRAM

MOVIE BOOKING MANAGEMENT SYSTEM


DESCRIPTION

ENTITIES AND THEIR ATTRIBUTES

Movie Ticket Booking Website:- Attributes are website_name, website_url,


contact_no.
Customer:- Attributes of customer are customer_id, customer_name,
customer_address, customer_contact.
Movie:- Attributes of movie are movie_title, movie_description, Movie_stars
Show:- Attributes are show_date, movie, show_time
Cinema:- Attributes of cinema are cinema_name, cinema_location,
cinema_city.
Screen:- Attributes of screen are screen_name, screen_no, no_of_seats.

DATABASE DETAILS OF ONLINE BOOKING MANAGEMENT SYSTEM

• Each entity contains a primary key and unique key


• For reducing data redundancy, we have normalized all the entities
(Movie booking website, Customer, Movie, Booking, Movie Show,
Cinema, Screen)
• Movie table stores all movie related data, Customer table stores all
customer data, Movie Show table stores all different show related
details and similarly other tables store respective data.
• 1:1 and 1: M relationship exists in the database.
RESULT

Front page of movie booking management system

User login page of movie booking management system


Booking page: After completing the login process, admin will directed to
this page. Here, the recent bookings can be checked.

Movie adding page: In this page, admin can add movies inorder to be
viewed by the user.
User page: Here, the users can select any movies. After pressing the movie,
they will be directed to the reservation page.

Reservation page: Here users can enter their details and the amount of
seats to be reserved.
Movie selecting page: Users can select any movie as per their wish and
they can also view the recent movies which were played. The details will
be saved and can be viewed by the admin.
CONCLUSION

The movie booking management system is an essential tool for managing


the booking process for movies. The system streamlines the process of
searching for movies, selecting seats, making payments, and generating
booking confirmations. It provides an easy and convenient way for users to
book movie tickets from the comfort of their homes or mobile devices.

The proposed methodology of the system involves using modern


technologies such as web-based and mobile applications, integrated
payment gateways, and cloud-based databases. The system's architecture
uses a client-server model, allowing multiple users to access the system
simultaneously, while ensuring data security and privacy.

The flow diagram and ER diagram provide a clear visualization of the


system's functionality, enabling users and administrators to understand
the system's processes easily. The system's capabilities include managing
movie, cinema, and showtime details, generating reports on system
activities, and providing an easy-to-use admin panel for managing the
system.

Overall, the movie booking management system is a valuable tool for


cinema owners, movie distributors, and users, enabling them to efficiently
manage the booking process and enjoy a hassle-free movie experience.
SOURCE CODE

<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style/styles.css">
<link rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"
integrity="sha384-
fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLb
HG9Sr" crossorigin="anonymous">
<title>ARVR Cinema</title>
<link rel="icon" type="image/png" href="img/logo.png">
<script src="_.js "></script>
</head>

<body>
<?php
include "connection.php";
$sql = "SELECT * FROM movieTable";
?>
<header></header>
<div id="home-section-1" class="movie-show-container">
<h1>Currently Showing</h1>
<h3>Book a movie now</h3>

<div class="movies-container">

<?php
if ($result = mysqli_query($con, $sql)) {
if (mysqli_num_rows($result) > 0) {
for ($i = 0; $i <= 5; $i++) {
$row = mysqli_fetch_array($result);
echo '<div class="movie-box">';
echo '<img src="' . $row['movieImg'] . '" alt=" ">';
echo '<div class="movie-info ">';
echo '<h3>' . $row['movieTitle'] . '</h3>';
echo '<a href="booking.php?id=' . $row['movieID'] . '"><i
class="fas fa-ticket-alt"></i> Book a seat</a>';
echo '</div>';
echo '</div>';
}
mysqli_free_result($result);
} else {
echo '<h4 class="no-annot">No Booking to our movies right
now</h4>';
}
} else {
echo "ERROR: Could not able to execute $sql. " .
mysqli_error($con);
}
// Close connection
mysqli_close($con);
?>
</div>
</div>

<div id="home-section-2" class="services-section">


<h1>How it works</h1>
<h3>3 Simple steps to book your favourit movie!</h3>

<div class="services-container">
<div class="service-item">
<div class="service-item-icon">
<i class="fas fa-4x fa-video"></i>
</div>
<h2>1. Choose your favourite movie</h2>
</div>
<div class="service-item">
<div class="service-item-icon">
<i class="fas fa-4x fa-credit-card"></i>
</div>
<h2>2. Pay for your tickets</h2>
</div>
<div class="service-item">
<div class="service-item-icon">
<i class="fas fa-4x fa-theater-masks"></i>
</div>
<h2>3. Pick your seats & Enjoy watching</h2>
</div>
<div class="service-item"></div>
<div class="service-item"></div>
</div>
</div>
<div id="home-section-3" class="trailers-section">
<h1 class="section-title">Explore new movies</h1>
<h3>Now showing</h3>
<div class="trailers-grid">
<div class="trailers-grid-item">
<img src="img/movie-thumb-1.jpg" alt="">
<div class="trailer-item-info" data-video="Z1BCujX3pw8">
<h3>Captain Marvel</h3>
<i class="far fa-3x fa-play-circle"></i>
</div>
</div>
<div class="trailers-grid-item">
<img src="img/movie-thumb-2.jpg" alt="">
<div class="trailer-item-info" data-video="OPEfsEaFv_c">
<select name="theatre" required>
<option value="" disabled selected>THEATRE</option>
<option value="main-hall">Main Hall</option>
<option value="vip-hall">VIP Hall</option>
<option value="private-hall">Private Hall</option>
</select>
<select name="type" required>
<option value="" disabled selected>TYPE</option>
<option value="3d">3D</option>
<option value="2d">2D</option>
<option value="imax">IMAX</option>
<option value="7d">7D</option>
</select>

<select name="date" required>


<option value="" disabled selected>DATE</option>
<option value="12-3">March 12,2019</option>
<option value="13-3">March 13,2019</option>
<option value="14-3">March 14,2019</option>
<option value="15-3">March 15,2019</option>
<option value="16-3">March 16,2019</option>
</select>

<select name="hour" required>


<option value="" disabled selected>TIME</option>
<option value="09-00">09:00 AM</option>
<option value="12-00">12:00 AM</option>
<option value="15-00">03:00 PM</option>
<option value="18-00">06:00 PM</option>
<option value="21-00">09:00 PM</option>
<option value="24-00">12:00 PM</option>
</select>
<input placeholder="First Name" type="text" name="fName"
required>

<input placeholder="Last Name" type="text" name="lName">

<input placeholder="Phone Number" type="text"


name="pNumber" required>
<input placeholder="email" type="email" name="email"
required>
<input type="hidden" name="movie_id" value="<?php echo $id;
?>">

<button type="submit" value="save" name="submit"


class="form-btn">Book a seat</button>

</form>
</div>
</div>
</div>

<script src="scripts/jquery-3.3.1.min.js "></script>


<script src="scripts/script.js "></script>
</body>

</html>
<?php
$host = "localhost"; /* Host name */
<div class="schedule-item">09:00 AM</div>
<div class="schedule-item">11:30 AM</div>
<div class="schedule-item">06:00 PM</div>
</div>
</div>
<div class="hall-type">
<h3>VIP Hall</h3>
<div>
<div class="schedule-item"><i class="far fa-
clock"></i></div>
<div class="schedule-item">09:00 AM</div>
<div class="schedule-item">11:30 AM</div>
<div class="schedule-item">06:00 PM</div>
</div>
</div>
<div class="hall-type">
<h3>Main Hall</h3>
<div>
<div class="schedule-item"><i class="far fa-
clock"></i></div>
<div class="schedule-item">09:00 AM</div>
<div class="schedule-item">11:30 AM</div>
<div class="schedule-item">06:00 PM</div>
</div>
</div>
</td>
</tr>
<tr class="fade-scroll">
<td>
<h2>Captain Marvel</h2>
<i class="far fa-clock"></i> 125m <i class="fas fa-
desktop"></i> IMAX
<h3>SYNOPSIS</h3>
<p>Ethan and team take on their most impossible mission yet,
eradicating the Syndicate - an International rogue organization
</p>
<div class="schedule-item"> DETAILS</a>
</div>
</td>
<td>
<div class="hall-type">
<h3>Private Hall</h3>
<div>
<div class="schedule-item"><i class="far fa-
clock"></i></div>
<div class="schedule-item">09:00 AM</div>
<div class="schedule-item">11:30 AM</div>
<div class="schedule-item">06:00 PM</div>
</div>
</div>
<div class="hall-type">
<h3>VIP Hall</h3>
<div>
<div class="schedule-item"><i class="far fa-
clock"></i></div>
<div class="schedule-item">09:00 AM</div>
<div class="schedule-item">11:30 AM</div>
<div class="schedule-item">06:00 PM</div>
</div>
</div>
<div class="hall-type">
<h3>Main Hall</h3>
<div>
<div class="schedule-item"><i class="far fa-
clock"></i></div>
<div class="schedule-item">09:00 AM</div>
<div class="schedule-item">11:30 AM</div>
<div class="schedule-item">06:00 PM</div>
</div>
</div>
</td>
</tr>
</table>
</div>

</div>
<footer></footer>

<script src="scripts/jquery-3.3.1.min.js "></script>


<script src="scripts/owl.carousel.min.js "></script>
display: flex;
justify-content: center;
margin: 40px 0;
}

.schedule-item {
padding: 15px;
background-color: #6e5a11;
margin-right: 10px;
color: #fff;
cursor: pointer;
transition: all 0.5s ease;
}

.schedule-item:hover {
background-color: #b6b6b6;
color: #6e5a11;
}

.schedule-item-selected {
color: #6e5a11;
background-color: #b6b6b6;
cursor: auto;
}

.schedule-table table {
text-align: left;
border-collapse: collapse;
}

.schedule-table table tr th {
padding: 10px 0 10px 40px;
background-color: #6e5a11;
border: 1px solid #b6b6b6;
color: #fff;
}

.schedule-table table tr th:first-child {


width: 35%;
border-right: 1px solid #bdbdbd;
}

.schedule-table table tr td {
padding: 40px;
border: 1px solid #bdbdbd;
}

.schedule-table table tr td > h2 {


margin: 0 0 15px 0px;
}

.schedule-table table tr td > h3 {


margin: 15px 0px;
}
.schedule-table table tr td > p {
margin: 0 0 15px 0px;
}

.schedule-table table tr td > i {


margin: 0 10px;
}

.schedule-table table tr td > .schedule-item {


width: 50%;
margin: 0 auto;
text-align: center;
font-weight: bold;
}

.hall-type > h3 {
margin: 15px 0;
}

.hall-type > div {


display: flex;
justify-content: left;
}

.hall-type > div .schedule-item {


cursor: auto;
}
/* Contact Us Styling */

#gmap_canvas {
width: 100%;
height: 400px;
}

.contact-us-container {
display: grid;
grid-gap: 25px;
grid-template-areas: "contact-form contact-form contact-info";
margin: 30px 15%;
}

.contact-us-section {
overflow: hidden;
}

.contact-us-section h1 {
padding: 20px 0;
border-bottom: #4e4e4e solid 1px;
margin-bottom: 20px;
}

.contact-us-section1 {
grid-area: contact-form;
}

.contact-us-section1 form * {
padding: 10px;
margin: 10px 0;
}

.contact-us-section1 form *:not(button) {


border: #6e5a11 1px solid;
}

.contact-us-section1 form button {


background-color: #6e5a11;
color: #b6b6b6;
border: none;
cursor: pointer;
}

.admin-section-panel2 form label {


border: none;
margin-left: 0;
padding: 0px;
font-size: 22px;
width: 75%;
text-align: center;
color: #000;
}
/* Responsive Properties */

@media all and (max-width: 30em) {


a.movie-book-btn {
display: block;
margin: 0.4em auto;
}
}

/* Classes for JS */

.hidden-div {
display: none;
transition: all 0.7s ease;
}

.show {
display: block;
transition: all 0.7s ease;
}

You might also like