NewFinalTicket Booking
NewFinalTicket Booking
A PROJECT REPORT
Submitted to
Department of Computer Application
Itahari Namuna College
Submitted by
ii
Tribhuvan University
Faculty Of Humanities And Social Sciences
Itahari Namuna College
SUPERVISOR’S RECOMMENDATION
I hereby recommend that this project prepared under my supervision by Pritam Shah and
Bikash Giri entitled “MOVIE TICKET BOOKING” in partial fulfillment of the
requirements for the degree of Bachelor’s in Computer Application is recommended for
the final evaluation.
Saroj Ojha
Project Supervisor
Itahari Namuna College
Itahari-8, Sunsari
ii
Tribhuvan University
Faculty Of Humanities And Social Sciences
Itahari Namuna College
LETTER OF APPROVAL
This is to certify that this project prepared by Pritam Shah and Bikash Giri entitled
“MOVIE TICKET BOOKING SYSTEM” in partial fulfillment of the requirements for
the degree of Bachelor’s in Computer Application has been evaluated. In our opinion, it is
satisfactory in the scope and quality of a project for the required degree.
Nabin Shrestha
Saroj Ojha
HOD/Coordinator
Supervisor
Itahari Namuna College
Itahari Namuna College
ii
Internal Examiner External Examiner
ACKNOWLEDGMENT
The success and outcomes of this project require a lot of guidance and assistance from
many people and are very fortunate to have this all along the completion of this project.
We would like to express our gratitude and appreciation to all those who gave us the
possibility to complete this project. We are very glad to express our deepest sense of
gratitude and sincere thanks to our supervisor Saroj Ojha and project teacher Mr. Saman
kc whose contribution in simulating suggestions and encouragement helped us in
completing our project.
We are also thankful to Mr. Nabin Shrestha, HOD, Itahari Namuna College, and Mr.
Dharma Neupane, Principal, Itahari Namuna College for encouraging and guiding us
throughout the completion of this project. All useful suggestions for this whole work and
cooperative behavior are sincerely acknowledged.
Last but not least, many thanks go to our teachers, friends, and guardians who directly or
indirectly helped us in achieving the goal. We would like to thank all the guidance and
support that helped in the completion of this project. Special thanks to their suggestions
and advice.
ii
ABSTRACT
This is a project report for the project entitled "Movie Ticket Booking System". This is a
web application developed aimed to help cinema hall operators and users use this
application and make it flexible for customers to book tickets online.
It helps to book the tickets online rather than using the traditional manual system of
reserving movie tickets. This eliminates the risk of erroneous booking reduces overall
lead time and ensures growth in customer satisfaction.
ii
TABLE OF CONTENTS
SUPERVISOR’S RECOMMENDATION.....................................................................I
LETTER OF APPROVAL............................................................................................II
ACKNOWLEDGEMENT...........................................................................................III
ABSTRACT.................................................................................................................IV
LIST OF FIGURE.........................................................................................................V
LIST OF TABLES.......................................................................................................VI
LIST OF ABBREVIATIONS......................................................................................vii
CHAPTER 1: INTRODUCTION..................................................................................1
1.1 Introduction..........................................................................................................1
1.2 Problem Statement................................................................................................1
1.3 Objectives.............................................................................................................2
1.4 Scope and Limitations..........................................................................................2
1.4.1 Limitation.......................................................................................................3
1.5 Assignment of Roles and Responsibilities...........................................................3
CHAPTER 2: BACKGROUND STUDY AND LITERATURE REVIEW..................4
2.1 Background Study................................................................................................4
2.2 Literature Review.................................................................................................5
CHAPTER 3: SYSTEM ANALYSIS AND DESIGN...................................................6
3.1 System Analysis...................................................................................................6
3.1.2 Feasibility Analysis........................................................................................9
3.1.4 Process Modelling (DFD)............................................................................11
3.2 System Design................................................................................................14
3.2.1 Architectural Design....................................................................................14
3.2.2 Database Schema Design.............................................................................15
3.2.3 Interface Design...........................................................................................16
CHAPTER 4: IMPLEMENTATION AND TESTING...............................................21
4.1 Implementation...................................................................................................21
4.1.1 Tools Used...................................................................................................21
4.1.2 Implementation Details of Modules............................................................22
4.2 Testing................................................................................................................23
ii
4.2.1 Test Cases for System Testing.....................................................................24
CHAPTER 5: CONCLUSION AND FUTURE RECOMMENDATIONS.................26
5.1 Lesson Learnt / Outcome....................................................................................26
5.2 Conclusion..........................................................................................................26
5.3 Future Recommendations...................................................................................26
Appendices...................................................................................................................27
Appendix 1: Screenshots..........................................................................................28
Appendix 2: Source Codes.......................................................................................29
Appendix 3: Database Table Screenshots................................................................35
References....................................................................................................................37
ii
LIST OF FIGURE
Figure 3.1: Waterfall Model 6
Figure 3.1.1: Use Case Diagram 8
Figure 3.1.2: Gantt Chart 10
Figure 3.1.3: ER Diagram 10
Figure 3.1.4: Context Diagram 11
Figure 3.1.5: Level 1 DFD 12
Figure 3.1.6: Admin Level 2 DFD 13
Figure : Architectural Diagram 14
Figure 10: Database Schema 15
Figure 11.1: User Home Page Design 16
Figure 12.1: Login Sequence Diagram 18
Figure 13: Activity Diagram 20
ii
LIST OF TABLES
ii
List of Abbreviations
JS: JavaScript
ii
CHAPTER 1: INTRODUCTION
1.1 Introduction
An online movie ticket booking system is a web-based platform that allows users to
browse and book movie tickets remotely. It is a convenient and efficient way to
purchase tickets, as it eliminates the need to queue at the cinema box office.
Cinexpress typically offers a variety of features: A list of all upcoming and currently
showing movies, with showtimes. The ability to save booking history and manage
tickets. It’s beneficial for both users and cinemas. For cinemas, they help to reduce
queues, increase ticket sales, and collect valuable data about customer preferences. It
is a popular and convenient way to purchase movie tickets. They offer a variety of
features that benefit both users and cinemas
1.3 Objectives
In response to these challenges, CineXpress has set forth the following objectives:
● To provide users with rich and detailed movie information, including trailers, reviews,
● To keep users engaged and informed with real-time notifications about bookings,
1
1.4 Scope and Limitations
1.4.1 Scope
The web application will overcome the manual approach of booking movie
tickets:
Admin:
● Add Movies
● Manage Movies
● Update Movies
● Remove Movies
● Review Booking
● Approve booking
Users:
● Register
● Login
● View Profile
● Update Profile
● Make booking
2
● View released movie
● User-friendly interface.
● Quick response
1.4.2 Limitation
3
1.6 Assignment of Roles and Responsibilities
Brief profiles of each team member and their general duties follow below. Many of the
responsibilities will be shared among team members to ensure the overall success of the
project.
- Pritam Shah will be involved in interactions with the users for requirement
determinations. He will help in the physical design of pages and contents. He will
also help in coding and testing of the system. He will collect the facts and figures
required for improvement of the system.
- Bikash Giri will mostly be involved in writing codes for the program. He will
analyze the requirements, facts, and figures collected by his team members and
implement them in the system. He will design the required prototypes of the
systems. He will implement the database into a program using programming
languages. He plays the main role in designing a user interface.
Both members may work on the same files/tasks at the same time.
4
2.2 Literature Review
A critical component of Cinexpress is its online ticket booking system. Extensive
research has been conducted on the efficacy of such systems in enhancing the customer
experience and increasing box office revenue. Literature reveals that user-friendly
interfaces, secure payment gateways, real-time seat availability updates, and
personalized recommendations contribute to the success of these systems. By
incorporating these findings into Cinexpress, the platform aims to provide an efficient
and engaging booking process for users.
The team is passionate about friendly and knowledgeable staff and is always on hand to help
you find the perfect film or answer any query.
Features
● Discounts and Promotions: Keep an eye out for our special offers, discounts,
● Concession Stands: Enhance your movie experience with our delectable snacks
and beverages available at our concession stands. From popcorn and nachos to
your favorite soft drinks, we've got the treats you crave.
● Easy Ticket Retrieval: No need to stand in long queues at the cinema. Simply
show your e-ticket on your mobile device or print it at home for a quick and
hassle-free entry.
5
● Accessibility: Friends Cinema is committed to ensuring that everyone can enjoy
movies. We provide accessible seating options and facilities for those with
special needs.
6
CHAPTER 3: SYSTEM ANALYSIS AND DESIGN
3.1 System Analysis
System Analysis is a detailed study of the various operations performed by a system and
their relationships within and outside of the system. Here the key question is- why do all
problems exist in the present system? What must be done to solve the problem? The
analysis begins when a user or manager begins a study of the program using an existing
system. Data is collected on the various files, decision points, and transactions handled by
the present system during analysis. The commonly used tools in the system are Data Flow
Diagram etc. Training, experience, and common sense are required for the collection of
relevant information needed to develop the system. The success of the system depends
largely on how clearly the problem is defined, thoroughly investigated, and properly
carried out through the choice of solution. A good analysis model should provide not only
the mechanisms of problem understanding but also the solution’s framework.
7
3.1.1 Requirement Analysis
For any system, there are functional and non-functional requirements to be considered
while determining the requirements of the system. Functional requirements are product
features or functions that developers must implement to enable users to accomplish their
tasks. In addition, Non-functional Requirements (NFRs) define system attributes such as
security, reliability, performance, maintainability, scalability, and usability.
I. Functional Requirements
Only authentic users must have access to the system.
Admin/System User:
The Admin must be authenticated before accessing the system to be able to:
● Add/Update/Delete Movies
● Add/Edit/Delete Categories
Users/Customers:
Members must be authenticated before accessing the system The Members will able to:
8
The use case diagram, which presents the system requirements is used to show how the
proposed system works in practice. The interaction between actor and use cases is also
described using a use case diagram.
● Security: User have to register their account for booking. Users can log in with
● Usability: The system will be user-friendly. The UI should be simple enough for
everyone to.
9
● Accuracy: The data stored about the movies, and booking transactions should be
10
3.1.2 Feasibility Analysis
A feasibility study is a detailed analysis that considers all of the critical aspects of a
proposed project to determine the likelihood of it succeeding. A feasibility analysis is
used to determine the viability of an idea, such as ensuring a project is legally and
technically feasible as well as economically justifiable. It tells us whether a project is
worth the investment—in some cases, a project may not be doable
Feasibility studies undergo four major analyses to predict the system's success and they
are as follows:
● Technical Feasibility
● Operational Feasibility
● Economic Feasibility
● Schedule Feasibility
I. Technical Feasibility
The system in the facts that it has been developed on windows XP platform and a high
configuration of 1GB RAM on Intel Pentium dual-core processors. So, this system is
technically feasible. This study is carried out to check the technical requirements of the
system. We can strongly say that it is technically feasible since there will not be much
difficulty in getting the required resources for the development and maintenance of the
system as well. All the resources needed for the development of the software are easily
collected.
11
be done is to make an environment for the development of the system in a comfortable
environment.
12
13
figure 3.1.4; Context level 0 Data Flow Diagram (DFD)
14
figure 3.1.5: level 3 data flow diagram
15
3.2 System Design
It refers to the process of defining the elements of a system such as the architecture,
modules, and components, the different interfaces of the components, and the data that
goes through the system. System design gives the knowledge of the requirements and
analysis to design the software product. In this chapter, We will deal with the module,
database design, user interface design, and program design. For the designing of the
application, various diagrams like sequence diagrams, activity diagrams, etc. have been
used.
16
3.2.2 Database Schema Design
The design of a database is called a schema. This tells us about the structural view of the
database. A database schema represents the logical configuration of all or part of a
relational database. A database schema indicates how the entities that make up the
database relate to one another, including tables, views, stored procedures, and more.
Typically, a database designer creates a database schema to help programmers whose
software will interact with the database.
17
figure 3.2.5: Home Page interface
18
figure 3.2.7: User Authentication Page
19
1
20
figure 3.2.10: Sequence Diagram
21
figure 3.2.11: Activity Diagram
22
CHAPTER 4: IMPLEMENTATION AND TESTING
4.1 Implementation
4.1.1 Tools Used
The various system tools that have been used in developing both the front-end and the
back-end of the project are discussed in this chapter.
I. Frontend
HTML, CSS, and JavaScript are used to implement the front end.
● CSS: CSS (Cascading Style Sheets) is the language we use to style an HTML
management system. MySQL is one of the best RDBMS being used for developing
web-based software applications.
Also, we used other various software like Microsoft Word to create documentation,
Google Meet for communication, XAMPP to implement this project on a local server,
and Visual Studio Code as an IDE. We used the https://app.diagrams.net/ website to
create different diagrams.
23
4.1.2 Implementation Details of Modules
For developing a website, we are going to use HTML, CSS, PHP, and JavaScript.
To create web pages, HTML language helps to build login forms, tables, image
processing, and perform other various operations that run in the browser. A web browser
can read HTML files and compose them into visible or audible web pages. The browser
does not display the HTML tags but uses them to interpret the content of the page. HTML
describes the structure of a website semantically along with cues for presentation, making
it a markup language rather than a programming language.
For Styling the HTML pages, BootStrap 4 and CSS will assist us. CSS is a Cascading
Style Sheet that is used for making our website more presentable with the help of
different selectors. JavaScript is used in the system to modify HTML documents and
validate forms.
For the backend, we will be using PHP. In this system, PHP is used for server-side web
development. Similarly, PHP is used to run SQL queries to store, retrieve, and manipulate
the information contained in a database. As a database, we will be using MySQL which
stores the data and information of members and books. Also, it stores records of
transactions in the library.
4.2 Testing
Software Testing is the process of testing the functionality and correctness of software.
Software testing is an empirical technical investigation conducted to provide stakeholders
with information about the quality of the product to the context in which it is intended to
operate. This includes but is not limited to, the process of executing a program or
application with the intent of finding errors.
● Whitebox Testing
White-box testing is a detailed investigation of the internal logic and structure of the
code. White-box testing is also called glass testing or open-box testing. To perform
white-box testing on an application, a tester needs to know the internal workings of
the code.
24
● Blackbox Testing
The technique of testing without having any knowledge of the interior workings of
the application is called black-box testing. The tester is oblivious to the system
architecture and does not have access to the source code. Typically, while
performing a black-box test, a tester will interact with the system’s user interface by
providing inputs and examining outputs without knowing how and where the inputs
work.
home page
25
2 Testing Username: While entering Show message As Pass
Admin pritam incorrect Login Failed: expected,
Login Password: credentials Email or result in
pritam Password do not
match.
pritam match.
28
CHAPTER 5: CONCLUSION AND FUTURE RECOMMENDATIONS
5.2 Conclusion
We, the project team will design and implement a system capable of allowing users to
view movies online and can be able to book tickets online through “Cinexpress’. It will
save a lot of time for customers as they can be able to book their desired movie.
29
APPENDICES
Appendix 1: Screenshots
30
figure: add movies
31
Appendix 2: Source Codes
Login page source code:
<?php
session_start();
include 'header.php';
?>
<div id="loginForm" class="d-flex text-center mt-1">
<form class="form-signin" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<img class="mb-3" src="./img/websitelogo.png" alt="Loading Logo" width="172" height="122">
<h1 class="h3 mb-3 font-weight-normal">Please sign in</h1>
<label for="email" class="sr-only">Email address</label>
<input type="email" name="email" id="email" class="form-control" placeholder="Email address" required
autofocus="">
<label for="password" class="sr-only">Password</label>
<input type="password" name="password" id="password" class="form-control" placeholder="Password"
required>
<button class="btn btn-lg btn-primary btn-block " name="submit" type="submit">Sign in</button>
<hr class="lead">
<a href="register.php" class="text-decoration-none">Don't have an account? Sign up</a>
<p class="mt-5 mb-3 text-muted">© <?php echo date("Y"); ?></p>
</form>
</div>
<style>
#loginForm {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
padding-top: 40px;
padding-bottom: 40px;
background-color: #f5f5f5;
}
.form-signin {
width: 100%;
max-width: 330px;
padding: 15px;
margin: auto;
}
.form-signin .checkbox {
font-weight: 400;
}
.form-signin .form-control {
32
position: relative;
box-sizing: border-box;
height: auto;
padding: 10px;
font-size: 16px;
}
.form-signin .form-control:focus {
z-index: 2;
}
.form-signin input[type="email"] {
margin-bottom: -1px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
</style>
<!-- User Authentication -->
<?php
include 'config.php';
if (isset($_POST['submit'])) {
$email = $_POST['email'];
$password = $_POST['password'];
$sql = "SELECT * from user where email='$email' and pwd='$password' ";
$result = mysqli_query($conn, $sql);
$row = mysqli_fetch_assoc($result);
if (mysqli_num_rows($result) == 1) {
session_start();
$_SESSION['isloggedin'] = 1;
$_SESSION['email'] = $row['email'];
$_SESSION['user_id'] = $row['user_id'];
$_SESSION['username'] = $row['username'];
?>
<script>
location.replace("index.php");
</script>
37
APPENDIX 3: DATABASE TABLE SCREENSHOTS
38
Table 4: ContactUs From Table
Reference
39