0% found this document useful (0 votes)
35 views75 pages

Mobile Cinema Booking System Analysis

The document outlines a project by Chukwuma Akachi David on developing a mobile application for a cinema booking system, specifically for Genesis Cinemas in Port Harcourt. It aims to provide a convenient way for customers to purchase movie tickets online, reducing the need for physical queues and enhancing user experience. The project includes system analysis, design, implementation, and a review of related literature, highlighting the significance of mobile applications in modern ticketing systems.

Uploaded by

4mthwbfstv
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)
35 views75 pages

Mobile Cinema Booking System Analysis

The document outlines a project by Chukwuma Akachi David on developing a mobile application for a cinema booking system, specifically for Genesis Cinemas in Port Harcourt. It aims to provide a convenient way for customers to purchase movie tickets online, reducing the need for physical queues and enhancing user experience. The project includes system analysis, design, implementation, and a review of related literature, highlighting the significance of mobile applications in modern ticketing systems.

Uploaded by

4mthwbfstv
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

MOBILE APPLICATION FOR CINEMA BOOKING SYSTEM

(A CASE STUDY OF GENESIS CINEMAS, PORT HARCOURT)

BY

Chukwuma Akachi David


DE.2017/4602

A PROJECT SUBMITTED IN PARTIAL FULFILMENT OF THE REQUIREMENTS


FOR THE AWARD OF BACHELOR OF SCIENCE ([Link]) DEGREE, IN FACULTY
OF SCIENCE, DEPARTMENT OF COMPUTER SCIENCE, RIVERS STATE
UNIVERSITY, PORT HARCOURT

SUPERVISOR
MR. CHIMA IGIRI

APRIL, 2021

1
DECLARATION

I, Chukwuma Akachi David with matriculation number DE.2017/4602, hereby

declare that this research work was carried out by me under the supervision of

my project supervisor Mr. Chima Igiri, I hereby claim that this project work

has not been submitted elsewhere for award of any other.

_____________________ _________________
Chukwuma Akachi Date
DE.2017/4602

2
CERTIFICATION

We certify that this project was carried out by Chukwuma Akachi David,

DE.2017/4602, in the Department of Computer Science, Faculty of Science,

Rivers State University, Nkpolu-Oroworukwo, P.M.B. 5080, Port Harcourt,

Nigeria, and accept that it is fit for the award of Bachelor of Science (BSc) in

the Department of Computer Science in this University.

Mr. Igiri Chima ____________________ ______________


(Project Supervisor) Signature Date

Dr. Daniel Matthias ____________________ ______________


(Head of Department, Signature Date
Comp. Sci)

Prof. C.K. Wachukwu ____________________ ______________


(Dean Faculty of Science) Signature Date

_____________________ ____________________ ______________


(External Examiner) Signature Date

3
DEDICATION

I dedicated this work to God Almighty and to my parents, siblings and friends

and well-wishers who through their support and encouragement have seen me

throughout my academy.

4
ACKNOWLEDGMENT

My profound gratitude and acknowledgement goes to God Almighty for

equipping me with the grace strength and wisdom in my academic pursuit

especially in carrying out this research. I will not fail to express my appreciation

to my supervisor Mr. Chima Igiri who did not only play a supervisory role

during the research but also a fatherly role, his approachable and easy going life

is worthy of emulation.

5
ABSTRACT
Cinema booking system is basically made for providing movie ticket anywhere and anytime
and gets information about the movies online. It is a mobile-based system; the customers can
buy tickets online and cancel the seat at a suitable time. The newly designed system is faster,
more convenient and you do not have to go to queue up to buy movie tickets. The system
provides a convenient way for a customer to buy movie tickets. Chapter three chapter
involves a process whereby the existing or current system is studied to identify the
information requirements. It is used to refer to a specific series of steps or procedures which
governs the analysis and design of a particular project. It also includes the techniques and
methods which are used to collect and analyze information. To achieve all these stated above,
Methodology (SSADM) is a systems approach to the analysis and design of information
systems. SSADM method involves the application of a sequence of analysis; an
internationally accepted software engineering model was use which is Structured System
Analysis and Design Methodology (SSADM). Structured System Analysis and design tasks
concerned with analysis of the current system, logical data design, logical process design etc.
Chapter four focuses on the implementation of the system. System implementation is a
collection of inter-dependent physical devices together with their programming which
provides the functionality and performance for which the system was designed. It covers all
the activities necessary to set the system that has been analyzed and designed to be fully
functional to the users. The development tools are the necessary requirement tools used
during the design to enable us achieve the system design. The listed packages were used
because of their features, accessibility and also because it is more effectivity: (1) MySQL
database application (2) PHP scripting Language (3) HTML language and JavaScript (4)
Notepad plus (5) CodeIgniter. Chapter five project highlighted the practical implementation
of computer system with view of demonstrating the success and utility of the knowledge base
on system in order to gain the practitioners who are the ultimate users of the system. It also
discusses the issues of selecting appropriate database model, interface design, system
deployment and maintenance. A projection of record growth in relation to student population
and system requirement was carried out in the study. Finally, it discusses the applicability of
the system in academic institutions. This project is a cinema ticket booking system is
designed to meet the requirements. It has been developed in PHP and database keeping in
mind the specifications of the system have been created in My SQL server. Our project: ticket
system with the cinema; Cinema companies can meet customer comfort. Cinema manager,
employee, and customer relations to complete the process of ticket satisfied a good
communication. With this platform developed, to avoid wasting time, reduce
misunderstandings, easy data flow, customer happiness, and are expected to provide less
difficult task.

6
TABLE OF CONTENTS
Page
Title Page i
Declaration ii
Certification iii
Dedication iv
Acknowledgement v
Abstract vi
Table of Contents vii
List of Tables ix
List of Figures x

CHAPTER ONE: INTRODUCTION


1.1 Background of the Study 1
1.2 Statement of the Problem 3
1.3 Aims & Objectives of the Study 3
1.3.1 Aims 3
1.3.2 Objectives 3
1.4 Significance of the Study 4
1.5 Scope of the Study 4
1.6 Limitations of Study 5
1.7 Definition of Terms 5

CHAPTER TWO: LITERATURE REVIEW


2.1 Introduction 7
2.2 Traditional Multimedia 7
2.3 Intelligent Multimedia 8
2.4 Mobile Application 8
2.4.1 Characteristics of Mobile Applications 8
2.5 Cinema 11

7
2.5.1 Historical Background of Cinema 11
2.6 Theatre Background 13
2.7 Human Computer Interface (HCI) 14
2.8 Analysis of Similar Systems 14
2.9 Conclusion 15

CHAPTER 3: SYSTEM ANALYSIS AND DESIGN


3.1 Introduction 16
3.1.1 Description of the Existing System 16
3.2 Analysis of the Proposed System 17
3.3 Design of the Proposed System 17
3.4 Database Design 20

CHAPTER 4: SYSTEM IMPLEMENTATION


4.1 Choice of Development Environment 24
4.2 Implementation Architecture 26
4.2.1 Admin Module 26
4.2.2 Transaction Module 27
4.2.3 Maintenance Module 28
4.2.4 Reports Module 29
4.3 Flowchart 30
4.4 Software Testing 34
4.5 Documentation 40
4.6 User Manual 40

CHAPTER 5: SUMMARY, CONCLUSIONS AND RECOMMENDATIONS


5.1 Summary 42
5.2 Conclusions 42
5.3 Recommendations 43
REFERENCES 44
APPENDIX 46
8
LIST OF TABLES
Table Page
3.1 Movies Information 20
3.2 User Information 21
3.3 Booking Table 22
3.4 Category Table 23

9
LIST OF FIGURES

Figure Page

3.1 Showing the Use Case Diagram of a Cinema Booking System 19

4.1 Admin Flowchart 31

4.2 Transaction Module 32

4.3 Maintenance Module 33

4.4 System Testing Process 34

4.5 Here the user Cinema system for movie booking 36

4.6 The upcoming page contains a list of movie image with data list by
clicking the image users can view all the information related to that
particular movie. 37

4.7 Here user can book ticket and also give information about their credit
card like card no, card type exp. Date etc. 39

10
CHAPTER ONE

INTRODUCTION

1.1 Background of the Study

Cinema booking system is basically made for providing movie ticket anywhere

and anytime and gets information about the movies online. It is a mobile-based

system; the customers can buy tickets online and cancel the seat at a suitable

time.

The system is to provide an alternate and convenient way for a customer to buy

movie tickets. It is an automatic system, because it is designed and programmed

to work automatically without the need of any human operator to provide inputs

and instructions for each operation.

Mobile application also referred to as a mobile app or simply an app, is a

computer program or software application designed to run on a mobile device

such as a phone, tablet, etc. Applications were originally intended for

productivity assistance such as email, calendar, and contact database but the

public demand for applications caused rapid expansion into other areas such as

mobile games, factory automation, GPS and location-based services, and ticket

purchases. Applications are generally downloaded from application distribution

platforms which are operated by the owner of the mobile operating system, such

as the app store (iOS) or Google play store.

11
Some applications are free, and others have a price, with the profit being split

between the application’s creator and the distribution platform. Mobile

applications often stand in contrast to desktop application which are designed to

run on desktop computers, and web application which run in mobile web

browsers rather than directly on the mobile device.

The applications of mobile apps have been embraced since its existence and it

being utilized in different ways such as social media networking, internet chat,

mobile games, file sharing, push notifications and instant updates.

Booking system is a system which is used to store and exchange information,

maintain inventory and conduct transactions related to various services like

hotels, airlines, car rentals, and buses, etc.

Through booking systems, the service providers are able to sell their services

and people are able to book tickets, hotel rooms, airline, and tables in

restaurants, etc.

Cinema booking system is basically made for providing movie ticket anywhere

anytime and gets information about the movie online. The system provides a

convenient way for a customer to buy movie tickets.

The name “movie” originates from the fact that photographic film (also called

film stock) has historically been the medium for recording and displaying

motion pictures. Today, it is believed that the application of computer

12
technology in any activity would go a long way in making that activity much

easier. It also believed that the benefit and advantages of using computer out

weight that of the manual methods.

1.2 Statement of the Problem

The major problems that give rise to this research project include; late seats

reservation by customers, fluctuation of network service, inability to book seat

by computer illiterate customers, and corrupt and tactical customers who have

ways of sneaking into the cinema hall with fake seats number printout.

1.3 Aims & Objectives of the Study

1.3.1 Aims

The main aim of this research work is to develop a mobile application for ticket

booking system, which is to provide a simple and comfortable way for the

customers to buy movie tickets at their convenient.

This newly aimed system is basically sighted at providing the customers the

complete information of the currently running movies, according to which the

customer can book the tickets and proceed to make payments for the desired

movies booked.

1.3.2 Objectives

1. To create an interactive user interface for the new system.

13
2. To create a reliable database of movies in the case study with their

description.

3. To develop a user-friendly mobile application.

4. To create a database to obtain statistic information from the booking record

for research purpose.

5. To provide medium for ticket verification at the cinema hall.

1.4 Significance of the Study

Mobile application ticket reservation system is a safe option for well-developed

companies and brands because it provides convenient for customers. It also

saves a lot of time for the customers because, they do not need to arrive early to

queue for ticket in case they are all sold out.

1.5 Scope of the Study

The main scope of this project is to create room for reservation online and to

enable customers choose the most desirable movie; it saves the customer’s time

and labor. On the other hand, some of the tickets of the movie are provided for

booking online while the remaining is for manual box office sale as the case

may be.

This process reduces the labor of company staffs since the system can be

accessed by anyone who has internet connection at any time of the day or night,

14
thus providing customer’s comfort, and also plays a major role in promoting the

multiplex and the movies.

1.6 Limitations of Study

1. Financial constraint- Insufficient fund tends to impede the efficiency of

the researcher in sourcing for the relevant materials, literature or

information and in the process of data collection (internet, questionnaire

and interview).

2. Time constraint- The researcher will simultaneously engage in this study

with other academic work. This consequently will cut down on the time

devoted for the research work.

1.7 Definition of Terms

In order to do away with ambiguity, some terms and keywords in the context of

this research are here by defined.

Implementation: Is the building of system and installation to ensure that it

solves a particular task.

System: Is a collection of interrelated parts that comprises a single function.

Database: It is a collection of interrelated data stored together with controlled

redundantly to serve one or more application in an optional fashion.

15
Login: To sign in through registered ID.

Users: Persons throughout the organization who add, delete, modify data in the

system.

Reservation: Is the act of reserving something e.g hotel accommodation, a seat

on an aero plane, in a theatre.

Ticket: Is a piece of paper, cardboard, etc., showing that the holder is entitled to

certain rights, such as travel on a train or bus, entry to a place of public.

Pay: The process of payment for services.

Booked: To acquire by paying an agreed price.

16
CHAPTER TWO

LITERATURE REVIEW

2.1 Introduction

This chapter will discuss the background research which was carried out within

the relevant areas of the design. Mobile Application, Traditional Multimedia

and Intelligent Multimedia will also be outlined along with information on

Mobile Booking System. A sub section regarding Cinema Booking System will

also be discussed with reference to the software being used to implement the

Ticket Reservation System for Genesis Cinemas. Similar systems will also be

discussed.

2.2 Traditional Multimedia

Traditional Multimedia consists of objects such as video and audio types.

Traditional multimedia middleware such as:

1. DirectShow from Microsoft.

2. Apple's Quick time.

The above provides access only to multimedia devices directly connected to the

same PC an application is running on. The network is supported as a source of

data but the middleware cannot extend its control to other devices on the

17
network. For example, it is impossible to transparently watch TV via the TV

card in your colleague's PC, or control remote cameras attached to other PCs or

directly to the network. (Lohse, Slusallek &Wambach 2001).

2.3 Intelligent Multimedia

Mc Kevitt (1997, p.1) notes “Intelligent Multimedia is a growing area which

involves the computer processing of language and vision information and

representing it in terms of its semantics”. Semantics is identifying the study of

meaning in communication. Intelligent Multimedia is a computer’s ability to

process and understand an input in text, speech, images etc and responding to it.

2.4 Mobile Application

Mobile Applications are new emerging technology dominating the software

engineering platform, this new technology comes with new features, restrictions

and new possibilities which does not exist before. Building capable software for

this new environment comes with new requirement, constrains and

characteristics that are not used in the previous traditional estimation method.

The rapid increase in global users have made mobile computing one of the

dominant platform in software Engineering. According to world mobile

application market estimates that more than 2 million mobile applications are

currently available for mobile users mainly in communications, games, social

networks, multimedia, travels and utility.

18
2.4.1 Characteristics of Mobile Applications

Mobile application development is surely a larger field and still enormously

growing industry across the globe, created new opportunities of modern

businesses and introduced new technologies. The most common attributes are

largely based on service design level, so if used wisely then the apps will be

really useful covering user’s requirements.

Mobile Applications has the following characteristics;

1. User Interface

The way your mobile application looks and operates is crucial to its success.

This is especially true with free applications because there is a high churn rate.

If the app doesn’t look and perform as well as a rival app, the user won’t bother

to learn more about what it can do.

2. Fast Loading Time and High Performance

If your app takes too long to load, it will automatically be avoided by users.

Winning mobile applications take less than five seconds to load.

However, more complex apps like Facebook sometimes take a bit longer to

load. These apps require large amounts of data to start up. For Facebook, users

usually stick around because they see ongoing activity when they start the app.

3. Responsiveness

19
This is the ability of the mobile application to respond to the command being

input by a user and how fast it executes a command.

4. Adapts to User’s Needs

Creating a successful app is great, but if you can’t maintain that success, it’s all

for naught. Winnings apps introduce new features, fix bugs, and streamline the

way they operate with each update.

5. Portability

This is the capability of the mobile application to run on different platforms

regardless of the device’s operating system, Version, and Mobile phone model.

6. Affordable

The app may be appealing and beautiful, but if it is not affordable, it is doomed

to fail. Why should the customer choose your expensive app if he can get an app

with same features for free? Try to offer both a free version and full-feature

paid version. However, it is still important to have your full-feature paid version

affordable.

7. Security

20
There are several aspects of security like transferred data over network via

carrier network. Some applications sync data with online, web apps, so the

storage of the information on server must be secure. Another critical security

breach can be the mobile device itself as I do not want anybody to play with my

mobile phone. These may be general features and characteristics but play vital

role in the mobile applications.

2.5 Cinema

Cinema can be defined as the art of colorful moving images enhanced by

voices, sounds, and music, still telling stories, still entertaining, and most

importantly, still selling popcorn.

Cinema, or motion picture, is the art of moving images; a visual medium that

tells stories and exposes reality. Created in the dusk of the 19th century, cinema

is the world’s most recent art form. It is also, by far, the world’s most complex,

collaborative, and costly artistic expression.

2.5.1 Historical Background of Cinema

Cinematography is the illusion of movement by the recording and subsequent

rapid projection of many still photographic pictures on a screen. A product of

19th century scientific endeavor, it has, over the past century, become an

industry employing many thousands of people and a medium of mass

entertainment and communication.

21
No one person invented cinema. However, in 1891 the Edison Company in the

USA successfully demonstrated a prototype of the Kinetoscope, which enabled

one person at a time to view moving pictures. The first to present projected

moving pictures to a paying audience (i.e. cinema) were the Lumière brothers in

December 1895 in Paris.

At first, films were very short, sometimes only a few minutes or less. They were

shown at fairgrounds and music halls or anywhere a screen could be set up and

a room darkened. Subjects included local scenes and activities, views of foreign

lands, short comedies and events considered newsworthy.

The Rise of the Film Industry

By 1914, several national film industries were established. Europe, Russia and

Scandinavia were as important as America. Films became longer, and

storytelling, or narrative, became the dominant form. As more people paid to

see movies, the industry which grew around them was prepared to invest more

money in their production, distribution and exhibition, so large studios were

established and special cinemas built. The First World War greatly limited the

film industry in Europe, and the American industry grew in relative importance.

The first 30 years of cinema were characterized by the growth and consolidation

of an industrial base, the establishment of the narrative form, and refinement of

technology.

22
Adding Color

Color was first added to black-and-white movies through tinting, toning and

stenciling. By 1906, the principles of color separation were used to produce

so-called ‘natural color’ moving images with the British Kinemacolor process,

first presented to the public in 1909. The early Technicolor processes from 1915

onwards were cumbersome and expensive, and color was not used more widely

until the introduction of its three-color process in 1932.

Adding Sound

The first attempts to add synchronized sound to projected pictures used

phonographic cylinders or discs. The first feature-length movie incorporating

synchronized dialogue, The Jazz Singer, (USA, 1927), used the Warner

Brothers’ Vitaphone system, which employed a separate record disc with each

reel of film for the sound.

This system proved unreliable and was soon replaced by an optical, variable

density soundtrack recorded photographically along the edge of the film.

2.6 Theatre Background

Theatre is the division of the performing arts that acts out stories in front of an

audience using a mixture of speech, gesture, music, dance, sound and spectacle.

Together with the narrative dialogue style, theatres also take the forms as opera,

23
ballet, mime, kabuki, classical Indian dance, Chinese opera, mummers' plays,

and pantomime.

2.7 Human Computer Interface (HCI)

As the system which will being created is intended to be as user-friendly as

possible, in the design of the system, HCI must take Centre place in order to

design and develop a system which will be as usable as possible and will meet

the requirements of all its users. The system will be the creation of an automated

ticket booking system for Genesis Cinemas which will be fully automated. This

means that in order for someone to book tickets for a movie they will simply

login to the application, choose their desired movies and proceed to make

payment for them. These will be discussed in more detail in chapter four. When

designing this system, the team will take into consideration the following

factors:

1. User Interface

2. Portability

2.8 Analysis of Similar Systems

In this section similar systems to the Ticket Reservation System for the Mobile

Application will be discussed.

Online Booking Systems:

24
An online booking system is a system on the internet where users can book

products or services. Usually customers are required to fill out web-forms with

details such as their name, address and telephone number and are also required

to provide payment details such as credit/debit card details.

Online Availability Systems:

Online availability systems are systems on the internet where users can check

the availability of a product or service. If the required product/service is

available, customers may be able to reserve it. Both systems are similar to the

system which is to be developed, as the two main requirements of the Ticket

Reservation System for the customers of Genesis Cinemas are to be able to

check the availability of a show and to reserve a number of tickets.

Reservation System

Reservation systems are electronic systems that allow users to check the

availability of a product or service and then if available, allows the end user to

reserve the product or service with payment or pay on delivery, as the case may

be. These types of systems can be used for reserving hotel rooms or reserving

tables at a restaurant.

2.9 Conclusion

This chapter provided a background on the relevant areas for this project,

detailing information on the different areas of Mobile Systems, Mobile

25
Applications, Cinema Booking System, Theatre, Reservation Systems, and the

HCI Guidelines.

CHAPTER 3

SYSTEM ANALYSIS AND DESIGN

3.1 Introduction

Methodology involves a process whereby the existing or current system is

studied to identify the information requirements. It is used to refer to a specific

series of steps or procedures which governs the analysis and design of a

particular project. It also includes the techniques and methods which are used to

collect and analyze information. To achieve all these stated above, Methodology

(SSADM) is a systems approach to the analysis and design of information

systems. SSADM method involves the application of a sequence of analysis; an

internationally accepted software engineering model was use which is

Structured System Analysis and Design Methodology (SSADM). Structured

System Analysis and design tasks concerned with analysis of the current

system, logical data design, logical process design etc.

26
3.1.2 Description of the Existing System

An increasing number of customers standing in long queues outside the theaters

which, theater owners "Customer Delight" faced the challenge of providing.

Customers strict order and without delay and inconvenience of standing in long

queues to pay for their tickets wanted an easy way. Their loyalty program

"theater" to the administration, as well as partners to help maximize their

presence at the multiplex other promotional and subscription services provides a

mechanism is needed. Cinemas phone book was launched, but un-sold seats to

customers, leading to frequent "no shows" were, because it was not feasible to

prove the profitability of the business affected.

3.2 Analysis of the Proposed System

The proposed system is more reliable, entertaining and easier than the present

system. The solution targets those users who do not have spare time to stand in

queue for booking tickets. This proposes an easy way of ordering and paying for

the tickets without any delays and inconvenience. It enables users book tickets

without physically present at the theater booking center.

Customers who book tickets on their mobile phones will receive an instant

message (m-ticket). By splashing the M- ticket at the counter of the multiplex,

the client can receive physical tickets. No longer issue tickets to staff at the

multiplex complex manual ticket availability and tracking system is needed.

27
Ticket information can be accessed at any time for verification, which is safely

stored in a database.

3.3 Design of the Proposed System

Use case Diagram Use Case diagram for Cinema Booking System is shown

below. The various participants of the same are detailed below:-

Actors: - Registered User, Visitor, and Admin the corresponding use cases for

these actors are:

● Registered User: Choose Movie, Select Time and Venue, Select Seat,

Select Ticket Type, Child, Adult, Make Payment by Credit/Debit Card,

Confirm Transaction, Cancel Ticket, Get Refund

● Visitor: Get Registered, Check Movie Data

● Admin: Login, Insert Movie Records, Update Movie Records, Delete

Movie Records

28
Fig. 3.1: Showing the Use Case Diagram of a Cinema Booking System.

29
3.4 Database Design

In this section, the basic structure of the tables composing the database for the

project are shown along with information about primary and foreign keys.

Table 3.1: Movies Information


S/NO ATTRIBUTES TYPE/WIDTH DESCRIPTION
1 Title varchar (200) Movies title
2 Description Text Description about the movies.
3 Category Varchar (200) Classification of the movies.
4 Price Varchar(20) Cost price of each ticket of the
cinema movie.
5 Ticket Varchar (200) Ticket number of the cinema
movie.
6 Username Varchar (20) User that created the movie
for ticket purchase
7 Date created Varchar(200) Date created for the movie.
8 Time created Varchar(200) Time created for the movie.
9 Photo Varchar(200) The picture displayed for the
users to see.
10 Movie id Varchar(200) The id of the movie
11 Date movie Varchar(200) The date of the movie
12 Location Varchar(200) Location of the movie.

Table 3.1, this table is the movie table the information of the movie details are

store in this table, the users provide the movie details for users to purchase

tickets.

30
Table 3.2: User Information
S/NO ATTRIBUTES DATATYPE/ WIDTH DESCRIPTION
1 Name Varchar (200) Name of the user
2 Email Varchar (20) Email of the user
3 Username Varchar (200) Username of the user
4 Password Varchar (200) Security password
5 Sex varchar (200) Gender of the User
6 Phone Varchar (200) Phone number of the user
7 Photo Varchar (200) Photo of the user
8 DOB Varchar(200) Date of Birth
9 State Varchar(200) State of the country
10 Country Varchar(200) Country where the user
lives
11 Address Text Address of the User
12 User type Varchar(200) Type of the User

Table 3.2, this table stores the details of the User in the database table.

31
Table 3.3: Booking Table
S/NO ATTRIBUTES DATA DESCRIPTION
TYPE/WIDTH
1 Order Id Varchar (200) Order id to be booked
2 Name of movie Varchar (200) Name of movie
3 Phone number Varchar(200) Phone number of the
customers who ordered for
the movie.
4 Email Address Varchar (200) Email Address of the
customers who ordered for
the movie.
5 Address Varchar(200) Address of the Customer
6 State Varchar(200) State of the country
7 Country Varchar(200) Country of the Customer
8 Ticket Varchar(200) Number of ticket of the
movie the customer ordered
for.
9 Cost Varchar(200) Cost for the each ticket
10 Total cost Varchar(200) The total cost (cost X ticket)
11 Name Varchar(200) The name of the customer
12 Username Varchar(200) Username of the customer

Table 3.3, this is the movie booking table it stores the details of the movie

booked.

32
Table 3.4: Category Table
S/NO ATTRIBUTES DATA DESCRIPTION
TYPE/WIDTH
1 Category id Varchar (200) Primary key

2 Category Varchar (200) Name of the Category

3 Description Text Description of the category

4 Date Created Varchar(200) Date created for the category

5 Time created Varchar(200) Time created for the category

Table3.4, this is the Category table it stores the details of the movie to be

shown.

33
CHAPTER 4

SYSTEM IMPLEMENTATION

System implementation is a collection of inter-dependent physical devices

together with their programming which provides the functionality and

performance for which the system was designed. It covers all the activities

necessary to set the system that has been analyzed and designed to be fully

functional to the users.

4.1 Choice of Development Environment

The development tools are the necessary requirement tools used during the

design to enable us achieve the system design. The listed packages were used

because of their features, accessibility and also because it is more effectivity.

1. MySQL database application

2. PHP scripting Language

3. HTML language and JavaScript

4. Notepad plus

5. CodeIgniter

34
MySQL Database Server: MySQL is a popular choice of database for use in

web applications, and is a central component of the widely used XAMP open

source web application software stack—XAMP is an acronym for "Localhost,

Apache, MySQL, Perl/PHP/Python/JSP". The MySQL Database powers the

most demanding Web, E-commerce and Online Transaction Processing (OLTP)

applications. It is a fully integrated transaction-safe, ACID compliant database

with full commit, rollback, and crash recovery and row level locking

capabilities. MySQL delivers the ease of use, scalability, and performance that

has made MySQL the world's most popular open source database.

PHP: PHP is a server-side scripting language that allows your Web site to be

truly dynamic. PHP stands for PHP: Hypertext Preprocessor Its flexibility and

relatively small learning curve (especially for programmers who have a

background in C, Java, or Perl) makes it one of the most popular scripting

languages around. PHP’s popularity continues to increase as businesses, and

individuals everywhere embrace it as an alternative to Microsoft’s ASP

language and realize that PHP’s benefits most certainly outweigh the costs.

HTML Language: Hypertext Mark-up Language (HTML), the standard

text-formatting language for documents on the interconnected computing

network known as the World Wide Web. HTML documents are text files that

contain two parts: content that is meant to be rendered on a computer screen;

35
and mark-up or tags, encoded information that directs the text format on the

screen and is generally hidden from the user.

JavaScript is a programming language that adds interactivity to your website

for example: games, responses when buttons are pressed or data entered in

forms, dynamic styling, animation etc.

4.2 Implementation Architecture

The new system is designed to be put into efficient use here, we will look into

the various technical aspects that influenced the successful implementation of

this system and determine the effective operation of the system. System

implementation follows the approval of the system proposal and its objectives,

thus it is to arrive at a satisfactory, implemented, completed, and function

evaluated automated system.

4.2.1 Admin Module

The admin module makes the admin user to login with admin username and

password. The admin is the main administrator and controller of the whole

system. He also maintains the user registration and the logins. The admin needs

to manage the show timings.

Admin can add a movie, update the information regarding an old movie and

even delete a movie from the theatre. The admin can even add a theatre and

36
delete a theatre. The admin makes the user available with search by movie and

by theatre. The admin also maintains the list of movies.

The first page in my module is the main page of the project which contain a

menu consisting of options like home, now showing, cinema, coming soon,

contact, advertise with us, and ticket info. This page also contains the login

option for the users to login into their account and also to register an account

with us. The next page is the user login page asking them to enter their

username and password. If the password and the username exists in our

database, the user enters into his main page. A registration page is also available

for the new users to register.

In cinemas page the user can select the movie by using search by theatre. In

now

showing page, the user can search by movie. Admin has a separate admin page

where the admin can login using a username and password. In admin the user

can add a theatre, delete a theatre, add a movie and also delete a movie. In add

theatre the admin can add a theatre by entering the name, type of theatre,

capacity, number of screens, theatre manager, theatre address of a theatre. In

delete theatre the admin can directly enter the theatre name and delete that

particular theatre. In add movie the admin can add a movie by entering the

37
name, rating, review, genre, director, producer and music director of a movie. In

delete movie the admin can directly enter the movie name and delete the movie.

4.2.2 Transaction Module

The transaction module takes care about the issue of the tickets it is used to

enter the details like name, cinema name, no of tickets, timings and dates, types

of class, phone no and total price for ticket.

Next we enter submit and enter into payment page. In this payment page we

enter details like CVV number and card number. During the payment, after

entering details, we enter pay button then it run and display transaction is

successful. This will be a safe payment procedure.

During the tickets booking the user can also add some refreshments to the

payments. In this cancellation they can also cancel the tickets after ticket

booking. check out is used to verify whether details entered for ticket booking is

correct or not if not entered correctly we can rectify the errors in this check out.

Points to customer is used to add points to customer for frequently used

theatres. If the customers frequently enter to theatres, they can gain more points.

The Validation is automatic checks make ensure that any data entered into

system is sensible. This validation does not make sure that data has been entered

correctly. It only ensures that data is sensible. In this module we provide

favorites when we click the favorites next to theatre name on any show times

38
page to mark it as favorites and then come back here to see show time at your

favorite’s theatres.

4.2.3 Maintenance Module

In this maintenance module we have creation of users in which we enter details

like name, account number, seat no's, and amount. In this module we show the

list of movies and maintaining schedule timings for each movie. Points to be

added to the frequently visiting customers, points for the available customers

will be given some offers so that they will be attracted towards these cinemas.

The timings, upcoming movies should be updated time to time so that customers

will be given correct information about the movies running at present and the

show timings. The Publicity material should be maintained such as the contact

details and frequently updated. In this module we make the user available to

contact us regarding any problem and also to advertise with us.

The Validation is an automatic check make ensure that any data entered into

system is sensible. This validation does not make sure that data has been entered

correctly. It only ensures that data is sensible.

At the end in this module we provide report for different customers. Here we

provide different advertising options for marketing.

4.2.4 Reports Module

In the reports module we will maintain reports regarding many things like list of

nil sale items, list of daily sales, list of frequently used theatre, list of frequently

39
visited customers and others. This helps us to analyze the profits and also

improve our infrastructure and services if necessary. In this module the user can

also print his ticket. This will be shown at the theatre for getting the ticket at

time of show.

4.3 Flowchart
A flowchart type of diagram that represents an algorithm, workflow or process.

The flowchart shows the steps as boxes of various kinds, and their order by

connecting the boxes with arrows. This diagrammatic representation illustrates a

solution model to a given problem.

A flowchart is a diagram that depicts a process, system or computer algorithm.

They are widely used in multiple fields to document, study, plan, improve and

communicate often complex processes in clear, easy-to-understand diagrams

40
41
Fig. 4.1: Admin Flowchart

42
Fig 4.2: Transaction Module

43
Fig. 4.3: Maintenance Module

44
4.4 Software Testing

Testing is the last stage in the software development and it presents an

interesting anomaly for the software engineer where he attempts to build

software from an abstract concept to a tangible product. During testing, the

engineer creates series of test cases to discard preconceived notions of the

“correctness” of software just developed and overcome a conflict of interest that

occurs when errors are uncovered. As a secondary benefit, testing demonstrates

that the software functions appear to be working according to specification, that

behavioral and performance requirements appear to have been met. In addition,

data collected as testing is conducted provide a good indication of software

reliability and quality as a whole.

Testing the software follows a certain process as shown below:

Fig. 4.4: System Testing Process

45
Unit Test

Each unit of the new system was tested (test run) individually alongside with the

old system in other to identify areas of further enhancement and development.

System Test

The entire system was as well tested (test run) in general alongside with the old

system in other to identify areas of further enhancement and development.

46
Screenshot of the Cinema interface.

Fig. 4.5: Here the user Cinema system for movie booking

47
Screenshot of Movie description

Fig. 4.6: The upcoming page contains a list of movie image with data list by
clicking the image users can view all the information related to that
particular movie.

48
Screenshot displaying dashboard for both users and admin

49
Fig 4.7: Here user can book ticket and also give information about their
credit card like card no, card type exp. Date etc.

50
4.5 Documentation

In order for the proposed system to be used on any computer system it takes the

following:

i. Boot the system.

ii. Install wampserver on the system.

iii. Click on the wampserver icon on desktop.

iv. Click on the wampserver tray icon on the task bar

v. Select www root directory and processed to upload the files

vi. Upload your web files into the directory

vii. Open any browser on your system (Microsoft internet Explorer, Mozilla

Firefox, Netscape Navigator, Opera, Flock, Safari etc.)

viii. Type [Link] on the address bar and press the return key or

enter key.

ix. Then the website will come up

4.6 User Manual

The steps to use the proposed system are as follows:

i. On the address bar of any browser type [Link] ii. After

view the movie catalog you can book for seat reservation and adding to

the cart at checkout you will be prompted to supply username and

51
password this verifies that you are a registered user if not the customer

will be prompt to register.

iii. If the username and password supplied are correct as that of a user you

are prompted with the user dashboard page with the list of available task

/action which you can do or based on choice.

iv. The username and password are in three formats as a localhost/customer.

V. As a user you are to type [Link] on the address bar.

vi. As a user you are prompted with the user page where the user can

manager products.

vii. As an Administrator, you type [Link] on the address

bar.

viii. As an administrator you are prompted with the administrator page that is

the back end of the system.

52
CHAPTER 5

SUMMARY, CONCLUSIONS AND RECOMMENDATIONS

5.1 Summary

Cinema being the modern society social, economic and cultural influence is a

serious incident, the most popular out-of-Home is one of the cultural activities.

Through this project a multiplexes offer a comprehensive solution for ticket

booking. Theater management system, easy to understand, easy to use and fast

for customers that provides point-and-click simplicity of the service is an online

ticket selling software. The intuitive visual interface refund, exchange, and for

both users and administrators quick and easy reporting, day-to-day aspects of

selling makes. Theater management saved in a database of all the back-end

functionalities movie details, ticket rates, and show time, customer information

and sales history, such as, etc. Theater administrator intelligent counter reports

daily, weekly, monthly reports and film-like details of the report Reports that

manages controls.

5.2 Conclusions

Nowadays, the traditional book cinema tickets dying methods. This technology

has dominated human life, where is the new era. Software and technical

equipment, exceptions are reduced and even eliminated. Moreover, for every

part of their lives easy, fast and secure way to make the choice. This project is a
53
cinema ticket booking system is designed to meet the requirements. It has been

developed in PHP and database keeping in mind the specifications of the system

have been created in My SQL server. Our project: ticket system with the

cinema; Cinema companies can meet customer comfort. Cinema manager,

employee, and customer relations to complete the process of ticket satisfied a

good communication. With this platform developed, to avoid wasting time,

reduce misunderstandings, easy data flow, customer happiness, and are expected

to provide less difficult task.

5.3 Recommendations

It is obvious that this theatre booking system is far from being fully functional.

One of the fundamental steps towards this goal is to have all the database tables

linked by the appropriate relationship, which in turn requires that all tables be

normalized. A substantial understanding of database table design principles,

namely normal forms and functional dependency would be required, and would

most certainly result in the re-structuring of the tables. Setting up a functioning

Access web page would also require some effort. Once the database can be

modified from a page, this can simply be posted on the theatre’s web site,

allowing online users to book their seats for the chosen performance.

54
REFERENCES

Anon, (2008) [Link], 2009, "Is Integration A Phase?",


[Link]

Chitnis, M., Tiwari, P. and Anathamurphy, L. (2009). Creating Use Case


Diagrams. [online]. Available from:
[Link] [Accessed 15th
April 2009].

CSLU Toolkit (2008). Welcome. [online]. Available from: [Link]


[Link]/toolkit~ [Accessed 29/10/2007].

Hoson, J.P. (2008). The CSLU Toollkit: A Platform for Research and
Development of Spoken Language Systems. [online]. Available from:
[Link] Toolkit_slideshow.htm. [Accessed: 21st
March 2009].

Lehman, S. (2007). Visual Impairment. [online] Available from:


[Link]
ml. [Accessed: 12th March 2009].

Manner, W. (1997). Rapid Application Development. [online]. Available from:


http:// [Link]/maner/domains/[Link]. [Accessed: 13th
February 2009]

Paul mc Kevitt, 2009. Intelligent Multimedia. University of Ultser. Magee.

Pressman, R. (1997). Software Engineering, A Practitioner’s Approach, Fourth


Edition, Mc Graw Hill.

Pressman, R. (2000). Software Engineering, A Practitioner’s Approach, sixth


Edition, Mc Graw Hill.

Smith-Atakan, S. (2006). Human-Computer Interaction, Thomson Learning. 36

Sommerville, I. (2007). Software Engineering. 8th Edition. Essex:


AddisonWesley.

Sommerville, I. (2001), Software Engineering, 6th Edition, Pearson Education


Ltd.

55
Sommerville, I. (2007), Software Engineering, 6th Edition, Pearson Education
Ltd.

Wiley, (2002). Encyclopedia of Software Engineering, 2nd. Edition, 993-1005

Wysteria (2008). Rapid Application Development. [online] Available from:


[Link]
or-yoursoftware-project/. [Accessed 21st March 2009].

56
APPENDIX

SOURCE CODES

Home Page
<?php
//Start session
session_start();

//Unset the variables stored in session


unset($_SESSION['SESS_MEMBER_ID']);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"[Link]
<html xmlns="[Link]
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="xres/css/[Link]" />
<link rel="icon" type="image/png" href="xres/images/[Link]" />
<!--[if IE 6]><style type="text/css"> * html img { behavior: url("xres/[Link]") }</style><![endif]-->
<script type="text/javascript" src="xres/js/[Link]"></script>
<script type="text/javascript" src="xres/js/[Link]"></script>
<script src="js/[Link]" type="text/javascript" charset="utf-8"></script>
<script src="vallenato/[Link]" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="vallenato/[Link]" type="text/css" media="screen" charset="utf-8">

<script type="text/javascript">
$("#slideshow > div:gt(0)").hide();

setInterval(function() {
$('#slideshow > div:first')
.fadeOut(1000)
.next()
.fadeIn(1000)
.end()
.appendTo('#slideshow');
}, 3000);
</script>
<!--sa calendar-->
<script type="text/javascript" src="js/[Link]"></script>
<link href="css/[Link]" rel="stylesheet" type="text/css" />
<link href="css/[Link]" rel="stylesheet" type="text/css" />
<script type="text/javascript">
//<![CDATA[

function makeTwoChars(inp) {
return String(inp).length < 2 ? "0" + inp : inp;
}

function initialiseInputs() {
// Clear any old values from the inputs (that might be cached by the browser
after a page reload)

57
[Link]("sd").value = "";
[Link]("ed").value = "";

// Add the onchange event handler to the start date input


[Link]([Link]("sd"), "change",
setReservationDates);
}

var initAttempts = 0;

function setReservationDates(e) {
// Internet Explorer will not have created the datePickers yet so we poll the
datePickerController Object using a setTimeout
// until they become available (a maximum of ten times in case something
has gone horribly wrong)

try {
var sd = [Link]("sd");
var ed = [Link]("ed");
} catch (err) {
if(initAttempts++ < 10)
setTimeout("setReservationDates()", 50);
return;
}

// Check the value of the input is a date of the correct format


var dt = [Link]([Link], [Link](0) ==
"m");

// If the input's value cannot be parsed as a valid date then return


if(dt == 0) return;

// At this stage we have a valid YYYYMMDD date

// Grab the value set within the endDate input and parse it using the
dateFormat method
// N.B: The second parameter to the dateFormat function, if TRUE, tells the
function to favour the m-d-y date format
var edv =
[Link]([Link]("ed").value, [Link](0) == "m");

// Set the low range of the second datePicker to be the date parsed from the
first
[Link]( dt );

// If theres a value already present within the end date input and it's smaller
than the start date
// then clear the end date value
if(edv < dt) {
[Link]("ed").value = "";
}
}

function removeInputEvents() {
// Remove the onchange event handler set within the function
initialiseInputs

58
[Link]([Link]("sd"),
"change", setReservationDates);
}

[Link](window, 'load', initialiseInputs);


[Link](window, 'unload', removeInputEvents);

//]]>
</script>

</head>

<body>
<div id="wrapper">
<div id="header">
<h1><a href="[Link]"><img src="xres/images/[Link]" class="logo" alt="" /></a></h1>
<ul id="mainnav">
<li class="current"><a href="[Link]">Home</a></li>
<li><a href="[Link]">Gallery</a></li>
<li><a href="[Link]">Movies Available</a></li>
<li><a href="[Link]">location</a></li>
<li><a href="[Link]">Contact Us</a></li>
</ul>
</div>
<div id="content">
<div id="rotator">
<ul>
<li class="show"><img src="xres/images/jb2/[Link]" width="861" height="379" alt="" /></li>
<li><img src="xres/images/jb2/[Link]" width="861" height="379" alt="" /></li>
<li><img src="xres/images/jb2/[Link]" width="861" height="379" alt="" /></li>
<li><img src="xres/images/jb2/[Link]" width="861" height="379" alt="" /></li>
<li><img src="xres/images/jb2/[Link]" width="861" height="379"
alt="" /></li>
</ul>

<div id="logo" style="left:600px; height: auto; top: 23px; width: 260px; position:
absolute; z-index:4;">

<h2 class="accordion-header" style="height: 18px; margin-bottom:


15px; color: rgb(255, 255, 255); background: none repeat scroll 0px 0px rgb(53, 48, 48);">Ticket Booking</h2>
<div class="accordion-content" style="margin-bottom: 15px;">
<form action="[Link]" method="post"
style="margin-bottom:none;">
<span style="margin-right: 11px;">Select Movie
Category:
<select name="route" style="width: 191px; margin-left:
15px; border: 3px double #CCCCCC; padding:5px 10px;"/>
<?php
include('[Link]');
$result = mysql_query("SELECT * FROM route");
while($row = mysql_fetch_array($result))
{
echo '<option value="'.$row['id'].'">';
echo $row['route'].' :'.$row['type'].'
:'.$row['time'];
echo '</option>';

59
}
?>
</select>
</span><br>
<span style="margin-right: 11px;">Date:
<input type="text" class="w8em format-d-m-y
highlight-days-67 range-low-today" name="date" id="sd" value="" maxlength="10" readonly="readonly"
style="width: 165px; margin-left: 15px; border: 3px double #CCCCCC; padding:5px 10px;"/>
</span><br>
<span style="margin-right: 11px;">No. of Seats:
<select name="qty" style="width: 191px; margin-left:
15px; border: 3px double #CCCCCC; padding:5px 10px;">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
</select>
</span><br><br>
<input type="submit" id="submit" value="Next"
style="height: 34px; margin-left: 15px; width: 191px; padding: 5px; border: 3px double rgb(204, 204, 204);" />
</form>
</div>
<h2 class="accordion-header" style="height: 18px; margin-bottom:
15px; color: rgb(255, 255, 255); background: none repeat scroll 0px 0px rgb(53, 48, 48);">Admin Login</h2>
<div class="accordion-content" style="margin-bottom: 15px;">
<form action="[Link]" method="post"
style="margin-bottom:none;">
<span style="margin-right: 11px;">Username: <input
type="text" name="username" style="width: 165px; margin-left: 15px; border: 3px double #CCCCCC;
padding:5px 10px;"/></span><br>
<span style="margin-right: 11px;">Password: <input
type="password" name="password" style="width: 165px; margin-left: 15px; border: 3px double #CCCCCC;
padding:5px 10px;"/></span><br><br>
<input type="submit" id="submit" class="medium gray
button" value="Login" style="height: 34px; margin-left: 15px; width: 191px; padding: 5px; border: 3px double
rgb(204, 204, 204);" />
</form>
</div>
</div>
</div>

</div>

</div>
</body>
</html>

LOGIN PAGE

60
<?php
//Start session
session_start();
//Connect to mysql server
require "[Link]";
//Function to sanitize values received from the form. Prevents SQL injection
function clean($str) {
$str = @trim($str);
if(get_magic_quotes_gpc()) {
$str = stripslashes($str);
}
return mysql_real_escape_string($str);
}
//Sanitize the POST values
$login = clean($_POST['username']);
$password = clean($_POST['password']);
//Create query
$qry="SELECT * FROM admin WHERE username='$login' AND password='$password'";
$result=mysql_query($qry);
//while($row = mysql_fetch_array($result))
// {
// $level=$row['position'];
// }
//Check whether the query was successful or not
if($result) {
if(mysql_num_rows($result) > 0) {
//Login Successful
session_regenerate_id();
$member = mysql_fetch_assoc($result);
$_SESSION['SESS_MEMBER_ID'] = $member['id'];
$_SESSION['SESS_FIRST_NAME'] = $member['username'];
session_write_close();
//if ($level="admin"){
header("location: admin/[Link]");
exit();
}else {
//Login failed
header("location: [Link]");
exit();
}
}else {
die("Query failed");
}
?>

SAVE PAGE

61
<?php
include('[Link]');
function createRandomPassword() {
$chars = "abcdefghijkmnopqrstuvwxyz023456789";
srand((double)microtime()*1000000);
$i = 0;
$pass = '' ;
while ($i <= 7) {
$num = rand() % 33;
$tmp = substr($chars, $num, 1);
$pass = $pass . $tmp;
$i++;
}
return $pass;
}
$confirmation = createRandomPassword();
$fname=$_POST['fname'];
$qty=$_POST['qty'];
$lname=$_POST['lname'];
$busnum=$_POST['busnum'];
$setnum=$_POST['setnum'];
$date=$_POST['date'];
$contact=$_POST['contact'];
$address=$_POST['address'];
$result = mysql_query("SELECT * FROM route WHERE id='$busnum'");
while($row = mysql_fetch_array($result))
{
$price=$row['price'];
}
$payable=$qty*$price;
mysql_query("INSERT INTO customer (fname, lname, address, contact, bus, transactionum, payable,
setnumber)
VALUES ('$fname', '$lname', '$address', '$contact', '$busnum', '$confirmation','$payable','$setnum')");
mysql_query("INSERT INTO reserve (date, bus, seat_reserve, transactionnum, seat)
VALUES ('$date', '$busnum', '$qty', '$confirmation','$setnum')");
header("location: [Link]?id=$confirmation&setnum=$setnum");
?>

SEAT LOCATION
<?php
include('[Link]');
$id=$_GET['id'];
$result = mysql_query("SELECT * FROM route WHERE id='$id'");
while($row = mysql_fetch_array($result))
{
$seatnum=$row['numseats'];
}
?>
Bus Layout <br>
<div style="border:1px solid red; padding:10px 5px; border-radius:5px; width: 136px;">
<?php

62
$N = $seatnum+1;
for($i=1; $i < $N; $i++)
{
echo '<input type="button" style="border:none; width:23px; padding:2px; margin:2px;" value="'.$i.'"
/>';
}
?>
</div>

PRINT PAGE
<?php
//Start session
session_start();

//Unset the variables stored in session


unset($_SESSION['SESS_MEMBER_ID']);
?>
<!DOCTYPE ">
<html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>MSTORE</title>
<link rel="stylesheet" type="text/css" href="xres/css/[Link]" />
<link rel="icon" type="image/png" href="xres/images/[Link]" />
<!--[if IE 6]><style type="text/css"> * html img { behavior: url("xres/[Link]")
}</style><![endif]-->
<script type="text/javascript" src="xres/js/[Link]"></script>
<script type="text/javascript" src="xres/js/[Link]"></script>
<script src="js/[Link]" type="text/javascript" charset="utf-8"></script>
<script src="vallenato/[Link]" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="vallenato/[Link]" type="text/css" media="screen" charset="utf-8">
<script type="text/javascript">
$("#slideshow > div:gt(0)").hide();
setInterval(function() {
$('#slideshow > div:first')
.fadeOut(1000)
.next()
.fadeIn(1000)
.end()
.appendTo('#slideshow');
}, 3000);
</script>
<!--sa calendar-->
<script type="text/javascript" src="js/[Link]"></script>
<link href="css/[Link]" rel="stylesheet" type="text/css" />
<link href="css/[Link]" rel="stylesheet" type="text/css" />
<script type="text/javascript">
//<![CDATA[
function makeTwoChars(inp) {
return String(inp).length < 2 ? "0" + inp : inp;
}

63
function initialiseInputs() {
// Clear any old values from the inputs (that might be cached by the
browser after a page reload)
[Link]("sd").value = "";
[Link]("ed").value = "";

// Add the onchange event handler to the start date input


[Link]([Link]("sd"),
"change", setReservationDates);
}

var initAttempts = 0;

function setReservationDates(e) {
// Internet Explorer will not have created the datePickers yet so we
poll the datePickerController Object using a setTimeout
// until they become available (a maximum of ten times in case
something has gone horribly wrong)

try {
var sd = [Link]("sd");
var ed = [Link]("ed");
} catch (err) {
if(initAttempts++ < 10)
setTimeout("setReservationDates()", 50);
return;
}

// Check the value of the input is a date of the correct format


var dt = [Link]([Link],
[Link](0) == "m");

// If the input's value cannot be parsed as a valid date then return


if(dt == 0) return;

// At this stage we have a valid YYYYMMDD date

// Grab the value set within the endDate input and parse it using the
dateFormat method
// N.B: The second parameter to the dateFormat function, if TRUE,
tells the function to favour the m-d-y date format
var edv =
[Link]([Link]("ed").value, [Link](0) ==
"m");

// Set the low range of the second datePicker to be the date parsed
from the first
[Link]( dt );

// If theres a value already present within the end date input and it's
smaller than the start date
// then clear the end date value

64
if(edv < dt) {
[Link]("ed").value = "";
}
}

function removeInputEvents() {
// Remove the onchange event handler set within the function
initialiseInputs
[Link]([Link]("sd"),
"change", setReservationDates);
}

[Link](window, 'load', initialiseInputs);


[Link](window, 'unload', removeInputEvents);

//]]>
</script>

</head>

<body>
<div id="wrapper">
<div id="header">
<h1><a href="[Link]"><img src="xres/images/[Link]" class="logo" alt="" /></a></h1>
<ul id="mainnav">
<li class="current"><a href="[Link]">Home</a></li>
<li><a href="[Link]">Gallery</a></li>
<li><a href="[Link]">Movies Available</a></li>
<li><a href="[Link]">location</a></li>
<li><a href="[Link]">Contact Us</a></li>
</ul>
</div>
<div id="content">
<div id="rotator">
<script language="javascript">
function Clickheretoprint()
{
var disp_setting="toolbar=yes,location=no,directories=yes,menubar=yes,";
disp_setting+="scrollbars=yes,width=400, height=400, left=100, top=25";
var content_vlue = [Link]("print_content").innerHTML;

var docprint=[Link]("","",disp_setting);
[Link]();
[Link]('<html><head><title>Inel Power System</title>');
[Link]('</head><body onLoad="[Link]()" style="width: 400px; font-size:12px;
font-family:arial;">');
[Link](content_vlue);
[Link]('</body></html>');
[Link]();
[Link]();
}

65
</script>
<div style="background:#FFFFFF; color:#000000; height:100%; padding:17px; font-size:18px;
font-family:Verdana, Geneva, sans-serif;">
Print and present this details at the Cinema<br><br>
<h1> <a href="javascript:Clickheretoprint()">Print</a></h1>
<div id="print_content" style="width: 400px;">
<strong>Ticket Reservation Details</strong><br><br>
<?php
include('[Link]');
$id=$_GET['id'];
$setnum=$_GET['setnum'];
$result = mysql_query("SELECT * FROM customer WHERE transactionum='$id'");
while($row = mysql_fetch_array($result))
{
echo 'Transaction Number: '.$row['transactionum'].'<br/><br><hr>';
echo 'Name: '.$row['fname'].' '.$row['lname'].'<br/><br><hr>';
echo 'Address: '.$row['address'].'<br/><br/><hr>';
echo 'Contact: '.$row['contact'].'<br/><br/><hr>';
echo 'Payable: '.$row['payable'].'<br/><br/><hr>';
}
echo'<hr>';
$results = mysql_query("SELECT * FROM reserve WHERE transactionnum='$id'");
while($rows = mysql_fetch_array($results))
{
$ggagaga=$rows['bus'];
echo 'Movie and Theatre Category: ';
$resulta = mysql_query("SELECT * FROM route WHERE id='$ggagaga'");
while($rowa = mysql_fetch_array($resulta))
{
echo
':&nbsp;&nbsp;&nbsp;'.$rowa['route'].'&nbsp;&nbsp;&nbsp;&nbsp;'.$rowa['type'].
'&nbsp;&nbsp;&nbsp;&nbsp;'.$time=$rowa['time'];
}
echo 'Time of Movie: '.$time;
echo '<br>';
echo 'Seat Number: '.$setnum.'<br>';
echo 'Date Of Movie: '.$rows['date'].'<br>';

}
?>
</div>
<h2 style=" text-align:left;"><a href="[Link]">Home</a></h2>
</div>
</div>
</div>

</div>

</div>
</body>
</html>

66
GALLERY PAGE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"[Link]
<html xmlns="[Link]
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="xres/css/[Link]" />
<link rel="icon" type="image/png" href="xres/images/[Link]" />
<link type="text/css" href="css/[Link]" rel="stylesheet" media="all" />
<script type="text/javascript" src="js/[Link]"></script>
<script src="js/[Link]" type="text/javascript"></script>
<script src="js/[Link]" type="text/javascript"></script>
<script src="js/[Link]" type="text/javascript"></script>
<script src="js/[Link]" type="text/javascript"></script>
<link href="css/[Link]" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="wrapper">
<div id="header">
<h1><a href="[Link]"><img src="xres/images/[Link]" class="logo" alt="James Buchanan
Pub and Restaurant" /></a></h1>
<ul id="mainnav">
<li><a href="[Link]">Home</a></li>
<li class="current"><a href="[Link]">Gallery</a></li>

<li><a href="[Link]">Routes</a></li>
<li><a href="[Link]">location</a></li>
<li><a href="[Link]">Contact Us</a></li>
</ul>
</div>
<div id="content">
<div id="gallerycontainer">
<ul class="portfolio-categ filter">
<li>categories:</li>
<li class="all active"><a href="#">All</a></li>
<li class="cat-item-1"><a href="#" title="Category 1">Category
1</a></li>
<li class="cat-item-2"><a href="#" title="Category 2">Category
2</a></li>
<li class="cat-item-3"><a href="#" title="Category 3">Category
3</a></li>
<li class="cat-item-4"><a href="#" title="Category 4">Category
4</a></li>
</ul>
<ul class="portfolio-area" style="width: 860px;">

<li class="portfolio-item2" data-id="id-0" data-type="cat-item-4">


<div>

67
<span class="image-block">
<a class="image-zoom" href="images/big/[Link]"
rel="prettyPhoto[gallery]" title="Wall-E"><img width="225" height="140"
src="images/thumbs/[Link]" alt="Wall-E" title="Wall-E" />
</a>
</span>
<div class="home-portfolio-text">
<h2 class="post-title-portfolio"><a href="#" rel="bookmark"
title="Wall-E">Wall-E</a></h2>
<p class="post-subtitle-portfolio">released: 2008</p>
</div>

</div>
</li>
<li class="portfolio-item2" data-id="id-1" data-type="cat-item-2">
<div>
<span class="image-block">
<a class="image-zoom" href="images/big/[Link]"
rel="prettyPhoto[gallery]" title="Up"><img width="225" height="140" src="images/thumbs/[Link]"
alt="Up" title="Up" />
</a>
</span>
<div class="home-portfolio-text">
<h2 class="post-title-portfolio"><a href="#" rel="bookmark"
title="Up">Up</a></h2>
<p class="post-subtitle-portfolio">released: 2009</p>
</div
</div>
</li>
<li class="portfolio-item2" data-id="id-2" data-type="cat-item-1">

<div>
<span class="image-block">
<a class="image-zoom" href="images/big/[Link]"
rel="prettyPhoto[gallery]" title="Cars 2"><img width="225" height="140"
src="images/thumbs/[Link]" alt="Cars 2" title="Cars 2" />
</a>
</span>
<div class="home-portfolio-text">
<h2 class="post-title-portfolio"><a href="#" rel="bookmark"
title="Cars 2">Cars 2</a></h2>
<p class="post-subtitle-portfolio">released: 2011</p>
</div>

</div>
</li>
<li class="portfolio-item2" data-id="id-3" data-type="cat-item-4">

<div>
<span class="image-block">

68
<a class="image-zoom" href="images/big/[Link]"
rel="prettyPhoto[gallery]" title="Toy Story 3"><img width="225" height="140"
src="images/thumbs/[Link]" alt="Toy Story 3" title="Toy Story 3" />
</a>
</span>
<div class="home-portfolio-text">
<h2 class="post-title-portfolio"><a href="#" rel="bookmark"
title="Toy Story 3">Toy Story 3</a></h2>
<p class="post-subtitle-portfolio">released: 2010</p>
</div>

</div>
</li>
<li class="portfolio-item2" data-id="id-4" data-type="cat-item-3">
<div>
<span class="image-block">
<a class="image-zoom" href="images/big/[Link]"
rel="prettyPhoto[gallery]" title="Finding Nemo"><img width="225" height="140"
src="images/thumbs/[Link]" alt="Finding Nemo" title="Finding Nemo" />
</a>
</span>
<div class="home-portfolio-text">
<h2 class="post-title-portfolio"><a href="#" rel="bookmark"
title="Finding Nemo">Finding Nemo</a></h2>
<p class="post-subtitle-portfolio">released: 2003</p>
</div>

</div>
</li>

<li class="portfolio-item2" data-id="id-5" data-type="cat-item-2">


<div>
<span class="image-block">
<a class="image-zoom" href="images/big/[Link]"
rel="prettyPhoto[gallery]" title="Lorax"><img width="225" height="140"
src="images/thumbs/[Link]" alt="Lorax" title="Lorax" />
</a>
</span>
<div class="home-portfolio-text">
<h2 class="post-title-portfolio"><a href="#" rel="bookmark"
title="Lorax">Lorax</a></h2>
<p class="post-subtitle-portfolio">released: 2012</p>
</div>

</div>
</li>
<li class="portfolio-item2" data-id="id-6" data-type="cat-item-1">
<div>
<span class="image-block">
<a class="image-zoom" href="images/big/[Link]"
rel="prettyPhoto[gallery]" title="Happy Feet 2"><img width="225" height="140"
src="images/thumbs/[Link]" alt="Happy Feet 2" title="Happy Feet 2" />

69
</a>
</span>
<div class="home-portfolio-text">
<h2 class="post-title-portfolio"><a href="#" rel="bookmark"
title="Happy Feet 2">Happy Feet 2</a></h2>
<p class="post-subtitle-portfolio">released: 2011</p>
</div>

</div>
</li>

<li class="portfolio-item2" data-id="id-7" data-type="cat-item-1">


<div>
<span class="image-block">
<a class="image-zoom" href="images/big/[Link]"
rel="prettyPhoto[gallery]" title="Tangled"><img width="225" height="140"
src="images/thumbs/[Link]" alt="Tangled" title="Tangled" />
</a>
</span>
<div class="home-portfolio-text">
<h2 class="post-title-portfolio"><a href="#" rel="bookmark"
title="Tangled">Tangled</a></h2>
<p class="post-subtitle-portfolio">released: 2010</p>
</div>
</div>
</li>
<li class="portfolio-item2" data-id="id-8" data-type="cat-item-1">
<div>
<span class="image-block">
<a class="image-zoom" href="images/big/[Link]"
rel="prettyPhoto[gallery]" title="Kung Fu Panda 2"><img width="225" height="140"
src="images/thumbs/[Link]" alt="Kung Fu Panda 2" title="Kung Fu Panda 2" />
</a>
</span>
<div class="home-portfolio-text">
<h2 class="post-title-portfolio"><a href="#" rel="bookmark"
title="Kung Fu Panda 2">Kung Fu Panda 2</a></h2>
<p class="post-subtitle-portfolio">released: 2011</p>
</div>

</div>
</li>
<li class="portfolio-item2" data-id="id-9" data-type="cat-item-2">
<div>
<span class="image-block">
<a class="image-zoom" href="images/big/[Link]"
rel="prettyPhoto[gallery]" title="Madagascar 3"><img width="225" height="140"
src="images/thumbs/[Link]" alt="Madagascar 3" title="Madagascar 3" />
</a>
</span>
<div class="home-portfolio-text">

70
<h2 class="post-title-portfolio"><a href="#" rel="bookmark"
title="Madagascar 3">Madagascar 3</a></h2>
<p class="post-subtitle-portfolio">released: 2012</p>
</div>

</div>
</li>
<li class="portfolio-item2" data-id="id-10" data-type="cat-item-3">
<div>
<span class="image-block">
<a class="image-zoom" href="images/big/[Link]"
rel="prettyPhoto[gallery]" title="Rango"><img width="225" height="140"
src="images/thumbs/[Link]" alt="Rango" title="Rango" />
</a>
</span>
<div class="home-portfolio-text">
<h2 class="post-title-portfolio"><a href="#" rel="bookmark"
title="Rango">Rango</a></h2>
<p class="post-subtitle-portfolio">released: 2011</p>
</div>

</div>
</li>
<li class="portfolio-item2" data-id="id-11" data-type="cat-item-4">
<div>
<span class="image-block">
<a class="image-zoom" href="images/big/[Link]"
rel="prettyPhoto[gallery]" title="Shrek Forever After"><img width="225" height="140"
src="images/thumbs/[Link]" alt="Shrek Forever After" title="Shrek Forever After" />
</a>
</span>
<div class="home-portfolio-text">
<h2 class="post-title-portfolio"><a href="#" rel="bookmark"
title="Shrek Forever After">Shrek Forever After</a></h2>
<p class="post-subtitle-portfolio">released: 2010</p>
</div>

</div>
</li>
<div class="column-clear"></div>
</ul>
<div class="clearfix"></div>
</div>
</div>

</div>
</body>
</html>

71
SELECT SET PAGE
<link href="src/[Link]" media="screen" rel="stylesheet" type="text/css" />
<script src="lib/[Link]" type="text/javascript"></script>
<script src="src/[Link]" type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox({
loadingImage : 'src/[Link]',
closeImage : 'src/[Link]'
})
})
</script>
<style>
body{
font-family:"Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
}
p, h1, form, button{border:0; margin:0; padding:0;}
.spacer{clear:both; height:1px;}
/* ----------- My Form ----------- */
.myform{
margin:0 auto;
width:400px;
padding:14px;
}

/* ----------- stylized ----------- */


#stylized{
border:solid 2px #b7ddf2;
background:#ebf4fb;
}
#stylized h1 {
font-size:14px;
font-weight:bold;
margin-bottom:8px;
}
#stylized p{
font-size:11px;
color:#666666;
margin-bottom:20px;
border-bottom:solid 1px #b7ddf2;
padding-bottom:10px;
}
#stylized label{
display:block;
font-weight:bold;
text-align:right;
width:140px;
float:left;
}
#stylized .small{

72
color:#666666;
display:block;
font-size:11px;
font-weight:normal;
text-align:right;
width:140px;
}
#stylized input{
float:left;
font-size:12px;
padding:4px 2px;
border:solid 1px #aacfe4;
width:200px;
margin:2px 0 20px 10px;
}
#stylized button{
clear:both;
margin-left:150px;
width:125px;
height:31px;
background:#666666 url(img/[Link]) no-repeat;
text-align:center;
line-height:31px;
color:#FFFFFF;
font-size:11px;
font-weight:bold;
}
</style>
<?php
include('[Link]');
$busnum=$_POST['route'];
$date=$_POST['date'];
$qty=$_POST['qty'];
$result = mysql_query("SELECT * FROM route WHERE id='$busnum'");
while($row = mysql_fetch_array($result))
{
$numofseats=$row['numseats'];
$query = mysql_query("SELECT sum(seat_reserve) FROM reserve where date =
'$date'");
while($rows = mysql_fetch_array($query))
{
$inogbuwin=$rows['sum(seat_reserve)'];
}
$avail=$numofseats-$inogbuwin;
$setnum=$inogbuwin+1;
}
?>
<?php
if ($avail < $qty){
echo 'Qty reserve exced the available seat on the theatre';
}

73
else if($avail > 0)
{
?>
<script type="text/javascript">
function validateForm()
{
var x=[Link]["form"]["fname"].value;
if (x==null || x=="")
{
alert("First Name must be filled out");
return false;
}
var y=[Link]["form"]["lname"].value;
if (y==null || y=="")
{
alert("Last Name must be filled out");
return false;
}
var a=[Link]["form"]["address"].value;
if (a==null || a=="")
{
alert("Address must be filled out");
return false;
}
var b=[Link]["form"]["contact"].value;
if (b==null || b=="")
{
alert("Contact Number must be filled out");
return false;
}

}
</script>
<div id="stylized" class="myform">

<form id="form" name="form" action="[Link]" method="post" onsubmit="return


validateForm()">
<input type="hidden" value="<?php echo $busnum ?>" name="busnum" />
<input type="hidden" value="<?php echo $date ?>" name="date" />
<input type="hidden" value="<?php echo $qty ?>" name="qty" />
<label>Seat Number
<span class="small">Auto Generated <a rel="facebox" href="[Link]?id=<?php echo
$busnum; ?>">view seat</a></span>
</label>
<input type="text" name="setnum" value="
<?php
$N = $qty;
for($i=0; $i < $N; $i++)
{
echo $i+$setnum.', ';
}

74
?>
" id="name" readonly/><br>
<label>First Name
<span class="small">Enter first name</span>
</label>
<input type="text" name="fname" id="name"/><br>
<label>Last Name
<span class="small">Enter last name</span>
</label>
<input type="text" name="lname" id="name"/><br>
<label>Address
<span class="small">Enter Address</span>
</label>
<input type="text" name="address" id="name"/><br>
<label>Contact
<span class="small">Enter Contact Number</span>
</label>
<input type="text" name="contact" id="name"/><br>
<button type="submit">Confirm</button>
</form>
</div>
<?php
}
else if($avail <= 0)
{
echo 'no available sets';
}
?>

75

Common questions

Powered by AI

Middleware in traditional multimedia systems, such as DirectShow and QuickTime, provides the necessary platform for applications to access multimedia data like video and audio from connected devices. However, it has limitations in network support, meaning it mainly supports devices directly connected to the PC on which the application runs. In contrast, modern mobile applications are not bound by these hardware limitations; they utilize web technologies to access media across networks, offering more flexibility and functionality. This progression allows for greater scalability and accessibility in multimedia applications on mobile platforms compared to traditional systems .

Automated systems like mobile booking applications significantly reduce staff workload at cinemas by handling routine tasks such as ticket sales, cancellations, and seat reservations. This automation minimizes the need for manual intervention, allowing staff to focus on more critical customer service tasks and operational maintenance. As a result, cinemas can operate more efficiently, reduce human error, and improve customer satisfaction by providing faster, streamlined services .

Mobile applications enhance customer convenience by allowing users to book services such as movie tickets anytime and anywhere without the need for physical presence or queuing at a box office. This flexibility saves time and effort. Additionally, mobile apps are designed with user-friendly interfaces, making them accessible to a wider audience. They also offer features such as interactive user interfaces, secure payment options, and instant updates about movie availability and ticket confirmations. These advantages significantly outweigh the time-consuming and effort-intensive nature of traditional booking methods .

The mobile cinema booking system facilitates market research by providing a robust platform for collecting and analyzing user data. It maintains a reliable database of booking records, user preferences, and transaction histories, which can be mined for insights into consumer behavior and preferences. This data can be used to tailor marketing strategies, plan movie releases, and optimize schedules to meet audience demand. Additionally, analysis of peak booking times and popular movie genres can help in better resource allocation and promotional efforts, effectively using market research to enhance the cinema's competitiveness .

Mobile apps offer several advantages over desktop and web applications for cinema bookings, primarily due to their portability and integration with mobile-specific features such as GPS and push notifications. They provide greater convenience by enabling users to make reservations on the go, regardless of their location. Mobile apps also offer offline capabilities, allowing users to view movie information without an internet connection, unlike web applications that require continuous connectivity. Furthermore, mobile apps can integrate with device hardware for enhanced user experience, such as using fingerprint authentication for secure, quick access .

The mobile cinema booking system incorporates several security measures to prevent fraud and protect data, such as secure user authentication to ensure that only registered users can access the system. The system also uses encrypted transactions for ticket purchases to safeguard credit card and personal information. It can verify ticket validity at the cinema hall to prevent unauthorized entry with counterfeit tickets. Additionally, detailed logging of transaction details helps monitor irregularities and provide audit trails, thereby enhancing the system's overall trustworthiness .

The primary issues with traditional cinema booking systems include late seat reservations, network service fluctuations, and difficulties for computer illiterate customers, alongside the problem of fraudulent customers sneaking in with fake seat number printouts. The proposed mobile booking system aims to address these challenges by providing a convenient and reliable platform for customers to reserve seats and pay for tickets through an interactive mobile application. This system is designed to offer a simple and user-friendly interface, which includes a reliable database of movies and supports secure transactions, thus preventing fraud and catering to a wider range of customers .

The database design is crucial for the effectiveness of the cinema booking system as it organizes and stores all necessary data such as movies information, user credentials, booking records, and categories efficiently. This structured storage allows for quick retrieval and management of information, enabling the system to function smoothly and reliably. A well-designed database supports analytical functions, such as generating statistical information from booking records for research purposes and ensuring data integrity and security, contributing to the overall robustness and scalability of the cinema booking system .

Implementation challenges from financial constraints include limited resources for acquiring high-quality development tools and conducting comprehensive testing, which could affect the system's quality and reliability. Time constraints may lead to inadequate testing periods and rushed functionalities, potentially resulting in subpar user experiences. To address these, prioritization of critical system features that offer maximum user impact is essential. Furthermore, phased deployment with iterative testing can help manage these constraints effectively, ensuring thorough testing and resource allocation, gradually enhancing the system's features and reliability .

The design of the user interface (UI) is closely tied to customer satisfaction in a mobile ticket booking system. A well-designed UI provides an intuitive and efficient navigation experience, which is crucial for ease of use and a positive user experience. Clear layout and functionality help users find and book tickets with minimal effort, reducing friction and enhancing satisfaction. Moreover, responsive design elements ensure compatibility across devices, contributing to accessible and pleasing interactions, thus fostering a stronger user satisfaction .

You might also like