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]






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.






Presented By :ER. Anurag Verma [10142] KANIKA BEDI


(Lect. C.S.E ) Sarswat[10145]


V ipul Mahajan [10148] V ikas Jaggi [10187]

Signature and Name of HOD :ER. KANIKA BEDI


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.


During this course while developing the project of “RAINBOW ENTERTAINMENT SYSTEM” we are exposed to Multifaceted features of “PHP” . Above all we wish to thank the almighty God. Computer basically stress on doing the things practically. This 4 .BADHOO So at last this section will not be completed if we overlook to mention our obligation to all our well wishing friends.MAJOR PROJECT MGIET. which can be solved using standard solutions. It is essential that practical field experience be gathered which puts to test the classroom learning because in computer we come across problems. ANURAG VERMA [10142] BHAVNA SARSWAT[10145] VIPUL MAHAJAN [10148] VIKAS JAGGI [10187] PREFACE Information Technology has become a sort of success full career in today’s competitive environment.

BADHOO project work provided us simple opportunity of handling things practically. BHAVNA 5 . M.MAJOR PROJECT MGIET. in depth knowledge of php and other various tools used in development of this project.G INSTITUTE OF ENGINEERING & TECHNOLOGY CERTIFICATE This to certify that project work entitled ” RAINBOW ENTERTAINMENT SYSTEM” submitted by “ ANURAG VERMA(10142).

Tech in of ER. :ER.G. KANIKA BEDI. VIKAS JAGGI(10187)” student of as a part of the course curriculum for the B.D. 8-12 13-15 16-42 6 . KANIKA BEDI (CSE & IT) INDEX S.E.MAJOR PROJECT “M.I.BADHOO SARSWAT(10145).O. KANIKA BEDI (LECT CUM PROJECT GUIDE) SIGNATURE AND NAME OF H.N O 1 2 3 INTRODUCTION SUMMARY OF THE PROJECT SYSTEM REQUOREMENT SPECIFICATION TOPICS PAGE NO. VIPUL MAHAJAN(10148). “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. This report has not being submitted to any other institute or PROJECT GUIDE:ER.T BADHOO” MGIET.





Project Title









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.



record of ever growing applicants was Role of RAINBOW ENTERTAINMENT System: 1. Better user service 4.MAJOR PROJECT 1. Discipline across the functions 12 . Unable to get accurate and timely information 4. Systematic Look into Systems & procedures 2. Manual system leads to discrepancies and errors 2. Provide Security aspects 6. Maintaining cumbersome. Fast access of information 3. Improved staff efficiency of handling data 5. Adequate management of database 3. Specific information about each entity in the system 4.BADHOO Existing System: 1. Modifications are time consuming or not feasible 3. Increase capacity of handling data 7. Higher Reliability 2. Increase the throughput MGIET.



It makes user easy to check the information about the now playing and upcoming shows by providing the direct links on the address bar. movies. The system is based on traditional file system. different halls. In the existing system a lot of paper work involves. So it becomes easy to maintain the records of any theater having no. which lead to difficulty in manual report generation. In this project all the process of theater is made online. Other important function is for the users. shows and other related information. records of different theaters. of 15 . which reduces the human efforts to maintain the data and also saves money and time. This project two panels one for administrator and other for user. it is hard to search the related information and it also takes more time and money. No proper records available. which is a time consuming process. One of the major advantage of this project is that it does not involves any paper work. 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.MAJOR PROJECT MGIET. In case of paper work. Only Major function in administrator panel involves maintaining administrator is able to make changes in the database of the theater information .BADHOO SUMMARY OF PROJECT In the project includes entitled “RAINBOW ENTERTAINMENT SYSTEM” it is basically based on the online theater processing.

The function of this project start that contains all information about the theater. user need to be registered first. which movie is playing in which hall of which theater. Administrator can make any change to the database of the system related to the information of movies. A person can book any number of tickets and the cost is shown according to the number of tickets. money and also it is more reliable as compared to the existing system. one is administrator panel and the 2nd one is user panel. etc. upcoming shows. It is quite easy to maintain the information and to search the related information to the various theaters . User can only book the shows and search the currently playing movies and the upcoming shows. MGIET. To sum up we can say that the system have the number of advantages over the existing system. Only then he can login through the user panel. About in it included all information such as currently running movies in any theater. Hence there is less wastage of time. halls. halls in those theaters and about movies. 16 . The cost of tickets is multiplied automatically and the total cost is shown to the user. It saves money.MAJOR PROJECT time and also reduces the human efforts. For this.BADHOO halls. But only the registered user can book the shows and search the related information. timing of the movies etc. The project is divided into two panels.movies and shows which is not possible in the existing system.



mouse and TFT HP Laser Jet 1015 19 . It is recommended that the minimum configuration for clients is as appended below. Suggested Configuration of Windows clients – HARDWARE SPECIFICATION : It's a web – based project. so a robust hardware configuration is required. The Hardware requirements are: a b c d e Processor RAM Hard Disk I/O Devices Printer Intel Core 2 Duo 120 MB 10GB Keyboard.BADHOO SYSTEM REQUIREMENT SPECIFICATIONS This application has the benefit that it will be comfortable working in an environment with minimum facilities that are easily available.MAJOR PROJECT MGIET.

HTML. The Operating System used is Windows 7 Ultimate.BADHOO SOFTWARE SPECIFICATION Following System Software’s 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. TECHNOLOGY USED The technology used is PHP. websites . MS SQL phpmyadmin is used as back-end. and from interviews. Project objective: 20 .MAJOR PROJECT MGIET. Secondary data would be obtained from internet.

BADHOO RAINBOW ENTERTAINMENT SYSTEM is a live project. To make information easily accessible. To provide full security by introducing adequate controls and checks 2. 21 . 3. Movies Details 5. OVERVIEW OF DATA REQUIRMENT Input Data 1. Users Details 2. Theaters Details 3. save time efforts. Shows Details Output Data The output will be generated in the form of online Application forms. In the project first we have to study about the process of Theaters. By eliminating duplicate entries minimize data redundancy. 4. Halls Details 4.MAJOR PROJECT MGIET. On the basis of analysis the following objective are framed in order to achieve the required goals. To create a flexible system so that future change can be easily incorporated. 1.

MySQL (pronounced My Ess Q El) is an open source. for specifying security. SQL Relational Database Management System (RDBMS) that is free for many uses. query and update. SQL is a comprehensive database language: it has statements for data definition.MAJOR PROJECT MGIET. What follows is the brief description of the same. 22 . Overview of MS SQL The name SQL is derived from structured query language. 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++. DATABASE SELECTION: MS SQL The database selected to develop this application software is MS SQL Server as the backend. In addition it has facility for defining views on the database. SOL is a well defined language developed for relational database users to interact with database in simple and efficient manner.BADHOO Software Selections: Database And Language The selection of database for the backend and language to implement the front end was made depending upon the available technologies and resources. it is both DDL and DML. and authorization. Hence.

it does not duplicate the data itself. To add. Following are main features of MYSQL: 1. A database is a structured collection of data. and process data stored in a computer database.BADHOO Data in SQL is organized in the form of tables. 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 is the most common standardized language used to access databases and is defined by the ANSI/ISO SQL Standard. Nor does it change the sequence in which data is stored in the table. 23 . Since computers are very good for handling large amount of data. This adds speed and flexibility. access. My SQL software is open source. database management systems play a central role in computing. In the table indices control the way data is accessed. My SQL is a relational database management system. A relational database stores data in separate tables rather than putting all the data in one big storeroom.MAJOR PROJECT MGIET. SQL also maintains index files for tables. It may be anything from a simple shopping list to a picture gallery or the vast amounts of information in a corporate network. My SQL is a data base management system. 3. However. The value in the key field is unique for every record and thus helps in uniquely identifying records. 2. Within a table records are arranged according to a reference value known as the primary key or the key field. you need a database management system such as My SQL Server. The SQL part of MYSQL stands for “Structured Query Language”. as standalone utilities or as parts of other applications.

Although under constant development. tools.MAJOR PROJECT MGIET. 24 . speed and security make MySQL Server highly suited for accessing databases on the Internet. Its connectivity. 5. and easy to use. Anybody can download the MySQL software from the Internet and use it without paying anything. several different client programs and libraries. It is very likely that your favorite application or language supports the MySQL Database Server. The MySQL Database Software is a client/server system that consists of a multithreaded SQL server that supports different back ends. reliable. and a wide range of application programming 6. administrative interfaces(APIs). A large amount of contributed MySQL software is available.BADHOO Open source means that it is possible for any one to use and modify the software. MySQL Server today offers a rich and useful set of functions. 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. The MySQL Database Server is very fast. 4. MySQL Server works in client/server or embedded systems.

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.MAJOR PROJECT INTERFACE MGIET. and Alcatel. the code and features in the Community Edition are identical.BADHOO There are several graphical interfaces available. Widespread availability: MySQL is the most popular open source database. which is free and the default method many hosting companies provide for accessing MySQL. Yahoo!. MacOS X. New features are being added constantly. Most hosting companies automatically offer MySQL in combination with PHP. and Linux. the most popular being phpMyAdmin. A database created on one system requires no conversion when transferred to another. Security: 25 . Cross-platform compatibility: MySQL runs on Windows. Open source: Although there is a commercial version. It’s feature-rich and fast.

LANGUAGE SELECTION: PHP OVERVIEW OF THE PHP FRAMEWORK The PHP Framework is a new computing platform that simplifies application development in the highly distributed environment of the Internet. such as Windows-based applications and Webbased applications. or executed remotely. To provide a code-execution environment that minimizes software deployment and versioning conflicts. The PHP Framework is designed to fulfill the following objectives: 1. 2. 3. To make the developer experience consistent across widely varying types of applications.BADHOO Bugs. To provide a code-execution environment that guarantees safe execution of code. but Internetdistributed. 4.MAJOR PROJECT MGIET. are dealt with quickly. PHP FRAMEWORK IN CONTEXT 26 . To provide a code-execution environment that eliminates the performance problems of scripted or interpreted environments. To provide a consistent object-oriented programming environment whether object code is stored and executed locally. To build all communication on industry standards to ensure that code based on the PHP Framework can integrate with any other code. 6. when found. 5. including code created by an unknown or semitrusted third party.

This infrastructure enables you to use managed code to write your business logic. such as MY SQL and APACHE server. the runtime can be hosted by high-performance.MAJOR PROJECT MGIET. server-side applications. OVERVIEW OF PHP: 27 . Finally. while still enjoying the superior performance of the industry's best enterprise servers that support runtime hosting.BADHOO The following sections describe the main components and features of the PHP Framework in greater detail.

MAJOR PROJECT MGIET. meaning it 28 . as PHP was developed before ASP. Proprietary products in this niche are Microsoft’s Active Server Pages. In fact. more efficient memory allocation. PHP is currently in its fifth major rewrite. PHP is an official module of Apache HTTP Server. most of what PHP does is invisible to the end user. PHP has little to do with layout. and Sun’s Java Server Pages. PHP and server-side Java have gained momentum. For example. This means that the PHP scripting engine can be built into the Web server itself. before they get sent to the browser. Over the past few years. however. The product was originally named Personal Home Page Tools. PHP is a server-side scripting language. and greatly simplified maintenance. Like Apache Server.PHP stands for PHP: Hypertext Preprocessor. or really anything about what a Web page looks and sounds like. so this comparison no longer seems appropriate. the marketleading free Web server that runs about 67 percent of the World Wide Web (according to the widely quoted Netcraft Web server survey). leading to faster processing. PHP is fully cross-platform.BADHOO PHP is the Web development language written by and for Web developers. You can think of it as a collection of super-HTML tags or small programs that run inside your Web pages—except on the server side. Strictly speaking. events. which can be embedded in HTML or used as a standalone binary. because usually the result of PHP is HTML. Some tech journalists used to call PHP “the open source ASP” because its functionality is similar to that of the Microsoft product—although this formulation was misleading. while ASP has lost mindshare. 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. Someone looking at a PHP page will not necessarily be able to tell that it was not written purely in HTML. on the fly DOM manipulation. called PHP5 or just plain PHP. Macromedia’s ColdFusion.

taking PHP code as its input and creating web pages as output. The most recent major release of PHP was version 5. but can be used from a command line interface or in standalone applications. It is mainly used in server-side scripting. as well as on Windows and now on projects under the aegis of the Apache Software Foundation—including PHP —are open source software. It can be deployed on most web servers and on almost every operating system and platform free of charge. It is also the most popular Apache module among computers using Apache as a web server. PHP is a widely-used general-purpose scripting language that is especially suited for web development and can be embedded into HTML.5 on November 8. 2007. originally designed for producing dynamic web pages. the Free Software Foundation considers it to be free software. originally standing for Personal Home Page.BADHOO runs native on several flavors of Unix. 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. began as a set of Common Gateway Interface binaries written in the C programming language in 1994 by the Danish/Greenlandic programmer Rasmus Lerdorf.2. All MGIET.MAJOR PROJECT Mac OS X. PHP is installed on more than 20 million websites and 1 million servers. PHP. although the number of websites with PHP installed has declined since August 2005. 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 . While PHP was originally created by Rasmus Lerdorf in 1995. It generally runs on a web server. PHP is a computer scripting language. Released under the PHP License.

This includes both client-side and/or server-side languages. including HTML. Introduction of Web Forms You can use Web Forms pages to create programmable Web pages that serve as the user interface for your Web application.BADHOO tools were originally created to perform tasks such as displaying his résumé and recording how much traffic his page was receiving.dll files run on the server and dynamically produce the HTML output for your page. A Web Forms page presents information to the user in any browser or client device and implements application logic using server-side code. form handling.MAJOR PROJECT MGIET. The syntax was similar to Perl but was more limited.. XML. It included a larger C implementation which could communicate with databases and helped build simple. and less consistent. Combined with programs Forms can be combined with various scripting languages to allow developers to create dynamic web sites. and already had basic functionality that PHP has today. simpler. He released PHP publicly on June 8. the . This release was named PHP version 2. dynamic web applications. Jscript and JavaScript etc. and the ability to embed HTML. He combined these binaries with his Form Interpreter to create PHP/FI. which had more functionality.dll file. When a user requests the Web page URL. Web Forms page output may contain almost any HTTP-capable language. This includes Perllike variables. 1995 to speed up the finding of bugs and improving the code. Client-side 30 .

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. 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. ASP 4. Adobe ColdFusion 5. 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. JSP code for are the most common server-side 31 . Scripting languages programs used for web sites. While client-side languages used in conjunction with forms are limited. for example .BADHOO The de facto standard client-side scripting language for web sites is JavaScript. Most server-side program requests must pass through the web server's Common Gateway Interface to execute the program to actually perform the tasks. Perl 3. PHP 2. Some of the scripting languages commonly used: 1. Lightweight Directory Access Protocol to retrieving and storing data in a database to spell checking to sending e-mail — quite unlike client-side programs.MAJOR PROJECT MGIET. This very problem is quite evident to any developer who writes JavaScript multiple browsers. Server-side Server-side programs can do a vast assortment of tasks to create dynamic web sites — from authenticating a login through.

the stateless nature of Web pages. but somewhat differently.BADHOO Web Forms File Structure The code-behind class files for all Web Forms pages in a project are compiled into the project dynamic-link library (. 32 . Certain characteristics of Web processing — information passed via HTTP protocol.dll file. the life cycle for a Web Forms page is similar to that of any Web process that runs on the server. Web Forms Page Processing In general. and so on — apply to Web Forms pages just as they do to most Web applications. The first time a user browses to the PHP page. the . The generated class for the aspx page inherits from the code-behind class that was compiled into the project .dll) file. The.MAJOR PROJECT MGIET.dll file. When a user requests the Web page URL. PHP automatically generates a PHP class file that represents the page.dll files run on the server and dynamically produce the HTML output for your page.PHP page file is also compiled. and compiles it to a second .

and makes the information accessible via object properties.BADHOO However.MAJOR PROJECT MGIET. Over the years the Personal Home Page acronym was dropped and it evolved into the PHP Hypertext Preprocessor. Because PHP is a server side technology. the PHP page framework captures information posted with the Web Forms page. It is important to understand the sequence of events that occurs when a Web Forms page is processed. easy to use and open source (free). PHP has been evolving since 1994 as an open source code. He eventually rewrote PHP as a scripting engine and added support for forms. ADVANTAGES OF PHP PHP is one of the most popular server side scripting languages running today. PHP code is inserted directly into the HTML that makes up a website. It is used for creating dynamic web pages that interact with the user offering customized information. extracts the relevant values. For example. PHP also runs on just about every 33 . the user does not need any special browser or plug-ins to see the PHP in action. the code is executed. especially for those with backgrounds in programming such as C. When a visitor comes to the website. The beauty of PHP lies in its simplicity. secure. This knowledge will help you program your Web Forms pages and Web applications more effectively. it is fast. stable. javascript and HTML. PHP offers many advantages. the PHP page framework performs many Web application services for you. It is easy to understand and learn. A community of followers and developers formed and began using and further developing PHP. 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. 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.

XML. There you can find modules for flash movies. database interfaces and other modules available. PHP offers many levels of security to prevent malicious attacks. In addition. so it loads and executes quickly. The main PHP source repository is loaded with modules and interfaces that users have written and contributed. In addition to extensions. A huge advantage that PHP offers is its community. PHP can load into Apache. written in C. The community offers technical support and continuously updates the code further expanding PHP‚s capabilities.MAJOR PROJECT MGIET. It is typically used as an Apache module. PHP uses a modular system of extensions to interface with a variety of libraries such as graphics. encryption. the PHP community is willing to share. PHP has tons of server interfaces. If a database is not supported. PHP doesn‚t use a lot of the system‚ resources so it runs fast and doesn‚t tend to slow other processes down. It can also be run as a CGI module. Database interfaces are available for MySQL. the PHP community works together to fix any bugs. Macs and Windows versions. If you‚re looking for a particular script. ODBC is an option. PDF files. THTTPD and AOLserver. 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 PHP‚Äôs dynamic loading mechanism. PHP is also fairly stable and since it is open source. It works well with other software and can be quite fast.ini file. Informix. Since PHP is an open source project. Roxen. calendars and more. Oracle and plenty of others. etc. MS SQL. Of the server interfaces. IIS. These security levels can be adjusted in the . Another key advantage of PHP is its connective abilities. 34 .BADHOO platform including most UNIX.

BADHOO chances are another user has already created something similar. be sure to post the code for others. Likewise. if you have created a function that others might enjoy. 35 . easy to learn and integrates well across many platforms and with various software programs. consider the use of PHP.MAJOR PROJECT MGIET. If you‚re ready to add dynamic content to your webpages. Check within the PHP community for availability. It‚s free.

In the same way the system planning is very important for the every phase of SDLC (System Development Life Cycle). Ideally all future activities should be planned. Economic. Without a proper plan. Planning may be the most important management activity.BADHOO SYSTEM DEVELOPMENT LIFE CYCLE SYSTEM PLAN:- Winston Churchill’s remark points out that planning future endeavors. It is the first step in developing and managing systems. no real monitoring or controlling of the project is possible. 36 . identify the activities that need to be done to complete the project successfully. A good plan is flexible enough to handle the unforeseen events that inevitably occur in a large project. is important in managing operations. political. and plan the scheduling and resource allocation for these activities. The project planning must incorporate the major issues like size and cost estimation. The basic goal of planning is to look future. and culminates only when the software is retired. Software planning begins before technical work starts. continues as the software evolves from concept to reality. project monitoring and reviews. and personnel factors should be taken into account for a realistic plan and thus for a successful project. though difficult. scheduling. and risk management. personnel selection and evaluation.MAJOR PROJECT MGIET.

Project scheduling may prove to be very useful for controlling and monitoring the progress of the project.1 First activity is to estimate the size of project. This is dependent on the resources and development time. Resources requirements are estimated on the basis of cost and development time. Size estimation Cost estimation Development time Resources requirements Project scheduling Fig 11. we must understand The various steps of planning activities can be illustrated by the following diagram. If the size estimation is not reasonable. The size is the key parameter for the estimation of cost. development time and schedule for the project. it may have serious impact on the other estimation activities.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 In order to conduct a successful software project. 37 .

PERT charts are often used. PERT CHART For My Modules Below is the PERT chart for my modules. which if delayed will cause the overall project to delay. whose completion should not be delayed. A PERT chart is a graph based chart used to determine the activities that form the critical path.PERT chart depicts the dependencies among development the and various the activities performed schedule of during each software activity.BADHOO PERT CHART For large projects.MAJOR PROJECT MGIET. 38 . and which activities are not critical. the dependencies among activities are important to determine which critical activities are.To estimated represents the dependencies. The activity is represented by the oval and the number on the arc depicts the estimated number of weeks required for the completion of the activity.

2 39 .BADHOO Study of Conceptual Process 3 4 2 3 Database Designin g 1 Preparation of SRS Requirement Analysis and Feasibility Study GUI Designin g 1 2 Software Document Designing 3 Test Case Designin g 2 14 Coding 4 Implementatio n 9 Testing Review of Forms. test cases 2 Fig 11.MAJOR PROJECT Project Initiation 1 Problem Identificatio n MGIET.

Problem recognition 2. In system analysis we must know. Evaluation and synthesis 3. the data objects. data and behavior) indicate software’s interface with other system elements and establish constraints that software must meet. Requirements analysis is a software engineering task that bridges the gap between system level requirements engineering and software design. Once this information has been established. To begin.BADHOO SYSTEM ANAYSIS INTRODUCTION TO 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. Software requirements analysis may be divided into five areas of efforts: 1. Requirements analysis activities result in the specification of software operational characteristics (function. Modeling 4.MAJOR PROJECT MGIET. 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. processing functions. basic 40 . Specification 5. Review Current problems and desired information (input ant output) are evaluated and then analyst begins to synthesize one or more solutions. and behavior of the system are defined in detail.

The analysis process should move from essential information toward implementation detail.BADHOO architectures for implementation are considered. System Analysis is related by the following set of operational principles: 1. 41 . 5. The information domain of the problem must be represented and understood 2. The model that depicts information. function. and behavior must be partitioned in a manner that uncovers detail in a layered (or hierarchal) fashion. The process of evaluation and synthesis continues until both analyst and customer feel confident that software can be adequately specified for subsequent development step. 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.MAJOR PROJECT MGIET.

product The The hierarchical team structure is best different follows:programming structure can project Team Team Programmer Programmer Programmer Programmer 42 .MAJOR PROJECT MGIET. suited for the current project hierarchy can be be assigned to as described subsystem in the team.BADHOO PROJECT PLAN:- Team structure:The team as major structure for any project depends on the nature of the project.

Depending on the result of the initial investigation. ability to meet the users need and effective user or resources. the project is studied to determine what exactly the user wants depending upon the result of initial investigation. It focuses on three major questions:1) What are the user’s 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 . A feasibility study is a test of system proposal according to its work ability impact on the organization. the survey is expanded to more detailed feasibility study. Before the project is to begin.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.MAJOR PROJECT MGIET. The survey is expanded to more detailed study.

One reason might be the term“ feasibility study“ itself. culminates in a feasibility report. which enables project team.MAJOR PROJECT MGIET.BADHOO The result of the feasibility study is a formal proposal. A feasibility study is defined as an evaluation or analysis of the potential impact of a proposed project or program. The proposal summarizes what is known and what is going to be done. or upper management make a go/no go decision about rest of the project. One of the most effective ways is to conduct a determine whether the full scale project is feasibility study to This study workable. technical feasibility may be very important and significant. It is conducted to assist decision makers in determining whether or not to implement a project/program. This is simply a report a formal document detailed detailing the nature and scope of proposed solution. customer. but they are not use very much. 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. 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. why should we conduct a feasibility study? For few projects. 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. Feasibility studies are a time tested practice. It should also contain extensive .

The proposed system system with a windows platform.MAJOR PROJECT proposed project. requires a minimum of two computer 45 .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 project’s 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? Feasibility study has four parts:• • • • Technical Economical Behavioural Operational Technical feasibility:Technical feasibility revolves around proposed the existing system and to what extent can it support the system. MGIET.

Behaviour feasibility:It estimates the reactions of users staff towards the development of the computerized system. Benifits:1. Eliminition of errors 2. Software costs itself 2. The behavioral feasibility analysis yielded positive result. Maintenance cost incurred in future. Benifits: 1.MAJOR PROJECT Benifits:1.BADHOO Economical feasibility:Economic feasibility determines the benifits and savings that are expected from the system and compares them with the costs. Improve performance. Saving of time 46 . Minimize cost of processing MGIET. 2.

BADHOO In operational feasibility we study that whether the proposed system we work in right manner when implimented. well operationally. The proposed system seems to function operationally feasible.MAJOR PROJECT Operational feasibility:- MGIET. Hence the system is 47 .

MAJOR PROJECT MGIET. System design is the highly significant phase in the software development where the designer plans “how” a system should be 48 .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.

Structured design techniques help developers to deal with the size and complexity of programs. addressing the data. reliable and reasonably easy to understand. 2. change. functional and behavioral domain from an implementation perspective. 3.BADHOO produced in order to make it functional. 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. There are many strategies or techniques for performing system design. Without design. understandable guide for those who generate code and for those who test and subsequently support the software. There are three characteristics that serve as a guide for the evolution of a good design: 1. we risk building an unstable system. modify and maintain. They include: 49 . A well-designed system is easy to implement. The design should provide a complete picture of the software. Analysts create instruction about how code should be written and fit tighter to form a program. 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.MAJOR PROJECT MGIET. understandable and reliable and allows for smooth evolution. The design must be readable. Designing software systems means determining how requirements are realized and result is a software design document.

until we reach a level where no more refinement is needed and the 50 . Top . to combine those to provide even larger ones. starting from an abstract design. in each step the design is refined to a more concrete level. Bottom – Up Design 2.MAJOR PROJECT 1. Hybrid Design MGIET. till we arrive at one big module which is the whole of the desired program. for graphical functions etc. decomposing them into their lower level modules and iterating until the desired level of detail is achieved. Its limitation is that we need to use a lot of intuition to decide exactly what functionality a module should provide. These modules are collected together in the form of a “library”. A top-down major modules system.BADHOO Bottom-Up Design: A common approach is to identify modules that are required by many programs. for input-output functions. Top Down Design 3. These modules may be for match functions.Down Design: The approach starts by essential identifying idea the of top-down design of is the that the specification is viewed as describing a black box for the program. Since the design progressed from bottom layer upwards. This approach leads to a style of design where we combine modules to provide larger ones. the method is called bottom-up design. This is stepwise refinement.

we must have a good notion of the top to which the design should be heading. where the intuition is simpler. some bottom-up is essential for the following STEPS IN SYSTEM DESIGN a) DATA MODELLING:Data modeling answers a set of specific questions that are relevant to any data processing applications. and the need for bottom-up testing is greater. Hybrid Design: Pure top-down or pure bottom-up approaches are often not practical. when the entity to be built is software. a plane. it is difficult to determine what operations reason: 1. To permit common sub modules 2. In the use pre-written library modules. nothing can be tested until all its subordinate modules are coded. For top-down a good idea about the operations needed at the higher layers. Without the current layer should support.MAJOR PROJECT MGIET. the functions (and 51 . our model must take a different form. in particular. because there are more numbers of modules at low levels than at high levels. However. When a entity is a physical thing (a building. a machine). a mode is built that is identical in form and shape but smaller in scale. For a bottom-up approach to be successful. reuse of modules. If coding of a part starts soon its design. Models are created to gain a better understanding of the actual entity to be built. approach to be effective.BADHOO after design can be implemented directly. It must be capable of representing the information that software transforms. Near the bottom of the hierarchy. 3.

or a thing. For example.BADHOO sub-functions) that enable the transformation to occur. the attributes that describe the date object. choose one. such as a person. place. In some instances. person is not an object because it does not refer to a specific object. it is a general classification of objects. which are not chosen as the primary key. are 52 . primary key for each entity. an entity will have more than one attributes that can serve as a primary key. Name and hire date are attributes of the entity EMPLOYEE. An attribute instance is a single value of an attribute for an instance of an entity. and the behavior of The data model consists of three interrelated pieces of information: the data object. rather. Any key or minimum set of keys that could be a primary key is called a candidate key. “Ramesh” and “3 March 1989” are instances of the attributes name and hire date. Choose the identifier most commonly used by the user as long as it conforms to the properties listed above. An object has a unique identity and refers to a single object rather than to a group pf objects. For example. ATTRIBUTES AND RELATIONSHIPS Objects: An object is anything that anything that exists in the real world. and only one. OBJECTS. Attributes: Attributes are data items that describe an entity. MGIET. Candidate keys.MAJOR PROJECT the system as the transformation is taking place. and the relationships that connect data objects to one another. either physical or conceptual. It can be any noun or noun phrase. Once candidate keys are identified.

but for one instance of entity B there is only one instance of entity A. one-to-one: one instance of an entity (A) is associated with one other instance of another entity (B). For example. for a company in which all of its employees work on multiple projects. For example.BADHOO known as alternate keys. in a database of employees. For example. Non-key attributes describes the entities to which Relationships: There are three types of relationships between entities: 1. MGIET. one or many instances of another entity (B). each instance of a project (B) has multiple employees (A) associated with it. the building name (A) is associated with many different employees (B). and one instance of entity B is associated with one. USER or many instances of another entity (B). each employee name (A) is associated with only one social security number (B). and at the same time. each instance of an employee (A) is associated with many instances of a project (B).MAJOR PROJECT they belong. 53 . for a company with all employees working in one building. many-to-many: one instance of an entity (A) is associated with one. 2. 3. one-to-many: one instance of an entity (A) is associated with USER. USER or many instances of another entity A. but those employees all share the same singular associated with entity A.

MAJOR PROJECT MGIET.)ENTITY RELATIONSHIP DIAGRAM:A graphical representation of entities and their relationships to each other.BADHOO b. An entity is a piece of data-an object or concept about which data is stored. typically used in computing in regard to the organization of the databases or information systems. A relationship is how the data is shared between entities ENTITY RELATION DIAGRAM 54 .

BADHOO Select Proce ss USER UserNam e User Addre ss Project Phone Nam e Status ADMIN Detail view Select s Location Detail s Address Name Duration PROCESS FLOW DIAGRAM:One of the simplest.MAJOR PROJECT Login MGIET. yet most powerful tools for understanding and analyzing business activities is a graphic description 55 .

It borrows from the disciplines of Process Engineering the idea of describing or analyzing complex structured activities by flow-charting. but not limited to. Definition of standard methods and procedures Planning and development of any business system. activity.BADHOO technique called the Process Flow Diagram (PFD). function. function or department. Process Flow Diagrams are useful for. 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. 56 .MAJOR PROJECT MGIET. the following purposes: • • • Task visualization for business activity trouble shooting and problem solving.

MAJOR PROJECT MGIET.BADHOO • Process Flow Diagram for the System Requirement study SRS Preparation SRS Approv al YES Project Plan Study Design Document Study YES Design of Application Software SRS approv al A B C D 57 .

BADHOO D A B C Code Review Complianc e to standards YES NO Testing Bugs Detecte d YES ERRORS Integration Testing Implementation and Training 58 .MAJOR PROJECT MGIET.

3. Both have different access to different web pages 2. It is a way of expressing system requirements in graphical form. The Administrator is prompted to enter and manage the information. The user is prompted to submit and edit the details submitted. DFD is also known as Bubble Chart as it consists of series of bubbles joined by lines. It is the starting point of the design phase that functionally decomposes the requirements specifications down to the lowest level of detail. They have been used for many years prior to the advent of computers.MAJOR PROJECT MGIET. The Application uses Users based access/ security for the General user and the Administrator.BADHOO DATA FLOW DIAGRAM Data Flow Diagram are used widely for modeling the requirement. 59 . Different Users Based Access 1. It is a way of expressing system requirements in a graphical form. These bubbles represent data transformations and the lines represent data flows in the system.

Submits information for sign up User registered Fig. Information stored in Database 1. Data Flow Diagram User 2. password Fig.BADHOO Admi n Enter/ Retrieve User Info User Enter User id.MAJOR PROJECT MGIET. Data Flow Diagram User Registration 60 . password Logi n Retrieve User/Admin Info Enter Admin id.


User info

Submit and Retrieve User information Enter User id, password Login



Enter Admin id, password

Fig. Data Flow Diagram For Login







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

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.BADHOO TESTING OBJECTIVES 1. Software reliability: System must be reliable that can performs critical tasks correctly such as Generate the Demand Notice. 2. Show recovery Status of SCA/Ngo correctly at any time. System assurance: The main purpose of system assurance is to deliver a quality product. And the price of an untested and under-tested system is high. Testing must be thorough and well planned. Data collected as testing is conducted provide a good indication of software reliability and some indication of software quality as a whole and perform all critical task efficiently and reliably. A partially testing system is as bad as an untested system. Software quality: Software quality is characterized by the correctness of program logic and implementation. 4. 3. TEST CASE DESIGN The main purpose of testing is to detect errors and error-prone areas in a system. Conformance to requirements increases the organization’s confidence in the system. It begins with testing the software during development. Our objective is to design tests that systematically uncover different classes of errors and to do so with a minimum amount of time and effort. 64 .MAJOR PROJECT MGIET.

MAJOR PROJECT MGIET.BADHOO The design of tests can be as challenging as the initial design of the product itself. Black Box Testing: Black box testing refers to testing. execute all loops at their boundaries and within their operational bounds. which produces the output. There is no attempt to analyze the code. That is. Any Software product can be tested in one of the ways: (1) knowing the specified function that a product has been designed to perform. Functionality of the black box is understood completely in terms of its inputs and outputs. (2) knowing the internal workings of a product. exercise all logical decisions on their true and false sides. Using white box testing methods. black box 65 . the software engineer can derive test cases that Guarantee that all independent paths within a module have been exercised at least once. tests can be conducted to ensure that the internal operation of product performs according to specification and all internal components have been adequately exercised. and exercise internal data structures to ensure their validity. Testing design tests have the highest likelihood of finding the most errors with a minimum amount of time and effort. tests can be conducted that demonstrate each function is fully operational. This methods focus on the functional requirement of the software. 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. which involves only observation of the output for certain input values.

How is functional validity tested? 2. Is the system particularly sensitive to certain input values? 4. How are the boundaries of a data class isolated? 5. Incorrect or missing functions. What data rates and data volume can the system tolerate? 66 . 2.BADHOO testing enables the software engineer to derive sets of input conditions that will fully exercise all functional requirements for a program. Interface errors. What classes of input will make good test cases? 3. 4. which is performed early in the testing process. 3. This approach is likely to uncover a different class of errors than white box methods. Input Domain Input test data System under test Output Domain Output test data black box testing attempts to find errors in the following categories: 1. Unlike white box testing. Initialization and termination errors. Errors in data structures or external database access.MAJOR PROJECT MGIET. black box testing tends to be applied during later design Tests are designed to answer the following questions: 1.

Any testing strategy must incorporate test planning. Different testing techniques are appropriate at different points in time. and the Customer a road map that describes the steps to be conducted as part of testing. 2.MAJOR PROJECT operation? MGIET. the Quality Assurance Organization. 3 . and the resultant data collection and evaluation. 4. test case design test execution. What effect will specific combination of data have on system TESTING STRATEGIES A Software testing strategy provides a road map for the Software Developer. 3. A Strategic Approach to Software Testing:A number of Software testing strategies have been proposed in the literature. but debugging must be accommodated in any testing strategy. 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. Testing and debugging are different activities. SOFTWARE TESTING Unit Testing:- 67 . Testing us conducted by the developer of the software and (for lager project) an independent test group.BADHOO 6.

One purpose of testing is to find (and remove) as many errors in the software as practical. Most software product builders use a process called Alpha and Beta testing to uncover errors that only the end user seems able to find. although a limited amount of White box testing may be used to ensure coverage of major control paths.A customer conducts the Alpha Test at the developer’s site. it is impractical to perform formal acceptance tests with each one. Integration Testing:Integration testing addresses the issues associated with the dual problems of verification and program construction.MAJOR PROJECT MGIET. Unit testing focuses verification efforts on the smallest unit of software design-the module. Black box testing techniques are used exclusively during validation.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. Black box test case design techniques are the most prevalent during integration. Alpha And Beta Testing :If software is developed as a product to be used by many customers. 68 . The Beta Test is conducted at one or more customer sites by the end user of the software. behavioral. The unit test is always White box-oriented. Validation Testing :Validation testing provides the final assurance that software meets all functional. and the steps can be conducted in parallel for multiple modules. and performance requirements.

System testing tests the flow of data through the entire system. A quality product can be defined as: 1. Here the entire software system is tested and the reference document for this process is the requirement document. QUALITY ASSURANCE Introduction: The key factor to the success in software quality program is its implementation. One that is produced as per the predefined standards. Testing here focuses on the external behavior of the system.BADHOO System testing is also known as acceptance testing. 69 . The goal of system testing is to see if a validation exercise. While definition of process can be evolving phenomenon. and in many situations it is the only validation activity. implementation of processes makes the difference between success & failure.MAJOR PROJECT Acceptance Testing :- MGIET. System testing is sometimes performed with realistic data of the client to demonstrate that the software is satisfactory. One that is fit for use. 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. 2.

quality assurance is the process of ensuring that the product confirms to Quality Management System A Quality Management System (QMS) is instituted by an organization to manage & maintain quality procedures in its day. MGIET.MAJOR PROJECT its standards. responsibility and procedures for performing various activities. It is a conglomerate of people who have the required authority. At a finer level of detail. and positioning on-going support and maintenance of the system within the Performing Organization (the transition). SYSTEM IMPLEMENTATION System Implementation means the process of converting a new or a revised system design into an operational one. The purpose of System Implementation is to make the new system available to a prepared set of users (the deployment).to-day functioning. deploying the system consists of executing all steps necessary to educate the 70 .BADHOO So. The QMS of an organization is guided by quality policy & quality procedures supported by various documents-forms/formats to maintain records & work instructions to provide guidelines for doing a particular piece of work. One aspect of implementation is conversion and another aspect is the post implementation review and software maintenance.

protected. Proper user manuals have been constructed for users to be acquainted with the system. however. Once the system goes live. and validating that business functions that interact with the system are functioning properly. where project issues that arise have little or no impact on day-to-day business operations. It is through the careful planning. Any miscues at this point will almost certainly translate into direct operational and/or financial impacts on the Performing Organization. Documentation Standards Implementation is achieved if we have put all the standards in the project development. confirming that all data required at the start of operation is available and accurate. placing the newly developed system into production.BADHOO Consumers on the use of the new system. this is no longer the case. with ownership of the new system moving from the Project Team to the Performing Organization. execution. Developments Standards 3. 71 . Transitioning the system support responsibilities involves changing from a system development to a system support and maintenance mode of operation. and secure environments. and management of System Implementation activities that the Project Team can minimize the likelihood of these occurrences.MAJOR PROJECT MGIET. Design Standards 2. 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. and determine appropriate contingency plans in the event of a problem. Its aim is to convert design standards into real application that is user friendly and easy to understand. Following standards have been followed while developing the system: 1.

MAJOR PROJECT Aspects of Implementation The two aspects of implementation are: 1. the old system and the new system are used simultaneously for some period of time so that the performance of the 72 . There are two methods of handling systems conversion: 1.BADHOO Training: Even well designed and technically elegant systems can succeed or fail because of the way they are used. Conversion Procedures MGIET. the successful implementation of an information system. and may even prevent. Conversion: Conversion is the process of changing from the old system to the new system. Training personnel 2. Parallel Run 2. Therefore the quality of the training received by the personnel involved with the system in various ways helps or hinders. Immediate Cut-off Parallel Run: In this approach.

There is high risk involved in this approach if the new system is not tested rigorously.MAJOR PROJECT MGIET. the user can fall back on the old system. The advantage of this approach is that both systems need not be tested simultaneously.BADHOO new system can be monitored and compared with that of the old system. Also in case of failure of the new 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. 73 . The old system becomes redundant from the day of implementation of the new system.

Therefore. delivery or release of software inaugurates the maintenance phase of the life cycle. Corrective 2. installed & operational. workings etc. 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. 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.BADHOO SYSTEM MAINTENANCE : Software Maintenance is a task that every software development group has to face when the software is delivered to the customer’s site. To perform maintenance we must perform a detailed planning of the maintenance process so that we can make necessary adjustments in budgets. Maintenance can be classified as: 1. Adaptive 3.MAJOR PROJECT MGIET. Perfective Corrective Maintenance: 74 . Maintenance of this system is entirely depends on the future requirements.

MAJOR PROJECT MGIET.BADHOO It means repairing processing or performance failures or making changes because of previously uncorrected problems or false assumptions.audits of low ranking programs to verify and correct the soft spots. One way to reduce maintenance costs is through maintenance management and software modification audits. Adaptive Maintenance: Adaptive means changing the program function. INPUT/OUTPUT FORM DESIGN 75 . and re. Perfective Maintenance: It means enhancing the performance or modifying the programs to respond to the users additional or changing needs. Maintenance is costly. Software modification consists of program rewrites system level updates.

which must match that in the source document. 3. 2.MAJOR PROJECT INPUT/OUTPUT DESIGN MGIET. sources and destinations. The format in which data fields are entered 76 . logical and free from errors as possible. transaction files and computer programs. data stores. the expanded data flow diagram identifies logical data flow.BADHOO Input design is the process of converting user-originated inputs to a computer based format. In entering the data the user must know the following: 1. Field sequence. In the system design phase. A system flow chart specifies master files (Database). The allocated space for each field. Input Data: The goal of designing the input data is to make data entry as easy.

Standard mouse Output Media and Devices: The output devices available to us are: 1. TFT (17 inches) 2.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. 77 . Colored TFT has provided us the chance to use colored forms 2. Mouse and keyboard has provided us the opportunity to facilitate the user to enter the data or do navigation in more affective way. Printer (Laserjet Printer 1015) Impact of Input/ Output Media on Design Layout: Input/ Output design media make a deep impact on the design layout of the product.MAJOR PROJECT Input Media and Devices: MGIET. In our project we have found the following impact: 1.

MAJOR PROJECT MGIET.BADHOO 1.Administrator Panel: 78 .

User Panel: 79 .MAJOR PROJECT MGIET. 2.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.

80 .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.

81 . In this page the sessions are used to avoid users from leaving any field empty.If username already exist then it will not be registered. Registration Form: MGIET. entered is not numeric or less than five digits then session will restrict to register the user.If phone no.BADHOO Users have register themselves before logging in. the user will be registered successfully he/ she can then login. Otherwise if all information is provided successfully.MAJOR PROJECT 3. If the Password and Re type Password are not same the session will display “Password must match”.

BADHOO If you have logged in. 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.MAJOR PROJECT 4. The theater name selected. This page is giving you the information about the selected theater. 82 . then after selecting the theater and date the following page will be displayed. the list of movies in that theater on that date. MGIET.

83 . of tickets not available”. it displays “Requested no. MGIET. of tickets entered is greater than the tickets available . In this page if the no.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. Otherwise the tickets will be booked.MAJOR PROJECT 5.

84 . MGIET. If the no. And the refrence no.MAJOR PROJECT 6. of tickets requested are available then the tickets will be booked for you for that show. will be given to you in this form.BADHOO This page consists of booking details.


to register the user. 86 . to search or book shows for authenticated users.BADHOO MAIN PAGE: This is the main page of project.MAJOR PROJECT MGIET. to saw the coming up shows for next seven days etc. It consists of the links to login.

BADHOO LogIN Page: The different types of users are: 1.MAJOR PROJECT MGIET. Users: Authenticated users can login only and can have only access to information. halls and movies. They can only search or book shows. Administrator: Administrator would have all capabilities. 87 .Administrator is responsible for managing the system with information regarding different theaters. 2.

the list of Halls in that theater will be given. 88 .BADHOO Administrator Panel: When you login as administrator this page will be opened.When you chose the theater and click on GO. Here the chose theater gives the list of theaters.MAJOR PROJECT MGIET.

89 .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.


In this page we have used text boxes. When you click on Save button the data will be saved to the database.BADHOO When you chose hall the form will be displayed as shown below. date etc. for show for that hall of that theater. to enter the information about movie. for entering data.MAJOR PROJECT MGIET. labels etc. “Movie already Playing ” will be displayed in next page otherwise “Record saved 91 . starting time. 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. endtime. duration. All this data will be entered for the selected hall and selected theater.

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.The movie entered will be displayed in this page.BADHOO successfully”. Otherwise Ist you have to register urself.MAJOR PROJECT MGIET. 92 .

MAJOR PROJECT MGIET. In this page the sessions are used to avoid users from leaving any field empty.BADHOO Registration Form: Users have register themselves before logging in. 93 . Otherwise if all information is provided successfully.If username already exist then it will not be registered. entered is not numeric or less than five digits then session will restrict to register the user. If the Password and Re type Password are not same the session will display “Password must match”.If phone no. the user will be registered successfully he/ she can then login.

94 .BADHOO Search And Book Show: When you click on menu Search /Book show. If you are searching by movie the following page will be displayed. Again there are two option to search your show one is by theater and other is by movie.MAJOR PROJECT MGIET. After logging in the information will be given to user. Then you have select the movie name and show timing and date of that movie.In both cases if you you have not loggedin before searching for shows then controlled will be transferred to login page. the following page will be displayed.

BADHOO If you have logged in. 95 . 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.MAJOR PROJECT MGIET. The theater name in which the movie is going to play. If you want to book tickets for show you have to click on time. location of that theater. hall number of that theater and the time of show.

BADHOO If you have selected Search by Theater then the following page will be displayed. the the control will be transferred to page containing the information otherwise you have to log in. 96 . Then select the theater and the date.MAJOR PROJECT MGIET. If you have logged in.



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.




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.




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.



hall number and the start time.MAJOR PROJECT MGIET. the category of movie. director of movie.BADHOO When you click on the menu Now Playing the currently playing movies of different theaters will be given in this form. Upcoming Shows: 101 . This page will give you the information about movie. about theater in which that movie is playing. date of show.

director of movie.BADHOO When you click on the menu Upcoming Shows. the category of movie. the schedule for shows for next seven days will be given in this form. 102 . hall number and the start time. with theater name.location. This page will give you the information about movies playing for next seven days in different theaters. date of show.MAJOR PROJECT MGIET.

”movie” and “shows” from option the “create new table on database the rainbowentertainment” phpMyAdmin application. at the bottom of the screen on Six tables created 103 . There are six tables created in this database .MAJOR PROJECT DATA BASE: MGIET. Below is screenshot of PHP myAdmin Interface. The “rainbowentertainment” data base is created for this system. ”theater”. “hall”. Here we used PhpmyAdmin Interface along with Mysql database. Step 1: Create six tables named “bookings”. ”customer”.BADHOO We have used Mysql database at back end.

BADHOO The first table created is Bookings having five columns 1. Amount This table consists of the details of the bookings. CustomerID 2. When user book the tickets for any show the information will be stored in this table. ReferenceNumber 4. ShowID 3. 104 . NumberOfTickets 5.MAJOR PROJECT MGIET.

And when user want to login the information accessed from this table. Phone 6.MAJOR PROJECT MGIET. When user register themself the information about user will be stored in this table. Address 5. 105 . CustomerID This table consists of the details of the User. UserName 2. Password 3.BADHOO The next table created is “customer” having six coloumns 1. Name 4.



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.




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.




The next table created is “shows” having eight coloumns 1. MovieID 2. TicketsBooked 3. ShowID 4. HallID 5. Date 6. StartTime 7. endtime


duration. TheaterName 2. The next table created is “theater” having three coloumns 1. hallid. Location 109 . is fetched from this table. endtime. date. TheaterID 3. starttime. showid.BADHOO This table consists of the details of the show. etc.MAJOR PROJECT 8. The information for now playing. upcoming shows. duration_in_min MGIET. search etc. It consists of the information about the movie.

And this table consists of name . and locations of these three theaters. 110 . This system consists of only three theaters. id’s .BADHOO This table consists of the details of the theaters.MAJOR PROJECT MGIET.


php"><font face="Arial Black" size="+2">Register</font></a></td></tr></table> <table width="80%" align="center" height="300"> 112 .jpg"><img src="logo.MAJOR PROJECT MGIET.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').php"><font face="Arial Black" size="+2">Login</font></a></td><td><a href="register. Y.png" width="148" height="74"><font face="Bodoni MT Black" size="+6" color="#990000">RAINBOW ENTERTAINMENT SYSTEM </font><img src="b.BADHOO CODING Coding for Home Page: <body bgcolor="#99FF99"> <div> <table><tr> <td width="1350" background="a.?></font></td> <td width="30%"><a href="login. g:i a"). echo date("F j.

php"><font face="Arial Black" size="+1">Home</font></a></td></tr><tr><td align="center"><a href="search.jpg" border="1" width="100%"> <img src="q.jpg" border="1" width="100%"> <img src="e.BADHOO width="100%" border="1" ><tr><td align="center"><a href="index.php"><font face="Arial Black" size="+1">Upcoming height="330"><img src="c.jpg" border="1" width="100%"></td> <td width="20%" valign="top"> <marquee direction="down" behavior="alternate" height="470"> <img src="o.php"><font face="Arial Black" size="+1">Now href="next_sevendays.php"><font face="Arial Black" size="+1">Search/Book 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" align="center"><a align="center"><a href="current_show_display.jpg" border="1" width="100%"> <img src="w.jpg" border="1" width="100%"> 113 .jpg" width="100%"> <img src="d.jpg" border="1" width="100%"></marquee> </td></tr></table> </td> <td valign="top"><img src="pic.MAJOR PROJECT <tr><td valign="top" width="20%"><table MGIET.jpg" border="1" width="100%"> <img src="k.

jpg" border="1" width="100%"> </marquee></td></tr></table> </div> </body> 114 .jpg" border="1" width="100%"> MGIET.BADHOO <img src="p.jpg" border="1" width="100%"> <img src="n.MAJOR PROJECT <img src="m.jpg" border="1" width="100%"> <img src="i.

?></font></td> <td width="30%"><font face="Arial Black" size="+2">Welcome:<?php echo $_SESSION['username'].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').jpg"><img src="logo. echo date("F j. ?> <body bgcolor="#99FF99"> <table> <tr> <td width="1350" background="a. Y. require("connection.php").BADHOO Coding for Administator panel: <?php ob_start(). session_start().MAJOR PROJECT MGIET. g:i a").?></font></td><td><a 115 .png" width="148" height="74"><font face="Bodoni MT Black" size="+6" color="#990000">RAINBOW ENTERTAINMENT SYSTEM </font><img src="b.

MAJOR PROJECT href="logout.jpg" border="1" width="100%"> </marquee> </td></tr></table> </td> <td valign="top"> <form action="theater_process.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" border="1" width="100%"> <img src="e.jpg" width="100%"> <img src="d.jpg" border="1" width="100%"> <img src="w.BADHOO face="Arial Black" 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 MGIET.jpg" border="1" width="100%"> <img src="k.php" method="POST"> <center><font face="Arial Black" size="+2">Administrator Panel</font></center> 116 .

?>>Theater C</option> </select> <input type="submit" value="GO"></form> &nbsp. $checkresult = mysql_query($checksql).MAJOR PROJECT <p align ="center">Add a new Movie</p> MGIET. $checksql = "SELECT HallNumber.HallID FROM hall WHERE TheaterID = '$theater'. <br /> <?php if (isset($_SESSION['theater'])) { $theater=$_SESSION['theater'].".?>>Theater A</option> <option value="2" <?php if(isset($_SESSION['theater']) && $_SESSION['theater'] == 2) echo "selected". ?> 117 .?>>Theater B</option> <option value="3" <?php if(isset($_SESSION['theater']) && $_SESSION['theater'] == 3) echo "selected".BADHOO <p align="center">Choose Theater: <select name="theater" > <option value="1" <?php if(isset($_SESSION['theater']) && $_SESSION['theater'] == 1) echo "selected".

php" method="POST"> <?php while($res= mysql_fetch_assoc($checkresult)){ ?> <option value="<?php echo $res['HallNumber'].?>" <?php if(isset($_SESSION['hall']) && $_SESSION['hall'] == $res['HallNumber']) echo "selected".php" method="POST"> <table> <br> <tr><td><font face="Arial Black" size="+1">Enter Details for</font></td><td><font face="Arial Black" size="+1">Hall&nbsp.BADHOO <form action="hall_process.?>>Hall&nbsp. ?></font></td><br></tr> 118 .<?php echo $res['HallNumber']. <?php echo $_SESSION['hall'].}?> </option> </select> <input type="submit" value="GO"></form> <?php } ?> </center> <?php if(isset($_SESSION['hall'])) { ?><center><form action="add_movie.MAJOR PROJECT <center>Choose Hall: <select name="hall" > MGIET.

BADHOO equal to the current <tr><td>Date</td><td><input type="text" name="date">(Format: YYYYMM-DD)</td></tr> <tr><td>Start Time</td><td><input type="text" name="start_time">(Format: 24 Hrs HH:MM)</td></tr> <tr><td>End Time</td><td><input type="text" name="end_time">(Format: 24 Hrs HH:MM)</td></tr> <tr><td>Name of the Movie</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 <tr><td>Date date</td></tr> should be greater than or MGIET.

BADHOO size=+2 color=red>"."</font></center><br>". echo "<center><font MGIET. $mesg. } ?> <center> <table border="1" width="70%"> <tr> <td colspan = "2">All Movies</td> </tr> <tr> <td colspan = "2">&nbsp. 120 .</td> </tr> <?php $strAllMovies = "SELECT * FROM movie".MAJOR PROJECT ?> </p> <?php if (isset($_SESSION['empty'])) { $mesg=$_SESSION['empty'].

} while($row = mysql_fetch_assoc($allMovieResult)) { ?> MGIET.MAJOR PROJECT $allMovieResult = mysql_query($strAllMovies).php">Back</a></font> </center> </td> <td width="20%" valign="top"> 121 .php?id=<?php >">Delete</a></td></tr> <?php } ?> </table> <br /><br /><font $row['MovieID'].BADHOO <tr><td><?php echo $row['Name'] echo ?></td><td><a href = "movie_delete. exit().? face="Arial Black" size="+1"><a href="admin_panel. if (!$allMovieResult) { echo mysql_error().

?> 122 .MAJOR PROJECT <img src="o.jpg" border="1" width="100%"> <img src="m.jpg" border="1" width="100%"> <img src="n.jpg" border="1" width="100%"> <img src="p.BADHOO <marquee direction="down" behavior="alternate" height="680"> </body> </html> <?php ob_flush().jpg" border="1" width="100%"> <img src="i.jpg" border="1" width="100%"> <img src="q.jpg" border="1" width="100%"> </marquee></td> </tr></table> MGIET.

$end_time=$_POST['end_time']. $movie_name=$_POST['movie_name']. $category=$_POST['category']. $cost=$_POST['cost'].php"). $start_time=$_POST['start_time']. require("connection.MAJOR PROJECT MGIET.BADHOO Coding for Admin panel to add movie: <?php ob_start(). session_start(). 123 . $date=$_POST['date'].

echo date("F j.jpg"><img src="logo. g:i a").php"). $duration=$_POST['duration']. $hall_num=$_SESSION['hall']. $theater_id=$_SESSION['theater'].BADHOO if($date==""||$start_time==""|| $end_time=="" || $movie_name=="" || $category=="" || $cost=="" || $director=="" || $duration=="") { $_SESSION['empty']="Field(s) cannot be empty!". Y.png" width="148" height="74"><font face="Bodoni MT Black" size="+6" color="#990000">RAINBOW ENTERTAINMENT SYSTEM </font><img src="b.?></font></td> 124 .MAJOR PROJECT $director=$_POST['director'].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'). exit. } ?> <body bgcolor="#99FF99"> <table><tr> <td width="1350" background="a. header("Location: admin_panel. MGIET.

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" border="1" width="100%"> <img src="w.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 .php"><font MGIET.?></font></td><td><a face="Arial Black" 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.MAJOR PROJECT echo href="logout.jpg" border="1" width="100%"> <img src="e.jpg" width="100%"> <img src="d.jpg" border="1" width="100%"> <img src="k.BADHOO <td width="30%"><font face="Arial Black" size="+2">Welcome:<?php $_SESSION['username'].

$row = mysql_fetch_assoc($mysql_results). $new_sql_result=mysql_query($new_sql). $movieID = $row['MovieID']. $mysql_results=mysql_query($testsql). if (mysql_num_rows($mysql_results)>0) { echo "<br><br><br><center><font face=###BOT_TEXT###quot;ARIAL BLACK###BOT_TEXT###quot; size=###BOT_TEXT###quot;+2###BOT_TEXT###quot;>Movie already playing!</font></center>". } $movieID=substr($movie_name. $testsql = "Select * from shows where MovieID='$movieID' AND HallID='$hall_id' AND Date='$date' AND StartTime='$start_time'".MAJOR PROJECT HallNumber='$hall_num' ". MGIET.4). $mysql_results=mysql_query($testsql). $hall_id=$row1['HallID']. $testsql = "Select MovieID from movie where Name='{$movie_name}'". exit().BADHOO $new_sql="Select HallID from hall where TheaterID='$theater_id' AND $row1 = mysql_fetch_assoc($new_sql_result). if($start_time>0800 && $start_time<1200) 126 .0.

if( $res && $res1 ) { 127 . $insert = "INSERT INTO `rainbowentertainment`. `TicketsBooked`.`movie` (`MovieID`. `ShowID`. `HallID`. `duration_in_min`) VALUES ('$movieID'. $res1 = mysql_query($insert) or die("Unable to execute query1"). '$director'.MAJOR PROJECT { $showid="Ist". } elseif($start_time>1200 && $start_time<1700) { $showid="IInd". '$category'. '$duration'). `Name`. '$showid'. } else { MGIET. `Category`. `Date`. '$cost'). '$hall_id'.". `Director`. '$end_time'. '$start_time'. `endtime`. '$date'. `StartTime`.BADHOO $showid="IIIrd". '0'.`shows` (`MovieID`. } $sql = "INSERT INTO `rainbowentertainment`. `Cost`) VALUES ('$movieID'.". '$movie_name'. $res = mysql_query($sql) or die("Unable to execute query!").

?> </td> <td width="20%" valign="top"> <marquee direction="down" behavior="alternate" height="430"> <img src="o.jpg" border="1" width="100%"> <img src="p.BADHOO size=+3 face=ARIAL "<br><br><br><br><br><font href='admin_panel. } echo "<br><br><br><br><a MGIET.php'>Go Back</a></center></font>".jpg" border="1" width="100%"> <img src="m. ob_flush().jpg" border="1" width="100%"> <img src="n.jpg" border="1" width="100%"> <img src="i.jpg" border="1" width="100%"> <img src="q.MAJOR PROJECT echo BLACK><center>Record saved Successfully". } else { echo "Record could not be saved".jpg" border="1" width="100%"> </marquee></td> 128 .

?> <body bgcolor="#99FF99"> <div> <table><tr> <td width="1350" background="a.php").MAJOR PROJECT </tr></table> MGIET. require_once("connection.jpg"><img src="logo. require("sessionhandler.png" width="148" height="74"><font face="Bodoni MT Black" size="+6" 129 .php").BADHOO Coding for search page: <?php ob_start().

php"><font face="Arial Black" size="+1">Now href="next_sevendays.BADHOO SYSTEM </font><img Black" size="+2"><?php date_default_timezone_set('Asia/Calcutta').jpg" width="148" height="74"></td> </tr></table> <table width="100%"><tr align="center"> <td width="30%"><font face="Arial MGIET.MAJOR PROJECT color="#990000">RAINBOW ENTERTAINMENT src="b.php"><font face="Arial Black" size="+2">Login</font></a></td><td><a href="register.?></font></td> <td width="30%"><a href="login.jpg" width="100%"> 130 . echo date("F j. g:i a"). Y.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 face="Arial Black" size="+1">Upcoming src="c.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 href="current_show_display.

php?searchby=theater">Theater</a> </font></td> </tr><tr><td></td></tr><tr><td> <?php if (!isset($_GET['searchby'])) { $searchType="movie".jpg" border="1" width="100%"> </marquee> </td></tr></table></td> <td valign="top"> <table border="0"><tr align="center"> MGIET.MAJOR PROJECT <img src="d.jpg" border="1" width="100%"> <img src="k.jpg" border="1" width="100%"> <img src="e.jpg" border="1" width="100%"> <img src="w.BADHOO <td><br /><br /><br /><font face="Arial Black" size="+2">Search by <a href="search. } else { 131 .php?searchby=movie">Movie</a>/Search by <a href="search.

Helvetica.submit().BADHOO { $selectedTheater="1". } ?> <br /><br /><br /> <form id="theaterForm" name="theaterForm" method="post" action="search. } else MGIET."> <option>Select a Theater</option> name="theaterList" id="theaterList" 132 .MAJOR PROJECT $searchType=$_GET['searchby'].php?searchby=theater"> <center><font face="Arial. } if ($searchType=="theater") { if (isset($_POST['theaterList'])) { $selectedTheater=$_POST['theaterList']. sans-serif" size="+1"> Select Theater <select onChange="theaterForm.

Helvetica.submit().TheaterID=t.TheaterID t."> <option>Select a date</option> <?php $date=date("Y-m-d").theaterID='$selectedTheater' AND s.hallID=h.hallID AND 133 .php"> <center><font face="Arial.?> /> <select name="dateTheater" id="dateTheater" onChange="dateTheaterForm.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.Date from shows s. sans-serif" size="+1">Select Date <input name="selectedTheaterID" type="hidden" value=<?php echo $ t.MAJOR PROJECT MGIET.hall h where h. //Retrieving the date when TheaterID is given $query = "select s.

MAJOR PROJECT AND s.?>"><?php echo $row['Date']?></option> <?php } ?> </select></font></center> </form> <p align="right"><br /> <?php } else { if (isset($_POST['movieList'])) { $selectedMovie=$_POST['movieList'].Date>='$date'". while ($row=mysql_fetch_assoc($result)) { ?> <option value="<?php echo $row['Date']. MGIET. 134 .BADHOO $result = mysql_query($query) or die ("Unable to execute query!").

submit(). $query = "select * from movie m.MAJOR PROJECT } else { $selectedMovie="1". $result = mysql_query($query) or die ("Unable to execute query!"). while ($row=mysql_fetch_assoc($result)) { 135 ."> name="movieList" id="movieList" <option selected="selected">Select a Movie</option> <?php $date=date("Y-m-d"). } ?> </p><br /><br /><br /> <form id="movieForm" MGIET.MovieID AND s.php?searchby=movie"> <center><font face="Arial.MovieID=m.BADHOO name="movieForm" method="post" action="search.shows s where s. Helvetica. sans-serif" size="+1">Select Movie and Show Timing <select onChange="movieForm.Date >='$date' ".

"> <option selected="selected">Select a date</option> <?php $query MovieID='$selectedMovie'". sans-serif" size="+1"> Select Date <input name="selectedMovieID" type="hidden" value=<?php echo $selectedMovie.BADHOO <option value="<?php echo $row['MovieID'].php"> </td> </tr> }?>><? php echo $row['Name']?><?php echo ' @ '?><?php echo $row['StartTime']? <center><font face="Arial. Helvetica.submit(). = "select Date from shows where 136 .MAJOR PROJECT ?> MGIET.?>"<?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.?> /> <select name="dateMovie" id="dateMovie" onChange="dateMovieForm.

jpg" border="1" width="100%"> 137 .MAJOR PROJECT query!").?></option> <?php } ?> </select></font></center> </form> <?php } ?> </td></tr><tr><td><br><br><center> <font face="Arial Black" size="+3"> <a href="index.?>"><?php echo $row['Date']. MGIET.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.BADHOO $result = mysql_query($query) or die ("Unable to execute while ($row=mysql_fetch_assoc($result)) { ?> if ($row['Date']) <option value="<?php echo $row['Date'].

date_default_timezone_set('Asia/Calcutta').jpg" border="1" width="100%"> <img src="m. 138 .jpg" border="1" width="100%"> <img src="p.BADHOO border="1" width="100%"></marquee></td></tr></table> </div></body> <?php ob_flush().jpg" MGIET.MAJOR PROJECT <img src="q.jpg" border="1" width="100%"> <img src="n. $hall_id="". $date = date('Y-m-d'). ?> Coding for now playing: <?php require("connection.php").jpg" border="1" width="100%"> <img src="i.

php"><font face="Arial Black" size="+2">Login</font></a></td><td><a href="register.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 href="current_show_display.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.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').MAJOR PROJECT $movie_id="".php"><font face="Arial Black" size="+1">Home</font></a></td></tr><tr><td href="search.BADHOO <td width="1350" background="a.jpg"><img src="logo.php"><font face="Arial Black" size="+1">Now 139 .png" width="148" height="74"><font face="Bodoni MT Black" size="+6" color="#990000">RAINBOW ENTERTAINMENT SYSTEM </font><img src="b. g:i a"). ?> <body bgcolor="#99FF99"><div><table><tr> MGIET. echo date("F j. Y.?></font></td> <td width="30%"><a href="login.

MAJOR PROJECT Shows</font></a></td></tr></table> <table width="100%" border="1"><tr><td> <marquee direction="up" MGIET.Name. t.MovieID = m.BADHOO href="next_sevendays.TheaterName. m.HallNumber FROM shows s.HallID = h.php"><font face="Arial Black" size="+1">Upcoming behavior="alternate" height="330"><img src="c. s. hall h. $checkresult = mysql_query($checksql). movie m WHERE s.jpg" border="1" width="100%"> </marquee> </td></tr></table></td> <td valign="top"> <?php $checksql = "SELECT t. $checknumrows = mysql_num_rows($checkresult).jpg" border="1" width="100%"> <img src="e.jpg" width="100%"> <img src="d. m.Date = '$date' AND s. m. s.StartTime > CURTIME()".jpg" border="1" width="100%"> <img src="k.TheaterID = t.Date.Location.Director. if($checknumrows>0) { 140 .Category.StartTime.HallID. theater t.cost. s.jpg" border="1" width="100%"> <img src="w. m.HallID AND h.TheaterID AND s.MovieID AND s.h.

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 ?> MGIET.

MAJOR PROJECT $row['Director'] ?></td> MGIET.BADHOO <td><?php echo $row['cost'] ?></td><td><?php echo <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###BOT_TEXT###quot;>Go to homepage</a></font></center>". } 142 .php">Go to homepage</a></font> </center> </body> </html> <?php } else { echo "<br><br><center><font face=###BOT_TEXT###quot;Arial Black###BOT_TEXT###quot; </tr> size=###BOT_TEXT###quot;+3###BOT_TEXT###quot;> No Shows available <br><br><br> <a href=###BOT_TEXT###quot;index.

jpg" border="1" width="100%"> <img src="n.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="p.MAJOR PROJECT ?> </td> <td width="20%" valign="top"> MGIET.jpg" border="1" width="100%"> <img src="i.jpg" border="1" width="100%"> <img src="m.jpg" border="1" width="100%"> </marquee></td> </tr></table> </div> </body> 143 .

$timeStamp = strtotime(date('Y-m-d')). 144 .MAJOR PROJECT Coding for upcoming shows: <?php require("connection. // (add 7 days) $newDate = date("Y-m-d". $date=date("Y-m-d". $timeStamp).php"). $date = date('Y-m-d'). ?> <body bgcolor="#99FF99"><div> <table><tr><td width="1350" background="a.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').jpg"><img src="logo. $movie_id="". $startdate). MGIET.png" width="148" height="74"><font face="Bodoni MT Black" size="+6" color="#990000">RAINBOW ENTERTAINMENT SYSTEM </font><img src="b.BADHOO $startdate=strtotime(date('Y-m-d')). $hall_id="". $timeStamp += 24 * 60 * 60 * 8. $startdate += 24 * 60 * 60 * 1.

php"><font face="Arial Black" size="+2">Login</font></a></td><td><a href="register.php"><font face="Arial Black" size="+1">Home</font></a></td></tr><tr><td href="search. g:i a").BADHOO href="login.jpg" width="100%"> <img src="d.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 href="current_show_display.MAJOR PROJECT echo date("F j.jpg" border="1" width="100%"> <img src="w.jpg" border="1" width="100%"> <img src="e.jpg" border="1" width="100%"> </marquee> </td></tr></table></td> <td valign="top"> 145 .?></font></td> <td width="30%"><a MGIET.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.jpg" border="1" width="100%"> <img src="k.php"><font face="Arial Black" size="+1">Upcoming src="c.php"><font face="Arial Black" size="+1">Now href="next_sevendays. Y.

Name.Location.HallID AND h. theater t.MAJOR PROJECT <?php $checksql t. 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 = 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> 146 .HallNumber FROM shows s.TheaterName.TheaterID = t. m.HallID. s.Date.MovieID = m. m.HallID = h.Date BETWEEN '$date' AND '$newDate'". $checkresult = mysql_query($checksql).s. = MGIET.Category. movie m WHERE s. m.TheaterID AND s.BADHOO "SELECT t. hall h. m.MovieID AND s. h.cost.Director. $checknumrows mysql_num_rows($checkresult). s.StartTime.

BADHOO = { ?> <tr> <td><?php echo $row['TheaterName'] ?></td><td><?php 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 <?php while($row mysql_fetch_array($checkresult)) MGIET.

BADHOO else { ?><center><?php echo "<br><br><br><font face=###BOT_TEXT###quot;Arial Black###BOT_TEXT###quot; size=###BOT_TEXT###quot;+3###BOT_TEXT###quot;>No Shows available<br><br></font>".jpg" border="1" width="100%"> <img src="m.jpg" border="1" width="100%"> <img src="n.php"><br>Go 148 . ?><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.MAJOR PROJECT </html> <?php } MGIET.jpg" border="1" width="100%"> face="Arial Black" to href="index.jpg" border="1" width="100%"> <img src="q.jpg" border="1" width="100%"> <img src="p.

$showId=$_GET['showId'].BADHOO Coding for bookings: <?php ob_start(). require("connection. } if(!isset($_SESSION['username'])) { 149 .MAJOR PROJECT <img src="i.php"). } if($_GET['option']=="movie") { $_SESSION['set_option']=$_GET['movieId'].php"). if($_GET['option']=="theater") { $_SESSION['set_option']=$_GET['theaterId']. $custId=$_GET['custId']. require("sessionhandler.jpg" border="1" width="100%"> </marquee></td> </tr></table> MGIET.

jpg"><img src="logo.php"). exit.jpg" width="148" height="74"></td> </tr></table> <table width="100%"> <tr align="center"> 150 .png" width="148" height="74"><font face="Bodoni MT Black" size="+6" color="#990000">RAINBOW ENTERTAINMENT SYSTEM </font><img src="b. exit.BADHOO if($custId=="") { header("Location: login.php"). } MGIET. } else { ?> <html> <body bgcolor="#99FF99"> <div> <table><tr><td width="1350" background="a.MAJOR PROJECT header("Location: login.

g:i a").jpg" border="1" width="100%"> </marquee> </td></tr></table> 151 .BADHOO Black" size="+2"><?php echo date("F j.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 href="current_show_display.jpg" border="1" width="100%"> <img src="k.jpg" border="1" width="100%"> <img src="w.php"><font face="Arial Black" size="+1">Home</font></a></td></tr><tr><td href="search.?></font></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">Now href="next_sevendays.jpg" width="100%"> <img src="d.php"><font face="Arial Black" size="+1">Upcoming src="c.jpg" border="1" width="100%"> <img src="e. Y.MAJOR PROJECT <td width="30%"><font face="Arial date_default_timezone_set('Asia/Calcutta'). MGIET.

BADHOO <font face="Arial Black" size="+3">BOOK YOUR SHOW</font><br> <form name="book" action="booking_process. } ?> </span><br> <input type="submit" value="Book my Ticket(s)"> </p> 152 .?>&showId=<?php echo $showId.php?custId=<?php echo $custId.MAJOR PROJECT </td> <td valign="top"> <center> <br><br> MGIET.?>" 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'].

jpg" border="1" width="100%"> 153 .php?">Go to Previous Page</a></font> <?php }?> <?php if($_GET['option']=="movie"){?> <font face="Arial Black" size="+2"><a href="showMovieSearch.php?">Go to Previous Page</a></font> <?php }?> </p> </form> </center> </td> <td width="20%" valign="top"> <marquee direction="down" behavior="alternate" height="470"> <img src="o.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.MAJOR PROJECT <p><br> MGIET.BADHOO <font face="Arial Black" size="+2"><a href="index.

jpg" border="1" width="100%"> <img src="i.jpg" border="1" width="100%"> MGIET.BADHOO </marquee></td> </tr></table> </body> </html> <?php } ob_flush(). ?> 154 .jpg" border="1" width="100%"> <img src="p.MAJOR PROJECT <img src="q.jpg" border="1" width="100%"> <img src="n.jpg" border="1" width="100%"> <img src="m.


BADHOO FUTURE SCOPE OF THE PROJECT The Rainbowentertainment system has the following scope for the future. 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. 156 . 1. This model can be used by the users located at different places through server connectivity. 2. 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.MAJOR PROJECT MGIET. 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.

157 .MAJOR PROJECT 4.BADHOO The administrator can incorporate feedback received from the users and modify this program easily thus making continuous improvement possible. MGIET..


 Data security  Efficient monitoring  Time efficient  Easy postage 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.   It is convenient. OF THE  It is secure. It is cost effective.BADHOO EVALUATION PROJECT:ADVANTAGES : There are many advantages of the proposed system: It provides flexibility for the software.

BADHOO FUTURE ENHANCEMENT:- This project can be extended by adding some more features. 160 . 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. Currently user have to perform every operation by clicking on buttons regularly.MAJOR PROJECT MGIET.


But further improvements can be made in this project. The user doesn’t need to have a great knowledge of high level language. Program fuctionality is very good. b) Reliability & robustness : 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. • • • 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. it can be said that the proposed sysetm is efficient in a against the given requirements.BADHOO In the concluding section. It is quite time efficient . convinient to use . secure and consistent. buttons make the design highly user friendly. c) User friendliness:The use of interactive user interface designing tools like labels. 162 . There is one more advantage since it is a java code so it is platform independent & is compatible to all the operating systems. user friendly.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. 164 . The books and websites referred are as follows: Books:  System Analysis and Design Whitten Bentley  My SQL PL SQL  PHP5 and My SQL WILEY Publishing  PHP Solutions: Dynamic Web Design Made Easy David Powers  Beginning PHP and My SQL Jason Gilmore W.MAJOR PROJECT MGIET. 165 .com http://www. 4.MAJOR PROJECT MGIET. 3.phpclasses.BADHOO REFERENCES Websites: http://www. http://www.