.Final Project Report Vipul
.Final Project Report Vipul
.Final Project Report Vipul
MGIET,BADHOO
MAJOR PROJECT
ON
Submitted for the partial fulfilment for the requirement of the award of the degree B.Tech in C.S.E. Affiliated to HPU Submitted To:By:ER.KANIKA BEDI VERMA [10142] H.O.D SARSWAT[10145] (C.S.E.&I.T.) MAHAJAN [10148] S JAGGI [10187]
Submitted
ANURAG BHAVNA VIPUL VIKA
MAJOR PROJECT
MGIET,BADHOO
DECLARATION
This is to declare that this project entitled as RainBow Entertainment System based on PHP is presented as major project to computer science and engineering department,M.G.I.E.T by a group of four students named as follows:Anurag Verma :- 10142
Bhavna Sarswat :- 10145 Vipul Mahajan :-10148 Vikas Jaggi :-10187 They all are the students of CSE Department 8 th semester of M.G.I.E.T.Badhoo, It is a record of students own study carried under my guidance and supervision. This report has not been submitted to any other university or institution for the award of any degree.
Name
of
Project
Guide
:-
MAJOR PROJECT
(Lect. C.S.E ) Sarswat[10145]
MGIET,BADHOO
Bhavna
ACKNOWLEDGEMENT
Project Report on RAINBOW ENTERTAINMENT SYSTEM have not been accomplished without the help from numerous sources and people in the organization. We like to take this opportunity to show our gratitude towards all the lecturers who helped us in bringing the project to its present form. They all have been a motivator and source of inspiration for us to carry out the necessary proceeding for the project to be completed successfully. We are also highly oblige to our parents for their constant help and encouragement. They help us lot during project developing period and for successfully completing our project report.
MAJOR PROJECT
MGIET,BADHOO
So at last this section will not be completed if we overlook to mention our obligation to all our well wishing friends. Above all we wish to thank the almighty God. ANURAG VERMA [10142]
PREFACE
Information Technology has become a sort of success full career in todays competitive environment. Computer basically stress on doing the things practically. It is essential that practical field experience be gathered which puts to test the classroom learning because in computer we come across problems, which can be solved using standard solutions. During this course while developing the project of RAINBOW ENTERTAINMENT SYSTEM we are exposed to Multifaceted features of PHP . This
MAJOR PROJECT
MGIET,BADHOO
project work provided us simple opportunity of handling things practically, in depth knowledge of php and other various tools used in development of this project.
CERTIFICATE
This to certify that project work entitled RAINBOW ENTERTAINMENT SYSTEM submitted by ANURAG VERMA(10142), BHAVNA
MAJOR PROJECT
M.G.I.E.T BADHOO
MGIET,BADHOO
SARSWAT(10145), VIPUL MAHAJAN(10148), VIKAS JAGGI(10187) student of as a part of the course curriculum for the B.Tech in of ER. COMPUTER SCIENCE ENGINEERING UNDER HPU SHIMLA is a record of students own study carried under the supervision and guidance university for the award of any degree. KANIKA BEDI. This report has not being submitted to any other institute or
SIGNATURE AND NAME OF H.O.D. :ER. KANIKA BEDI (CSE & IT)
INDEX
S.N O 1 2 3 INTRODUCTION SUMMARY OF THE PROJECT SYSTEM REQUOREMENT SPECIFICATION TOPICS PAGE NO. 8-12 13-15 16-42
MAJOR PROJECT
3.a)NEED SYSTEM 3.b)SYSTEM ANALYSIS 3.c)PROJECT PLANS 3.d)FEASIBLITY ANALYSIS 4 SYSTEM DESIGN 4.a)DATA FLOW DIAGRAM 4.b)FLOW CHARTS 5 6 7 8 9 10 11 TESTING SCREEN SHOTS CODING SCOPE OF PROJECT EVALUATION OF PROJECT CONCLUSION BIBILIOGRAPHY AND OBJECTIVE OF
MGIET,BADHOO
THE PURPOSED
43-55
MAJOR PROJECT
MGIET,BADHOO
MAJOR PROJECT
MGIET,BADHOO
Project Title
9
MAJOR PROJECT
MGIET,BADHOO
RAINBOWENTERTAINMENT SYSTEM
(ONLINE PROCESS)
THEATER
10
MAJOR PROJECT
MGIET,BADHOO
INTRODUCTION TO PROJECT
In the existing system a lot of paper work involves. The system is based on traditional file system, which is a time consuming process. No proper records available, which lead to difficulty in manual report generation. Manual work is always prone to errors and errors in such system can have pretty bad consequences. The name suggest for this project is Rainbow entertainment System. It provides solutions for all the basic procedures in Theaters. There are two panels of this project one is for administrator and other is for users. Major function in administrator panel involves maintaining records of different theaters, different halls, movies, shows and other related information. Other important function is for the users, they can search shows by theaters and movie names according to time and date and information about upcoming and currently playing shows and can also book tickets for movies In this project all the process of theater is made online. So it becomes easy to maintain the records of any theater having no. of halls, which movie is playing in which hall of which theater. It consists the list of movies playing in these halls with date, start and end time and all details about that movie. The function of this project start that contains all information about the theater, halls in those theaters and about movies. About in it included all information such as currently running movies in any theater, upcoming shows, etc. This project uses various details.
NEED OF COMPUTERIZATION:
11
MAJOR PROJECT
1. Higher Reliability 2. Fast access of information 3. Better user service 4. Improved staff efficiency of handling data 5. Provide Security aspects 6. Increase capacity of handling data 7. Increase the throughput
MGIET,BADHOO
Existing System:
1. Manual system leads to discrepancies and errors 2. Modifications are time consuming or not feasible 3. Unable to get accurate and timely information 4. Maintaining cumbersome. record of ever growing applicants was
12
MAJOR PROJECT
MGIET,BADHOO
13
MAJOR PROJECT
MGIET,BADHOO
14
MAJOR PROJECT
MGIET,BADHOO
SUMMARY OF PROJECT
SYSTEM it is basically based on the online theater processing. This project two panels one for administrator and other for user. Only Major function in administrator panel involves maintaining administrator is able to make changes in the database of the theater information . records of different theaters, different halls, movies, shows and other related information. Other important function is for the users, they can search shows by theaters and movie names according to time and date and information about upcoming and currently playing shows and can also book tickets for movies. It makes user easy to check the information about the now playing and upcoming shows by providing the direct links on the address bar. One of the major advantage of this project is that it does not involves any paper work, which reduces the human efforts to maintain the data and also saves money and time. In case of paper work, it is hard to search the related information and it also takes more time and money. In the existing system a lot of paper work involves. The system is based on traditional file system, which is a time consuming process. No proper records available, which lead to difficulty in manual report generation. In this project all the process of theater is made online. So it becomes easy to maintain the records of any theater having no. of
15
MAJOR PROJECT
time and also reduces the human efforts.
MGIET,BADHOO
halls, which movie is playing in which hall of which theater. It saves money,
The function of this project start that contains all information about the theater, halls in those theaters and about movies. About in it included all information such as currently running movies in any theater, upcoming shows, etc. The project is divided into two panels, one is administrator panel and the 2nd one is user panel. Administrator can make any change to the database of the system related to the information of movies, halls, timing of the movies etc. User can only book the shows and search the currently playing movies and the upcoming shows. But only the registered user can book the shows and search the related information. For this, user need to be registered first. Only then he can login through the user panel. A person can book any number of tickets and the cost is shown according to the number of tickets. The cost of tickets is multiplied automatically and the total cost is shown to the user. To sum up we can say that the system have the number of advantages over the existing system. It is quite easy to maintain the information and to search the related information to the various theaters ,movies and shows which is not possible in the existing system. Hence there is less wastage of time, money and also it is more reliable as compared to the existing system.
16
MAJOR PROJECT
MGIET,BADHOO
17
MAJOR PROJECT
MGIET,BADHOO
18
MAJOR PROJECT
MGIET,BADHOO
HARDWARE SPECIFICATION :
It's a web based project, so a robust hardware configuration is required. The Hardware requirements are:
a b c d e
Intel Core 2 Duo 120 MB 10GB Keyboard, mouse and TFT HP Laser Jet 1015
19
MAJOR PROJECT
MGIET,BADHOO
SOFTWARE SPECIFICATION
Following System Softwares are required for developing Web based application: 1 2 3 4 5 Operating System Front-end Tool Technology Backend Tool Browser Windows XP Hypertext Preprocessor HTML SQL phpmyadmin Mozilla Firefox
DATA SOURCE
Primary data would be collected from the different theaters. Secondary data would be obtained from internet, websites , and from interviews.
TECHNOLOGY USED
The technology used is PHP,HTML, MS SQL phpmyadmin is used as back-end. The Operating System used is Windows 7 Ultimate.
Project objective:
20
MAJOR PROJECT
MGIET,BADHOO
RAINBOW ENTERTAINMENT SYSTEM is a live project. In the project first we have to study about the process of Theaters. On the basis of analysis the following objective are framed in order to achieve the required goals. 1. To provide full security by introducing adequate controls and checks 2. By eliminating duplicate entries minimize data redundancy. 3. To create a flexible system so that future change can be easily incorporated. 4. To make information easily accessible, save time efforts.
Output Data
The output will be generated in the form of online Application forms.
21
MAJOR PROJECT
MGIET,BADHOO
Overview of MS SQL
The name SQL is derived from structured query language. SOL is a well defined language developed for relational database users to interact with database in simple and efficient manner. SQL is a comprehensive database language: it has statements for data definition, query and update. Hence, it is both DDL and DML. In addition it has facility for defining views on the database, for specifying security, and authorization, for defining integrity constraints and for specifying transaction controls. It also has rules for embedding SQL statements into a general purpose language such as Java and C/C++.
22
MAJOR PROJECT
MGIET,BADHOO
Data in SQL is organized in the form of tables. Within a table records are arranged according to a reference value known as the primary key or the key field. The value in the key field is unique for every record and thus helps in uniquely identifying records. The combination of two or more fields can also be used as a primary key such a combination is known as a composite key. SQL also maintains index files for tables. In the table indices control the way data is accessed. However, it does not duplicate the data itself. Nor does it change the sequence in which data is stored in the table. Following are main features of MYSQL:
23
MAJOR PROJECT
MGIET,BADHOO
Open source means that it is possible for any
one to use and modify the software. Anybody can download the MySQL software from the Internet and use it without paying anything.
4. The MySQL Database Server is very fast, reliable, and easy to use.
MySQL server was originally developed to handle large databases much faster than existing solutions and has been successfully used in highly demanding production environments for several years. Although under constant development, MySQL Server today offers a rich and useful set of functions. Its connectivity, speed and security make MySQL Server highly suited for accessing databases on the Internet.
24
MAJOR PROJECT
INTERFACE
MGIET,BADHOO
There are several graphical interfaces available, the most popular being phpMyAdmin, which is free and the default method many hosting companies provide for accessing MySQL.
ADVANTAGES OF MY SQL
The following reasons should convince you:
Cost:
The MySQL Community Edition is free under the open Source GPL License
Powerful:
The same basic database system as the Community Edition is used by leading organizations such as NASA, Yahoo!, and Alcatel. Its feature-rich and fast.
Widespread availability:
MySQL is the most popular open source database. Most hosting companies automatically offer MySQL in combination with PHP.
Cross-platform compatibility:
MySQL runs on Windows, MacOS X, and Linux. A database created on one system requires no conversion when transferred to another.
Open source:
Although there is a commercial version, the code and features in the Community Edition are identical. New features are being added constantly.
Security:
25
MAJOR PROJECT
MGIET,BADHOO
MAJOR PROJECT
MGIET,BADHOO
The following sections describe the main components and features of the PHP Framework in greater detail. Finally, the runtime can be hosted by high-performance, server-side applications, such as MY SQL and APACHE server. This infrastructure enables you to use managed code to write your business logic, while still enjoying the superior performance of the industry's best enterprise servers that support runtime hosting.
OVERVIEW OF PHP:
27
MAJOR PROJECT
MGIET,BADHOO
PHP is the Web development language written by and for Web developers.PHP stands for PHP: Hypertext Preprocessor. The product was originally named Personal Home Page Tools. PHP is currently in its fifth major rewrite, called PHP5 or just plain PHP. PHP is a server-side scripting language, which can be embedded in HTML or used as a standalone binary. Proprietary products in this niche are Microsofts Active Server Pages, Macromedias ColdFusion, and Suns Java Server Pages. Some tech journalists used to call PHP the open source ASP because its functionality is similar to that of the Microsoft productalthough this formulation was misleading, as PHP was developed before ASP. Over the past few years, however, PHP and server-side Java have gained momentum, while ASP has lost mindshare, so this comparison no longer seems appropriate. You can think of it as a collection of super-HTML tags or small programs that run inside your Web pagesexcept on the server side, before they get sent to the browser. For example, you can use PHP to add common headers and footers to all the pages on a site or to store form-submitted data in a database. Strictly speaking, PHP has little to do with layout, events, on the fly DOM manipulation, or really anything about what a Web page looks and sounds like. In fact, most of what PHP does is invisible to the end user. Someone looking at a PHP page will not necessarily be able to tell that it was not written purely in HTML, because usually the result of PHP is HTML. PHP is an official module of Apache HTTP Server, the marketleading free Web server that runs about 67 percent of the World Wide Web (according to the widely quoted Netcraft Web server survey). This means that the PHP scripting engine can be built into the Web server itself, leading to faster processing, more efficient memory allocation, and greatly simplified maintenance. Like Apache Server, PHP is fully cross-platform, meaning it
28
MAJOR PROJECT
Mac OS X. All
MGIET,BADHOO
projects under the aegis of the Apache Software Foundationincluding PHP are open source software. PHP is a computer scripting language, originally designed for producing dynamic web pages. It is mainly used in server-side scripting, but can be used from a command line interface or in standalone applications. While PHP was originally created by Rasmus Lerdorf in 1995, the main implementation of PHP is now produced by The PHP Group and serves as the de facto standard for PHP as there is no formal specification. Released under the PHP License, the Free Software Foundation considers it to be free software. PHP is a widely-used general-purpose scripting language that is especially suited for web development and can be embedded into HTML. It generally runs on a web server, taking PHP code as its input and creating web pages as output. It can be deployed on most web servers and on almost every operating system and platform free of charge. PHP is installed on more than 20 million websites and 1 million servers, although the number of websites with PHP installed has declined since August 2005. It is also the most popular Apache module among computers using Apache as a web server. The most recent major release of PHP was version 5.2.5 on November 8, 2007. PHP, originally standing for Personal Home Page, began as a set of Common Gateway Interface binaries written in the C programming language in 1994 by the Danish/Greenlandic programmer Rasmus Lerdorf. Lerdorf initially created these Personal Home Page Tools to replace a small set of Perl scripts he had been using to maintain his personal homepage. The 29 graphical
MAJOR PROJECT
MGIET,BADHOO
tools were originally created to perform tasks such as displaying his rsum and recording how much traffic his page was receiving. He combined these binaries with his Form Interpreter to create PHP/FI, which had more functionality. It included a larger C implementation which could communicate with databases and helped build simple, dynamic web applications. He released PHP publicly on June 8, 1995 to speed up the finding of bugs and improving the code. This release was named PHP version 2, and already had basic functionality that PHP has today. This includes Perllike variables, form
handling, and the ability to embed HTML. The syntax was similar to Perl but was more limited, simpler, and less consistent..dll file. When a user requests the Web page URL, the .dll files run on the server and dynamically produce the HTML output for your page.
Client-side
30
MAJOR PROJECT
MGIET,BADHOO
The de facto standard client-side scripting language for web sites is JavaScript. Utilizing JavaScript on the Document Object Model (DOM) leads to the method of Dynamic HTML that allows dynamic creation and modification of a web page within the browser. While client-side languages used in conjunction with forms are limited, they often can serve to do pre-validation of the form data and/or to prepare the form data to send to a server-side program.
Server-side
Server-side programs can do a vast assortment of tasks to create dynamic web sites from authenticating a login through, for example , Lightweight Directory Access Protocol to retrieving and storing data in a database to spell checking to sending e-mail quite unlike client-side programs. Most server-side program requests must pass through the web server's Common Gateway Interface to execute the program to actually perform the tasks.
The advantage of server-side over client-side is the concentration of functionality onto one computer (the server) instead of relying on each web browser implementing all of the various functions the same. This very problem is quite evident to any developer who writes JavaScript multiple browsers. Scripting languages programs used for web sites. Some of the scripting languages commonly used: 1. PHP 2. Perl 3. ASP 4. Adobe ColdFusion 5. JSP code for are the most common server-side
31
MAJOR PROJECT
MGIET,BADHOO
The code-behind class files for all Web Forms pages in a project are compiled into the project dynamic-link library (.dll) file. The.PHP page file is also compiled, but somewhat differently. The first time a user browses to the PHP page, PHP automatically generates a PHP class file that represents the page, and compiles it to a second .dll file. The generated class for the aspx page inherits from the code-behind class that was compiled into the project .dll file. When a user requests the Web page URL, the .dll files run on the server and dynamically produce the HTML output for your page.
MAJOR PROJECT
MGIET,BADHOO
However, the PHP page framework performs many Web application services for you. For example, the PHP page framework captures information posted with the Web Forms page, extracts the relevant values, and makes the information accessible via object properties. It is important to understand the sequence of events that occurs when a Web Forms page is processed. This knowledge will help you program your Web Forms pages and Web applications more effectively.
ADVANTAGES OF PHP
PHP is one of the most popular server side scripting languages running today. It is used for creating dynamic web pages that interact with the user offering customized information. PHP offers many advantages; it is fast, stable, secure, easy to use and open source (free). Rasmus Lerdorf wrote the first PHP (first called Personal Home Page) scripts as a series of Perl scripts that he used to track visitors to his webpage and to see who was viewing his resume. He eventually rewrote PHP as a scripting engine and added support for forms. PHP has been evolving since 1994 as an open source code. A community of followers and developers formed and began using and further developing PHP. Over the years the Personal Home Page acronym was dropped and it evolved into the PHP Hypertext Preprocessor. PHP code is inserted directly into the HTML that makes up a website. When a visitor comes to the website, the code is executed. Because PHP is a server side technology, the user does not need any special browser or plug-ins to see the PHP in action. The beauty of PHP lies in its simplicity. It is easy to understand and learn, especially for those with backgrounds in programming such as C, javascript and HTML. The language is similar to C and Perl so that anyone with a background in either C or Perl programming will feel comfortable using and understanding PHP. PHP also runs on just about every
33
MAJOR PROJECT
MGIET,BADHOO
platform including most UNIX, Macs and Windows versions. PHP doesnt use a lot of the system resources so it runs fast and doesnt tend to slow other processes down. It is typically used as an Apache module, written in C, so it loads and executes quickly. It works well with other software and can be quite fast. PHP is also fairly stable and since it is open source, the PHP community works together to fix any bugs. The community offers technical support and continuously updates the code further expanding PHPs capabilities. PHP offers many levels of security to prevent malicious attacks. These security levels can be adjusted in the .ini file. Another key advantage of PHP is its connective abilities. PHP uses a modular system of extensions to interface with a variety of libraries such as graphics, XML, encryption, etc. In addition, programmers can extend PHP by writing their own extensions and compiling them into the executable or they can create their own executable and load it using PHPs dynamic loading mechanism. In addition to extensions, PHP has tons of server interfaces, database interfaces and other modules available. Of the server interfaces, PHP can load into Apache, IIS, Roxen, THTTPD and AOLserver. It can also be run as a CGI module. Database interfaces are available for MySQL, MS SQL, Informix, Oracle and plenty of others. If a database is not supported, ODBC is an option. The main PHP source repository is loaded with modules and interfaces that users have written and contributed. There you can find modules for flash movies, PDF files, calendars and more. A huge advantage that PHP offers is its community. Since PHP is an open source project, the PHP community is willing to share. If youre looking for a particular script,
34
MAJOR PROJECT
MGIET,BADHOO
chances are another user has already created something similar. Check within the PHP community for availability. Likewise, if you have created a function that others might enjoy, be sure to post the code for others. If youre ready to add dynamic content to your webpages, consider the use of PHP. Its free, easy to learn and integrates well across many platforms and with various software programs.
35
MAJOR PROJECT
MGIET,BADHOO
SYSTEM
PLAN:-
Winston Churchills remark points out that planning future endeavors, though difficult, is important in managing operations. In the same way the system planning is very important for the every phase of SDLC (System Development Life Cycle). It is the first step in developing and managing systems. Planning may be the most important management activity. Without a proper plan, no real monitoring or controlling of the project is possible. The basic goal of planning is to look future, identify the activities that need to be done to complete the project successfully, and plan the scheduling and resource allocation for these activities. Ideally all future activities should be planned. A good plan is flexible enough to handle the unforeseen events that inevitably occur in a large project. Economic, political, and personnel factors should be taken into account for a realistic plan and thus for a successful project. Software planning begins before technical work starts, continues as the software evolves from concept to reality, and culminates only when the software is retired. The project planning must incorporate the major issues like size and cost estimation, scheduling, project monitoring and reviews, personnel selection and evaluation, and risk management.
36
MAJOR PROJECT
Scope of work to be done The risk to be incurred The resources required The task to be accomplished The cost to be expended
MGIET,BADHOO
The various steps of planning activities can be illustrated by the following diagram. Size estimation
Cost estimation
Development time
Resources requirements
Project scheduling
Fig 11.1 First activity is to estimate the size of project. The size is the key parameter for the estimation of cost, development time and schedule for the project. If the size estimation is not reasonable, it may have serious impact on the other estimation activities. Resources requirements are estimated on the basis of cost and development time. Project scheduling may prove to be very useful for controlling and monitoring the progress of the project. This is dependent on the resources and development time.
37
MAJOR PROJECT
MGIET,BADHOO
PERT CHART
For large projects, the dependencies among activities are important to determine which critical activities are, whose completion should not be delayed, and which activities are not critical.PERT chart depicts the dependencies
among development
the and
various the
activities
performed schedule of
during each
software activity.To
estimated
represents the dependencies, PERT charts are often used. A PERT chart is a graph based chart used to determine the activities that form the critical path, which if delayed will cause the overall project to delay.
38
MAJOR PROJECT
Project Initiation 1 Problem Identificatio n
MGIET,BADHOO
Study of Conceptual Process
GUI Designin g
Fig 11.2
39
MAJOR PROJECT
MGIET,BADHOO
SYSTEM ANAYSIS
System analysis is a detailed study of the various operations performed by a system and the relationships within and outside of the system. In system analysis we must know, what must be done to solve the problems? One aspect of analysis is defining the boundaries of the system and determining whether or not a candidate system should consider other related systems. Requirements analysis is a software engineering task that bridges the gap between system level requirements engineering and software design. Requirements analysis activities result in the specification of software operational characteristics (function, data and behavior) indicate softwares interface with other system elements and establish constraints that software must meet. Software requirements analysis may be divided into five areas of efforts: 1. Problem recognition 2. Evaluation and synthesis 3. Modeling 4. Specification 5. Review Current problems and desired information (input ant output) are evaluated and then analyst begins to synthesize one or more solutions. To begin, the data objects, processing functions, and behavior of the system are defined in detail. Once this information has been established, basic 40
MAJOR PROJECT
MGIET,BADHOO
architectures for implementation are considered. The process of evaluation and synthesis continues until both analyst and customer feel confident that software can be adequately specified for subsequent development step.
1. The information domain of the problem must be represented and understood 2. The functions that the software is to perform must be defined 3. The behavior of the software (as a consequence of external events) must be represented 4. The model that depicts information, function, and behavior must be partitioned in a manner that uncovers detail in a layered (or hierarchal) fashion. 5. The analysis process should move from essential information toward implementation detail.
41
MAJOR PROJECT
MGIET,BADHOO
PROJECT PLAN:-
Team structure:The team as major structure for any project depends on the nature of the project. suited for the current project hierarchy can be be assigned to as described subsystem in the team. product The
structure can
project
Team
Team
Programmer
Programmer
Programmer
Programmer
42
MAJOR PROJECT
MGIET,BADHOO
FEASIBILITY ANALYSIS:(Evaluation of existing system and procedures analysis of alternative candidate systems cost estimation) The feasibility study is a formal proposal for a new system. Before the project is to begin, the project is studied to determine what exactly the user wants depending upon the result of initial investigation. The survey is expanded to more detailed study.
Depending on the result of the initial investigation, the survey is expanded to more detailed feasibility study. A feasibility study is a test of system proposal according to its work ability impact on the organization, ability to meet the users need and effective user or resources. It focuses on three major questions:1) What are the users demonstrable candidate system meet them? 2) What resources are available for a given candidate system and is the problem worth solving? 3) What is the likely impact of the candidate system on the organization? How well does it fit within the organization master MIS plan? needs and how does the
43
MAJOR PROJECT
MGIET,BADHOO
The result of the feasibility study is a formal proposal. This is simply a report a formal document detailed detailing the nature and scope of proposed solution. The proposal summarizes what is known and what is going to be done. One of the most effective ways is to conduct a determine whether the full scale project is feasibility study to This study
workable.
culminates in a feasibility report, which enables project team, customer, or upper management make a go/no go decision about rest of the project.
Feasibility studies are a time tested practice, but they are not use very much. One reason might be the term feasibility study itself. The term sometimes relates to technical feasibility and question of technical feasiblity rarely enters in the minds of software developers. If we know that project is technically feasible, why should we conduct a feasibility study? For few projects, technical feasibility may be very important and significant. The purpose of the feasibility studies is the decision to implement any new project or program must be based on a through analysis of the proposed project/program. A feasibility study is defined as an evaluation or analysis of the potential impact of a proposed project or program. It is conducted to
assist decision makers in determining whether or not to implement a project/program. It is based on extensive research on both the current practices and the proposed project or program and related to financial and operational impact and its impact on the data analysis include 44 should system as a whole. It should also contain extensive
MAJOR PROJECT
proposed project.
MGIET,BADHOO
advantages and disadvantages of both the current situation and the For good results feasibilty study should focus on following points: Is the product concept viable? Will it be possible to develop a product that matches the projects vision statement? What are the current estimated cost and schedule targets and current estimates? How big is the gap between the original cost and schedule targets and current estimates? Is the business model for software justified when the current cost and schedule estimates are considered?
Technical
the existing system and to what extent can it support the system. The proposed system system with a windows platform. requires a minimum of
two computer
45
MAJOR PROJECT
Benifits:1. Improve performance. 2. Minimize cost of processing
MGIET,BADHOO
Economical feasibility:Economic feasibility determines the benifits and savings that are expected from the system and compares them with the costs.
Benifits:
1. Software costs itself 2. Maintenance cost incurred in future.
Behaviour feasibility:It estimates the reactions of users staff towards the development of the computerized system. The behavioral feasibility analysis yielded positive result.
MAJOR PROJECT
Operational feasibility:-
MGIET,BADHOO
In operational feasibility we study that whether the proposed system we work in right manner when implimented. The proposed system seems to function operationally feasible. well operationally. Hence the system is
47
MAJOR PROJECT
MGIET,BADHOO
SYSTEM DESIGN
INTRODUCTION TO SYSTEM DESIGN:System design is more creative process than system analysis because it deals with the development of the actual mechanics for a new workable system. System design is the highly significant phase in the software development where the designer plans how a system should be
48
MAJOR PROJECT
MGIET,BADHOO
produced in order to make it functional, reliable and reasonably easy to understand, modify and maintain. Designing software systems means determining how requirements are realized and result is a software design document. A well-designed system is easy to implement, understandable and reliable and allows for smooth evolution. Without design, we risk building an unstable system. There are three characteristics that serve as a guide for the evolution of a good design: 1. The design must implement all of the explicit requirements contained in the analysis model and must accommodate all of implicit requirements desired by the customer. 2. The design must be readable, understandable guide for those who generate code and for those who test and subsequently support the software. 3. The design should provide a complete picture of the software, addressing the data, functional and behavioral domain from an implementation perspective.
STRATEGY OF DESIGN
A good system design is to organize the program modules in such a way that are easy to develop and later to, change. Structured design techniques help developers to deal with the size and complexity of programs. Analysts create instruction about how code should be written and fit tighter to form a program. There are many strategies or techniques for performing system design. They include:
49
MAJOR PROJECT
1. Bottom Up Design 2. Top Down Design 3. Hybrid Design
MGIET,BADHOO
Bottom-Up Design:
A common approach is to identify modules that are required by many programs. These modules are collected together in the form of a library. These modules may be for match functions, for input-output functions, for graphical functions etc. This approach leads to a style of design where we combine modules to provide larger ones, to combine those to provide even larger ones, till we arrive at one big module which is the whole of the desired program. Since the design progressed from bottom layer upwards, the method is called bottom-up design. Its limitation is that we need to use a lot of intuition to decide exactly what functionality a module should provide.
specification is viewed as describing a black box for the program. A top-down major modules system, decomposing them into their lower level modules and iterating until the desired level of detail is achieved. This is stepwise refinement; starting from an abstract design, in each step the design is refined to a more concrete level, until we reach a level where no more refinement is needed and the
50
MAJOR PROJECT
MGIET,BADHOO
after
its design, nothing can be tested until all its subordinate modules are coded.
Hybrid Design:
Pure top-down or pure bottom-up approaches are often not practical. For a bottom-up approach to be successful, we must have a good notion of the top to which the design should be heading. Without the current layer should support. For top-down a good idea about the operations needed at the higher layers, it is difficult to determine what operations reason: 1. To permit common sub modules 2. Near the bottom of the hierarchy, where the intuition is simpler, and the need for bottom-up testing is greater, because there are more numbers of modules at low levels than at high levels. 3. In the use pre-written library modules, in particular, reuse of modules. approach to be effective, some bottom-up is essential for the following
51
MAJOR PROJECT
the system as the transformation is taking place.
MGIET,BADHOO
The data model consists of three interrelated pieces of information: the data object, the attributes that describe the date object, and the relationships that connect data objects to one another.
Objects:
An object is anything that anything that exists in the real world, such as a person, place, or a thing. It can be any noun or noun phrase, either physical or conceptual. An object has a unique identity and refers to a single object rather than to a group pf objects. For example, person is not an object because it does not refer to a specific object; rather, it is a general classification of objects.
Attributes:
Attributes are data items that describe an entity. An attribute instance is a single value of an attribute for an instance of an entity. For example, Name and hire date are attributes of the entity EMPLOYEE. Ramesh and 3 March 1989 are instances of the attributes name and hire date. In some instances, an entity will have more than one attributes that can serve as a primary key. Any key or minimum set of keys that could be a primary key is called a candidate key. Once candidate keys are identified, choose one, and only one, primary key for each entity. Choose the identifier most commonly used by the user as long as it conforms to the properties listed above. Candidate keys, which are not chosen as the primary key, are 52
MAJOR PROJECT
they belong.
MGIET,BADHOO
Relationships:
There are three types of relationships between entities: 1. one-to-one: one instance of an entity (A) is associated with one other instance of another entity (B). For example, in a database of employees, each employee name (A) is associated with only one social security number (B).
2. one-to-many: one instance of an entity (A) is associated with USER, one or many instances of another entity (B), but for one instance of entity B there is only one instance of entity A. For example, for a company with all employees working in one building, the building name (A) is associated with many different employees (B), but those employees all share the same singular associated with entity A.
3. many-to-many: one instance of an entity (A) is associated with one, USER or many instances of another entity (B), and one instance of entity B is associated with one, USER or many instances of another entity A. For example, for a company in which all of its employees work on multiple projects, each instance of an employee (A) is associated with many instances of a project (B), and at the same time, each instance of a project (B) has multiple employees (A) associated with it.
53
MAJOR PROJECT
MGIET,BADHOO
b.)ENTITY RELATIONSHIP DIAGRAM:A graphical representation of entities and their relationships to each other, typically used in computing in regard to the organization of the databases or information systems. An entity is a piece of data-an object or concept about which data is stored. A relationship is how the data is shared between entities
54
MAJOR PROJECT
Login
MGIET,BADHOO
Select Proce ss
Select s
Location
Detail s Address
Name
Duration
PROCESS FLOW DIAGRAM:One of the simplest, yet most powerful tools for understanding and analyzing business activities is a graphic description
55
MAJOR PROJECT
MGIET,BADHOO
technique called the Process Flow Diagram (PFD).It borrows from the disciplines of Process Engineering the idea of describing or analyzing complex structured activities by flow-charting. One or more Process Flow Diagram can describe any human activity. The level of detail described for a given activity can be general or refined as needed for the intended Process Flow Diagram use. Process Flow Diagrams are useful for, but not limited to, the following purposes: Task visualization for business activity trouble shooting and problem solving. Definition of standard methods and procedures Planning and development of any business system, activity, function, function or department.
56
MAJOR PROJECT
MGIET,BADHOO
Requirement study
SRS Preparation
SRS approv al
57
MAJOR PROJECT
MGIET,BADHOO
Code Review
NO
Testing
Bugs Detecte d
YES
ERRORS
Integration Testing
58
MAJOR PROJECT
MGIET,BADHOO
59
MAJOR PROJECT
MGIET,BADHOO
Admi n
Enter/ Retrieve User Info User Enter User id, password Logi n
User
User registered
60
MAJOR PROJECT
MGIET,BADHOO
User info
Submit and Retrieve User information Enter User id, password Login
User
Admin
61
MAJOR PROJECT
MGIET,BADHOO
62
MAJOR PROJECT
MGIET,BADHOO
SYSTEM TESTING
INTRODUCTION TO SYSTEM TESTING:Testing is the process of executing a program with the intent of finding errors. Testing enhances the integrity of a system by detecting deviations in design and errors in the system. Testing aims at detecting error-prone areas. This helps in the prevention of errors in a system. Testing also adds value to the product by conforming to the user requirements. The requirements for the application testing are as follows: 1. Test Guidelines 2. Integration Strategy 3. Special Considerations 4. Test Documents The development of software systems involves a series of production activities where opportunities for injection of human fallibility are enormous. Errors may begin to occur at every inception of the process where the objectives may be erroneously or imperfectly specified as well as later design and development stages. Because of human inability to perform and communicate with perfection, software development is accompanied by quality assurance activity. Software testing is a critical element of software quality assurance and represents the ultimate review of specification, design and coding. The increasing visibilities of software as a system element and attendant costs associated with a software failure are motivating forces for well-planned, thorough testing. 63
MAJOR PROJECT
MGIET,BADHOO
TESTING OBJECTIVES
1. Software reliability: System must be reliable that can performs critical tasks correctly such as Generate the Demand Notice, Show recovery Status of SCA/Ngo correctly at any time. 2. Software quality: Software quality is characterized by the correctness of program logic and implementation. It begins with testing the software during development. 3. System assurance: The main purpose of system assurance is to deliver a quality product. Conformance to requirements increases the organizations confidence in the system. 4. Optimum performance and capacity utilization: System must be able to perform the desires function efficiently such as generation of the Demand Notice unless the No. Of Loan files corresponding to SCA/Ngo is increases.
64
MAJOR PROJECT
MGIET,BADHOO
The design of tests can be as challenging as the initial design of the product itself. Testing design tests have the highest likelihood of finding the most errors with a minimum amount of time and effort. Any Software product can be tested in one of the ways: (1) knowing the specified function that a product has been designed to perform, tests can be conducted that demonstrate each function is fully operational; (2) knowing the internal workings of a product, tests can be conducted to ensure that the internal operation of product performs according to specification and all internal components have been adequately exercised.
White Box and Black Box testing techniques: White Box Testing
White box testing is a test case method that uses the control structure of the procedural design to derive test cases. Using white box testing methods, the software engineer can derive test cases that Guarantee that all independent paths within a module have been exercised at least once, exercise all logical decisions on their true and false sides, execute all loops at their boundaries and within their operational bounds, and exercise internal data structures to ensure their validity.
65
MAJOR PROJECT
MGIET,BADHOO
testing enables the software engineer to derive sets of input conditions that will fully exercise all functional requirements for a program. This approach is likely to uncover a different class of errors than white box methods.
black box testing attempts to find errors in the following categories: 1. Incorrect or missing functions, 2. Interface errors, 3. Errors in data structures or external database access, 4. Initialization and termination errors.
Unlike white box testing, which is performed early in the testing process, black box testing tends to be applied during later design Tests are designed to answer the following questions: 1. How is functional validity tested? 2. What classes of input will make good test cases? 3. Is the system particularly sensitive to certain input values? 4. How are the boundaries of a data class isolated? 5. What data rates and data volume can the system tolerate? 66
MAJOR PROJECT
operation?
MGIET,BADHOO
TESTING STRATEGIES
A Software testing strategy provides a road map for the Software Developer, the Quality Assurance Organization, and the Customer a road map that describes the steps to be conducted as part of testing. Any testing strategy must incorporate test planning, test case design test execution, and the resultant data collection and evaluation.
A Strategic Approach to Software Testing:A number of Software testing strategies have been proposed in the literature. All provides the software developer with a template for testing and all have the following generic characteristics: 1. Testing begins at the module level and works outward toward the integration of the entire computer-based system. 2. Different testing techniques are appropriate at different points in time. 3. Testing us conducted by the developer of the software and (for lager project) an independent test group. 4. Testing and debugging are different activities, but debugging must be accommodated in any testing strategy.
67
MAJOR PROJECT
MGIET,BADHOO
Unit testing is the process of taking a module
and running it in isolation from the rest of the software product by using prepared test cases and comparing the actual results with the results predicted by the specifications and design of the module. One purpose of testing is to find (and remove) as many errors in the software as practical. Unit testing focuses verification efforts on the smallest unit of software design-the module. The unit test is always White box-oriented, and the steps can be conducted in parallel for multiple modules.
Integration Testing:Integration testing addresses the issues associated with the dual problems of verification and program construction. Black box test case design techniques are the most prevalent during integration, although a limited amount of White box testing may be used to ensure coverage of major control paths.
Validation Testing :Validation testing provides the final assurance that software meets all functional, behavioral, and performance requirements. Black box testing techniques are used exclusively during validation.
Alpha And Beta Testing :If software is developed as a product to be used by many customers, it is impractical to perform formal acceptance tests with each one. Most software product builders use a process called Alpha and Beta testing to uncover errors that only the end user seems able to find.A customer conducts the Alpha Test at the developers site. The Beta Test is conducted at one or more customer sites by the end user of the software. 68
MAJOR PROJECT
Acceptance Testing :-
MGIET,BADHOO
System testing is also known as acceptance testing. Here the entire software system is tested and the reference document for this process is the requirement document. The goal of system testing is to see if a validation exercise, and in many situations it is the only validation activity. System testing is sometimes performed with realistic data of the client to demonstrate that the software is satisfactory. Testing here focuses on the external behavior of the system. System testing tests the flow of data through the entire system. The system being developed follows the Bottom Up Approach of testing where each Functional Unit is independently tested and then the Integrated testing of the Module or Sub module is done.
QUALITY ASSURANCE
Introduction:
The key factor to the success in software quality program is its implementation. While definition of process can be evolving phenomenon, implementation of processes makes the difference between success & failure. A quality product can be defined as: 1. One that is fit for use. 2. One that is produced as per the predefined standards.
69
MAJOR PROJECT
its standards.
MGIET,BADHOO
So, quality assurance is the process of ensuring that the product confirms to
SYSTEM IMPLEMENTATION
System Implementation means the process of converting a new or a revised system design into an operational one. One aspect of implementation is conversion and another aspect is the post implementation review and software maintenance. The purpose of System Implementation is to make the new system available to a prepared set of users (the deployment), and positioning on-going support and maintenance of the system within the Performing Organization (the transition). At a finer level of detail, deploying the system consists of executing all steps necessary to educate the 70
MAJOR PROJECT
MGIET,BADHOO
Consumers on the use of the new system, placing the newly developed system into production, confirming that all data required at the start of operation is available and accurate, and validating that business functions that interact with the system are functioning properly. Transitioning the system support responsibilities involves changing from a system development to a system support and maintenance mode of operation, with ownership of the new system moving from the Project Team to the Performing Organization. A key difference between System Implementation and all other phases of the lifecycle is that all project activities up to this point have been performed in safe, protected, and secure environments, where project issues that arise have little or no impact on day-to-day business operations. Once the system goes live, however, this is no longer the case. Any miscues at this point will almost certainly translate into direct operational and/or financial impacts on the Performing Organization. It is through the careful planning, execution, and management of System Implementation activities that the Project Team can minimize the likelihood of these occurrences, and determine appropriate contingency plans in the event of a problem. Following standards have been followed while developing the system: 1. Design Standards 2. Developments Standards 3. Documentation Standards Implementation is achieved if we have put all the standards in the project development. Its aim is to convert design standards into real application that is user friendly and easy to understand. Proper user manuals have been constructed for users to be acquainted with the system.
71
MAJOR PROJECT
Aspects of Implementation
The two aspects of implementation are: 1. Training personnel 2. Conversion Procedures
MGIET,BADHOO
Training:
Even well designed and technically elegant systems can succeed or fail because of the way they are used. Therefore the quality of the training received by the personnel involved with the system in various ways helps or hinders, and may even prevent, the successful implementation of an information system.
Conversion:
Conversion is the process of changing from the old system to the new system. There are two methods of handling systems conversion: 1. Parallel Run 2. Immediate Cut-off
Parallel Run:
In this approach, the old system and the new system are used simultaneously for some period of time so that the performance of the
72
MAJOR PROJECT
MGIET,BADHOO
new system can be monitored and compared with that of the old system. Also in case of failure of the new system, the user can fall back on the old system.
Immediate Cut-Off:
In this method the use of the old system ceases as soon as the new system is implemented and bought in to palace. The old system becomes redundant from the day of implementation of the new system. There is high risk involved in this approach if the new system is not tested rigorously. The advantage of this approach is that both systems need not be tested simultaneously.
73
MAJOR PROJECT
MGIET,BADHOO
SYSTEM MAINTENANCE :
Software Maintenance is a task that every software development group has to face when the software is delivered to the customers site, installed & operational. Therefore, delivery or release of software inaugurates the maintenance phase of the life cycle. The time spent & effort required keeping software operational after release is a very significant & consumes about 40-70% of the cost of entire life cycle. Maintenance of this system is entirely depends on the future requirements. In future we may get new type of requirement from the client side then for that we have make changes. Before the future enhancements we need to have back up of the system and its log files so that if in future system crashes then the system be replaced and corrected this way we can have system maintained as it is. To perform maintenance we must perform a detailed planning of the maintenance process so that we can make necessary adjustments in budgets, workings etc.
Corrective Maintenance:
74
MAJOR PROJECT
MGIET,BADHOO
It means repairing processing or performance
Adaptive Maintenance:
Adaptive means changing the program function.
Perfective Maintenance:
It means enhancing the performance or modifying the programs to respond to the users additional or changing needs. Maintenance is costly. One way to reduce maintenance costs is through maintenance management and software modification audits. Software modification consists of program rewrites system level updates, and re- audits of low ranking programs to verify and correct the soft spots.
MAJOR PROJECT
INPUT/OUTPUT DESIGN
MGIET,BADHOO
Input design is the process of converting user-originated inputs to a computer based format. In the system design phase, the expanded data flow diagram identifies logical data flow, data stores, sources and destinations. A system flow chart specifies master files (Database), transaction files and computer programs.
Input Data:
The goal of designing the input data is to make data entry as easy, logical and free from errors as possible. In entering the data the user must know the following: 1. The allocated space for each field. 2. Field sequence, which must match that in the source document. 3. The format in which data fields are entered
76
MAJOR PROJECT
Input Media and Devices:
MGIET,BADHOO
I have prepared the project keeping in mind that only two on hand input devices are available to us those are: 1. Standard Keyboard 2. Standard mouse
77
MAJOR PROJECT
MGIET,BADHOO
1.Administrator Panel:
78
MAJOR PROJECT
MGIET,BADHOO
When you login as administrator this page will be opened. Here the chose theater gives the list of theaters.When you chose the theater and click on GO, the list of Halls in that theater will be given.
2. User Panel:
79
MAJOR PROJECT
MGIET,BADHOO
When you login as user the control will be transferred to this page only if you are the registered user. Otherwise Ist you have to register urself.
80
MAJOR PROJECT
3. Registration Form:
MGIET,BADHOO
Users have register themselves before logging in. In this page the sessions are used to avoid users from leaving any field empty. If the Password and Re type Password are not same the session will display Password must match.If phone no. entered is not numeric or less than five digits then session will restrict to register the user.If username already exist then it will not be registered. Otherwise if all information is provided successfully, the user will be registered successfully he/ she can then login.
81
MAJOR PROJECT
4.
MGIET,BADHOO
If you have logged in, then after selecting the theater and date the following page will be displayed. This page is giving you the information about the selected theater. The theater name selected, the list of movies in that theater on that date, hall number in which movie is playing and the time of show. If you want to book tickets for show you have to click on time.
82
MAJOR PROJECT
5.
MGIET,BADHOO
If you click on time of the above page the following
page will be displayed to book tickets for that particular movie in that theater on that date. In this page if the no. of tickets entered is greater than the tickets available , it displays Requested no. of tickets not available. Otherwise the tickets will be booked.
83
MAJOR PROJECT
6.
MGIET,BADHOO
This page consists of booking details. If the no. of tickets requested are available then the tickets will be booked for you for that show. And the refrence no. will be given to you in this form.
84
MAJOR PROJECT
MGIET,BADHOO
85
MAJOR PROJECT
MGIET,BADHOO
MAIN PAGE:
This is the main page of project. It consists of the links to login, to register the user, to search or book shows for authenticated users, to saw the coming up shows for next seven days etc.
86
MAJOR PROJECT
MGIET,BADHOO
LogIN Page:
The different types of users are: 1. Administrator: Administrator would have all capabilities.Administrator is responsible for managing the system with information regarding different theaters, halls and movies. 2. Users: Authenticated users can login only and can have only access to information. They can only search or book shows.
87
MAJOR PROJECT
MGIET,BADHOO
Administrator Panel:
When you login as administrator this page will be opened. Here the chose theater gives the list of theaters.When you chose the theater and click on GO, the list of Halls in that theater will be given.
88
MAJOR PROJECT
MGIET,BADHOO
When you chose the theater from the page shown above the list of halls in that theater will be given as shown below.
89
MAJOR PROJECT
MGIET,BADHOO
90
MAJOR PROJECT
MGIET,BADHOO
When you chose hall the form will be displayed as shown below, to enter the information about movie, starting time, endtime, duration, date etc. for show for that hall of that theater. In this page we have used text boxes, labels etc. for entering data. All this data will be entered for the selected hall and selected theater.
When you click on Save button the data will be saved to the database. But if the movie name entered is already entered for the same hall of same theater with same start and end time then it will not be saved. Movie already Playing will be displayed in next page otherwise Record saved
91
MAJOR PROJECT
MGIET,BADHOO
successfully.The movie entered will be displayed in this page. In this page there is another option to delete the movie by clicking on Delete.
User Panel:
When you login as user the control will be transferred to this page only if you are the registered user. Otherwise Ist you have to register urself.
92
MAJOR PROJECT
MGIET,BADHOO
Registration Form:
Users have register themselves before logging in. In this page the sessions are used to avoid users from leaving any field empty. If the Password and Re type Password are not same the session will display Password must match.If phone no. entered is not numeric or less than five digits then session will restrict to register the user.If username already exist then it will not be registered. Otherwise if all information is provided successfully, the user will be registered successfully he/ she can then login.
93
MAJOR PROJECT
MGIET,BADHOO
94
MAJOR PROJECT
MGIET,BADHOO
If you have logged in, then after selecting the movie name and date the following page will be displayed. This page is giving you the information about the selected movie. The theater name in which the movie is going to play, location of that theater, hall number of that theater and the time of show. If you want to book tickets for show you have to click on time.
95
MAJOR PROJECT
MGIET,BADHOO
If you have selected Search by Theater then the following page will be displayed. Then select the theater and the date. If you have logged in, the the control will be transferred to page containing the information otherwise you have to log in.
96
MAJOR PROJECT
MGIET,BADHOO
If you have logged in, then after selecting the theater and date the following page will be displayed. This page is giving you the information about the selected theater. The theater name selected, the list of movies in that theater on that date, hall number in which movie is playing and the time of show. If you want to book tickets for show you have to click on time.
97
MAJOR PROJECT
MGIET,BADHOO
If you click on time of the above page the following page will be displayed to book tickets for that particular movie in that theater on that date. In this page if the no. of tickets entered is greater than the tickets available , it displays Requested no. of tickets not available. Otherwise the tickets will be booked.
98
MAJOR PROJECT
MGIET,BADHOO
This page consists of booking details. If the no. of tickets requested are available then the tickets will be booked for you for that show. And the refrence no. will be given to you in this form.
99
MAJOR PROJECT
MGIET,BADHOO
Now Playing:
100
MAJOR PROJECT
MGIET,BADHOO
When you click on the menu Now Playing the currently playing movies of different theaters will be given in this form. This page will give you the information about movie, about theater in which that movie is playing, the category of movie, director of movie, date of show, hall number and the start time.
Upcoming Shows:
101
MAJOR PROJECT
MGIET,BADHOO
When you click on the menu Upcoming Shows, the schedule for shows for next seven days will be given in this form. This page will give you the information about movies playing for next seven days in different theaters, with theater name,location, the category of movie, director of movie, date of show, hall number and the start time.
102
MAJOR PROJECT
DATA BASE:
MGIET,BADHOO
We have used Mysql database at back end. Here we used PhpmyAdmin Interface along with Mysql database. Below is screenshot of PHP myAdmin Interface. The rainbowentertainment data base is created for this system. There are six tables created in this database . Step 1: Create six tables named bookings, customer, hall, theater, movie and shows from option the create new table on database the rainbowentertainment phpMyAdmin application. at the bottom of the screen on
103
MAJOR PROJECT
MGIET,BADHOO
The first table created is Bookings having five columns 1. CustomerID 2. ShowID 3. ReferenceNumber 4. NumberOfTickets 5. Amount This table consists of the details of the bookings. When user book the tickets for any show the information will be stored in this table.
104
MAJOR PROJECT
MGIET,BADHOO
The next table created is customer having six coloumns 1. UserName 2. Password 3. Name 4. Address 5. Phone 6. CustomerID This table consists of the details of the User. When user register themself the information about user will be stored in this table. And when user want to login the information accessed from this table.
105
MAJOR PROJECT
MGIET,BADHOO
The next table created is hall having four coloumns 1. Capacity 2. HallID 3. TheaterID 4. HallNumber This table consists of the details of the hall. It consists of the information about the halls, that which hall is in which theater and the capacity of the hall.
106
MAJOR PROJECT
MGIET,BADHOO
The next table created is movie having five coloumns 1. MovieID 2. Director 3. Name 4. Category 5. cost This table consists of the details of the movie. It consists of the information about the movie, the director of movie, name, id,etc.
107
MAJOR PROJECT
MGIET,BADHOO
The next table created is shows having eight coloumns 1. MovieID 2. TicketsBooked 3. ShowID 4. HallID 5. Date 6. StartTime 7. endtime
108
MAJOR PROJECT
8. duration_in_min
MGIET,BADHOO
This table consists of the details of the show. It consists of the information about the movie, starttime, endtime, date, duration, hallid, showid, etc. The information for now playing, upcoming shows, search etc. is fetched from this table.
The next table created is theater having three coloumns 1. TheaterName 2. TheaterID 3. Location
109
MAJOR PROJECT
MGIET,BADHOO
This table consists of the details of the theaters. This system consists of only three theaters. And this table consists of name , ids , and locations of these three theaters.
110
MAJOR PROJECT
MGIET,BADHOO
111
MAJOR PROJECT
MGIET,BADHOO
CODING
Coding for Home Page: <body bgcolor="#99FF99">
<div> <table><tr> <td width="1350" background="a.jpg"><img src="logo.png" width="148" height="74"><font face="Bodoni MT Black" size="+6" color="#990000">RAINBOW ENTERTAINMENT SYSTEM </font><img
src="b.jpg" width="148" height="74"></td></tr></table> <table width="100%"><tr align="center"> <td width="30%"><font face="Arial Black" size="+2"><?php
date_default_timezone_set('Asia/Calcutta'); echo date("F j, Y, g:i a");?></font></td> <td width="30%"><a href="login.php"><font face="Arial Black"
size="+2">Login</font></a></td><td><a
href="register.php"><font
112
MAJOR PROJECT
<tr><td valign="top" width="20%"><table
MGIET,BADHOO
width="100%" border="1"
><tr><td align="center"><a href="index.php"><font face="Arial Black" size="+1">Home</font></a></td></tr><tr><td align="center"><a href="search.php"><font face="Arial Black" size="+1">Search/Book
align="center"><a align="center"><a
height="330"><img
src="c.jpg" width="100%"> <img src="d.jpg" border="1" width="100%"> <img src="e.jpg" border="1" width="100%"> <img src="w.jpg" border="1" width="100%"> <img src="k.jpg" border="1" width="100%"></marquee> </td></tr></table> </td> <td valign="top"><img src="pic.jpg" border="1" width="100%"></td> <td width="20%" valign="top"> <marquee direction="down" behavior="alternate" height="470"> <img src="o.jpg" border="1" width="100%"> <img src="q.jpg" border="1" width="100%"> 113
MAJOR PROJECT
<img src="m.jpg" border="1" width="100%"> <img src="n.jpg" border="1" width="100%">
MGIET,BADHOO
<img src="p.jpg" border="1" width="100%"> <img src="i.jpg" border="1" width="100%"> </marquee></td></tr></table> </div> </body>
114
MAJOR PROJECT
MGIET,BADHOO
src="b.jpg" width="148" height="74"></td></tr> </table> <table width="100%"><tr align="center"> <td width="30%"><font face="Arial Black" size="+2"><?php
date_default_timezone_set('Asia/Calcutta'); echo date("F j, Y, g:i a");?></font></td> <td width="30%"><font face="Arial Black" size="+2">Welcome:<?php echo $_SESSION['username'];?></font></td><td><a
115
MAJOR PROJECT
href="logout.php"><font
MGIET,BADHOO
face="Arial Black"
<tr><td
valign="top"
width="20%"><table
width="100%"
border="1"
><tr><td align="center"><a href="index.php"><font face="Arial Black" size="+1">Home</font></a></td></tr></table> <table width="100%" border="1"><tr><td> <marquee direction="up" behavior="alternate" height="640"><img
src="c.jpg" width="100%"> <img src="d.jpg" border="1" width="100%"> <img src="e.jpg" border="1" width="100%"> <img src="w.jpg" border="1" width="100%"> <img src="k.jpg" border="1" width="100%">
</marquee> </td></tr></table> </td> <td valign="top"> <form action="theater_process.php" method="POST"> <center><font face="Arial Black" size="+2">Administrator
Panel</font></center> 116
MAJOR PROJECT
<p align ="center">Add a new Movie</p>
MGIET,BADHOO
<?php if(isset($_SESSION['theater']) && $_SESSION['theater'] == 1) echo "selected";?>>Theater A</option> <option value="2" <?php if(isset($_SESSION['theater']) &&
$_SESSION['theater'] == 3) echo "selected";?>>Theater C</option> </select> <input type="submit" value="GO"></form> <br /> <?php if (isset($_SESSION['theater'])) { $theater=$_SESSION['theater']; $checksql = "SELECT HallNumber,HallID FROM hall WHERE TheaterID = '$theater';"; $checkresult = mysql_query($checksql);
?>
117
MAJOR PROJECT
<center>Choose Hall: <select name="hall" >
MGIET,BADHOO
<option
value="<?php
echo
$res['HallNumber'];?>"
<?php
if(isset($_SESSION['hall']) && $_SESSION['hall'] == $res['HallNumber']) echo "selected";?>>Hall <?php echo $res['HallNumber'];}?> </option> </select> <input type="submit" value="GO"></form> <?php } ?> </center> <?php if(isset($_SESSION['hall'])) { ?><center><form action="add_movie.php" method="POST"> <table> <br> <tr><td><font face="Arial Black" size="+1">Enter Details
118
MAJOR PROJECT
<tr><td>Date date</td></tr> should be greater than or
MGIET,BADHOO
equal to the current
<tr><td>End
Time</td><td><input
type="text"
name="movie_name"></td></tr> <tr><td>Category</td><td><input name="category"></td></tr> <tr><td>Cost</td><td><input type="text" name="cost"></td></tr> <tr><td>Director</td><td><input name="director"></td></tr> <tr><td>Duration</td><td><input name="duration">Minutes</td></tr> <tr><td></td><td><input type="submit" value="Save"></td></tr> </form></center> </table> <?php } 119 type="text" type="text" type="text"
MAJOR PROJECT
?> </p> <?php if (isset($_SESSION['empty'])) { $mesg=$_SESSION['empty']; echo "<center><font
MGIET,BADHOO
size=+2
color=red>".
$mesg."</font></center><br>"; }
?> <center> <table border="1" width="70%"> <tr> <td colspan = "2">All Movies</td> </tr> <tr> <td colspan = "2"> </td> </tr> <?php $strAllMovies = "SELECT * FROM movie";
120
MAJOR PROJECT
$allMovieResult = mysql_query($strAllMovies); if (!$allMovieResult) { echo mysql_error(); exit(); } while($row = mysql_fetch_assoc($allMovieResult)) { ?>
MGIET,BADHOO
<tr><td><?php
echo
$row['Name'] echo
?></td><td><a
href
$row['MovieID'];?
face="Arial
Black"
size="+1"><a
121
MAJOR PROJECT
<img src="o.jpg" border="1" width="100%"> <img src="q.jpg" border="1" width="100%"> <img src="m.jpg" border="1" width="100%"> <img src="n.jpg" border="1" width="100%"> <img src="p.jpg" border="1" width="100%"> <img src="i.jpg" border="1" width="100%"> </marquee></td> </tr></table>
MGIET,BADHOO
</body> </html>
122
MAJOR PROJECT
MGIET,BADHOO
123
MAJOR PROJECT
$director=$_POST['director']; $duration=$_POST['duration']; $hall_num=$_SESSION['hall']; $theater_id=$_SESSION['theater'];
MGIET,BADHOO
if($date==""||$start_time==""|| $end_time=="" || $movie_name=="" || $category=="" || $cost=="" || $director=="" || $duration=="") { $_SESSION['empty']="Field(s) cannot be empty!"; header("Location: admin_panel.php");
exit; } ?> <body bgcolor="#99FF99"> <table><tr> <td width="1350" background="a.jpg"><img src="logo.png" width="148" height="74"><font face="Bodoni MT Black" size="+6" color="#990000">RAINBOW ENTERTAINMENT SYSTEM </font><img
src="b.jpg" width="148" height="74"></td></tr></table> <table width="100%"><tr align="center"> <td width="30%"><font face="Arial Black" size="+2"><?php
MAJOR PROJECT
echo href="logout.php"><font
MGIET,BADHOO
size="+2">Logout</font></a></td></tr></table> <table width="85%" align="center" height="300"> <tr><td valign="top" width="20%"><table width="100%" border="1"
><tr><td align="center"><a href="index.php"><font face="Arial Black" size="+1">Home</font></a></td></tr></table> <table width="100%" border="1"><tr><td> <marquee direction="up" behavior="alternate" height="390"><img
src="c.jpg" width="100%">
<img src="w.jpg" border="1" width="100%"> <img src="k.jpg" border="1" width="100%"> </marquee> </td></tr></table> </td> <td valign="top"> <?php //using theater ID and hallnumber fetching hallid and save that into DB
125
MAJOR PROJECT
HallNumber='$hall_num' "; $new_sql_result=mysql_query($new_sql);
MGIET,BADHOO
$testsql = "Select * from shows where MovieID='$movieID' AND HallID='$hall_id' AND Date='$date' AND StartTime='$start_time'"; $mysql_results=mysql_query($testsql); if (mysql_num_rows($mysql_results)>0) { echo "<br><br><br><center><font face=\"ARIAL BLACK\"
126
MAJOR PROJECT
{ $showid="Ist"; } elseif($start_time>1200 && $start_time<1700) { $showid="IInd"; } else {
MGIET,BADHOO
`Director`, `Name`, `Category`, `Cost`) VALUES ('$movieID', '$director', '$movie_name', '$category', '$cost');"; $insert = "INSERT INTO `rainbowentertainment`.`shows` (`MovieID`, `TicketsBooked`, `ShowID`, `HallID`, `Date`, `StartTime`, `endtime`, `duration_in_min`) VALUES ('$movieID', '0', '$showid', '$hall_id', '$date', '$start_time', '$end_time', '$duration');"; $res = mysql_query($sql) or die("Unable to execute query!"); $res1 = mysql_query($insert) or die("Unable to execute query1"); if( $res && $res1 ) { 127
MAJOR PROJECT
echo BLACK><center>Record saved Successfully"; } else { echo "Record could not be saved"; } echo "<br><br><br><br><a
MGIET,BADHOO
size=+3 face=ARIAL
"<br><br><br><br><br><font
href='admin_panel.php'>Go
Back</a></center></font>"; ob_flush();
?> </td> <td width="20%" valign="top"> <marquee direction="down" behavior="alternate" height="430"> <img src="o.jpg" border="1" width="100%"> <img src="q.jpg" border="1" width="100%"> <img src="m.jpg" border="1" width="100%"> <img src="n.jpg" border="1" width="100%"> <img src="p.jpg" border="1" width="100%"> <img src="i.jpg" border="1" width="100%"> </marquee></td> 128
MAJOR PROJECT
</tr></table>
MGIET,BADHOO
129
MAJOR PROJECT
color="#990000">RAINBOW ENTERTAINMENT src="b.jpg" width="148" height="74"></td> </tr></table> <table width="100%"><tr align="center"> <td width="30%"><font face="Arial
MGIET,BADHOO
SYSTEM </font><img
Black"
size="+2"><?php
date_default_timezone_set('Asia/Calcutta'); echo date("F j, Y, g:i a");?></font></td> <td width="30%"><a href="login.php"><font face="Arial Black"
size="+2">Login</font></a></td><td><a
href="register.php"><font
><tr><td align="center"><a href="index.php"><font face="Arial Black" size="+1">Home</font></a></td></tr><tr><td href="search.php"><font face="Arial Black" Show</font></a></td></tr><tr><td Playing</font></a></td></tr><tr><td Shows</font></a></td></tr></table> <table width="100%" border="1"><tr><td> <marquee direction="up" behavior="alternate" height="330"><img align="center"><a size="+1">Search/Book align="center"><a align="center"><a
src="c.jpg" width="100%">
130
MAJOR PROJECT
<img src="d.jpg" border="1" width="100%"> <img src="e.jpg" border="1" width="100%"> <img src="w.jpg" border="1" width="100%"> <img src="k.jpg" border="1" width="100%"> </marquee> </td></tr></table></td> <td valign="top"> <table border="0"><tr align="center">
MGIET,BADHOO
<td><br /><br /><br /><font face="Arial Black" size="+2">Search by <a href="search.php?searchby=movie">Movie</a>/Search by <a href="search.php?searchby=theater">Theater</a> </font></td> </tr><tr><td></td></tr><tr><td> <?php if (!isset($_GET['searchby'])) { $searchType="movie"; } else { 131
MAJOR PROJECT
$searchType=$_GET['searchby']; } if ($searchType=="theater") { if (isset($_POST['theaterList'])) { $selectedTheater=$_POST['theaterList']; } else
MGIET,BADHOO
{ $selectedTheater="1"; } ?> <br /><br /><br /> <form id="theaterForm" name="theaterForm" method="post" action="search.php?searchby=theater"> <center><font face="Arial, Helvetica, sans-serif" size="+1"> Select Theater <select onChange="theaterForm.submit();"> <option>Select a Theater</option> name="theaterList" id="theaterList"
132
MAJOR PROJECT
MGIET,BADHOO
<option value="1"<?php if ($selectedTheater=="1"){? >selected="selected"<?php }?>>Theater A</option> <option value="2"<?php if ($selectedTheater=="2"){? >selected="selected"<?php }?>>Theater B</option> <option value="3"<?php if ($selectedTheater=="3"){? >selected="selected"<?php }?>>Theater C</option> </select></font></center> </form> <form id="dateTheaterForm" name="dateTheaterForm" method="post" action="showTheaterSearch.php"> <center><font face="Arial, Helvetica, sans-serif" size="+1">Select Date
<input name="selectedTheaterID" type="hidden" value=<?php echo $selectedTheater;?> /> <select name="dateTheater" id="dateTheater"
onChange="dateTheaterForm.submit();"> <option>Select a date</option> <?php $date=date("Y-m-d"); //Retrieving the date when TheaterID is given $query = "select s.Date from shows s,theater t,hall h where h.TheaterID=t.TheaterID t.theaterID='$selectedTheater' AND s.hallID=h.hallID AND
133
MAJOR PROJECT
AND s.Date>='$date'";
MGIET,BADHOO
$result = mysql_query($query) or die ("Unable to execute query!"); while ($row=mysql_fetch_assoc($result)) { ?> <option value="<?php echo $row['Date'];?>"><?php echo $row['Date']?></option> <?php } ?> </select></font></center>
MAJOR PROJECT
} else { $selectedMovie="1"; } ?> </p><br /><br /><br /> <form id="movieForm"
MGIET,BADHOO
name="movieForm"
method="post"
action="search.php?searchby=movie"> <center><font face="Arial, Helvetica, sans-serif" size="+1">Select Movie and Show Timing
<select onChange="movieForm.submit();">
name="movieList"
id="movieList"
<option selected="selected">Select a Movie</option> <?php $date=date("Y-m-d"); $query = "select * from movie m,shows s where
s.MovieID=m.MovieID AND s.Date >='$date' "; $result = mysql_query($query) or die ("Unable to execute query!"); while ($row=mysql_fetch_assoc($result)) { 135
MAJOR PROJECT
?>
MGIET,BADHOO
<option value="<?php echo $row['MovieID'];?>"<?php if ($selectedMovie==$row['MovieID']){?>selected="selected"<?php ></option> <?php } ?> </select></font></center> </form> <tr><td> <form id="dateMovieForm" name="dateMovieForm" method="post" action="showMovieSearch.php"> </td> </tr> }?>><? php echo $row['Name']?><?php echo ' @ '?><?php echo $row['StartTime']?
<center><font face="Arial, Helvetica, sans-serif" size="+1"> Select Date <input name="selectedMovieID" type="hidden" value=<?php echo $selectedMovie;?> /> <select name="dateMovie" id="dateMovie"
onChange="dateMovieForm.submit();"> <option selected="selected">Select a date</option> <?php $query MovieID='$selectedMovie'"; = "select Date from shows where
136
MAJOR PROJECT
query!");
MGIET,BADHOO
while ($row=mysql_fetch_assoc($result)) { ?> if ($row['Date']) <option value="<?php echo $row['Date'];?>"><?php echo $row['Date'];?></option> <?php } ?> </select></font></center> </form> <?php }
?> </td></tr><tr><td><br><br><center> <font face="Arial Black" size="+3"> <a href="index.php">Go to homepage</a></font></center></td></tr> </table> </td><td width="20%" valign="top"> <marquee direction="down" behavior="alternate" height="470"> <img src="o.jpg" border="1" width="100%">
137
MAJOR PROJECT
<img src="q.jpg" border="1" width="100%"> <img src="m.jpg" border="1" width="100%"> <img src="n.jpg" border="1" width="100%"> <img src="p.jpg" border="1" width="100%"> <img src="i.jpg"
MGIET,BADHOO
border="1"
138
MAJOR PROJECT
$movie_id=""; ?> <body bgcolor="#99FF99"><div><table><tr>
MGIET,BADHOO
<td width="1350" background="a.jpg"><img src="logo.png" width="148" height="74"><font face="Bodoni MT Black" size="+6" color="#990000">RAINBOW ENTERTAINMENT SYSTEM </font><img
src="b.jpg" width="148" height="74"></td></tr></table> <table width="100%"><tr align="center"> <td width="30%"><font face="Arial Black" size="+2"><?php
date_default_timezone_set('Asia/Calcutta'); echo date("F j, Y, g:i a");?></font></td> <td width="30%"><a href="login.php"><font face="Arial Black"
size="+2">Login</font></a></td><td><a
href="register.php"><font
<tr><td
valign="top"
width="20%"><table
width="100%"
border="1"
><tr><td align="center"><a href="index.php"><font face="Arial Black" size="+1">Home</font></a></td></tr><tr><td href="search.php"><font face="Arial Black" Show</font></td></tr><tr><td Playing</font></a></td></tr><tr><td align="center"><a size="+1">Search/Book align="center"><a align="center"><a
139
MAJOR PROJECT
Shows</font></a></td></tr></table> <table width="100%" border="1"><tr><td> <marquee direction="up"
MGIET,BADHOO
behavior="alternate"
height="330"><img
src="c.jpg" width="100%"> <img src="d.jpg" border="1" width="100%"> <img src="e.jpg" border="1" width="100%"> <img src="w.jpg" border="1" width="100%"> <img src="k.jpg" border="1" width="100%"> </marquee> </td></tr></table></td> <td valign="top"> <?php $checksql = "SELECT t.TheaterName, t.Location, m.Name, m.Category, m.cost, m.Director, s.Date, s.HallID, s.StartTime,h.HallNumber FROM shows s, hall h, theater t, movie m WHERE s.MovieID = m.MovieID AND s.HallID = h.HallID AND h.TheaterID = t.TheaterID AND s.Date = '$date' AND s.StartTime > CURTIME()";
140
MAJOR PROJECT
?>
MGIET,BADHOO
<html><title>Currently Running Movies</title> <body> <center> <br> <B><font size="+2"><u>Currently Running Movies</u></font></B> <br><br><br> <table border="2"> Name</b></td><td><b>Theater Location</b></td><td><b>Movie</b></td><td><b>Category</b></td> <td><b>Cost</b></td><td><b>Director</b></td><td><b>Date</b></ td><td><b>Hall Number</b></td><td><b>Start Time</b></td></tr> <?php while($row = mysql_fetch_array($checkresult)) { ?> <tr <td><?php echo $row[0] ?></td><td><?php echo $row['Location'] ? ></td> <tr><td><b>Theater
<td><?php
echo
$row['Name']
?></td><td><?php
echo
$row['Category'] ?></td>
141
MAJOR PROJECT
$row['Director'] ?></td>
MGIET,BADHOO
<td><?php echo $row['Date'] ?></td><td><?php echo $row['HallNumber'] ?></td> <td><?php echo $row['StartTime'] ?></td> <?php } ?> </table> <font face="Arial Black" size="+3"> <a href="index.php">Go to homepage</a></font> </center> </body> </html> <?php } else { echo "<br><br><center><font face=\"Arial Black\" </tr>
142
MAJOR PROJECT
?> </td> <td width="20%" valign="top">
MGIET,BADHOO
<marquee direction="down" behavior="alternate" height="470"> <img src="o.jpg" border="1" width="100%"> <img src="q.jpg" border="1" width="100%"> <img src="m.jpg" border="1" width="100%"> <img src="n.jpg" border="1" width="100%"> <img src="p.jpg" border="1" width="100%"> <img src="i.jpg" border="1" width="100%"> </marquee></td> </tr></table> </div> </body>
143
MAJOR PROJECT
Coding for upcoming shows:
<?php require("connection.php"); $date = date('Y-m-d');
MGIET,BADHOO
$startdate=strtotime(date('Y-m-d')); $startdate += 24 * 60 * 60 * 1; $date=date("Y-m-d", $startdate); $timeStamp = strtotime(date('Y-m-d')); $timeStamp += 24 * 60 * 60 * 8; // (add 7 days) $newDate = date("Y-m-d", $timeStamp); $hall_id=""; $movie_id=""; ?> <body bgcolor="#99FF99"><div> <table><tr><td width="1350" background="a.jpg"><img src="logo.png" width="148" height="74"><font face="Bodoni MT Black" size="+6" color="#990000">RAINBOW ENTERTAINMENT SYSTEM </font><img
src="b.jpg" width="148" height="74"></td></tr></table> <table width="100%"> <tr align="center"> <td width="30%"><font face="Arial Black" size="+2"><?php
date_default_timezone_set('Asia/Calcutta');
144
MAJOR PROJECT
echo date("F j, Y, g:i a");?></font></td> <td width="30%"><a
MGIET,BADHOO
href="login.php"><font face="Arial Black"
size="+2">Login</font></a></td><td><a
href="register.php"><font
face="Arial Black" size="+2">Register</font></a></td></tr></table> <table width="80%" align="center" height="300"> <tr><td valign="top" width="20%"><table width="100%" border="1"
><tr><td align="center"><a href="index.php"><font face="Arial Black" size="+1">Home</font></a></td></tr><tr><td href="search.php"><font Show</td></tr><tr><td Playing</td></tr><tr><td Shows</font></a></td></tr></table> <table width="100%" border="1"><tr><td> <marquee direction="up" behavior="alternate" height="330"><img face="Arial Black" align="center"><a size="+1">Search/Book align="center"><a align="center"><a
src="c.jpg" width="100%"> <img src="d.jpg" border="1" width="100%"> <img src="e.jpg" border="1" width="100%"> <img src="w.jpg" border="1" width="100%"> <img src="k.jpg" border="1" width="100%"> </marquee> </td></tr></table></td> <td valign="top">
145
MAJOR PROJECT
<?php $checksql t.Location, m.Name, m.Category, =
MGIET,BADHOO
"SELECT
t.TheaterName, s.Date,
m.cost,
m.Director,
s.HallID,s.StartTime, h.HallNumber FROM shows s, hall h, theater t, movie m WHERE s.MovieID = m.MovieID AND s.HallID = h.HallID AND h.TheaterID = t.TheaterID AND s.Date BETWEEN '$date' AND '$newDate'"; $checkresult = mysql_query($checksql); $checknumrows mysql_num_rows($checkresult); if($checknumrows>0) { ?> <html><title>Movies in the next 7 days</title> <body><center> <br><B><font size="+2"><u>Scheduled Movies</u></font></B> <br><br><br> <table border="2"> <tr><td><b>Theater Name</b></td><td><b>Theater =
146
MAJOR PROJECT
<?php while($row mysql_fetch_array($checkresult))
MGIET,BADHOO
=
echo $row['Location'] ?></td> <td><?php echo $row['Name'] ?></td><td><?php echo $row['Category'] ?></td> <td><?php echo $row['cost'] ?></td><td><? php echo $row['Director'] ?></td> <td><?php echo $row['Date'] ?></td><td><?php echo $row['HallNumber'] ?></td> <td><?php echo $row['StartTime'] ?></td></tr> <?php } ?> </table> <font face="Arial Black" size="+2"> <a href="index.php">Go to homepage</a></font> </center> </body>
147
MAJOR PROJECT
</html> <?php }
MGIET,BADHOO
else { ?><center><?php echo "<br><br><br><font face=\"Arial Black\" size=\"+3\">No Shows available<br><br></font>"; ?><font size="+3"><a homepage</a></font></center><?php } ?> </td> <td width="20%" valign="top"> <marquee direction="down" behavior="alternate" height="470"> <img src="o.jpg" border="1" width="100%"> <img src="q.jpg" border="1" width="100%"> <img src="m.jpg" border="1" width="100%"> <img src="n.jpg" border="1" width="100%"> <img src="p.jpg" border="1" width="100%"> face="Arial Black" to
href="index.php"><br>Go
148
MAJOR PROJECT
<img src="i.jpg" border="1" width="100%"> </marquee></td> </tr></table>
MGIET,BADHOO
MAJOR PROJECT
header("Location: login.php"); exit; }
MGIET,BADHOO
if($custId=="") { header("Location: login.php"); exit; } else { ?> <html> <body bgcolor="#99FF99"> <div> <table><tr><td width="1350" background="a.jpg"><img src="logo.png" width="148" height="74"><font face="Bodoni MT Black" size="+6" color="#990000">RAINBOW ENTERTAINMENT SYSTEM </font><img
150
MAJOR PROJECT
<td width="30%"><font face="Arial date_default_timezone_set('Asia/Calcutta');
MGIET,BADHOO
Black" size="+2"><?php
<tr><td
valign="top"
width="20%"><table
width="100%"
border="1"
><tr><td align="center"><a href="index.php"><font face="Arial Black" size="+1">Home</font></a></td></tr><tr><td href="search.php"><font face="Arial Black" Show</font></a></td></tr><tr><td Playing</font></a></td></tr><tr><td Shows</font></a></td></tr></table> <table width="100%" border="1"><tr><td> <marquee direction="up" behavior="alternate" height="330"><img align="center"><a size="+1">Search/Book align="center"><a align="center"><a
src="c.jpg" width="100%"> <img src="d.jpg" border="1" width="100%"> <img src="e.jpg" border="1" width="100%"> <img src="w.jpg" border="1" width="100%"> <img src="k.jpg" border="1" width="100%"> </marquee> </td></tr></table>
151
MAJOR PROJECT
</td> <td valign="top"> <center> <br><br>
MGIET,BADHOO
<form
name="book"
action="booking_process.php?custId=<?php
echo
$custId;?>&showId=<?php echo $showId;?>" method="POST"> <p><br> <font face="Arial Black" size="+1"> Enter the number of Tickets:</font> <input type="text" name="no_of_tickets" /> (Rs 50 per ticket)<br> <?php if (isset($_SESSION['non_numeric'])) { echo $_SESSION['non_numeric']; } ?> </span><br> <input type="submit" value="Book my Ticket(s)"> </p>
152
MAJOR PROJECT
<p><br>
MGIET,BADHOO
<font face="Arial Black" size="+2"><a href="index.php">Go Back to Main Page</a></font> </p> <p><br> <?php if($_GET['option']=="theater"){?>
<font
face="Arial
Black"
size="+2">
<a
href="showTheaterSearch.php?">Go to Previous Page</a></font> <?php }?> <?php if($_GET['option']=="movie"){?> <font face="Arial Black" size="+2"><a
</form> </center> </td> <td width="20%" valign="top"> <marquee direction="down" behavior="alternate" height="470"> <img src="o.jpg" border="1" width="100%">
153
MAJOR PROJECT
<img src="q.jpg" border="1" width="100%"> <img src="m.jpg" border="1" width="100%"> <img src="n.jpg" border="1" width="100%"> <img src="p.jpg" border="1" width="100%"> <img src="i.jpg" border="1" width="100%">
MGIET,BADHOO
154
MAJOR PROJECT
MGIET,BADHOO
155
MAJOR PROJECT
MGIET,BADHOO
1.
This Rainbowentertainment system model project can be developed further to include more functionalities for a comprehensive system that can provide information to any person/firm interested in a similar system for managing data etc.
2.
This model can be used by the users located at different places through server connectivity. In this way locations across the globe can be covered with this model of data management through mySQL and combining it with the interface of phpmyadmin which makes designing and implementation of this model easier.
3.
This model is scalable and can be replicated quickly for different customers by the developer due to the simplicity of implementation provided by the PHP designer interface.
156
MAJOR PROJECT
4.
MGIET,BADHOO
The administrator can incorporate feedback received from the users and modify this program easily thus making continuous improvement possible..
157
MAJOR PROJECT
MGIET,BADHOO
158
MAJOR PROJECT
MGIET,BADHOO
EVALUATION PROJECT:ADVANTAGES : There are many advantages of the proposed system: It provides flexibility for the software. It is convenient. It is cost effective.
OF
THE
FEATURES:i) Systematic ii) Security iii) Clarity iv) Simple v) Authentication of user vi) Good interface vii) viii) Back up of database User friendly environment
159
MAJOR PROJECT
MGIET,BADHOO
FUTURE ENHANCEMENT:-
This project can be extended by adding some more features. Currently user have to perform every operation by clicking on buttons regularly. A tool box can be provided to user so that user can select any tool from that toolbox & all operations will be performed by that tool.
160
MAJOR PROJECT
MGIET,BADHOO
CONCLUSION
161
MAJOR PROJECT
MGIET,BADHOO
In the concluding section, it can be said that the proposed sysetm is efficient in a against the given requirements. It is quite time efficient , convinient to use , user friendly, secure and consistent. But further improvements can be made in this project. Program fuctionality is very good. Breath of functionality : good Reliability & Robustness : excellent User friendliness : very good
a)
Breath of functionality :
The design implements the use of image processing techniques to change attributes of any image & to perform various operations with it.
b)
As the designing of the software is totally encoded with the help of java concept so it is less prone to errors & also it is much safer from virus attacks. There is one more advantage since it is a java code so it is platform independent & is compatible to all the operating systems.
c)
labels, buttons make the design highly user friendly. The user doesnt need to have a great knowledge of high level language.
162
MAJOR PROJECT
MGIET,BADHOO
163
MAJOR PROJECT
MGIET,BADHOO
BIBILIOGRAPHY
I would like to repeat my thanks to my mentors who have constantly guided and helped me in completing the project. Besides this I have also referred to some books and have also sought help from various websites during the course of the project. The books and websites referred are as follows:
Books:
My SQL PL SQL
W.
164
MAJOR PROJECT
MGIET,BADHOO
REFERENCES
Websites:
1. http://www.w3schools.com 2. 3. 4.
165
MAJOR PROJECT
MGIET,BADHOO
166