You are on page 1of 47

INTRODUCTION

1
INTRODUCTION

Cinemas help in contributing to our daily memories as they provide an essential part
of our culture. The project online movies ticket booking is a web-based application that
allows the movie theatre owner and the viewers to handle all the cinema activities online
quickly and safely. Using Interactive GUI anyone can quickly learn to use the complete
system.

1.1 PROJECT OVERVIEW

The project objective is to book cinema tickets in online. The Ticket Reservation
System is an Internet based application that can be accessed throughout the Net and can be
accessed by anyone who has a net connection. This application will reserve the tickets. This
online ticket reservation system provides a website for a cinema hall where any user of
internet can access it. User is required to login to the system and needs a credit card for
booking the tickets. Tickets can be collected at the counter and Watching movies with family
and friends in theatres is one of the best medium of entertainment after having a hectic
schedule. But all this excitement vanishes after standing in hours in long queues to get tickets
booked. The website provides complete information regarding currently running movies on
all the screens with details of show timings, available seats. Ticket reservations are done
using credit card and can be cancelled if needed. Our online tickets reservation system is one
of the best opportunities for those who cannot afford enough time to get their tickets reserved
standing in long queues. People can book tickets online at any time of day or night. Our
reservation system also provides option to cancel the tickets which are reserved previously.

2
1.2 OBJECTIVES OF THE PROJECT

A Movie reservation system is a project that allows users to check for available
seats in the theater and can even book them at the same time. The project overcomes the
situation of overbooking by automating the manual booking system, online. Users can
make prior bookings for desired seats for their desired show at desired time and cost. The
system provides additional optional things like food packages, discounts etc. It also
calculates all the associated charges incurred in booking the tickets and the items. User
may even cancel the bookings that have been done before and can book for another one.
This is an advanced booking system that makes user customize their show according to
their needs.

3
SYSTEM ANALYSIS

4
2.1 EXISTING SYSTEM

A movie booking system is a project that allows users to check for available seats in the
theater and can even book them at the same time. The project overcomes the situation of overbooking
by automating the manual booking system, online. Users can make prior bookings for desired seats
for their desired show at desired time and cost. The system provides additional optional things like
food packages, discounts etc. It also calculates all the associated charges incurred in booking the
tickets and the items. User may even cancel the bookings that have been done before and can book
for another one. This is an advanced booking system that makes user customize their show according
to their needs.
.

5
2.2 PROPOSED SYSTEM

Using this system, the owner doesn’t have to sit and manage the entire activity on paper. And
at the same time, the Owner will feel comfortable keeping a check on the cinema. This System will
give them power and flexibility to manage the entire system from a single online portal.
Online movies ticket booking reservation provides ticket booking for the film, seat
management, ticket cancellation, and payment services. The system will be so simple and attractive
which will make the audiences/viewers comfortable to use and choose their movie along with
desired seat no and seat position.
The system allows the Owner to check the Progress of ticket reservations from interactive
Graphs. The system allows the owner to keep track of available seats for a particular movie and
even maintain various details of the audience. Viewers can view the movies which are being shown
in the theatre or the ones which are going to be released for a short while along with their show
timings and also book the tickets online through online payments using various payment gateways
like ATM/Credit/Debit cards.

6
FEASIBILITY STUDY

7
FEASIBILITY STUDY

An important outcome of preliminary investigation is determination that the system


requested is feasible. There are three aspects of feasibility study as follows.

1. Technical Feasibility Study: -

The main aspects of technical feasibility study in Dairy Milk Management System
that it is secured by password that will not allow the unknown person to access the system.

2. Economical Feasibility Study: -

The proposed system is economically feasible because the cost ofhardware and
software installation and maintenance is affordable.

3. Operational Feasibility Study: -

The proposed system being user friendly, it can accept by anybody who has the basic
knowledge of computer. This computerized system is very easy to understand.

8
PROJECT REQUIREMENTS

9
4.1 HARDWARE REQUIREMENTS

Server side hardware requirements:

processor 1.60GHz

RAM 512 MB

hard disk 40 GB

Client side hardware requirements:

processor 1.60GHz

RAM 512 MB

hard disk 40 GB

10
4.2 SOFTWARE REQUIREMENTS

Server side software requirements:

Front end PHP

Back end MySQL

Software XAMPP/Wamp

Web browser Google chrome or any


compatible browser

Client side software requirements:

Operating system Windows 10, Windows


XP or any compatible

Web browser Google chrome or any


compatible browser

11
4.3 ABOUT THE FRONT END

PHP

PHP is a server-side scripting language designed for web development but also used as a

general-purpose programming language. Originally created by Rasmus Lerdorf in 1994,] the


reference implementation of PHP (powered by the Zend Engine) is now produced by The PHP
Group. While PHP originally stood for Personal Home Page. It now stands for PHP: Hypertext
Preprocessor.

PHP code can be simply mixed with HTML code, or it can be used in combination with
various template engines and web frameworks. PHP code is usually processed by a PHP interpreter,
which is usually implemented as a web server's native module or a Common Gateway Interface (CGI)
executable. After the PHP code is interpreted and executed, the web server sends the resulting output
to its client, usually in the form of a part of the generated web page; for example, PHP code can
generate a web page's HTML code, an image, or some other data. PHP has also evolved to include a
command-line interface (CLI) capability and can be used in standalone graphical applications.

The standard PHP interpreter, powered by the Zend Engine, is free software released under
the PHP License. PHP has been widely ported and can be deployed on most web servers on almost
every operating system and platform, free of charge.

Advantages of PHP:
● Cost
● Ease of Use
● HTML–Support
● Cross-platform compatibility
● Compatible with leading Web Servers
● Stability
● Speed

12
4.4 ABOUT THE BACK END
MySQL

A database management system must be able to reliably manage a large amount of data in a
multi-user environment so that many users can concurrently access the data. A database management
system should also provide security and failure recovery. MySQL is the name of a database
management system Developed by Apache Software Foundation. Apache Software Foundation
provides various software related to web development; the biggest advantage is that all the software’s
are free of cost. MySQL is most popular database management tool. It provides better security and
data recovery against system failure.

MySQL works faster compared to other Database Management tools. Apache Software
Foundation provides GUI to work with MySQL, because of its GUI environment it is very easy to
understand any novice user can quickly learn MySQL by using phpMyAdmin developer. We can
create databases and maintain it through phpMyAdmin developer. It provides GUI so it is easy to
understand and learn.

MySQL is a database management system, which helps us to manage data stored in a system
database. Programming skills is not required to use MySQL as database management system.
phpMyAdmin hides all the complex tasks of managing a database and gives a user-friendly way of
managing a database.

In phpMyAdmin of MySQL you can use some features of other package i.e. you can also
write query in SQL form for better use and we can also connect it to other database management
tools like Microsoft Access. It is so simpler and easier for novice users. A nonprofessional Oracle user
can also easily work with phpMyAdmin. The fundamentals of database management system like
constraint, length, default value, and any other requirement is also fulfilled by this tool.

13
SYSTEM DESIGN

14
5.1 INPUT DESIGN

Input Design converts the user-oriented inputs to computer-based formats. Inaccurate


input data are the most common cause of errors in data processing. Error data entered by
the data operator can be controlled by the input design. The goal of designing input is to
make the data entry easy, logical and as free from errors as much as possible.
The proposed system is completely menu-driven. It is a powerful tool for interactive
design. It helps the user comprehend the range of alternatives available and also prevents
them from making an invalid selection. All entry screens are interactive in nature. It has been
designed taking into account all the constraints of the end-user.

15
16
5.2 OUTPUT DESIGN
Outputs are the most important and direct source of information to the customer and
management. Intelligent output design will improve the system's relationship with the user
and help in decision making. Outputs are used to make permanent hard copy of the results
for later consultation. The output generated by the system is often regarded as the criteria for
evaluating the performance of the system.
For the proposed system, it is necessary that the output should be compatible with the
existing manual reports. The outputs have been formatted with this consideration in mind.
The outputs are obtained after all the phase, from the system can be displayed or can be
produced in the hard copy. The hard copy is highly preferred since it can be used by the
controller section for future reference and it can be used for maintaining the record.

17
18
5.3 DATABASE DESIGN

The general theme behind a database is to handle information in an integrated manner.


There is none of the artificiality that is normally embedded in separate files or applications.
A database is collection of interrelated data stored with minimum redundancy to serve many
users quickly and efficiently. The general objective is to make information access easy,
quick, inexpensive and flexible for the user.
In a database environment, common data are available which several authorized users
can use. The concept behind a database is an integrated collection of data and provides a
centralized access to the data from the program. It makes possible to treat data as a separate
resource.

19
5.4 MODULES DESIGN

 Users Login.
 User Register.
 Selection of Movie module.
 Selection of show time module.
 Selecting Theaters module.
 Number of Tickets booking module.
 Display booked Tickets with Amount

20
SYSTEM TESTING

21
6.1 UNIT TESTING

Unit testing focuses verification efforts on the smallest unit of software design, the
module. This is also known as “Module Testing” The modules are tested separately this
testing is carried out during programming stage itself. In this step each module is found to be
working satisfaction as regard to the expected output from the module.

6.2 INTEGRATION TESTING

Integration testing focuses on the design and construction of the software architecture.
Data can be lost across an interface, one module can have adverse effect on another sub
functions and show on. Thus integration testing is a systematic technique for constructing test
to uncover errors associated with in the interface. In this project, all the modules are
companied and then the entire program is tested as a whole.

6.3 VALIDATION TESTING

Validation testing is the requirement established as a part of software requirement


analysis is validated against the software that has been constructed. This test provides the
final assurance whether the software needs all functional, behavioral and performance
requirements. Thus the proposed system under consideration has been tested by using
validation testing and found to be working satisfactory.

6.4 OUTPUT TESTING

After performing the validation testing, the next step is the output testing of the
proposed system, since no system could be useful if it does not produce required output in the
specific format. Tested asking the users about the format required by them, the output is
considered into two ways: one is on the screen and the other is printed format. The output
format on the screen is found to be

22
correct as the format designed according to the user needs, for the hard copy also, the output
comes as specified by the user. Hence output testing does not result in correction in the
system.

6.5 WHITEBOX TESTING

White box Testing is done with the project which drive test cases that dothe
following

 Guarantee that all the independent paths with in modules have been exercise at
least once.
 Exercise all logical decision on the true and false side.
 Execute all loops at the boundaries and within their operationbounds.
 Exercise internal data structures to ensure the validity
It is aimed at ensuring that the system works accurately and efficientlybefore live
operation command.

6.6 BLACKBOX TESTING

Black box System methods focus on the functional requirement of the software. Using
the black box testing method the following errors are identified and rectified in the package.

 Incorrect or Missing functions


 Interface Errors
 Errors in data Structures or external database access.

23
6.7 USER ACCEPTANCE TESTING

User acceptance testing of a system is the key factor for the success of
any system. The system under consideration is tested for user acceptance by
constantly keep in touch with the prospective system user at time of developing
and making changes wherever required.

24
SYSTEM IMPLEMENTATION AND
MAINTENANCE

25
SYSTEM MAINTENANCE

The maintenance plan specifies the scheduled servicing tasks and intervals
(preventive maintenance) and the unscheduled servicing tasks (adaptive or corrective
maintenance). Tasks in the maintenance plan are allocated to the various maintenance
agencies. A maintenance allocation chart is developed to tag the maintenance tasks to the
appropriate maintenance agencies. These include: in-service or in-house work centers,
approved contractors, affiliated maintenance or repair facilities, original equipment
manufacturer, etc. The maintenance plan also establishes the requirements for the support
resources.
Related activities such as resource planning, budgeting, performance monitoring,
upgrades, longer term supportability, and sustenance also need to be managed. These
activities are being planned, managed, and executed over a longer time horizon and they
concern the well being of the system over the entire life cycle. Proper maintenance of the
system (including maintenance-free system designs) relies very much on the availability
of support resources, such as support and test equipment , technical data and
documentation, personnel, spares, and facilities. These have to be factored in during the
acquisition agreement process.

26
SCOPE AND FUTURE ENHANCEMENT

27
SCOPE OF THE PROJECT

 This is a web application for buying movie tickets online. Customers can buy tickets 24×7.
 This system is developed keeping in view of the current multiplex working pattern. Schedule
for many screens can be programmed in this application.
 Customer can choose city and name of multiplex where they want to see movie and get their
movie timings.
 Customers can see a graphical view of the seat availability and choose their desired seat.
 They can pay ticket amount online via credit card etc.

28
CONCLUSION

29
CONCLUSION

Finally, in Online movie ticket booking, we have developed a secure, user-friendly


online movie ticket Management reservation System. This System can take care of each
member whether its Owner or viewer. This System will help them to properly manage the
system and aid in growth without creating and hassle.

This system is completely secure since every user is provided with a user ID and
Password, so there is no chance of any unauthorized access. Online Payment, Booking, and
cancellation make it easier to use. So, using this system will help in reducing the labor and
provide more facility for viewers who will increase their level of ease as they can do
everything from anywhere at any time. So, the system is beneficial for the viewers.

30
BIBLIOGRAPHY

31
Bibliography:

BOOK REFERRED:

• Book Name: PHP6 and My SQL

• Author Name: Steve Suehring, Tim Converse, and Joyce Park

SITE REFERRED:

• http://www.w3schools.com

• http://www.dhudhsagar.com

• http://www.banasdairy.com

32
APPENDIX

33
11.1 DATA FLOW DIAGRAM (LEVEL O)

MOVIE INFO
THEATRE INFO

SCREEN INFO
THEATER OWNER
MOVIE INFO
TICKET
RESERVATION

USER INFO BOOKING DATE


INFO

TICKETS TICKETS

34
DATA FLOW DIAGRAM (LEVEL 1)

MOVIE MGT GENERATES


THEATRE DETAILS

SCREEN MGT GENERATE


MOVIE
OWNER DETAILS
TICKET
RESERVATION

USER MGT GENERATES MOVIE


DATES DETAILS

GENERATES
TICKET MGT TICKETS
DETAILS

35
11.2 E-R DIAGRAM

36
11.3 TABLE DESIGN

Table name: admin table

Primary key: admin_id

Sl.no Field Data type size Constraint


name
1 Admin_id int 5 NOT
NULL
2 User_na varchar 45 DEFAULT
me
NULL
3 password char 45 DEFAULT
s
NULL

37
Table name: user table

Primary key: ID

Sl.no Field Category Size Constraint


name
1 _id Int 11 NOT
NULL
2 user Varchar 200 DEFAULT
Name NULL
3 varchar 50 DEFAULT
Status
NULL
4 timestamp NULL
date
DEFAULT

38
Table Name: Theatre table

Primary Key: Theatre_ID

Sl.no Field name datatype size constraint


1 Theatre_ID Int 11 NOT
NULL
2 theatre Varchar 150 DEFAULT
name NULL
3 date timestamp NULL
DEFAULT

39
Table Name: bookingtable

Primary key: ID

Sl.no Field name datatype size constraint


1 ID Int 11 NOT
NULL
2 Booking_id Varchar 150 DEFAULT
NULL
3 user Varchar 150 DEFAULT
name NULL
4 Movie name Varchar 150 DEFAULT
NULL
5 varchar 10.0 DEFAULT
Theatre
name NULL
6 Timestamp NULL
date
DEFAULT
7 Updation timestamp NULL
date DEFAULT

40
11.4 Form design

Movies dashboard

41
movielist.php – showing movies

42
regiter.php – user registration

43
Login.php - user

44
Booking.php

45
11.5 CODE DESIGN

Index.php

<html>
<body>
<?php
include('header.php');
?>

<div class="content">
<div class="wrap">
<div class="content-top">
<div class="listview_1_of_3 images_1_of_3">
<h2 style="color:#555;">Upcoming Movies</h2>
<?php
$qry3=mysqli_query($con,"SELECT * FROM tbl_news LIMIT 5");

while($n=mysqli_fetch_array($qry3))
{
?>
<div class="content-left">
<div class="listimg listimg_1_of_2">
<img src="admin/<?php echo $n['attachment'];?>">
</div>
<div class="text list_1_of_2">
<div class="extra-wrap">
<span style="text-color:#000"
class="data"><strong><?php echo $n['name'];?></strong><br>
<span style="text-color:#000"
class="data"><strong>Cast :<?php echo $n['cast'];?></strong><br>
<div class="data">Release Date :<?php echo $n['news_date'];?></div>

<span class="text-top"><?php echo $n['description'];?></span>


</div>
</div>
<div class="clear"></div>
</div>
<?php
}
?>

</div>
<div class="listview_1_of_3 images_1_of_3">
<h2 style="color:#555;">Movie Trailers</h2>
<div class="middle-list">
<?php
$qry4=mysqli_query($con,"SELECT * FROM tbl_movie ORDER BY
46
rand() LIMIT 6");

while($nm=mysqli_fetch_array($qry4))
{
?>

<div class="listimg1">
<a target="_blank" href="<?php echo
$nm['video_url'];?>"><img src="<?php echo $nm['image'];?>" alt=""/></a>
<a target="_blank" href="<?php echo
$nm['video_url'];?>" class="link" style="text-decoration:none; font-size:14px;"><?php echo
$nm['movie_name'];?></a>
</div>
<?php
}
?>
</div>

</div>
<?php include('movie_sidebar.php');?>
</div>
</div>
<?php include('footer.php');?>
</div>
<?php include('searchbar.php');?>

47

You might also like