jagath

Upload: rtr-jake-smart

Post on 14-Apr-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 Jagath

    1/83

    1

    INTRODUCTION

  • 7/27/2019 Jagath

    2/83

    2

    ORGANIZATION PROFILE

    Precision Infomatic started operations in 1996. Establishing its presence through a

    product centric approach in the initial stages, Infomatic gradually matured into a BusinessTransformation Enabler. With well established relationships with clients across the country, the

    company has focused on providing high value services. The company is among the top partners

    of HewlettPackard and Microsoft in the country. In addition to operations in major cities, the

    company has embarked on a large scale expansion program, Precision Everywhere, to establish

    support and sales presence in more than 1000 locations across the country to further enable high

    quality, long term engagements with clients. The company has also been in the training

    spectrum providing training at educational institutions and corporates.

    Vision

    Achieve pre-eminence in the System Integration and Services Space by creating Value

    and be known for the High Quality Service Network

    Strategies

    Create PAN India Service network (Precision Everywhere) through a combination ofdirect presence and partner model by 2014

    Identify and build Technology enabled differentiators in select verticals Relentless pursuit of opportunities in the Services Space with Precision Everywhere and

    through Strategic Alliances.

    Differentiation through ITIL based IT process automation tool - InsTIL IP creation in niche areas

    Biometric Products & Applications

    InsTIL ITIL based Service Management Tool

    Service First Portal - Technology enabled Service Delivery automation

  • 7/27/2019 Jagath

    3/83

    3

    Empower People and continual knowledge creation through PASE (Precision Academyof Service Excellence) leading to Customer Delight

    ALLIANCES

    HP operates in more than 170 countries and is the world's largest IT Company. No other

    company offers as complete a technology product portfolio as HP. It provides infrastructure and

    business offerings that span from handheld devices to some of the world's most powerful super

    computer installations. Precision Infomatic is a Platinum Business Partner of HP in India, with a

    relationship that goes back several years.

    Microsoft Corporation (NASDAQ: MSFT and NYSE: MSFT) is an American public

    multinational corporation headquartered in Redmond, Washington, USA that develops,manufactures, licenses, and supports a wide range of products and services predominantly related

    to computing through its various product divisions. Precision Infomatic is a Large Account

    Reseller of Microsoft. Precision has built the necessary competencies for designing,

    implementing and supporting Microsoft products and solutions.

    VMware (NYSE:VMW), the global leader in virtualization and cloud infrastructure,

    delivers customer-proven solutions that accelerate IT by reducing complexity and enabling more

    flexible, agile service delivery. VMware enables enterprises to adopt a cloud model that

    addresses their unique business challenges. VMwares approach accelerates the transition to

    cloud computing while preserving existing investments and improving security and control.

    Precision Infomatic is an Enterprise Business Partner of VMware and is perfectly positioned to

    offer the best of virtualization solutions to clients.

    Products

    Precision Infomatic has a long standing and deep relationship with Hewlett Packard,

    which has matured over the years. Precision Infomatic is a Platinum Business Partner of HP and

    offers the following product lines, combined with the necessary solution architecting &

    implementing capabilities, the requisite support expertise and an effective service delivery

    methodology.

  • 7/27/2019 Jagath

    4/83

    4

    1.2 OBJECTIVES AND SCOPE OF THE PROJECT

    The online Theatre ticket booking system is now offering Internet booking for

    the first time this autumn. This system is available even when the Box Office is

    closed, 24 hours a day, 7 days a week. Accept MasterCard and Visa cards for

    payment online. When you buy online, you are connected directly to our box

    office system.

    We don't section off just a few seats for sale on line. Every seat in the theatre is

    available for sale on line when booking first opens. Each seat has been

    "ranked". This means that we have looked carefully at our seating plan and,

    starting with the most central seat, placed each of the seats in the order in

    which they think they'll be sold. This means that at any time we can offer you

    the best available seats, and we can tell you which seat numbers you are being

    sold at the time of booking.

    You can even look at our seating plan on the website to check where you'll be

    sitting. The very same rule for Internet bookings apply as for personal bookings

    - the earlier you book the more central your seat is likely to be.

  • 7/27/2019 Jagath

    5/83

    5

    SYSTEM ANALYSIS

  • 7/27/2019 Jagath

    6/83

    6

    2.1EXISTING SYSTEM

    Existing system of theatre ticket booking is that user has to come to the theatre

    directly for booking tickets. Sometimes theatre will be filled by audience and at that

    time theatre does not able to provide tickets to audience. Major drawback of the

    existing system is queue. User wants to wait in queue for getting tickets.

    Existing system is a direct system It is mainly intensive on manpower It spends lot of time to perform any work There is delay in issuing tickets to the audience standing in long quee. Collection has to maintain manually. Reliability and maintainability of data is difficult Mistakes occur frequently in accounts.

    2.2 PROPOSED SYSTEM

    To address the drawbacks of the existing system, we have developed the

    proposed system. Theatre booking which reserves a ticket to be printed out upon

    arrival at a movie theater, thereby avoidinglines. Initially, seating was promised forsold-outshows.

    In proposed system user can able to book the tickets by simply sitting in homeusing online.

    Proposed system avoid crowd, Long Queue, Waiting. User can able to select seat number, row while booking. Collections details maintained systematically.

    http://en.wikipedia.org/wiki/Queue_areahttp://en.wikipedia.org/wiki/Queue_areahttp://en.wikipedia.org/wiki/Queue_areahttp://en.wikipedia.org/wiki/Sold_outhttp://en.wikipedia.org/wiki/Sold_outhttp://en.wikipedia.org/wiki/Sold_outhttp://en.wikipedia.org/wiki/Queue_area
  • 7/27/2019 Jagath

    7/83

    7

    SYSTEM REQIUREMENTS

  • 7/27/2019 Jagath

    8/83

    8

    3.1 HARDWARE REQUIREMENTS

    The machine used to develop this system has the following Hardware

    Requirements as follows:

    CPU Type : Dual Core

    CPU Clock Speed : 3.1 GHz

    Memory : 128 RAM

    Hard Disc Capacity : 20 GB

    Floppy Drive : 1.44 MB

    Display Type : VGA

    Key Board : 104 Enhanced

    3.2 SOFTWARE REQUIREMENTS

    The machine used to develop this system has the following Softwarerequirements as

    follows:

    Operating System : WINDOWS 2000

    Service Pack : WINDOWS 2000 SERVICE PACK

    Software Used

    Front - End : PHP

    Back - End : MY SQL

  • 7/27/2019 Jagath

    9/83

    9

    SOFTWARE DESCRIPTION

  • 7/27/2019 Jagath

    10/83

    10

    FRONT END & BACKEND

    FRONT END: PHP

    PHP History

    PHP began as a set of Common Gateway Interface binaries written in the C

    programming in 1994 by the Danish/Greenlandic programmer Rasmus Lerdorf. Lerdorf

    initially created these Personal Home Page Tools to replace a small set of Perl scripts he

    had been using to maintain his personal homepage. The tools were originally created to

    perform tasks such as displaying his resume and recording how much traffic his page was

    receiving. He combined these binaries with his Form Interpreter to create PHP/FI, which

    had more functionality. It included a larger C implementation, which could communicate

    with databases and helped build simple, dynamic web applications. He released PHP

    publicly on June 8, 1995 to speed up the finding of bugs and improving the code. This

    release was named PHP version 2, and already had basic functionality that PHP has

    today. This includes Perl-like variables, form handling, and the ability to embed HTML.

    The syntax was similar to Perl but was more limited, simpler, and less consistent.

    Zeev Suraski and Andi Gutmans, two Israeli developers at the Technician IIT,

    rewrote the parser in 1997 and formed the base of PHP 3, changing the languages name

    to the recursive initialism.

    The development team officially released PHP/FI 2 in November 1997 after

    months of beta testing. Afterwards, public testing of PHP 3 began, and the official lauch

    came in June 1998. Suraski and Gutmans then started a new rewrite of PHPs core,producing the Zend Engine in 1999. They also founded Zend Technologies in Ramat

    Gan, Israel, which manages the development of PHP.

    On May 22, 2000, PHP 4, powered by the Zend Engine 1.0, was released. On

    July 13, 2004, PHP 5 was released and is powered by the new Zend Engine II. PHP 5

    included new features such as improved support for object-oriented programming, the

    PHP Data Objects extension (which defines a lightweight and consistent interface for

    accessing databases), and numerous performance enhancements. The most recent update

    released by The PHP Group is for the older PHP version 4-code branch. As of January

    2008, this branch is up to version 4.4.8. PHP 4 will be supported by security updatesuntil August 8, 2008.

    PHP 5 is the only stable version still being developed. Late static binding has

    been missing from PHP and will be added in version 5.3. Development on PHP 4 ceased

    at the end of 2007, except for the critical security updates for PHP 4 already mentioned.

    PHP 6 is now under development and major changes include the removal of

  • 7/27/2019 Jagath

    11/83

    11

    register_globals, magic quotes, and safe mode. PHP does not have complete native

    support for Unicode or multi byte strings; Unicode support will be added in PHP 6.

    Many high profile open source projects ceased to support PHP 4 in new code as of

    February 5, 2008, due to the GO PHP 5 initiative, provided by a consortium of PHP

    developers promoting the transition from PHP 4 to PHP 5.

    PHP 5 was released in July 2004, with the updated Zend Engine 2.0. Among themany new features in PHP 5 are:

    Improved object-oriented programming Embedded SQLite Support for new MySQL features (see the image at right) Exception handling using a try...catch structure Integrated SOAP support (see the image at right) The Filter library (in PHP 5.1) Better XML tools Iterators

    PHP 6 has been in development since October of 2006. The most

    significant change will be native support for Unicode. Unpopular, deprecated

    features such as Magic Quotes, register_globals, safe mode, and the HTTP_*_VARS

    variables will disappear in PHP 6.

    Usage

    PHP is a general-purpose scripting language that is especially suited for web

    development. It is the fourth most popular computer programming language, ranking

    behind Java, C, and Visual Basic. PHP generally runs on a web server, taking PHP code

    as its input and creating web pages as output. It can also be used for command-line

    scripting and client-side GUI applications. PHP can be deployed on most web servers,

    many operating systems and platforms, and can be used with many relational databases

    management systems. It is available free of charge, and the PHP Group provides the

    complete source code for users to build, customize and extend for their own use.

    PHP primarily acts as a filter, taking input from a file or stream containing text

    and/or PHP instructions and outputs another stream of data; most commonly the output

    will be HTML. From PHP 4, the PHP parser compiles input to produce byte code for

    processing by the Zend Engine, giving improved performance over its interpreter

    predecessor.

    Originally designed to create dynamic web pages, PHPs principal focus is server-

    side scripting, and it is similar to other server-side scripting languages that provide

    dynamic content from a web server to a clien t, such as Microsofts ASP.NET system,

    Sun Microsystems Java Server Pages.

  • 7/27/2019 Jagath

    12/83

    12

    BACK END: MYSQL

    MYSQL

    Mysql (pronounced /maI, EskjuE1/) is a multithreaded, multi-user SQL

    database management system (DBMS) which has more than 11 million installations. Theprogram runs as a server providing multi-user access to a number of databases.

    MYSQL was owned and sponsored by a single for-profit firm, the Swedishcompany MYSQL AB, now a subsidiary of Sun Microsystems, which holds the copyrightto most of the code base. The projects source code is available under terms of the GUNGeneral Public License, as well as under a variety of proprietary agreements.

    History

    Milestones in MYSQL development include:

    MYSQL was first released internally on 23 May 1995. Windows version was released on January 8, 1998 for Windows 95

    and NT

    Version 3.23: beta from June 2000, production release January2001.

    Version 4.0: beta from August 2002, production release March2003(Unions).

    Version 4.1: beta from June 2004, production release October2004(R-trees and B-trees, sub queries, prepared statements).

    Version 5.0: beta from March 2005, production release October2005 (Cursors, stored procedures, triggers, views, XA

    transactions).

    Version 5.1: currently pre-production (Since November 2005)(event scheduler, partitioning plug in API, row-based replication,

    server log tables).

    Sun Microsystems acquires MYSQL AB on 26 February 2008.Programming Languages

    Libraries for accessing MYSQL databases are available in all major programminglanguages with language-specific APIs. In addition, an ODBC interface calledMYODBC allows additional programming languages that support the ODBC interface to

  • 7/27/2019 Jagath

    13/83

    13

    communicate with a MYSQL database, such as ASP or Cold Fusion. The MYSQLserver and official libraries are mostly implemented in ANSI C/ANSI C++.

    Uses

    MYSQL is popular for web applications and acts as the database component of

    the LAMP, MAMP, and WAMP platforms (Linux/Mac/Windows-Apache-MYSQL-PHP/Perl/Python), and for open-source bug tracking tools like Bugzilla. Its popularityfor use with web applications is closely tied to the popularity of PHP and Ruby on Rails,which are often combined with MYSQL. PHP and MYSQL are essential components forrunning popular content management systems such as Joomla! e107, Word press, Drupal,and some Bit Torrent trackers. Wikipedia runs on Media Wiki software, which is writtenin PHP and uses a MYSQL database.

    Documentation and Administration

    Information on using MYSQL can be found on the companys site, under their

    Documentation section. There are also many books written about MYSQL.

    To administer MYSQL databases one can use the included command-line tool(commands: MySql and MySqladmin). Also downloadable from the MYSQL site areGUI administration tools: MYSQL Administrator and MYSQL Query Browser. Both ofthe GUI tools are now included in one package called MYSQL GUI Tools.

    In addition to the above-mentioned tools developed by MYSQL AB, there areseveral other commercial and non-commercial tools available. PHPMYADMIN is a freesoftware web based administration interface implemented in PHP.

    Program Specifications

    Platforms

    MYSQL works on many different platformsincluding AIX, BSDi, FreeBSD,HP-UX, i5/OS, Linux, Mac OS X, NetBSD, Novell NetWare, OpenBSD, OS/2 Warp,QNX, IRIX, Solaris, SunOS, SCO Open Server, SCO UnixWare, Tru64, Windows 95,Windows 98, Windows ME, Windows NT, Windows 2000, Windows XP, and the 32-btversion of Windows Vista(but not the 64-bit version). A port of MYSQL to OpenVMS isalso available.

    The Latest Production Version

    As of August 2007, MYSQL offers MYSQL 5.0 in two different variants: theMYSQL Community Server and Enterprise Server. They have a common code base andinclude the following features:

    A broad subset of ANSI SQL 99, as well as extensions. Cross-platform support. Stored Procedures.

  • 7/27/2019 Jagath

    14/83

    14

    Triggers. Cursors. Updatable Views. True VARCHAR Support. INFORMATION_SCHEMA. Strict mode. X/Open XA distributed transaction processing (DTP) support; two

    phase commit as part of this, using Oracles InnoDB engine.

    Independent storage engines (MYISAM for read speed, InnoDBfor transactions and referential integrity, MYSQL Archive for

    storing historical data in little space).

    Transactions with the InnoDB, BDB and Cluster Storage engines;save points with InnoDB.

    SSL Support. Query Caching. Sub-Selects (i.e. Nested Selects). Replication with one master per slave, many slaves per master, no

    automatic support for multiple masters per slave.

    Full-text indexing and searching using MYISAM engine. Embedded database library. Partial Unicode support (UTF-8 sequences longer than 3 bytes are

    not supported; UCS-2 encoded strings are also limited to the

    BMP).

    ACID compliance using the InnoDB, BDB and Cluster engines. Shared-nothing clustering through MYSQL Cluster.

    The MYSQL Enterprise Server is released once per month and the sources can be

    obtained either from MYQLs customer-only Enterprise site or from MYSQLsBit Keeper repository, both under the GPL license. The MYSQL CommunityServer is published on an unspecified schedule under the GPL and contains allbug fixes that were shipped with the last MYSQL Enterprise Server release.Binaries are no longer provided by MYSQL for every release of the CommunityServer.

  • 7/27/2019 Jagath

    15/83

    15

    PROJECT DESCRIPTION

  • 7/27/2019 Jagath

    16/83

    16

    5.1 MODULE DESCRIPTION:

    The system having following modules,

    User

    Registration Login Check Availability Booking Payment Status

    Administrator

    Login Accept registration Accept booking

    USER MODULE

    Login

    This form collects the user id and password from the admin. If the entry is correct then

    the user will allow entering the site. If the entry found to be incorrect, the user will not allow to

    viewing the site.

    Registration

    Registration form collects the information of the user such as personnel information,

    Banking information, business information. The registered user can only allow booking the

    tickets online.

  • 7/27/2019 Jagath

    17/83

    17

    AVAILABILITY:

    Availability module shows the seats availability for every show. User can able to see the

    availability of the seats date wise. User books the tickets only if the seat is available for the user

    required show.

    BOOKING:

    If seats are available then user can able to book the tickets. User submits number of

    tickets needed, which show, and what date the user wants to book the ticket. After submitting the

    details server checks the data and accept the booking.

    PAYMENT

    After booking is confirmed user will intimated to pay the amount through credit/debit

    card option. There will be a separate area for payment process. After card number will entered by

    user, server validate the card in particular bank server. If card is valid then booking server

    accepts the ticket booking.

    ADMIN MODULE

    Login

    Admin have separate login to enter the application. Admin is the only person responsible

    for all changes in this portal. He manages all set of information and monitoring all activities. For

    example if we want add or remove information and changes can be done.

    Accept Registration

    Admin only can approve or reject the user registration to access the web application.

    Accept Booking

    Admin only can accept or reject the user advance ticket booking booked by the user forparticular show.

  • 7/27/2019 Jagath

    18/83

  • 7/27/2019 Jagath

    19/83

    19

    6.1 DATA FLOW DIAGRAM

    Level 1

    Enquiry

    1.

    Get bookingenquiry

    1.

    Get availabilitydata

    Enqu

    Get

    Enq

    uir

    custo

    mer

    Ticket

    availabl

    D

    Ticket

  • 7/27/2019 Jagath

    20/83

    20

    Registration

    2.1

    Get user information

    2.2

    Store user information

    Registr

    Customer

    DataUSER

    store

    D2 Reg master

  • 7/27/2019 Jagath

    21/83

    21

    Booking

    3.1

    Get

    booking

    booki

    3.2

    Validating

    ticket

    sub

    vali

    d

    custo

    mer

    validating

    D3 Ticket

    _available

    3.3

    Seat

    Confirmatio

    Store data

    D4 confirmation

  • 7/27/2019 Jagath

    22/83

    22

    Cancellation

    Data

    Submit

    4.1

    Get cancellation

    information

    4.2

    Validating cancellation

    & submit reportUser

    cancel

    validating

    D5 confirmation

  • 7/27/2019 Jagath

    23/83

    23

  • 7/27/2019 Jagath

    24/83

    24

    TICKET BOOKING

  • 7/27/2019 Jagath

    25/83

    25

    6.2 DATA DICTIONARY

    Admin

    Column Name Data Type Length Constraint

    Username nvarchar 25 Not Null

    Password nvarchar 25 Not Null

    Register

    Column Name Data Type Length Constraint

    FirstName Nvarchar 30 Not Null

    LastName Nvarchar 30 Not Null

    Gender Nvarchar 10 Not Null

    Add1 Nvarchar 20 Not Null

    Add2 Nvarchar 20 Not Null

    City Nvarchar 50 Not Null

    State Nvarchar 50 Not Null

    Country Nvarchar 20 Not Null

    Username Nvarchar 20 Primary Key

    Password Nvarchar 30 Not Null

    Confirm_pass Nvarchar 30 Not Null

  • 7/27/2019 Jagath

    26/83

    26

    Mail

    Column Name Data Type Length Constraint

    mail_id int 4 Not Null

    from1 nvarchar 100 Not Null

    To1 nvarchar 100 Not Null

    subject 1 nvarchar 200 Not Null

    Mes nvarchar 1000 Not Null

    Data1 nvarchar 50 Not Null

    Ticket_availability

    Column Name Data Type Length Constraint

    Date Nvarchar 50 Not Null

    Show_id Nvarchar 50 Not Null

    Gallery_id Nvarchar 50 Not Null

    Total_seat Nvarchar 50 Not Null

    Reserved_seat Int Not Null

    Book_Id Nvarchar 50 Unique

  • 7/27/2019 Jagath

    27/83

    27

    6.3 E.R DIAGRAM

  • 7/27/2019 Jagath

    28/83

    28

    IMPLEMENTATION

  • 7/27/2019 Jagath

    29/83

    29

    7.1 SOURCE CODE

    ADMIN.PHP

    Welcome to Privacy Login

    .input-button { font-size:14px; font-weight:bold; border:0; background:black; color:White;

    cursor:pointer; }

  • 7/27/2019 Jagath

    30/83

    30

    MY TAKIES CINI COMPLEX

    HOME

    MOVIE REGISTER

    SHOW REGISTER

    SEAT REGISTER

    COMING SOON

    LOGOUT

    Welcome to Administrator


  • 7/27/2019 Jagath

    31/83

    31

  • 7/27/2019 Jagath

    32/83

    32

    $_POST['showadd']="ADD NEW SHOW";

    $_SESSION['panel']="";

    }

    else if ($_SESSION['panel']=="SHOW REGISTER")

    {

    $_POST['btnshow']="SHOW REGISTER";

    $_SESSION['panel']="";

    }

    else if ($_SESSION['panel']=="EDIT SHOW INFO")

    {

    $_POST['showedit']="EDIT SHOW INFO";

    $_SESSION['panel']="";

    }

    else if ($_SESSION['panel']=="ADD NEW SOON MOVIE")

    {

    $_POST['soonadd']="ADD NEW SOON MOVIE";

    $_SESSION['panel']="";

    }

    else if ($_SESSION['panel']=="COMING SOON")

    {

    $_POST['btnsoon']="COMING SOON";

  • 7/27/2019 Jagath

    33/83

  • 7/27/2019 Jagath

    34/83

  • 7/27/2019 Jagath

    35/83

  • 7/27/2019 Jagath

    36/83

    36

    $_SESSION['panel']="COMING SOON";

    redirect('admin_setup.php');

    }

    //INSERT SOON

    if (isset($_POST['sooninsert'])=="INSERT SOON MOVIE")

    {

    $movie_id=$_POST['movie_rec_id'];

    $screen1_image=$_POST['movie_screen1_path'];

    $screen1_image=basename($screen1_image);

    $screen1_trailor=$_POST['movie_screen1_trailor'];

    $screen1_trailor=basename($screen1_trailor);

    $screen2_image=$_POST['movie_screen2_path'];

    $screen2_image=basename($screen2_image);

    $screen2_trailor=$_POST['movie_screen2_trailor'];

    $screen2_trailor=basename($screen2_trailor);

    $screen3_image=$_POST['movie_screen3_path'];

    $screen3_image=basename($screen3_image);

    $screen3_trailor=$_POST['movie_screen3_trailor'];

    $screen3_trailor=basename($screen3_trailor);

  • 7/27/2019 Jagath

    37/83

  • 7/27/2019 Jagath

    38/83

  • 7/27/2019 Jagath

    39/83

    39

    echo "Third Class Fee ";

    echo "";

    echo "";

    echo "

    ";

    }

    //INSERT SEAT BACK

    if (isset($_POST['seataddback'])=="BACK")

    {

    $_SESSION['panel']="SEAT REGISTER";

    redirect('admin_setup.php');

    }

    //INSERT SEAT REGISTER

    if (isset($_POST['btninsseat'])=="INSERT NEW SEAT")

    {

    $seat_id=$_POST['seat_id'];

  • 7/27/2019 Jagath

    40/83

    40

    $first_class=$_POST['first_class'];

    $first_class_fee=$_POST['first_class_fee'];

    $second_class=$_POST['second_class'];

    $second_class_fee=$_POST['second_class_fee'];

    $third_class=$_POST['third_class'];

    $third_class_fee=$_POST['third_class_fee'];

    $sql="insert into seat_register values

    ('$seat_id',$first_class,$first_class_fee,$second_class,$second_class_fee,$third_class,$third_clas

    s_fee)";

    $res=insert_select_record($sql);

    if ($res>0)

    {

    $sql="select seat_id from auto_gen";

    $id=single_record_return($sql);

    $id++;

    $res2=insert_select_record("update auto_gen set seat_id=$id");

    if ($res2>0)

    {

    $_SESSION['panel']="ADD NEW SEAT";

    redirect('admin_setup.php');

    }

  • 7/27/2019 Jagath

    41/83

  • 7/27/2019 Jagath

    42/83

    42

    }

    else

    {

    echo "There is no Record Found ";

    }

    echo "

    ";

    }

    //EDIT/VIEW SEAT BACK

    if (isset($_POST['seat_edit_view_back'])=="BACK")

    {

    $_SESSION['panel']="SEAT REGISTER";

    redirect('admin_setup.php');

    }

    //DELETE SEAT INFO

    if (isset($_POST['seatdelbtn'])!="")

    {

    $sql="delete from seat_register where seat_id='$_POST[seatdelbtn]'";

    $res=insert_select_record($sql);

    if ($res>0)

  • 7/27/2019 Jagath

    43/83

  • 7/27/2019 Jagath

    44/83

  • 7/27/2019 Jagath

    45/83

  • 7/27/2019 Jagath

    46/83

    46

    $res=insert_select_record($sql);

    if ($res>0)

    {

    $_SESSION['panel']="EDIT SEAT";

    redirect('admin_setup.php');

    }

    }

    //SHOW MAIN

    if (isset($_POST['btnshow'])=="SHOW REGISTER")

    {

    echo "
    ";

    echo "";

    echo "";

    echo "";

    }

    //EDIT SHOW INFO

  • 7/27/2019 Jagath

    47/83

  • 7/27/2019 Jagath

    48/83

  • 7/27/2019 Jagath

    49/83

  • 7/27/2019 Jagath

    50/83

    50

    }

    //DELETE SHOW INFORMATION

    if (isset($_POST['btnshowdel'])!="")

    {

    $sql="delete from show_register where rec_id='$_POST[btnshowdel]'";

    $res=insert_select_record($sql);

    if ($res>0)

    {

    $_SESSION['panel']="EDIT SHOW INFO";

    redirect('admin_setup.php');

    }

    }

    //ADD NEW SHOW

    if (isset($_POST['showadd'])=="ADD NEW SHOW")

    {

    $sql="select show_id from auto_gen";

  • 7/27/2019 Jagath

    51/83

  • 7/27/2019 Jagath

    52/83

  • 7/27/2019 Jagath

    53/83

  • 7/27/2019 Jagath

    54/83

  • 7/27/2019 Jagath

    55/83

  • 7/27/2019 Jagath

    56/83

  • 7/27/2019 Jagath

    57/83

    57

    //DELETE MOVIE REGISTER

    if (isset($_POST['btnmoviedel'])!="")

    {

    $sql="delete from movie_register where rec_id='$_POST[btnmoviedel]'";

    $res=insert_select_record($sql);

    if(res>0)

    {

    $_SESSION['panel']="EDIT MOVIE INFO";

    redirect('admin_setup.php');

    }

    }

    //EDIT MOVIE REGISTER

    if (isset($_POST['btnmovieedit'])!="")

    {

    $sql="select * from movie_register where rec_id='$_POST[btnmovieedit]'";

    $res=multiple_record_return($sql);

    if ($res>0)

    {

    echo "";

    echo "Screen Information ";

  • 7/27/2019 Jagath

    58/83

  • 7/27/2019 Jagath

    59/83

    59

    echo "";

    echo "";

    }

    echo "";

    }

    echo "";

    }

    //EDIT MOVIE

    if (isset($_POST['btnmovieupdate'])=="UPDATE MOVIE")

    {

    $scr1_img=$_POST['screen1_image'];

    $scr1_img=basename($scr1_img);

    $scr2_img=$_POST['screen2_image'];

    $scr2_img=basename($scr2_img);

    $scr3_img=$_POST['screen3_image'];

    $scr3_img=basename($scr3_img);

    $tra1=$_POST['screen1_trailor'];

    $tra1=basename($tra1);

  • 7/27/2019 Jagath

    60/83

    60

    $tra2=$_POST['screen2_trailor'];

    $tra2=basename($tra2);

    $tra3=$_POST['screen3_trailor'];

    $tra3=basename($tra3);

    $edit_up_screen1=$_POST['edit_screen1'];

    $edit_up_screen2=$_POST['edit_screen2'];

    $edit_up_screen3=$_POST['edit_screen3'];

    $edit_up_trailor1=$_POST['edit_trailor1'];

    $edit_up_trailor2=$_POST['edit_trailor2'];

    $edit_up_trailor3=$_POST['edit_trailor3'];

    if ($edit_up_screen1=="")

    {

    $screen1=$scr1_img;

    }

    else if ($edit_up_screen1!="")

    {

    $screen1=basename($edit_up_screen1);

    }

  • 7/27/2019 Jagath

    61/83

  • 7/27/2019 Jagath

    62/83

  • 7/27/2019 Jagath

    63/83

  • 7/27/2019 Jagath

    64/83

  • 7/27/2019 Jagath

    65/83

    65

  • 7/27/2019 Jagath

    66/83

  • 7/27/2019 Jagath

    67/83

    67

    Registration Page:

  • 7/27/2019 Jagath

    68/83

    68

    Login Page:

  • 7/27/2019 Jagath

    69/83

  • 7/27/2019 Jagath

    70/83

  • 7/27/2019 Jagath

    71/83

  • 7/27/2019 Jagath

    72/83

  • 7/27/2019 Jagath

    73/83

  • 7/27/2019 Jagath

    74/83

    74

    Output Testing

    After performing validation testing, next step is output testing of the proposed system,

    since no system could be useful if it does not provide the required output in the specified format.

    Here the output format is considered in two ways. One is on the screen and another is printed

    format. The output format is corrected according to the user needs. Hence output testing does not

    result in any correction to the system.

    For example, we checked whether the particulars, date, logos, and addresses are printed

    in correct location or not by taking the hard copy.

    We tested whether the displayed page is fitted in one page or not by using print preview

    command on the screen.

    User acceptance Testing:

    User acceptance of a system is the key factor for the success of any system. The system

    consideration is tested for user acceptance by keeping in touch with the perspective system users

    at the time of developing and making changes whenever required.

  • 7/27/2019 Jagath

    75/83

    75

    FUTURE ENHANCEMENT

  • 7/27/2019 Jagath

    76/83

    76

    FUTURE ENHANCEMENTS:

    Online theatre booking system satisfies most of the user and administrators need. The

    newly developed system, in its present form, is eminently suited to the existing needs. But in

    order to meet the future needs, which can become progressively more complex the efficiency of

    the system can be improved by making some simple modifications in the programs.

    In future this system can able to updated as,

    User can book the ticket through Mobile devices In future, this system could introduce prepaid cards for booking.

  • 7/27/2019 Jagath

    77/83

    77

    SYSTEM MAINTENANCE

  • 7/27/2019 Jagath

    78/83

    78

    SYSTEM MAINTENANCE

    INPUT DESIGN

    The Data, which is input to a computer-based information system, must be correct. If data

    is incorrect and errors enter the system, it will lead to incorrect results whose sequences will be

    expensive and embracing to the designer. Hence, one of the important tasks of a system designer

    is to ensure that the design prevents such errors.

    The existing user can enter into this application by entering the correct username and

    password, if the user is new to this application the user should fill the registration form. The

    admin will allow only the registered user to view this application.

    Data Input:

    The input of data to a computer can be either on-line or off-line. Any errors in data entry

    are checked immediately and the suitable message will be sent in one or two seconds to correct

    the input data.

    The following points should be carefully handled while I design this application.

    1. The allocated space for each field2. Field sequence, which must match, which in the source documents.3. The format in which the data fields are entered.4. Enough space for writing legibly the information.5. Clear instruction to fill the form. The instruction is in front of the line where the data is

    to be entered.

  • 7/27/2019 Jagath

    79/83

  • 7/27/2019 Jagath

    80/83

    80

    CONCLUSION

  • 7/27/2019 Jagath

    81/83

  • 7/27/2019 Jagath

    82/83

  • 7/27/2019 Jagath

    83/83

    BIBLIOGRAPHY

    PHP

    Complete PHP Edition OReilly

    PHP crash course Daniel Mc Ray

    WWW.123.schooledu.com

    MYSQL

    Myself BibleOReilly

    http://www.123.schooledu.com/http://www.123.schooledu.com/http://www.123.schooledu.com/