Project Report
Project Report
Project Report
D Sapphire is a web based system intended to be used by the customers as per their
convenience to book different facilities for themselves and others.
1.2 Objectives
Create a Banquet Hall Business Plan including:
income and expense projections,
budget,
a profile of potential customers,
an analysis of competition,
marketing, advertising and public relations strategies, and
doing business within the legal framework
For monitoring and updation of the business plan:
Monitor the income and expenses so that in case of decrementing revenues, one
Page | 1
D SAPPHIRE
paying a large insurance premium, rent payment, loan repayment or pay ant staff or
taxes.
Target marketing rather than using a shotgun approach.
Put together a detailed demographic profile of the customers and purchase
2. System Analysis
Page | 2
D SAPPHIRE
As per the existing manual procedure of D Sapphire, it is very difficult to manage the
whole record in the registers. Registers could be destroyed or lost making record-keeping
difficult and inefficient.
Storing the records of members, registering the clients, keeping records of the chosen
facilities by a client for an event, keeping records for accommodation details,
transportation details, parking details, gym members etc. is a little tedious and it is very
difficult to search record books when required. Also, when at the end of year one wants to
review the profit/loss gained it becomes very difficult to calculate from the scattered
records (as the sales are not recorded at one place).
The problem with existing manual system is
Sometimes a data may be entered two or more times which will result into form
inconsistency.
Before D Sapphire went online a huge loss was configured due to an accident, in which all
the records were burnt. So then it was decided to move everything online so that there
could always be a backup.
Proposed system and Its Advantages:
Maintain the records of all the customers and long term clients.
Page | 3
D SAPPHIRE
Maintain the records of all the caterers, cleaning, decoration and maintenance staff.
Maintaining and printing bills, keeping record of advance and balance payments.
Maintaining the availability of dates of halls.
Easy addition (insertion), retrieval and updating of client details and requirements.
Client/Customer feedbacks and suggestions can be entered and taken in to
consideration for further development.
Manager and staff logins are different and have specific rights to access, retrieve or
update data.
Generate reports on progress of the banquet hall on monthly basis.
Data and Report can be generated as a when required by the user.
c) Questionaire
Page | 4
D SAPPHIRE
A questionnaire was performed specifying the basic needs and the most choosed services
were included in the website
d) Visit Site
Went to a Banquet Hall here Raj Mahal to know what services they provide and how they
deal with their customers.
e) Visit Club and Tourism Providers
As D Sapphire also provides Tourism and Club Facilities so the Club was also visited to
check what services are provided to the members.
f) Interviews
Members and existing customers were interviewed to know what services are they getting
from the club and tourism .
Technical Feasibility: does the technology exist to implement the proposed system?
Is it a practical proposition?
Economic Feasibility: Is the system cost effective? Do benefits outweigh costs?
Legal Feasibility: is there any conflict between the proposed system and legal
requirements?
Operational Feasibility: are the current work practices and procedures adequate to
Page | 5
D SAPPHIRE
Technical Feasibility
The primary technical challenge in implementing D Sapphire is that the locations where
the system is required to be used are located geographically far apart.
Page | 6
D SAPPHIRE
Economic feasibility
This Software helps the user economically in the following way:
Cost-based study: The development cost is very less than all the other available softwares
in market; since it the first version of the software. It will also prove to be very profitable
keeping in mind the other high valued softwares. Operation of the software will be the
only cost of electricity used by the computer used and may rise in case if a person is hired
to operate the software.
Time-based study: The time required to achieve returns on investment on this software is
minimal as the software itself is of minimum cost with one years support and free upgradation of the software is included.
Operational feasibility
Total working capacity of the organization will be improved. Also the maintaining of
records without loss and detoriation will be taken care of which will also save space
occupied by registers and ease of searching and updating the details.
Schedule feasibility
The project is estimated to be completed within a year. The basic software is installed in to
the users system on testing basis. The dates of the deadlines are desirable and in case of
delay of more than three months, the entire amount will be paid back within next one
months time.
Page | 7
D SAPPHIRE
Whether Feasible
Feasible
Reason
Although the users of the system
are spread over a wide area , due
to use of broad internet at the
locations,
available
Economical Feasibility
Feasible
and
commonly
technologies
the
Operational Feasibility
Feasible
feasible.
Procedures are based on the
manual system described in the
protocol .Users are not required
to be trained on procedural
aspects making it operationally
Schedule Feasibility
Feasible
feasible.
The system is required to be
implemented in two months time
Hence this is feasible to complete
the project in the scheduled time.
Given the feasibility of all aspects of the model, D Sapphire is found to be a feasible
project.
D SAPPHIRE
The cost and effort estimation of D Sapphire has been made using the Function Point
Analysis method.Function Points have been calculated in D Sapphire as an indirect
quantitative measure of application software functionality and size that are based on
objective counts of external application interfaces factored together with subjective counts
of internal application complexity and overall performance characteristics.
The Process - Calculating the Cost
Labor
Schedule and Staff Profile Summarizes labor Types and How Much of Each (Total
Hours, Days Weeks etc.)
Materials
Add it Up:
Page | 9
D SAPPHIRE
Labor = 2000
Materials=3000
Consultants=500
Other=200
Indirect=100
Identification of Need
PRELIMINARY
INVESTIGATION Preliminary Investigation
Feasibility Study
AND FEASIBILITY STUDY
Project Planning and Scheduling
SYSTEM ANALYSIS
Requirement Analysis
DFD/ERD and other Diagrams
Modularization Details
Page | 10
D SAPPHIRE
SYSTEM DESIGN
CODING
TESTING
IMPLEMENTATION
MAINTENANCE
A Gantt chart is a type of bar chart, developed by Henry Gantt in the 1910s, that illustrates
a project schedule. Gantt charts illustrate the start and finish dates of the terminal elements
and summary elements of a project. Terminal elements and summary elements comprise
the work breakdown structure of the project. Modern Gantt charts also show
the dependency (i.e. precedence network) relationships between activities. Gantt charts can
be used to show current schedule status using percent-complete shadings and a vertical
"TODAY" line
Page | 11
D SAPPHIRE
Tasks
Requirements gathering and feasibility
System Analysis
System Design
Coding
Testing
Implementation and Maintenance
Time Taken
1 month
1.5 month
1.5 month
2 months
1.5 month
1.5 Month
and
Review
Technique,
commonly
Page | 12
D SAPPHIRE
14
Page | 13
D SAPPHIRE
INTRODUCTION
16
Purpose
16
Scope
16
17
18
18
Overview
19
OVERALL DESCRIPTION
19
Product Description
19
Product Functioning
20
21
22
SPECIFIC REQUIREMENTS
22
22
23
Hardware Requirements
36
Software Requirements
37
38
Functional Requirements
51
55
Performance Requirements
56
Design Constraints
56
56
Operational Constraints
57
Hardware Constraints
57
Software Constraints
57
58
APPENDICES
61
61
63
Page | 14
D SAPPHIRE
Introduction
The following subsections of the Software Requirements Specifications (SRS) document
provide an overview of the entire SRS.
Page | 15
D SAPPHIRE
Purpose
The Software Requirements Specification (SRS) is designed to express the behavioural,
performance, and development requirements of D Sapphire and serves as the fundamental
requirements document for the development of the system.
This SRS will allow for a complete understanding of what is to be expected of D Sapphire
to be constructed. The clear understanding of D Sapphire and its functionality will allow
for the correct software to be developed for the end user and will be used for the
development of the future stages of the project. This SRS will provide the foundation for
the project.
This SRS will be used by the software engineers constructing D Sapphire and the end
users. The software engineers will use the SRS to fully understand the expectations of this
to construct the appropriate software. The end users will be able to use this SRS as a test
to see if the software engineers will be constructing the system to their expectations. If it is
not to their expectations the end users can specify how it is not to their liking and the
software engineers will change the SRS to fit the end users needs.
Scope
The scope of SRS identifies the magnitude of what D Sapphire will cover.
The Software Requirement Specification is intended for review by the client to ensure that
all desired functional, performance and development requirements have been stated in a
way such that they are:
Readable: minimizes misinterpretation by developers and testers using clear,
concise , unambiguous and complete language.
Testable: will be used for strategies in Master Test Plan, Functional Test Plan, and
other formal testing documents.
Modifiable: changes easily as requirements change, accommodates requirements,
and change management policy.
Page | 16
D SAPPHIRE
completed for operations and maintenance. Maintenance projects use the SRS to
obtain a greater understanding of the system when changes need to be made.
Traceable: works with the Requirements Traceability Matrix to ensure components,
responsibilities and test cases link to minimize impact for requirements change and
localize defects.
Buildable: will be used by developers to write code from specifications.
Documentable: will be used to write user manual and technical manual to help train
new staff.
IGNOU
Apache
PHP
scripting language
MySql
XAMPP
SRS
DFD
PERT
URL
Page | 17
D SAPPHIRE
Overview
Page | 18
D SAPPHIRE
This SRS document is intended for the developers of D Sapphire and includes an overall
description and specific requirements for
Overall Description
Product Description
D Sapphire is a web based system intended to handle the functions of D Sapphire which
includes managing restaurant, gym, games, parlour, boutique, parkings, cars providing
tourism, booking of halls providing an ease to book by sitting at home.
The members of D Sapphire are also given discounts and special services. For booking
firstly, one has to select the event planner, theme , date of booking ,hall, rooms, party type,
car, have to tell if one will book parlour, boutique, dance events, host , cartoons for the
party and when the book button is clicked it is checked if the choosed options are available
or not. If they are not available then the booking form is exited but if they are available
then a payment slip containing the booking id for future reference and other details are
viewed which can be printed or saved and an option of doing payment online is also
shown. Also one can do the payments on desk.But atleast a minimum amount is to be paid
while booking.One can also book the catering menu online. For booking tourism which is
for all public one click on a button and you are leaded to the paypal online system.
Page | 19
D SAPPHIRE
In the same way parlour , boutique , rooms can be booked but only for the members and
the guests . After clicking on the book button first you are asked to enter your member id if
you are a valid user then you are leaded to the form of booking.
Product Functioning
The administrator of D Sapphire will be able to create users and assign the
username and password to the members.
The users can log in to the system and they will be taken to their designated home
page which displays those services which are only available for the
members.Those services are Gym and Games.
The shops which are tied up with D Sapphire can be visited through the webpage
of D Sapphire which helps them in increase of their business and ours business
too.
Once a person visits our event planner page he can view the available event
planners with their individual fees.
On visiting our Wedding page a person can see all the themes with their
screenshots.
On visiting our Accomodation page customer can see different rooms snapshots
and can also book the room but only if he is a member. It is checked if the number
of rooms are available or not.
On visiting our parlour page one can see all the services provided by the parlour
with their rates and then can book one for them only if they are member.
On visiting our boutique page one can take an appointment for visiting there.
Restaurant Page shows the menu of the restaurant with the option to book a table
in advance for a candle light dinner of two or for general purpose
Catering page views all the options available with specific boundations.
Tourism page shows the various tours available for going .It is allowed for all .A
person can book any tour by paying online.
Club page shows the various facilities given by D Sapphire.
Login gives two options one for members and other for administrator.One can also
change the password.
Page | 20
D SAPPHIRE
Page | 21
D SAPPHIRE
Specific Requirements:
External Interface Requirements
Interface Requirements and Input/Output Formats
:
:
:
Source
of
input
or :
banquet.
Users arrive at the D Sapphire Home after
Destination of output
and/or tolerance
Units of measure
Timing
Number of characters
User accesses the home page of D Sapphire
:
:
by specifying URL
Page | 22
D SAPPHIRE
Relationship
to
other :
Inputs/Outputs
Screen
successfully
The page includes the introduction about the
formats/Organization
Data Formats
different services.
Booking form accepts A-Z,a-z,0-9,special
End Messages
characters like @
On successful booking , the payment receipt
is shown which contains the booking id and
rest of the details which can be printed or
saved.
Name of item
Accesible to
Description of Purpose
:
:
:
or :
Destination of output
Valid Range , accuracy :
and/or tolerance
Units of measure
Timing
Relationship to
:
:
other :
Inputs/Outputs
Screen
administrative jobs.
Links are available which when get clicked
formats/Organization
Data Formats
End Messages
:
:
Source
of
input
Page | 23
D SAPPHIRE
Name of item
Accesible to
Description of Purpose
:
:
:
Wedding Page
All users
Users of website visits the page and can see
the different themes available with their
corresponding snapshots. Also the page
contains further links to Event Planner,
Parlour,
Source
of
input
or :
Destination of output
Boutique,
Catering,
Halls,
Accomodation, Transportation
Users arrive at the D Sapphire Home after
typing the URL in the browser. And then
navigates to this page through the menu link
available.
-
and/or tolerance
Units of measure
Timing
Relationship
to
:
:
other :
Inputs/Outputs
Screen
formats/Organization
Data Formats
End Messages
:
:
Name of item
Accesible to
Description of Purpose
:
:
:
D SAPPHIRE
Source
of
input
or :
Destination of output
and/or tolerance
Units of measure
Timing
:
:
to
other :
Inputs/Outputs
Screen
formats/Organization
Data Formats
End Messages
:
:
Name of item
Accesible to
Description of Purpose
:
:
:
Accomodation Page
All users
Users of website visits the page and can see
the snapshots of rooms. User can also book
rooms for themselves but only if they are the
Source
of
input
or :
Destination of output
members of D Sapphire.
Users arrive at the D Sapphire Home after
typing the URL in the browser. And then
navigates to this page through the internal
and/or tolerance
Units of measure
Timing
Numbers
User accesses this page of D Sapphire by
:
:
to
other :
D SAPPHIRE
Inputs/Outputs
Screen
formats/Organization
Data Formats
End Messages
:
:
Name of item
Accesible to
Description of Purpose
:
:
:
Halls Page
All users
Users of website visits the page and can see
the snapshots of halls. User can also check
Source
of
input
or :
Destination of output
and/or tolerance
Units of measure
Timing
:
:
to
other :
Inputs/Outputs
Screen
formats/Organization
Data Formats
End Messages
:
:
Name of item
Accesible to
Description of Purpose
:
:
:
Parlour Page
All users
Users of website visits the page and can see
the snapshots of parlour and also the services
Page | 26
D SAPPHIRE
of
input
or :
Destination of output
and/or tolerance
Units of measure
Timing
Numbers
User accesses this page of D Sapphire by
:
:
to
other :
Inputs/Outputs
Screen
formats/Organization
Data Formats
End Messages
the parlour.
0-9,A-Z,a-z
A person can navigate through pages and
:
:
Name of item
Accesible to
Description of Purpose
:
:
:
Boutique Page
All users
Users of website visits the page and can see
the snapshots of boutique. User can also
book an appointment with the designers of
the boutique for themselves but only if they
Source
of
input
Destination of output
or :
D SAPPHIRE
and/or tolerance
Units of measure
Timing
Numbers
User accesses this page of D Sapphire by
:
:
to
other :
Inputs/Outputs
Screen
formats/Organization
boutique
Data Formats
End Messages
appointment.
0-9,A-Z,a-z
A person can navigate through pages and
:
:
and
button
to
book
the
Name of item
Accesible to
Description of Purpose
:
:
:
Transportation Page
All users
Users of website visits the page and can see
the snapshots of cars . User can also check
Source
of
input
or :
Destination of output
and/or tolerance
Units of measure
Timing
:
:
to
other :
Inputs/Outputs
Screen
formats/Organization
Data Formats
D SAPPHIRE
End Messages
Name of item
Accesible to
Description of Purpose
:
:
:
Catering Page
All users
Users of website visits the page and can see
the full menu of the catering available with
Source
of
input
or :
Destination of output
and/or tolerance
Units of measure
Timing
:
:
to
other :
Inputs/Outputs
Screen
formats/Organization
Data Formats
End Messages
:
:
menu.
A person can navigate through pages and see
the catering details.
Name of item
Accesible to
Description of Purpose
:
:
:
Restaurant Page
All users
Users of website visits the page and can see
the snapshots of restaurant with the menu
listed over there. User can also book a table
for themselves only if they are a part of D
Sapphire i.e. a member of D Sapphire
Page | 29
D SAPPHIRE
Source
of
input
or :
Destination of output
and/or tolerance
Units of measure
Timing
Numbers
User accesses this page of D Sapphire by
:
:
to
other :
Inputs/Outputs
Screen
formats/Organization
Data Formats
End Messages
the tables.
0-9,A-Z,a-z
A person can navigate through pages and
:
:
Name of item
Accesible to
Description of Purpose
:
:
:
Club Page
All users
Users of website visits the page and can see
the various services offered by D Sapphire to
the members of them. There is a button
offering to get a membership
of D
of
input
or :
Destination of output
become a member.
Users arrive at the D Sapphire Home after
typing the URL in the browser. And then
navigates to this page through the link of
club page.
Transaction ID needed to sign up
and/or tolerance
Units of measure
Numbers,Characters
Page | 30
D SAPPHIRE
Timing
Relationship
to
other :
the details .
The page includes the pictures of the club
:
:
Inputs/Outputs
Screen
formats/Organization
Data Formats
End Messages
register in D Sapphire.
Name of item
Accesible to
Description of Purpose
Source
of
input
:
:
:
Login Page
All users
Users of website visits the page and can see
or :
Destination of output
login page.
Username and password
and/or tolerance
Units of measure
Timing
Numbers,Characters
User accesses this page of D Sapphire by
:
:
to
other :
password is viewed.
The page includes the link for login, for
Inputs/Outputs
Screen
formats/Organization
Data Formats
End Messages
password
0-9,A-Z,a-z
If a person successfully logins then he is
:
:
D SAPPHIRE
Name of item
Accesible to
Description of Purpose
:
:
:
Tourism Page
All users
Users of website visits the page and can see
the snapshots of tourists.User also sees a list
of tourism available with the corresponding
Source
of
input
or :
Destination of output
tourism page.
Paypal acount
and/or tolerance
Units of measure
Timing
Characters
User accesses this page of D Sapphire by
:
:
to
other :
Inputs/Outputs
Screen
formats/Organization
Data Formats
End Messages
:
:
Name of item
Accesible to
Description of Purpose
:
:
:
Contact Page
All users
Users of website visits the page and can see
the various ways to contact D Sapphire . One
Source
of
input
or :
Destination of output
contact page.
Valid Email ID
Page | 32
D SAPPHIRE
and/or tolerance
Units of measure
Timing
:
:
Characters
User accesses this page of D Sapphire by
navigating through home page and then
other :
Inputs/Outputs
Screen
administrator
The page includes the contact details for D
formats/Organization
Data Formats
End Messages
:
:
Sapphire
0-9,A-Z,a-z
User is told that he/she will be reached soon
Relationship
to
Name of item
Accesible to
Description of Purpose
:
:
:
Source
of
input
or :
Destination of output
and/or tolerance
Units of measure
Timing
:
:
to
other :
Inputs/Outputs
Screen
formats/Organization
D SAPPHIRE
:
:
page.
A person can navigate through links and
book the additional options for their parties
and can go directly to the website of shops
from here.
Hardware Requirements:
D Sapphire is proposed to be installed on a Web Server having the
following minimum hardware requirements:
IntelR 5000 Series Dual Core Processor
2 GB DDR-2 RAM
At least 50 GB free space for the installation of APACHE, PHP and
MySQL
100 GB for system files and database
DVD Writer and tape drive for backup processes
Leased Line Internet Connection
Other peripherals as per requirement
On the client side, a Pentium IV personal computer, and an Internet
connection
Software Requirements:
On the server side, D Sapphire requires the following software platform:
MySQL 5.0 Relational Database Management System
PHP 5.2 Server Side scripting
Apache 2.0 web server
Windows 2000 server
On the client side the sole requirement is any HTML 4.0 compliant internet
browser which supports JavaScript.
The tools that were used by the developer while developing and deploying
the system are as follows
Notepad++ 5.3.1
Adobe Dreamweaver CS3
phpMyAdmin 3.1.1
Page | 34
D SAPPHIRE
Page | 35
D SAPPHIRE
Page | 36
D SAPPHIRE
Page | 37
D SAPPHIRE
Page | 38
D SAPPHIRE
Page | 39
D SAPPHIRE
Page | 40
D SAPPHIRE
Page | 41
D SAPPHIRE
Page | 42
D SAPPHIRE
Page | 43
D SAPPHIRE
Functional Requirements
The system was studied thoroughly and the following functional
requirements could be identified:
Table 2.5 Functional Requirements
D Sapphire
Function
Description
Inputs
Source
:
:
:
:
SRS/1.1
Login
Users of D Sapphire log into the system
Username and Password
Users of the system, i.e. Administrator,
Destination
Action
Outputs
D Sapphire
Function
Description
Inputs
Source
Outputs
Destination
Action
Requires
Pre Condition
:
:
:
:
:
:
:
SRS/1.2
Create New User
Administrator creates new user
Username and Password
User Management Form
After data is submitted, new user is
:
:
displayed
User Management Form
Admin clicks the Add button and fill the
:
:
details
Transaction Number
Admin is logged in
Page | 44
D SAPPHIRE
Post Condition
D Sapphire
Function
Description
Inputs
Source
Outputs
Destination
Action
:
:
:
:
:
:
:
SRS/1.3
Delete User
Administrator deletes user
Username
User Management Form
After data is submitted, user is deleted
User Management Form
Admin clicks the Delete button and fill the
Requires
Pre Condition
Post Condition
D Sapphire
Function
Description
Inputs
Source
Outputs
:
:
:
:
:
:
:
:
username
Username
Admin is logged in
SRS/2.1
Registration of New User
New user is created
Personal details, username and password
User Registration Form
After data is submitted, new user is
Destination
Action
Requires
Pre Condition
Post Condition
:
:
:
:
:
registered
User Registration Form
User clicks the Register button
Transaction Number
Transaction Number should be correct
D Sapphire
Function
Description
Inputs
Source
Outputs
Destination
Action
Requires
Pre Condition
Post Condition
:
:
:
:
:
:
:
:
:
:
SRS/2.2
Booking Banquet
Banquet Hall is booked
All details for banquet is filled
Booking Form
After data is submitted, Banquet is booked
Booking Form
User clicks the Book Button
Hall and event planner should be available
on the choosed date
Page | 45
D SAPPHIRE
D Sapphire
Function
Description
Inputs
Source
Outputs
Destination
Action
Requires
Pre Condition
Post Condition
:
:
:
:
:
:
:
:
:
:
SRS/2.3
Book Catering Menu
Catering Menu is saved
Different data is checked
Catering Form
Menu is saved in a text file
Catering Form
User clicks the form and choose the options
Booking ID
Your banquet should be booked
-
D Sapphire
Function
Description
Inputs
Source
Outputs
Destination
Action
Requires
Pre Condition
Post Condition
:
:
:
:
:
:
:
:
:
:
SRS/2.4
Rooms Booking
You should be a member
Member ID
Rooms Booking Form
After data is submitted, rooms are booked
Rooms Booking Form
Rooms are booked
Member ID
User should be a member
Rooms should be available for the choosed
date
D Sapphire
Function
Description
Inputs
Source
Outputs
Destination
Action
Requires
Pre Condition
Post Condition
D Sapphire
Function
Description
Inputs
:
:
:
:
:
:
:
:
:
:
SRS/2.5
Parlour Booking
You should be a member
Member ID
Parlour Booking Form
After data is submitted, parlour is booked
Parlour Booking Form
Parlour are booked
Member ID
User should be a member
-
:
:
:
SRS/2.6
Boutique Booking
You should be a member
Member ID
Page | 46
D SAPPHIRE
Source
Outputs
Destination
Action
Requires
Pre Condition
Post Condition
D Sapphire
Function
Description
Inputs
Source
Outputs
Destination
Action
Requires
Pre Condition
Post Condition
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
SRS/2.7
Restaurant Booking
You should be a member
Member ID
Restaurant Booking Form
After data is submitted, restaurant is booked
Restaurant Booking Form
Restaurant is booked
Member ID
User should be a member
Table for the choosed date should be
available
D SAPPHIRE
The load time for user interface screens shall take no longer than two
seconds.
The log in information shall be verified within five seconds.
Queries shall return results within five seconds.
Design Constraints
User Interface Constraints
The systems Graphical User Interface(GUI) should adhere to
industry standards so that GUI will look the same on variety of web
browsers like Google Chrome , Internet Explorer, Mozilla Firefox
etc.
The system will have a free flowing interface to promote usability.
The system will utilize buttons to book the banquet and other
purpose.
The system will utilize the standard searching to implement the
advanced searching over interfaces
The system uses Cascading Style Sheet to maintain uniformity in
looks
It should take a new user approximately half an hour to become
familiar with the features of the system
Where absolute units are used in web development , care should be
taken to ensure that the width of the page does not exceed 1024
pixels.
Page | 48
D SAPPHIRE
Operational Constraints
The system must be available 24 hours a day, 7 days a week and 365
days a year.
The system should allow all users to login simultaneously
The system should accommodate 20 records daily
Hardware Constraints
Any hardware with specifications equal to or higher than that determined in
Hardware Specifications may be used. There might be problems in operating
the system with a lower specification
Software Constraints
A W3C compliant web browser must be installed on the system (Internet
Explorer, FireFox, Opera, Safari, etc.) JavaScript must be enabled on the users
web browser System must interface with MySQL Database
Page | 49
D SAPPHIRE
The system must be highly reliable as it processes data. Specify the factors
required to establish the required reliability of the software system at time
of delivery.
Maintainability
Because D Sapphire has been designed to be flexible, maintenance of the
system should not require subsequent changes in the program code. It
should be enough to change control information in web page layout files.
Addition and updation of critical data like Booking the banquet and creation
of users should be assigned to the Administrator.
Portability
As D Sapphire will work via the Internet interface, it will work from
various operating systems. Furthermore, as the web page creation is
designed to be flexible, the system can be transferred to other environments.
The code should be platform independent and the database should be easily
portable to a different platform.
Extensibility
The system can be easily extended, because the design is based on software
components.
Reusability
The design based on software components this will increase also reusability,
because software components may be utilised also for other purposes.
Serviceability
Because D Sapphire should be always online , the system should be quickly
serviced when needed. Our recommendation is to implement a backup
system that can replace original system , if the original system becomes
unusable. Mirroring may be considered.
Page | 50
D SAPPHIRE
D Sapphire Network
Page | 51
D SAPPHIRE
Page | 52
D SAPPHIRE
Page | 53
D SAPPHIRE
Page | 54
D SAPPHIRE
Page | 55
D SAPPHIRE
Page | 56
D SAPPHIRE
Page | 57
D SAPPHIRE
D SAPPHIRE
The D Sapphire project has gone through the following stages of development in its
Software Development Life Cycle.
During the preliminary investigation, visits were made to the locations like Raj Mahal
Moradabad, Pancham Bareilly , Hotel Sita Kiran , Moradabd Club to study the working of
the manual process.A study of the existing sites of banquet halls and clubs were also made.
Page | 59
D SAPPHIRE
Feasibility study of D Sapphire project was made using the COST Model and various
strategic plans to find out the Technical, Economic, Legal, Operational and Schedule
feasibility of D Sapphire
System Analysis:
At the System Analysis stage, first the detailed requirements of D Sapphire were worked
out. These included the external interface requirements, input and output formats, hardware
and software requirements, logical database requirements and data dictionary, various
constraints, functional and non-functional requirements. At the end of the requirement
gathering, a SoftwareRequirement Specification (SRS) document was created as per IEEE
830-1998 recommendations. Samples of various documents and registers were also taken
at this stage.
Next, with reference to the requirements gathered, the project planning including cost,
effort and budget estimates were made, the scheduling was done using PERT and Gantt
Charts, the software paradigm to be applied in development of D Sapphire was worked
out and detailed Data Flow Diagrams and Entity-Relationship Diagrams were created.
System Design:
At the System Design phase, the modules of D Sapphire were determined and their logical
relationships were worked out. Following this, the database design was undertaken and the
underlying tables, attributes, constraints,keys, attribute types etc. were also determined. At
the procedural design stage, the algorithm of D Sapphire within the modules and interPage | 60
D SAPPHIRE
module logical design was completed. The design of user interfaces was undertaken after
this. During this process, the design of input forms, menus, reports, outputs,error messages
and other visual elements were conceived.
Coding:
The actual coding of D Sapphire was undertaken in this stage. The coding was done
module-wise as the modules were more or less independent of each other except for some
feedbacks using dummy variables from other modules at the early stage. After the coding
for all modules were completed, the actual feedback variables were used to re-visit the
modules and complete the coding. After the preliminary coding was completed, efforts
were made to include extensive error checking and validation checks in critical places of
the code and comments and descriptions were added.
Testing:
D Sappphire was subjected to extensive testing using the Unit Testing, Integration Testing
and System Testing approach. Elaborate test cases were designed for each phase before the
testing. During the unit testing phase, the text boxes, combo/drop down menus, buttons
were tested. During the integration testing, the inter-operability of the modules were tested
and specifically it was tried to ascertain whether data generated in one phase/module were
available in the next module. In the system testing phase, the system was tested as a whole
to find out whether all the functional requirements of D Sapphire as envisaged in the SRS
were satisfied.
Page | 61
D SAPPHIRE
The
implementation
was
made
in
the
real-life
environment
in
the
URL
dsapphire.comule.com after uploading the PHP files from the production server to the
hosting server. An SQL dump file was generated from the MySQL database, tarred and
zipped in the production server and uploaded in the hosting server by FTP.It was then
integrated into the database in the server and deployed after re-testing the functionalities.
The maintenance phase is going on and certain changes might be possible to finetune the
application during this phase.
Page | 62
D SAPPHIRE
3. System Design
(i)
Administrative Module:
The role of system administrator is very vital for D Sapphire. One of the facilities for D
Sapphire is to enable changes in the key tables. These tables are of halls, themes,
rooms,payments.
The administrative module also handles the updation of sales and the payments to be done.
The administrator can see the Profit/Loss Statement or Yearly sale and also print them as a
report.
(ii)
Registration Module
When the user clicks this option he will be presented with sign up form where he has to fill
his details with a choosed username and password. The only thing to keep in mind is the
transaction number given to the person.If the transaction number is not correct he/she will
not be allotted with the membership.
(iii)
Page | 63
D SAPPHIRE
(iv)
Transportation Module
When the user clicks this option he will be shown the different cars available on the
present time.
The person will be given an option to choose from different cars. it will be checked if the
number of cars are available or not . If they are available they are allotted to the person ,
but if not then they are shown the available cars and a sorry message is shown.
(v)
Boutique Module
When the user clicks this option he will be shown the latest designs available in the
boutique for bride, groom and others too.The person can also see designer names , its work
and he can also book a designer to design a special dress and the bill will be added to the
report.A person can also come and visit the boutique himself.
(vi)
Parlour Module
When the user clicks this option he will be shown the different menu showing all the
facilities available in the parlour with their rates. Parlour will be both for men and women.
The person can choose the options and book the parlour for a specific time.A person can
also come and visit the parlour himself.
(vii)
Rooms Module
When the user clicks this option he will be shown the rooms The person can click to see
the rooms pictures The person should be a membr of D Sapphire in order to book rooms
and it will be first checked if the rooms are available for the following date.
Page | 64
D SAPPHIRE
(viii)
Catering Module:
When the user clicks firstly he is viewed with the menu available with some rules for
booking.A form is available which first asks to verify your booking id and then book the
menu where the selected options will be saved in a text file.
(ix)
Games Module
Right now there are two games available which can be joined by members only. Games
may also lead you to state or national level competitions
(x)
Restaurant Module
When the user clicks it different snapshots are shown to the user :He can also see the meals
available with their specific rates and can also book any and ask to deliver at home with
the option of cash at delivery or online payment.A person can also book a table or many
tables for any special event but with some extra charge to be paid in advance.Bookings can
only be done through the members.The different bills which will be paid will
be
maintained in a daily basis repot of restaurant and the final amount of each day at the
closing time will in turn be updated on the final report of the administrator business report.
(xi)
Tourism Module
When the user clicks it a menu pops up showing the different tours available for a person
to book from. Special discounts will be available for members.A person can click on
different tour programmes to see the amount charged. A person can book it and pay
Itonline It can be done for any general user.
(xii)
Contact Module
Page | 65
D SAPPHIRE
All the ways of contacting D Sapphire is shown with the option of asking us any query.A
map showing the directions is also viewed.
(xiii)
a. Photo Booth
b. Photo Shoot
c. Videographer
d. Disc Jockeys
e. Flowers
f. Honeymoon
g. Magazines
h. Gift Shop
One can easily book any needed servise from here. He do not have to roam here and there
to make arrangements. He will be fully satisfied.
Page | 66
D SAPPHIRE
Page | 67
D SAPPHIRE
The D Sapphire
Primary Keys, Foreign Keys and Referential Integrity constraints have been set up in the
database. The various tables in the database are described below:
Bookbanquet Stores the details of booking , whoever has booked the banquet
Field Name
fname
Field Type
Text
Constraints
Description
First Name of the
lname
Text
person
Last Name of the
saddr
City
State
Zip
Country
Phone
Email
Hall
Party
Text
text
Text
Int(6)
text
Int(15)
Text
Text
Text
person
Address
City
State
Zip Code
Country
Contact Number
Email ID
Hall Choosed
Which type of party
you want? May be
wedding,meeting
Rooms
Date
Eplan
Int(5)
etc.
How many rooms
Date
Text
needed
Date of Booking
Choosed
Event
Planner
Page | 68
D SAPPHIRE
Theme
Boutique
Varchar(50)
Text
Choosed Theme
You need boutique?
Text
Yes/No
You need parlour?
Devent
Text
Yes/No
You need dancing
Hsuite
Text
events? Yes/No
You need to book
Parlour
honeymoon
cartoons
Text
Boid
Int(11)
Yes/No
You need cartoons?
Yes/No
Primary Key, Auto Generated
Increment
Amount
suite?
ID
on
successful
submission
The charges to be
Int(11)
paid
Bookbo This table stores the details of the bookings of the boutique
Field Name
Mid
Bodate
Constraints
Foreign Key
Description
Member ID (allotted
Reference
individually to each
register1(Mid)
member)
Date of Booking
Date
Field Name
Mid
Bodate
Field Type
Varchar(10)
Field Type
Varchar(10)
Date
Constraints
Foreign Key
Description
Member ID (allotted
Reference
individually to each
register1(Mid)
member)
Date of Booking
Page | 69
D SAPPHIRE
Type
Text
Ptime
time
client needs
Time allotted to visit
the parlour on the
booked date
Field Name
Cid
Field Type
Varchar(20)
Constraints
Primary Key
Description
Car ID (allotted
individually to each
Cname
Cnum
car)
Name of Car
Car Number
Varchar(50)
Int(11)
Cavailable: This table stores the availability of cars corresponding to its name and
its ID.
Field Name
Cid
Field Type
Varchar(20)
Constraints
Primary Key
Description
Car ID (allotted
individually to each
Cname
Cnum
Varchar(50)
Int(11)
car)
Name of Car
Number of
Cavailable
text
cars
Counter- this table stores the field which counts the visits on the website
Field Name
Counter
Field Type
int(20)
Constraints
Description
Counter to count the
number of visits
Page | 70
D SAPPHIRE
Debit_transactions-this table stores the details of all those payments which were
made by the banquet for their expenses.
Field Name
Reason
Amount
Date
Field Type
Varchar(100)
Constraints
Description
Reason
of
the
expense
Amount paid
Date of transaction
Int(11)
date
Deliver this table stores the details of choosed menu and its rate for home
delivery option
Field Name
PackageId
Field Type
Int(11)
Rate
Int(11)
Constraints
Description
Id of the
food
choosed
Amount to be paid
Designer this table stores the designer details which are hired
for the banquet
Field Name
Deid
Dename
Deaddr
Decont
Defee
Field Type
Varchar(12)
Constraints
Primary Key
Description
Unique
ID
of
designer
Name of Designer
Address
Contact Number
Fee paid to designer
Varchar(50)
Varchar(100)
Bigint(100)
Int(11)
Driver- this table stores the details for drivers which are hired for
banquet
Field Name
Did
Field Type
Varchar(12)
Constraints
Primary Key
Description
Unique ID of driver
Page | 71
D SAPPHIRE
Dname
Daddr
Dcont
Dsalary
Varchar(50)
Varchar(100)
Bigint(50)
Int(11)
Name of Driver
Address
Contact Number
Salary of Driver
Field Name
Eid
Field Type
Varchar(11)
Constraints
Primary Key
Description
Unique ID of event
Varchar(40)
planner
Name
of
Efees
Int(11)
planner
Fee paid to event
Eavailable
text
planner
Availability of event
Ename
event
planner
Field Name
Name
Addr
message
Field Type
Varchar(50)
text
longtext
Constraints
Description
Name of Sender
Address
Message sent by the
user
Field Name
Eid
Field Type
Varchar(12)
Constraints
Primary Key
Description
Unique ID of event
Ename
Varchar(50)
planner
Name
of
Eaddr
Varchar(100)
planner
Address
event
Page | 72
D SAPPHIRE
Econt
Eemail
Ework
Efee
Bigint(100)
Varchar(50)
Contact Number
Email of the event
Int(11)
planner
Work experience of
Int(11)
Games
Field Name
Gid
Gname
Gfee
Field Type
Varchar(12)
Varchar(50)
Int(11)
Constraints
Primary Key
Description
Unique Id of Games
Name
Fees to be paid
Field Name
Gid
Mid
Field Type
Varchar(12)
Varchar(12)
Constraints
Foreign
register1(Mid)
Mfee
Int(11)
Description
Id of Game choosed
key Member ID who
opted the games
Fees of the game to
be paid
Guide this table stores the details of the guide kept for the tourism
purpose
Field Name
Guideid
Guidename
Guideaddr
Guidecont
Guidesalary
Field Type
Varchar(12)
Varchar(50)
Varchar(100)
Bigint(50)
Int(11)
Constraints
Primary Key
Description
Unique ID of guide
Name of guide
Address
Contact Number
Salary paid to the
guide
Page | 73
D SAPPHIRE
Gym this table stores the details of the members joined the gym
Field Name
Mid
Field Type
Varchar(12)
Constraints
Foreign
Description
key Member ID
register1(Mid)
Jid
Jfee
Varchar(50)
Int(11)
Gymid-this table stores the details of the packages available in the gym
with their corresponding charges
Field Name
id
fee
Field Type
Varchar(12)
Int(11)
name
Varchar(50)
Constraints
Primary Key
Description
ID for the gym
Fees of the gym
package
Name of
gym
package
Halls- this table stores the details of the halls available in the banquet
Field Name
Hid
Hname
Hsize
Hprice
Available
Field Type
Varchar(12)
Varchar(50)
text
Int(11)
text
Constraints
Primary Key
Description
Unique ID of hall
Name of hall
Size of hall
Price of booking
Hall is Available or
not
Homedeliver this table stores the details of the person who wants
home delivery
Field Name
Packageid
Field Type
Int(11)
Constraints
Foreign
Description
Key ID of package
Page | 74
D SAPPHIRE
deliver(packageid)
Name
Address
Contact
Amount
Varchar(50)
text
Bigint(50)
Int(11)
Name of person
Address
Contact Number
Amount to be paid
Parking- this table stores the details of cars came in the banquet
Field Name
Cid
Gname
Pdate
Ptimein
Ptimeout
Field Type
Varchar(20)
Varchar(50)
Date
Time
Constraints
Description
Car Number
Name of person
Date
Time when the car
checked in
Time when the car
time
checked out
Payments this table stores the details of the transactions held by and
held to the banquet
Field Name
Type
Charges
Date
Field Type
text
Int(11)
Constraints
Description
Type of transaction
Amount
paid/received
Date of transaction
Date
Rebook this table stores the details of those members who booked the
restaurant in advance
Field Name
Guname
BookDate
Tableno
RFid
Field Type
text
Date
Int(11)
Varchar(12)
Constraints
Foreign
Description
Name of person
Date of booking
Table
number
choosed
Key Reference
Restaurant(RFid)
ID
for
candle
light
dinner , etc.
Page | 75
D SAPPHIRE
Field Name
Mid
Field Type
Int(11)
Constraints
Description
Primary Key Auto Member ID alloted
Increment
Mname
Maddr
Mcont
Memail
username
password
Mdob
Mtype
Varchar(50)
Varchar(100)
Int(100)
Varchar(100)
Varchar(25)
Name of member
Address
Contact Number
Email ID
Username choosed
Varchar(25)
Date
Varchar(100)
by member
Password
Date of birth
Type of member
either permanent or
temporary
Occupation
A number provided
Moccu
Varchar(50)
Transaction_Number text
on
the
slip
of
members which is
needed in order to
sign up
Reroom this table stores the details of those members who booked the
rooms
Field Name
Guname
BookDate
Rooms
Field Type
text
Date
Int(11)
Constraints
Description
Name of guest
Date of booking
How many rooms
booked
Restaurant this table stores the facilities which are made available to
the members for booking
Page | 76
D SAPPHIRE
Field Name
RFid
RFname
RFfee
Constraints
Primary Key
Description
Unique Facilities ID
Name of facilities
Fees to be paid
Restaurant_sale this table stores the daily basis sales of the restaurant
Field Name
GuName
GuMenu
GuSale
date
Field Type
Varchar(12)
Varchar(50)
Int(11)
Field Type
Varchar(50)
Varchar(200)
Int(11)
date
Constraints
Description
Name of Guest
Menu choosed
Amount to be pay
Date of transaction
Products this table stores the details of the tourist places , the banquet
provides with the charges
Field Name
pid
Field Type
Int(11)
Constraints
Description
Primary Key,AUTO Product ID
InCREMENT
product
price
currency
Varchar(250)
Int(11)
Varchar(10)
Product name
Fees to be paid
Which
currency
payment
will
be
done
Page | 77
D SAPPHIRE
Administrative Module:
Step 1: Start
Step 2: Administrator logs in using the common login form.
Step 3: Administrator is presented with the following options
Page | 78
D SAPPHIRE
Step 6: If Option 2 is selected the details of booking is shown on the basis of choosed
booking id.
Step 7: If Option 3 is selected , Admin is presented with a form to add the parking details
on daily basis.
Step 8: If Option 4 is selected Admin is presented with a form to add a sale entry
Step 9: If Option 5 is selected , the administrator will be viewed Create User Form
Step 10: If Option 6 is selected , the administrator will be viewed Delete User Form
Step 11: If Option 7 is selected , the administrator will be presented with the option to
change the hall availability
Step 12: If Option 8 is selected , the administrator will be presented with the option to
change the event planner availability
Step 13: If Option 9 is selected Admin is presented with a form to add banquet transactions
Step 14: If Option 10 is selected Admin is presented with his employee details
Step 15: If Option 11 is selected Admin is presented with the profiles of the renowned
customers
Step 16: If Option 12 is selected Admin is presented with the restaurant sale report
Step 17: If Option 13 is selected Admin is presented with the total sale report
Step 18: If Option 14 is selected Admin is presented with the recent marketing and
advertising strategies
Step 19: If Option 15 is selected Admin is presented with a form to enter a year whose
profit/loss has to be checked
Step 20: If Option 16 is selected Admin is presented with the list of all the members
Step 21: If Option 17 is selected Admin is presented the administrator is logged out
Page | 79
D SAPPHIRE
Step 22:Stop
Home Module
Step 1: Start
Step 2: This is the page which opens as soon as the project is openedStep 3: Here the user
can see a basic introduction about the hall .
Step 3: The user also sees an option to book the banquet from here.(Details are provided
below in different module)
Step 4: Stop
Booking Module
Step 1: Start
Step 2 : A user can see this form link on the home page nad any general user can access it.
Step 3: A form of booking is seen where the user has to fill his personal details with the
name of hall choosed , event planner, themes, date,cars,number of rooms and will have to
tell if he wants to book boutique,parlour,host,catoons,honeymoon suite,dance events.
Step 4: If the hall and event planner are available for the following datethen the booking is
done and a booking id is generated which is shown in the payment receipt.
Step 5:Payment Receipt contains Booking ID and all the other details and gives an option
to print it and also to do the advance payment online.
Step 6: The Booking ID can then be used for booking catering menu.
Step 7: Stop
Wedding Module
Step 1: Start
Step 2:This page shows the pictures of weddings held here.
Page | 80
D SAPPHIRE
Step 3: An option is there to see the themes.A user can select a theme and see its
corresponding decoration below so it will be easy for him to choose from
Step 4: A further division of services is shown which contains the following
Event Planner
Halls
Accomodation
Boutique
Parlour
Transportation
Catering
Registration Module
Step 1: Start
Step 2: When the user clicks this option he will be presented with a form to sign up
Step 3: While filling his details in registration form he will have to fill a transaction
number given to him by the Administrator. If transaction number is wrong he will not be
registered
Step 4: Administrator will provide a unique number known as member id to the payee and
he will be provided with the essence of membership of the D Sapphire.
Step 5: Thus , the person can take all the advantages provided to the member.
Step 6: Stop
Step 1: Start
Step 2: When the user clicks this option he will be presented with the list of event planners
and the work done by them.
Page | 81
D SAPPHIRE
Step 3: The user here can see two options : one to see the event planners details there
personal details and their work experience and the other option of seeing which of them are
available right now for booking.
Step 4: If the person is interested then he can choose the planner while booking the banquet
hall.
Step 5: Stop
Halls Module
Step 1: Start
Step 2: When the user clicks this option he will be presented with different halls pictures.
Step 3: The user here can see an option to see which of the halls are available right now
for booking.
Step 4: If the person is interested then he can choose the hall while booking the banquet
hall.
Step 5: Stop
Transportation Module
Step 1: Start
Step 2: When the user clicks this option he can see the cars present with D Sapphire .There
are four cars available
Step 3: The person will be given an option to see the available cars at present.
Step 4: If user wants to book a car he can do it while booking the banquet hall.
Step 5: Stop
Boutique Module
Step 1: Start
Step 2: When the user clicks this option he will be shown the latest designs available in the
boutique for bride, groom and others too.
Step 3: The person can click to see the collection.
Page | 82
D SAPPHIRE
Step 4: The person can also see designer names , its work and he can also book an
appointment with one and the charges to be paid will be stored and taken at the time of
visit.. The user should be a member in order to book it.
Step 5: A person can also come and visit the boutique himself.
Step 6: Stop
Parlour Module
Step 1: Start
Step 2: When the user clicks this option he will be shown the different menu showing all
the facilities available in the parlour with their rates.Parlour will be both for men and
women.
Step 3: The person can choose the options and book the parlour for a specific time. The
user should be a member in order to book it.
Step 4: It will be checked by the administrator if it is not booked from before and if its
available then its amount will be added to the bill.
Step 5: A person can also come and visit the parlour himself.
Step 6: Stop
Accomodation Module
Step 1: Start
Step 2: When the user clicks this option he will be shown the different rooms snapshot
Step 3: The person will then have to enter his information with number of rooms he
wants.The user should be a member in order to book it.
Step 5: It will be checked by the administrator if it is not booked from before and if its
available then its amount will be added to the bill.
Step 6: Stop
Catering Module:
Page | 83
D SAPPHIRE
Step 1: Start
Step 2: When the user clicks firstly he is asked to enter the id of the booked hall in order to
book the catering menu.
Step 3:After he successfully enters the id,a menu pops up showing all types of snacks and
meals available for party
Step 3: He can click and chose the meals he wants.
Step 4: It will all be saved in a text file on server side.
Step 5: Stop
Games Module
Step 1: Start
Step 2: When the user clicks it a form shows up to select type of game.
Step 3: He chooses game , and an entry happens with the amount charged in the database.
Step 4: Stop
Gym Module
Step 1: Start
Step 2: When the user clicks it a form shows up to select type of service for gym.
Step 3: He chooses service , and an entry happens with the amount charged in the database.
Step 4: Stop
Restaurant Module
Step 1: Start
Step 2: When the user clicks it different snapshots are shown to the user .
Step 3:He can also see the meals available with their specific rates and can also book any
and ask to deliver at home with the option of cash at delivery.
Page | 84
D SAPPHIRE
Step 4: A person can also book a table or many tables for any special event but with some
extra charge to be paid in advance.
Step 5: The different bills which will be paid will be maintained in a daily basis repot of
restaurant and the final amount of each day at the closing time will in turn be updated on
the final report of the administrator business report.
Step 6: Stop
Tourism Module
Step 1: Start
Step 2: When the user clicks it a page comes showing the different tours available for a
person to book from. Special discounts will be available for members.
Step 3: Any user can book it online and enjoy the tour.
Step 4: Stop
Login Module
Step 1: Start
Step 2: When the user clicks this an option to either login or sign up is shown .Also an
option to change the password is there.
Step 3: Only the members or the administrator can login with a verified username and
password
Step 4: Stop
Contact Module
Step 1: Start
Step 2: When the user clicks this a page showing all the ways to contact D Sapphire is
shown.
Page | 85
D SAPPHIRE
Step 3: Also an option to ask a query to the administrator is shown , by clicking on which
a user can ask about a problem and it will be rectified as soon as possible.
Step 4: Stop
Step 1: Start
Step 2: When the user clicks it the left and right sidebar of the page shows the following
Photo Booth
Photo Shoot
Videographer
Disc Jockeys
Flowers
Wineries
Magazines
Gift Shop
Step 3:As soon as the user clicks any option the companies attached to them is shown and
are given an option to choose from.
Step 4: Stop
Page | 86
D SAPPHIRE
Page | 87
D SAPPHIRE
Here in the home page of D Sapphire we can see sliding pictures of D Sapphire moments
and some introduction about it.Also a link to see all members name and also to book
banquet is available.
Wedding Page
This page shows a list of themes which user can see by selecting from the given
options . Also further links to Event Planner , Boutique, Parlour etc. is available on
the page
Page | 88
D SAPPHIRE
Page | 89
D SAPPHIRE
Halls Page
Figure 3.6 Halls Page
Page | 90
D SAPPHIRE
Accomodation Page
The page views the room page which shows the rooms and also an option to book
rooms.
Figure 3.7 Accomodation Page
Page | 91
D SAPPHIRE
Page | 92
D SAPPHIRE
Boutique page
This page shows the boutique page and gives an option to book the apponintment.
Figure 3.8 Boutique Page
Page | 93
D SAPPHIRE
Page | 94
D SAPPHIRE
Parlour Page
This page shows the services offered by parlour and also gives an option to book
the parlour.
Page | 95
D SAPPHIRE
Page | 96
D SAPPHIRE
Cars Page
This page views the cars and also an option to see the availability of cars.
Figure 3.10 Cars Page
Page | 97
D SAPPHIRE
Page | 98
D SAPPHIRE
Catering Page
Page | 99
D SAPPHIRE
Page | 100
D SAPPHIRE
Restaurant Page: This page views the menu for restaurant and the option to get
home delivery and also to book table
Page | 101
D SAPPHIRE
Page | 102
D SAPPHIRE
Page | 103
D SAPPHIRE
Page | 104
D SAPPHIRE
Login Page :
Tourism Page
Figure 3.15 Tourism Page
Page | 105
D SAPPHIRE
Page | 106
D SAPPHIRE
Contact Page
Specially for you page :This page shows the links to the shops attached with D
Sapphire , user may click on the links to navigate.
Page | 107
D SAPPHIRE
Members Login Page :The page viewed when the members login.
Page | 108
D SAPPHIRE
Page | 109
D SAPPHIRE
Employees List
Figure 3.21 Employees List
Page | 110
D SAPPHIRE
Page | 111
D SAPPHIRE
4. Coding
D Sapphire code has been organized in the form of PHP files and folders which are kept
under the folder named Obscura. There is an index.php file which is the homepage of the
project. Further, each of the user category have their separate homepage, which are in files
like wedding.html, planner.php,login.html etc. Further, each category has a separate folder
which contains the PHP files which incorporate the business logic for the respective
functions. These files connect to the underlying MySQL database of D Sapphire. The code
of the PHP files are given below. The pages are indicated relative to the D Sapphire home
Index.php
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
Page | 112
D SAPPHIRE
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/ba2.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body>
<div class="header">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li class="active"><a href="index.html">Home</a>
</li>
<li><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div><br><br><br><br>
Page | 113
D SAPPHIRE
<div class="clear"></div>
</div>
</div>
<a href="#" class="prev"> </a><a
class="scanlines"></div>
<img
class="left"
href="#"
class="next"> </a>
</div><div
src="http://localhost/projects/obscura/counter.php"
style="width:50%;height:50%;"/>
<div id="slide">
<div class="slider" ">
<ul class="items">
<li><img src="style/images/art/bn2.jpg" alt=""></li>
<li><img src="style/images/art/b2.jpg" alt=""></li>
<li><img src="style/images/art/b3.jpg" alt=""></li>
<li><img src="style/images/art/b4.jpg" alt=""></li>
<li><img src="style/images/art/bn6.jpg" alt=""></li>
<li><img src="style/images/art/b7.jpg" alt=""></li>
<li><img src="style/images/art/b8.png" alt=""></li>
<li><img src="style/images/art/b9.jpg" alt=""></li>
<li><img src="style/images/art/b10.jpg" alt=""></li>
<li><img src="style/images/art/bn11.jpg" alt=""></li>
<li><img src="style/images/art/b15.jpg" alt=""></li>
<li><img src="style/images/art/b18.jpg" alt=""></li>
</ul>
</div>
<div class="intro" style='text-align:left'>D Sapphire has been one of the most highly recommended
special occasion facilities in the tri-state area for many years. Conveniently located , we are the
perfect venue to host events for those with guests coming from all directions of the greater
Pittsburgh area.At The Sapphire, our goal is to make each event a wonderful success. Our
experienced staff will ensure that your special occasion turns out exactly the way you have planned.
Our establishment has been voted the Number One facility to host your event in the northern
suburbs by the readers of the Tribune Review for the past 10 years. Whether you are celebrating a
wedding, anniversary, reunion or any other occasion, you should consider D Sapphire as the setting
for your everlasting memories. </div>
<div class="header-wrapper opacity">
<div class="wrapper" style='text-align:left'>
<ul class="social">
<li><a
class="facebook"
href="https://facebook.com/pages/Dsapphire-
Banquets/863275620367060"></a></li>
<li><a class="twitter" href="https://twitter.com"></a></li>
<li><a class="dribbble" href="https://dribble.com"></a></li>
<li><a class="flickr" href="https://flickr.com"></a></li>
<li><a class="linkedin" href="https://linkedin.com"></a></li>
Page | 114
D SAPPHIRE
</ul>
<div class="wrapper">
<h3><strong>Enjoy Best Meal</strong> Ever</h3>
<div class="box-1"> <img src="style/images/art/r.jpg" alt="" class="img-border img-indent">
<br>
<br>
<br>
<br>
<br>
<div class="extra-wrap">
<p class="text-1"style="color: #FDFDFD; font-size: 30px">People come here once and
never go anywhere else</p>
<br>
<br>
<p class="text-2" style="color:blue;font-size:30px">We serve whatever u love<br>
</p><br><br>
</div>
</div>
<div class="container_24">
<div class="grid_7">
<div class="top-1 right-1">
<h2 class="title"><a href="post.html"><p class="text-2" style="color:blue;fontsize:30px">Tourism Packages</p></a></h2>
<p style='text-align:left'>A holiday in a foreign land is an everlasting memory. Who does not
harbour the wish to visit a foreign land, get a chance to acquaint with the people, learn about their
past, appreciate their culture and wonder at the natural and manmade creations? International
holidays are no longer things to be dreamt about but to be embarked upon. We, at Yatra.com, bring
you the best deals on standard as well as tailor-made tours, covering almost all parts of this planet,
permitting you to actualise your dream of visiting any destination around the globe. Check out this
city-wise organized directory to find the various associated international holiday packages and
realise your long held dream of an international vacation.</p></div
><div class="frame"> <a href="post.html"> <img src="style/images/art/singapore.jpg" alt="">
</a> </div>
</div></div> <div class="wrapper" >
<br>
<h3><strong>Be a part!!! and enjoy massive discounts</strong> </h3>
<p style="font:30 px; color:magenta"> Enjoy with other people GET SOCIAL!!!! Play different
games and be famous!!! </p>
<br>
<br>
<div class="box-1"> <img src="style/images/art/bi.jpg" alt="" class="img-border img-indent">
<br>
<br>
<br>
Page | 115
D SAPPHIRE
<br>
<br>
<div class="blog-wrap">
<div class="blog-grid">
</div></div>
<div class="post format-quote box">
<blockquote>D Sapphire is very palatial and extravagant, huge in size which can accommodate
more than 5000 guests in their banquet hall.The food is amazing and so is the service.
They have the best security in place at the entrance with numerous check points which makes for a
good safe 5 star hotel.
It is exactly 5 minutes from the International airport and is good for business and leisure tourists too.
Stayed July 2014, travelled with friends
<cite>Sheldon Cooper</cite></blockquote>
<p>
A wonderful serenity has taken possession ,like these amazing views which one will enjoy with their
whole heart.</p>
</div>
<br><br><br><br>
<center><br><br><p> Click on the button to book the banquet!!!</p><br><br><br>
<br><a href="form.html"><button>Book</button></a></center><br><br>
<center><br><br><p> Click on the button to see the members!!!</p><br><br><br>
<br><a href="membersee.php"><button>Members</button></a></center><br><br>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #224E07; size: 5; font-size: large;"> Contact Us ::
html
PUBLIC
"-//W3C//DTD
XHTML
1.0
Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Booking Form</title>
<link rel="stylesheet" type="text/css" href="view.css" media="all">
Page | 116
D SAPPHIRE
<h1><a>Booking Form</a></h1>
<form id="form_899964" class="appnitro" method="post" action="formbook.php">
<div class="form_description">
<h2>Booking Form</h2>
<p>This is form for booking the banquet Please specify with all details.ThankYou!!</p>
</div>
<ul >
Page | 117
D SAPPHIRE
<div>
<input id="element_2_1" name="element_2_1" class="element text large" value="" type="text">
<label for="element_2_1">Street Address</label>
</div>
<div>
<input id="element_2_2" name="element_2_2" class="element text large" value="" type="text">
<label for="element_2_2">Address Line 2</label>
</div>
<div class="left">
<input
id="element_2_3"
name="element_2_3"
class="element
text
medium"
value=""
class="element
text
medium"
value=""
type="text">
<label for="element_2_3">City</label>
</div>
<div class="right">
<input
id="element_2_4"
name="element_2_4"
type="text">
<label for="element_2_4">State / Province / Region</label>
</div>
<div class="left">
<input id="element_2_5" name="element_2_5" class="element text
medium" maxlength="15" value="" type="text">
<label for="element_2_5">Postal / Zip Code</label>
</div>
<div class="right">
<select
class="element
select
medium"
id="element_2_6"
name="element_2_6">
<option value="" selected="selected"></option>
<option value="Afghanistan" >Afghanistan</option>
<option value="Albania" >Albania</option>
<option value="Algeria" >Algeria</option>
<option value="Andorra" >Andorra</option>
<option value="Antigua and Barbuda" >Antigua and Barbuda</option>
<option value="Argentina" >Argentina</option>
<option value="Armenia" >Armenia</option>
Page | 118
D SAPPHIRE
<option value="Australia" >Australia</option>
<option value="Austria" >Austria</option>
<option value="Azerbaijan" >Azerbaijan</option>
<option value="Bahamas" >Bahamas</option>
<option value="Bahrain" >Bahrain</option>
<option value="Bangladesh" >Bangladesh</option>
<option value="Barbados" >Barbados</option>
<option value="Belarus" >Belarus</option>
<option value="Belgium" >Belgium</option>
<option value="Belize" >Belize</option>
<option value="Benin" >Benin</option>
<option value="Bhutan" >Bhutan</option>
<option value="Bolivia" >Bolivia</option>
<option value="Bosnia and Herzegovina" >Bosnia and Herzegovina</option>
<option value="Botswana" >Botswana</option>
<option value="Brazil" >Brazil</option>
<option value="Brunei" >Brunei</option>
<option value="Bulgaria" >Bulgaria</option>
<option value="Burkina Faso" >Burkina Faso</option>
<option value="Burundi" >Burundi</option>
<option value="Cambodia" >Cambodia</option>
<option value="Cameroon" >Cameroon</option>
<option value="Canada" >Canada</option>
<option value="Cape Verde" >Cape Verde</option>
<option value="Central African Republic" >Central African Republic</option>
<option value="Chad" >Chad</option>
<option value="Chile" >Chile</option>
<option value="China" >China</option>
<option value="Colombia" >Colombia</option>
<option value="Comoros" >Comoros</option>
<option value="Congo" >Congo</option>
<option value="Costa Rica" >Costa Rica</option>
<option value="Cte d'Ivoire" >Cte d'Ivoire</option>
<option value="Croatia" >Croatia</option>
<option value="Cuba" >Cuba</option>
<option value="Cyprus" >Cyprus</option>
<option value="Czech Republic" >Czech Republic</option>
<option value="Denmark" >Denmark</option>
<option value="Djibouti" >Djibouti</option>
<option value="Dominica" >Dominica</option>
<option value="Dominican Republic" >Dominican Republic</option>
<option value="East Timor" >East Timor</option>
<option value="Ecuador" >Ecuador</option>
<option value="Egypt" >Egypt</option>
<option value="El Salvador" >El Salvador</option>
<option value="Equatorial Guinea" >Equatorial Guinea</option>
<option value="Eritrea" >Eritrea</option>
<option value="Estonia" >Estonia</option>
<option value="Ethiopia" >Ethiopia</option>
<option value="Fiji" >Fiji</option>
<option value="Finland" >Finland</option>
<option value="France" >France</option>
<option value="Gabon" >Gabon</option>
<option value="Gambia" >Gambia</option>
<option value="Georgia" >Georgia</option>
<option value="Germany" >Germany</option>
Page | 119
D SAPPHIRE
<option value="Ghana" >Ghana</option>
<option value="Greece" >Greece</option>
<option value="Grenada" >Grenada</option>
<option value="Guatemala" >Guatemala</option>
<option value="Guinea" >Guinea</option>
<option value="Guinea-Bissau" >Guinea-Bissau</option>
<option value="Guyana" >Guyana</option>
<option value="Haiti" >Haiti</option>
<option value="Honduras" >Honduras</option>
<option value="Hong Kong" >Hong Kong</option>
<option value="Hungary" >Hungary</option>
<option value="Iceland" >Iceland</option>
<option value="India" >India</option>
<option value="Indonesia" >Indonesia</option>
<option value="Iran" >Iran</option>
<option value="Iraq" >Iraq</option>
<option value="Ireland" >Ireland</option>
<option value="Israel" >Israel</option>
<option value="Italy" >Italy</option>
<option value="Jamaica" >Jamaica</option>
<option value="Japan" >Japan</option>
<option value="Jordan" >Jordan</option>
<option value="Kazakhstan" >Kazakhstan</option>
<option value="Kenya" >Kenya</option>
<option value="Kiribati" >Kiribati</option>
<option value="North Korea" >North Korea</option>
<option value="South Korea" >South Korea</option>
<option value="Kuwait" >Kuwait</option>
<option value="Kyrgyzstan" >Kyrgyzstan</option>
<option value="Laos" >Laos</option>
<option value="Latvia" >Latvia</option>
<option value="Lebanon" >Lebanon</option>
<option value="Lesotho" >Lesotho</option>
<option value="Liberia" >Liberia</option>
<option value="Libya" >Libya</option>
<option value="Liechtenstein" >Liechtenstein</option>
<option value="Lithuania" >Lithuania</option>
<option value="Luxembourg" >Luxembourg</option>
<option value="Macedonia" >Macedonia</option>
<option value="Madagascar" >Madagascar</option>
<option value="Malawi" >Malawi</option>
<option value="Malaysia" >Malaysia</option>
<option value="Maldives" >Maldives</option>
<option value="Mali" >Mali</option>
<option value="Malta" >Malta</option>
<option value="Marshall Islands" >Marshall Islands</option>
<option value="Mauritania" >Mauritania</option>
<option value="Mauritius" >Mauritius</option>
<option value="Mexico" >Mexico</option>
<option value="Micronesia" >Micronesia</option>
<option value="Moldova" >Moldova</option>
<option value="Monaco" >Monaco</option>
<option value="Mongolia" >Mongolia</option>
<option value="Montenegro" >Montenegro</option>
<option value="Morocco" >Morocco</option>
<option value="Mozambique" >Mozambique</option>
Page | 120
D SAPPHIRE
<option value="Myanmar" >Myanmar</option>
<option value="Namibia" >Namibia</option>
<option value="Nauru" >Nauru</option>
<option value="Nepal" >Nepal</option>
<option value="Netherlands" >Netherlands</option>
<option value="New Zealand" >New Zealand</option>
<option value="Nicaragua" >Nicaragua</option>
<option value="Niger" >Niger</option>
<option value="Nigeria" >Nigeria</option>
<option value="Norway" >Norway</option>
<option value="Oman" >Oman</option>
<option value="Pakistan" >Pakistan</option>
<option value="Palau" >Palau</option>
<option value="Panama" >Panama</option>
<option value="Papua New Guinea" >Papua New Guinea</option>
<option value="Paraguay" >Paraguay</option>
<option value="Peru" >Peru</option>
<option value="Philippines" >Philippines</option>
<option value="Poland" >Poland</option>
<option value="Portugal" >Portugal</option>
<option value="Puerto Rico" >Puerto Rico</option>
<option value="Qatar" >Qatar</option>
<option value="Romania" >Romania</option>
<option value="Russia" >Russia</option>
<option value="Rwanda" >Rwanda</option>
<option value="Saint Kitts and Nevis" >Saint Kitts and Nevis</option>
<option value="Saint Lucia" >Saint Lucia</option>
<option value="Saint Vincent and the Grenadines" >Saint Vincent and the Grenadines</option>
<option value="Samoa" >Samoa</option>
<option value="San Marino" >San Marino</option>
<option value="Sao Tome and Principe" >Sao Tome and Principe</option>
<option value="Saudi Arabia" >Saudi Arabia</option>
<option value="Senegal" >Senegal</option>
<option value="Serbia and Montenegro" >Serbia and Montenegro</option>
<option value="Seychelles" >Seychelles</option>
<option value="Sierra Leone" >Sierra Leone</option>
<option value="Singapore" >Singapore</option>
<option value="Slovakia" >Slovakia</option>
<option value="Slovenia" >Slovenia</option>
<option value="Solomon Islands" >Solomon Islands</option>
<option value="Somalia" >Somalia</option>
<option value="South Africa" >South Africa</option>
<option value="Spain" >Spain</option>
<option value="Sri Lanka" >Sri Lanka</option>
<option value="Sudan" >Sudan</option>
<option value="Suriname" >Suriname</option>
<option value="Swaziland" >Swaziland</option>
<option value="Sweden" >Sweden</option>
<option value="Switzerland" >Switzerland</option>
<option value="Syria" >Syria</option>
<option value="Taiwan" >Taiwan</option>
<option value="Tajikistan" >Tajikistan</option>
<option value="Tanzania" >Tanzania</option>
<option value="Thailand" >Thailand</option>
<option value="Togo" >Togo</option>
<option value="Tonga" >Tonga</option>
Page | 121
D SAPPHIRE
<option value="Trinidad and Tobago" >Trinidad and Tobago</option>
<option value="Tunisia" >Tunisia</option>
<option value="Turkey" >Turkey</option>
<option value="Turkmenistan" >Turkmenistan</option>
<option value="Tuvalu" >Tuvalu</option>
<option value="Uganda" >Uganda</option>
<option value="Ukraine" >Ukraine</option>
<option value="United Arab Emirates" >United Arab Emirates</option>
<option value="United Kingdom" >United Kingdom</option>
<option value="United States" >United States</option>
<option value="Uruguay" >Uruguay</option>
<option value="Uzbekistan" >Uzbekistan</option>
<option value="Vanuatu" >Vanuatu</option>
<option value="Vatican City" >Vatican City</option>
<option value="Venezuela" >Venezuela</option>
<option value="Vietnam" >Vietnam</option>
<option value="Yemen" >Yemen</option>
<option value="Zambia" >Zambia</option>
<option value="Zimbabwe" >Zimbabwe</option>
</select>
<label for="element_2_6">Country</label>
</div>
</li>
Page | 122
D SAPPHIRE
<option value="" selected="selected"></option>
<option value="Vatika" >Vatika</option>
<option value="Celebrations" >Celebrations</option>
<option value="Meeting Room" >Meeting Room</option>
<option value="Board Room" >Board Room</option>
<option value="Mapple" >Mapple</option>
<option value="Shagun" >Shagun</option>
</select>
<p><strong>What
type
of
party
need?: <br><br><input
you
type="text"
name="party"
value=""><br>
</div>
</li>
<p><strong>How
many
rooms
you
book?: <br><br><input
want
type="text"
to
name="hroom"
value=""><br>
<li id="li_6" >
<label class="description" for="element_6">Date </label>
<span>
<p><strong>Date
<br><br><input
type="Date"
name="da" value=""><br>
</li>
<li id="li_8" >
<label class="description" for="element_8">Event Planner </label>
<p><strong>Enter
Event
Planner
: <br><br><input
type="text"
Name
name="eplan"
value=""><br>
<p><strong>Enter Theme Name(Refer The Wedding page to know the list of the themes )
: <br><br><input
type="text"
name="theme"
value=""><br>
Page | 123
D SAPPHIRE
<div>
<select class="element select medium" id="element_10" name="element_10">
<option value="" selected="selected"></option>
<option value="Yes" >Yes</option>
<option value="No" >No</option>
</select>
</div>
</li>
<?php echo element_8;?>
<li id="li_11" >
</li>
<li id="li_15" >
<label class="description" for="element_15">Do you want to Book a Honeymoon
Suite
</label>
<div>
<select class="element select medium" id="element_15" name="element_15">
<option value="" selected="selected"></option>
<option value="Yes" >Yes</option>
<option value="No" >No</option>
</select>
</div>
</li>
<li id="li_14" >
<label class="description" for="element_14">Do you want cartoons for
entertainment? </label>
<div>
<select class="element select medium" id="element_14" name="element_14">
<option value="" selected="selected"></option>
<option value="Yes" >Yes</option>
<option value="No" >No</option>
</select>
</div>
</li>
<li id="li_13" >
<label class="description" for="element_13">Do you want to book the parlour?
</label>
<div>
<select class="element select medium" id="element_13" name="element_13">
<option value="" selected="selected"></option>
<option value="Yes" >Yes</option>
<option value="No" >No</option>
</select>
</div>
</li>
<li id="li_12" >
<label class="description" for="element_12">Do you want Dance Events in your
wedding? </label>
<div>
<select class="element select medium" id="element_12" name="element_12">
<option value="" selected="selected"></option>
Page | 124
D SAPPHIRE
<option value="Yes" >Yes</option>
<option value="No" >No</option>
</select>
</div>
</li>
<li class="buttons">
<input type="hidden" name="form_id" value="899964" />
<input
id="saveForm"
class="button_text"
type="submit"
Page | 125
D SAPPHIRE
}
Else
{
$e="select Eavailable,Efees from eavailable where Ename='".$_REQUEST['eplan']."'";
$r=mysql_query($e);
$row = mysql_fetch_row($r);
$num = mysql_num_rows($r);
if($row[0]=='no')
{
exit("The Event Planner is right now not available for booking");
}
else if($num==0)
{
echo"The event planner you want is not available in our database.Please visit our planner page to
check it.<br><br>";
}
else
{
$sql="insert
into
payments(Type,Charges,Date)
values('Event
Planner','".$row[1]."','".
$_REQUEST['da']."')";
$res=mysql_query($sql);
$x=$x+$row[1];
$sq="update eavailable set Eavailable='no'where Ename='".$_REQUEST['eplan']."'";
$result = mysql_query($sq);
}
$sql="insert into payments(Type,Charges,Date) values('Theme',2000,'".$_REQUEST['da']."')";
$res=mysql_query($sql);
$x=$x+2000;
$h="select Available,Hprice from halls where Hname='".$_REQUEST['element_7']."'";
$r=mysql_query($h);
$row = mysql_fetch_row($r);
if($row[0]=='no')
{
exit("The Hall is already booked.Please try another one.");
}
else
{
$sql="insert into payments(Type,Charges,Date) values('Hall','".$row[1]."','".$_REQUEST['da']."')";
$res=mysql_query($sql);
$x=$x+$row[1];
$sq="update halls set Available='no'where Hname='".$_REQUEST['element_7']."'";
$result = mysql_query($sq);
}
}
$sql="select count(Rooms) from reroom where BookDate='".$_REQUEST['da']."'";
$res=mysql_query($sql);
$row=mysql_fetch_array($res);
$a=$row[0];
if($row[0]+$_REQUEST['hroom']>9)
Page | 126
D SAPPHIRE
{
exit('The rooms are booked for this date');
}
else
{
$sql="insert into payments(Type,Charges,Date) values('Rooms',4000,'".$_REQUEST['da']."')";
$res=mysql_query($sql);
$x=$x+4000;
$sq="insert into reroom(Guname,BookDate,Rooms) values('".$_REQUEST['element_1_1']."','".
$_REQUEST['da']."',$a)";
$re=mysql_query($sq);
}
$sql="select Cnum from cavailable where Cname='".$_REQUEST['element_9']."'";
$res=mysql_query($sql);
$row = mysql_fetch_row($res);
if($row[0]>5)
{
exit('The car is already booked.Try choosing another car');
}
else
{
$sql="insert into payments(Type,Charges,Date) values('Transport',10000,'".$_REQUEST['da']."')";
$res=mysql_query($sql);
$x=$x+10000;
$sq="update cavailable set Cnum=Cnum-5 where Cname='".$_REQUEST['element_9']."'";
$result = mysql_query($sq);
}
if($_REQUEST['element_10']=='yes')
{
$sql="insert into payments(Type,Charges,Date) values('Boutique',5000,'".$_REQUEST['da']."')";
$res=mysql_query($sql);
$x=$x+5000;
}
if($_REQUEST['element_15']=='yes')
{
$sql="insert into payments(Type,Charges,Date) values('Hsuite',15000,'".$_REQUEST['da']."')";
$res=mysql_query($sql);
$x=$x+15000;
}
if($_REQUEST['element_12']=='yes')
{
$sql="insert into payments(Type,Charges,Date) values('Event',2000,'".$_REQUEST['da']."')";
$res=mysql_query($sql);
$x=$x+2000;
}
if($_REQUEST['element_13']=='yes')
{
$sql="insert into payments(Type,Charges,Date) values('Parlour',5000,'".$_REQUEST['da']."')";
$res=mysql_query($sql);
$x=$x+5000;
Page | 127
D SAPPHIRE
}
if($_REQUEST['element_14']=='yes')
{
$sql="insert into payments(Type,Charges,Date) values('Cartoons',1000,'".$_REQUEST['da']."')";
$res=mysql_query($sql);
$x=$x+1000;
}
$sql="insert
into
bookbanquet(fname,lname,saddr,city,state,zip,country,phone,email,hall,party,rooms,date,eplan,them
e,boutique,hsuite,cartoons,parlour,devent,amount)
values('".$_REQUEST['element_1_1']."','".
$_REQUEST['element_1_2']."',
concat('".$_REQUEST['element_2_1']."','".
$_REQUEST['element_2_2']."'),'".$_REQUEST['element_2_3']."',
'".
$_REQUEST['element_2_4']."','".$_REQUEST['element_2_5']."',
'".
$_REQUEST['element_2_6']."',concat('".$_REQUEST['element_3_1']."','".
$_REQUEST['element_3_2']."','".$_REQUEST['element_3_3']."'),'".$_REQUEST['element_4']."','".
$_REQUEST['element_7']."','".$_REQUEST['party']."','".$_REQUEST['hroom']."','".
$_REQUEST['da']."','".$_REQUEST['eplan']."','".$_REQUEST['theme']."','".
$_REQUEST['element_10']."','".$_REQUEST['element_15']."','".$_REQUEST['element_14']."','".
$_REQUEST['element_13']."','".$_REQUEST['element_12']."',$x)";
$res=mysql_query($sql);
$result = mysql_query("SELECT boid FROM bookbanquet
WHERE
fname
='".
$_REQUEST['element_1_1']."'");
$row = mysql_fetch_row($result);
$i=$row[0];
$_SESSION['ch'] = $i;
$q="insert into bookdetails(Mid,Amount) values(concat('booking Id',$i),$x)";
$e=mysql_query($q);
If($res)
{
Echo "Congrats!!! You are booked!!<BR><BR> Payment Receipt <br><br> Your Booking ID is:";
Echo $i;
Echo "<br><br>Please remember the id for future transactions";
Echo "The rest of the payments will be done on the desk<bR><br>";
Echo "The payments done till now :: ";
Echo $x;
Echo "RS.";
Echo "<br><br>The Booked Date is : ";
Echo $_REQUEST['da'];
Echo "<br><br>Choosed Event Planner is :";
echo $_REQUEST['eplan'];
Echo "<br><br>Choosed Theme is :";
echo $_REQUEST['theme'];
Echo "<br><br>Choosed Hall is :";
echo $_REQUEST['element_7'];
Page | 128
D SAPPHIRE
src='style/images/bg/rep1.jpg'
style='position:fixed;top:0px;left:0px;width:100%;height:100%;z-index:-1;'>
<?php
echo "<br><br><center><strong>List of Members!!!! <br><br>";
$con=mysqli_connect("localhost","root","","sapphire");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
$result = mysqli_query($con,"SELECT Mname FROM register1");
echo "<table border='1'>
<tr>
<th>Member Name</th>
</tr>";
while($row = mysqli_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['Mname'] . "</td>";
echo "</tr>";
Page | 129
D SAPPHIRE
}
echo "</table><br><br><br><Br>";
$res = mysqli_query($con,"SELECT count(Mid) FROM register1");
echo "<table border='1'>
<tr>
<th>Total Number of Members</th>
</tr>";
while($row = mysqli_fetch_array($res))
{
echo "<tr>";
echo "<td>" . $row['count(Mid)'] . "</td>";
echo "</tr>";
}
echo "</table>";
mysqli_close($con);
?>
<br><Br><br>
<input type=button onclick="window.print()" value='Print Report'>
<a href="index.php"><button>Go Back</button></a><br><br>
Counter.php
<?php
// Connects to your Database
$dbc = mysql_connect('localhost','root','') or die("Cant connect :" . mysql_error());
mysql_select_db("sapphire",$dbc)
or
die("Cant connect :" . mysql_error());
//Adds one to the counter
mysql_query("UPDATE counter SET counter = counter + 1");
//Retreives the current count
$count = mysql_fetch_row(mysql_query("SELECT counter FROM counter"));
header("Content-type: image/png");
$im = @imagecreate(250, 30)
or die("Cannot Initialize new GD image stream");
$background_color = imagecolorallocate($im, 0, 0, 0);
$text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 5, 10, 5, "You are visitor number $count[0]", $text_color);
imagepng($im);
imagedestroy($im);
//Displays the count on your site
Page | 130
D SAPPHIRE
print "$count[0]";
?>
Post.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/css/ie8.css" media="all">
<![endif]-->
<!--[if IE 9]>
<link rel="stylesheet" type="text/css" href="style/css/ie9.css" media="all">
<![endif]-->
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/ba3.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
Page | 131
D SAPPHIRE
progressBar:false
})
});
</script>
<script type="text/javascript">
function getImage(v) {
var num = v.value;
if(num==1) {
document.getElementById("imgt").setAttribute("src","style/images/art/travel.jpg");
}
else if(num==2) {
document.getElementById("imgt").setAttribute("src","style/images/art/tb.jpg");
}
else if(num==3) {
document.getElementById("imgt").setAttribute("src","style/images/art/tbu.jpg");
}
else if(num==4) {
document.getElementById("imgt").setAttribute("src","style/images/art/trose.jpg");
}
else if(num==5) {
document.getElementById("imgt").setAttribute("src","style/images/art/tvi.jpg");
}
else if(num==6) {
document.getElementById("imgt").setAttribute("src","style/images/art/tgar.jpg");
}
else if(num==7) {
document.getElementById("imgt").setAttribute("src","style/images/art/tindia.jpg");
}
else if(num==8) {
document.getElementById("imgt").setAttribute("src","style/images/art/tcou.jpg");
}
else if(num==9) {
document.getElementById("imgt").setAttribute("src","style/images/art/tro.jpg");
}
else if(num==10) {
document.getElementById("imgt").setAttribute("src","style/images/art/tsumm.jpg");
}
else if(num==11) {
document.getElementById("imgt").setAttribute("src","style/images/art/tspring.jpg");
}
else if(num==12) {
document.getElementById("imgt").setAttribute("src","style/images/art/tvintage.jpg");
}
else if(num==13) {
document.getElementById("imgt").setAttribute("src","style/images/art/tstary.jpg");
}
else if(num==14) {
document.getElementById("imgt").setAttribute("src","style/images/art/tboly.png");
}
Page | 132
D SAPPHIRE
}
</script>
</head>
<body class="single">
<div class="scanlines"></div>
<div class="header-wrapper opacity">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li><a href="index.php">Home</a>
</li>
<li class="active"><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<div class="wrapper">
<div class="intro" style='text-align:left'>D Sapphire has been one of the most highly recommended
special occasion facilities in the tri-state area for many years. Conveniently located 3rd Floor
Dattani Square,vasai Road,Thane - 401202, we are the perfect venue to host events for those with
guests coming from all directions of the Mumbai.
At The Sapphire, our goal is to make each event a wonderful success. Our experienced staff will
ensure that your special occasion turns out exactly the way you have planned. Our establishment has
been voted the Number One facility to host your event in the northern suburbs by the readers of the
Tribune Review for the past 10 years. Whether you are celebrating a wedding, anniversary, reunion
or any other occasion, you should consider D Sapphire as the setting for your everlasting memories.
</div>
<ul class="social">
<li><a
class="facebook"
href="https://facebook.com/pages/Dsapphire-
Banquets/863275620367060"></a></li>
<li><a class="twitter" href="https://twitter.com"></a></li>
Page | 133
D SAPPHIRE
<li><a class="dribbble" href="https://dribble.com"></a></li>
<li><a class="flickr" href="https://flickr.com"></a></li>
<li><a class="linkedin" href="https://linkedin.com"></a></li>
</ul>
<div class="main-image">
<h3><strong>Make your day the best </strong> </h3>
<div class="box-1"> <img src="style/images/art/t1.jpg" alt="" class="img-border img-indent">
<br>
<br>
<br>
<br>
<br>
<div class="extra-wrap">
<p class="text-1"style="color:red;font-size:30px">A marriage which everyone will
remember and wil want the same </p>
<br>
<br>
<select name="number" id="course" style="width:158px;" onchange="getImage(this)">
<option value="none">----Choose the Theme ----</option>
<option value="1">Travel Theme</option>
<option value="2">Beach Theme</option>
<option value="3">Butterfly Theme</option>
<option value="4">Rose Theme</option>
<option value="5">Village Theme</option>
<option value="6">Garden Theme</option>
<option value="7">Indian Theme</option>
<option value="8">Country Theme</option>
<option value="9">Romantic Theme</option>
<option value="10">Summer Theme</option>
<option value="11">Spring Theme</option>
<option value="12">Vintage Theme</option>
<option value="13">Starry Night Theme</option>
<option value="14">Bollywood Theme</option>
</select>
<br><br>
<img id="imgt" src="style/images/art/cover.jpg" width="300" height="300"/>
</div>
</div>
<br>
<br><br>
<div class="wrapper">
Page | 134
D SAPPHIRE
<div class="post format-chat box">
<h2 class="title";><a href="planner.php">Event Planner</a></h2>
<h2 class="title";><a href="halls.html">Halls</a></h2>
<h2 class="title";><a href="rooms.html">Accomodation</a></h2>
<h2 class="title";><a href="boutique.html">Boutique</a></h2>
<h2 class="title";><a href="parlour.html">Parlour</a></h2>
<h2 class="title";><a href="transport.html">Transportation</a></h2>
<h2 class="title";><a href="catering.html">Catering</a></h2>
</div>
</div></div>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #1A9E00; size: 5; font-size: large;"> Contact Us ::
Planner.php
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<link
href="file:///I|/work/Compressed/kate-and-leo/css/grid_24.css"
rel="stylesheet"
type="text/css">
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/css/ie8.css" media="all">
<![endif]-->
<!--[if IE 9]>
<link rel="stylesheet" type="text/css" href="style/css/ie9.css" media="all">
<![endif]-->
Page | 135
D SAPPHIRE
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/xx.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body>
<div class="scanlines"></div>
<div class="header-wrapper opacity">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li ><a href="index.php">Home</a>
</li>
<li class="active"><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
Page | 136
D SAPPHIRE
<li><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<div class="wrapper">
<div class="intro" style='text-align:left'>You can have the beautiful, memorable wedding you have
always dreamed of without the stressful, time-consuming tasks that go along with the planning
process. Our coordinators will oversee everything on your special day so you can enjoy the special
moments that will be treasured for a lifetime.<br><br>
Price Range: $$$<br><br>
Services: Available for Consultation Only, Available for Wedding Day Coordination, Full
Coordination Services </div>
<section id="content">
<h2 class="h2-border">Event <span>Planner:</span></h2>
<p>A Perfect Event Productions and Party Rental
& WE BRING A LOT TO THE TABLE
We do more than just providing tents, tables, chairs, chair covers, fresh floral, affordable
centerpieces and total table design. At A Perfect Event, our party professionals provide event
consultation and location recommendations, detailed diagrams of the event layout, on-time delivery
and pick-up, on-site staff and more. In other words, we sweat the small stuff, so you can be a guest
at your own event.
& <br>
Other Services offered
We rent anything you need..........
</p>
<p>Quality Products
Within our vast inventory is everything you need to host a beautiful event. We have china, flatware,
table linens, chair covers and sashes. You can also rent tents or canopies, tables and chairs, dance
floors, bars, cake table, audio visual equiptment and we can even help you decorate with
centerpieces, lighting and more.
</p>
<p >The instructor, Misty, has over 23 years of experience in both managing floral shops,
wedding work and in teaching floral design. Your lessons will be in both the timeless art of classic
floral design and in trendy up to the minute designs, using fresh and silks flowers.
Below is a detailed course curriculum. As you can see, the lessons are incredibly comprehensive and
immediately after graduating you will be entirely ready go to work as a designer.
Page | 137
D SAPPHIRE
All classes are taught with a hands on, step-by-step style, in a stress-free environment that allows
each student to feel comfortable with what they learn before moving on. Since the classes are
limited to 6 students the instructor can offer more personal attention. Upon completion of the 80
hour course, students receive a certificate and individual assistance in deciding which area of floral
design is a best fit for them.
. </p>
<div class="grid_1">
<h3><strong>About</strong> company</h3>
<div class="extra-wrap">
<p class="text-1">A Perfect Event Productions and Party Rental
</p>
<p class="text-2">2924 E. Broadway Blvd.
Inside Somethings Old Somethings new
Tucson, AZ 85716 |<br>
Visit for more : http://www.aperfecteventproductions.com/</p>
<div class="box-1"> <img src="style\images\bg\plan1.jpeg" alt="" class="img-border imgindent">
</div>
<div class="grid_12">
<div class="top-1 alignright">
<br>
<br><br>
<br>
<h3><strong>Map of A Perfect Event Productions and Party Rental</strong></h3>
<div class="extra-wrap">
<p class="text-1">We now offer fresh flowers, exquisitely designed by one of Tucson's
leading floral designers. She offers 24 years of experience in making all your wedding dreams come
true!!
Let us handle your entire event!
Within our vast inventory is every little or big thing you can foresee needing to host a beautiful
event. We have china, flatware, table linens, chair covers and sashes. You can also rent tents or
canopies, tables and chairs, dance floors, bars, audio and visual equipment and we have more then
our share of design elements to help you decorate from centerpieces, lighting, furniture for lounge
areas, trees, screens, lamps, crystals and all things that add bling and more. Our designers are
experts at putting together a perfect table-scape and setting a mood for your event that is uniquely
you. Come in and check out our new candelabra's (pictured above) and hundreds of vases in
numerous shapes and sizes and let's get started on your Perfect Event. </p>
<div class="box-1"> <img src="style/images/bg/map.png" alt="" class="img-border imgindent">
</div>
</div>
Page | 138
D SAPPHIRE
<br><br>
Click below to know the available event planners
<a href="available.php" target="_"><input
type="button" value="Click Me"/></a>
<br><br><br>
Click below to know the event planners detail
<a href="eve.php" target="_"><input
type="button" value="Click Me"/></a>
<br><br><br>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #224E07; size: 5; font-size: large;"> Contact Us ::
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/art/bad1.png");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
Page | 139
D SAPPHIRE
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body>
<div class="header">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li><a href="index.php">Home</a>
</li>
<li class="active"><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
<div class="header-wrapper opacity">
<div class="wrapper">
Page | 140
D SAPPHIRE
<br><br><br>
<div class="intro"style='text-align:left'><br>We have 6 halls available for different purposes.
Shagun Hall is main hall for wedding purposes. The others are used for various parties.</div>
<div class="box-1"> <img src="style/images/art/hal1.jpg" alt="" class="img-border imgindent">
<br>
<br>
<br>
<br>
<br>
<p>
<div class="box-1"> <img src="style/images/art/hal2.jpg" alt="" class="img-border imgindent">
<br>
<br>
<br>
<br>
<br>
<div class="box-1"> <img src="style/images/art/hal3.jpg" alt="" class="img-border imgindent">
<br>
<br>
img-indent">
<br>
<br><br>
<br><br>
<br><br><div class="box-1"> <img src="style/images/art/hal5.jpg" alt="" class="img-border
img-indent">
<br>
<div class="box-1"> <img src="style/images/art/hal6.jpg" alt="" class="img-border imgindent">
<br>
<br>
<br>
<br>
<br><div class="box-1"> <img src="style/images/art/hal7.jpg" alt="" class="img-border imgindent">
<br>
<center><br><br><p> Click on the button to check the availability of halls!!!</p><br><br><br>
<br><a href="hall.php"><button>Check Availability</button></a></center><br><br>
<br><br><br>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #224E07; size: 5; font-size: large; "> Contact Us :: [email protected]
...<br><br> Phone no ::7507968233,9867176702 </p>
<p Style ="Color: Blue; Size: 5; font-size: large;">2012 Copyrighted Designzzz.com</p>
</div>
Page | 141
D SAPPHIRE
<div style="clear:both;"></div>
</div>
</body>
</html>
Available.php
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<link
href="file:///I|/work/Compressed/kate-and-leo/css/grid_24.css"
rel="stylesheet"
type="text/css">
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/css/ie8.css" media="all">
<![endif]-->
<!--[if IE 9]>
<link rel="stylesheet" type="text/css" href="style/css/ie9.css" media="all">
<![endif]-->
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/fi.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
Page | 142
D SAPPHIRE
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<?php
$con=mysqli_connect("localhost","root","","sapphire");
// Check connection
if (mysqli_connect_errno()) {
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
echo"<br><br> Available event planners right now are<br><br><br>";
echo"Name of the Planner Fees of the planner <br><br>";
$result = mysqli_query($con,"SELECT * FROM eavailable where Eavailable='yes'");
while($row = mysqli_fetch_array($result)) {
echo
$row['Ename']
"
"
$row['Efees'];
echo "<br>";
}
mysqli_close($con);
?>
<body>
<br><br><br>
<form><input
type="button"
value="Go
Back"
style="background-color:blue"
onClick="window.location.href='planner.php'"></form>
</body>
</html>
Eve.php
<html>
<img
src='style/images/bg/rep1.jpg'
style='position:fixed;top:0px;left:0px;width:100%;height:100%;z-index:-1;'>
<?php
echo "<center><strong><br><br><br>Event Planner Details<br><br>";
$con=mysqli_connect("localhost","root","","sapphire");
// Check connection
if (mysqli_connect_errno())
Page | 143
D SAPPHIRE
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
echo "<br><br>Event Planners<br>";
$result = mysqli_query($con,"SELECT Eid,Ename,Eaddr,Econt,Eemail,Ework,Efee FROM event");
echo "<table border='1'>
<tr>
<th>ID</th>
<th>Name</th>
<th>Address</th>
<th>Contact Number</th>
<th>Email</th>
<th>Work Experience(in years)</th>
<th>Fees</th>
</tr>";
while($row = mysqli_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['Eid'] . "</td>";
echo "<td>" . $row['Ename'] . "</td>";
echo "<td>" . $row['Eaddr'] . "</td>";
echo "<td>" . $row['Econt'] . "</td>";
echo "<td>" . $row['Eemail'] . "</td>";
echo "<td>" . $row['Ework'] . "</td>";
echo "<td>" . $row['Efee'] . "</td>";
echo "</tr>";
}
echo "</table>";
?>
<input type=button onclick="window.print()" value='Print Report'>
Hall.php
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
Page | 144
D SAPPHIRE
<link
href="file:///I|/work/Compressed/kate-and-leo/css/grid_24.css"
rel="stylesheet"
type="text/css">
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/css/ie8.css" media="all">
<![endif]-->
<!--[if IE 9]>
<link rel="stylesheet" type="text/css" href="style/css/ie9.css" media="all">
<![endif]-->
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/red.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<?php
$con=mysqli_connect("localhost","root","","sapphire");
// Check connection
if (mysqli_connect_errno()) {
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
Page | 145
D SAPPHIRE
echo"<br><br> Available Halls right now are<br><br><br>";
echo"Name of the Hall :: Availability <br><br>";
$result = mysqli_query($con,"SELECT * FROM halls");
while($row = mysqli_fetch_array($result)) {
echo $row['Hname'] . ":: " . $row['Available'];
echo "<br>";
}
mysqli_close($con);
?>
<body>
<br><br><br>
<font color="red"><input type=button onclick="window.print()" value='Print Report'></font>
<form><input
type="button"
value="Go
Back"
style="background-color:blue"
onClick="window.location.href='post.html'"></form>
</body>
</html>
Rooms.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/hh.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
Page | 146
D SAPPHIRE
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body>
<div class="header">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li><a href="index.php">Home</a>
</li>
<li class="active"><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
</div><br><br><br>
<div class="header-wrapper opacity">
<br><br><br>
<div class="wrapper">
<div class="intro"style='text-align:left'> The rooms are available only for the guests in any party
going on the "D Sapphire" which are standard, single, twin,junior suite and deluxe suite.All rooms
are delightfully decorated and offer an array of comforts and amenities.Each room has individually
controlled air conditioning, internet access,a satellite/cable television,IDD/DDD telephone,mini bar.
The hotel offers a business floor,and a non-smoking floor for our guests' convenience.The hotel will
Page | 147
D SAPPHIRE
offer the best service and make the hotel your home away from home.Room Service also available.
<br><br><p style="color:black;font size:xx-large"> Best Deal : Honeymoon Suite Available with
all arrangements... and most importantly in your budget!!!!</div>
<br><br>
<div id="slide">
<div class="slider" ">
<ul class="items">
<li><img src="style/images/art/room1.jpg" alt=""></li>
<li><img src="style/images/art/room2.jpg" alt=""></li>
<li><img src="style/images/art/room3.jpg" alt=""></li>
<li><img src="style/images/art/room4.jpg" alt=""></li>
<li><img src="style/images/art/room5.jpg" alt=""></li>
<li><img src="style/images/art/room6.jpg" alt=""></li>
<li><img src="style/images/art/room7.jpg" alt=""></li>
<li><img src="style/images/art/room8.jpg" alt=""></li>
<li><img src="style/images/art/room9.jpg" alt=""></li>
</ul>
</div>
<div class="wrapper">
<h3><strong>Present at your service all the time!!!</strong></h3><br><br>
<div class="box-1"> <img src="style/images/art/ser.jpg" alt="" class="img-border imgindent">
<br><br><br>
<div class="extra-wrap">
<p class="text-1"style="color: black; font-size: 30px; font-style: normal;">We are here
24X7 available for our guests. This is the menu of the service available for room ... Enjoy the day!!
</p>
<br>
<br>
<br><br>
<div class="box-1"> <img src="style/images/art/ser2.jpg" alt="" class="img-border imgindent">
<br><br>
<p class="text-2" style="color:blue;font-size:30px">We serve whatever u love<br>
</p><br><br>
</div>
</div><br>
<center><br><br><p> Do the Bookings!!!</p><br><br><br>
<br><a href="ch.html"><button>Book a Room</button></a></center><br><br>
<br><br>
<br><br><br>
<br><br><br><br>
</center>
<div class="footer-wrapper">
<div id="footer">
Page | 148
D SAPPHIRE
<p Style="Color: #1A9E00; size: 5; font-size: large;"> Contact Us ::
Page | 149
D SAPPHIRE
Books2.html
<html>
<head>
<title>BOOKING FORM</title><link rel="stylesheet" type="text/css" href="style.css"></head>
<body>
<form name="booking" method="post" action="b.php">
<fieldset>
<legend>Booking Form </legend>
<p>YOUR
NAME: <br><br><input
type="text"
name="mname" value=""><br>
<p>BOOKING DATE: <br><br><input
type="date"
name="bdate" value=""><br>
<p>ROOM NUMBER: <br><br>
<select name="number" id="rno" style="width:158px;">
<option value="none">----Choose the Room Number ----</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option><option value="5">5</option>
<option value="6">6</option><option value="7">7</option>
<option value="8">8</option><option value="9">9</option>
<option value="10">10</option></select>
<br>
<p><input type="submit" name="submit" value="submit">
</fieldset>
</form>
</body>
</head>
</html>
b.php
<?php
$hostname="localhost"; //local server name default localhost
$username="root"; //mysql username default is root.
$password="";
//blank if no password is set for mysql.
$database="sapphire"; //database name which you created
$con=mysql_connect($hostname,$username,$password);
if(! $con)
{
die('Connection Failed'.mysql_error());
}
mysql_select_db($database,$con);
$originalDate = $_REQUEST['bdate'];
$newDate = date("Y-m-d", strtotime($originalDate));
$sql = mysql_query("SELECT BookDate,Rooms FROM reroom WHERE BookDate='".
$newDate."' && Rooms='".$_REQUEST['number']."'" );
Page | 150
D SAPPHIRE
if (mysql_num_rows($sql) >0) {
echo "This rooms are already booked for the following date plz try another date or room!!";
}
else
{
$sql="insert
into
reroom(Guname,BookDate,Rooms)
values('".$_REQUEST['mname']."','".
$newDate."','".$_REQUEST['number']."')";
$res=mysql_query($sql);
If($res)
{
Echo "Congrats!!! Your rooms are booked!!";
}
$s="insert into payments(Type,Charges,Date) values('Credit',2000,'".date('d'.'m'.'y')."')";
$re=mysql_query($s);
}
?>
Boutique.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
Page | 151
D SAPPHIRE
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/art/bad1.png");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
Page | 152
D SAPPHIRE
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body>
<div class="header">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a> </div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li><a href="index.php">Home</a>
</li>
<li class="active"><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
Page | 153
D SAPPHIRE
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
<div class="wrapper">
<br><br><br>
<div class="intro"style='text-align:left'>Now open for over 4 years, Ladies Boutiques have provided a very
personal service to many women over the years.
Our Boutiques offer great value for money and a very personal service to all of our Customers. Our fashions
offer a wide variety of the very best of Irish and European Designs from sizes 8 to 22. Whether you want a
Classic outfit or something funky and new, you'll find it here.
Page | 154
D SAPPHIRE
We also stock a wide range of accessories to complement the various labels available in-store. For example,
Jewellery, Shoes, Hats & Facinators, Tights and Wraps, to name but a few.
Deposits are also accepted on items for purchase for periods of up to 4 weeks. Gift vouchers are available in
store also. Check out our collections page for details and images of our latest collections, or alternatively
drop in to any of our stores to have a look in person.
</div>
<div class="box-1"> <img src="style/images/art/bout.jpg" alt="" class="img-border img-indent">
<br>
<br>
<br>
<br>
<br>
<p> We provide a lot in fashion Here are some stills from our designers. </p><br><br><br>
<div class="box-1"> <img src="style/images/art/bo1.jpg" alt="" class="img-border img-indent">
<br>
<br>
<br>
<br>
<br>
<div class="box-1"> <img src="style/images/art/bo4.jpg" alt="" class="img-border img-indent">
<br>
<br>
indent">
<br>
Page | 155
D SAPPHIRE
<br><br>
<p> Classical and easy to wear. Get the best lehenga out from here!!!!</p>
<br><br>
<br><br><div class="box-1"> <img src="style/images/art/de1.jpg" alt="" class="img-border imgindent">
<br>
<div class="box-1"> <img src="style/images/art/de2.jpg" alt="" class="img-border img-indent">
<br>
<br>
<br>
<br>
<br>
<center><br><br><p> Click on the button to book the boutique!!!</p><br><br><br>
<br><a href="cbou.html"><button>Book it</button></a></center><br><br>
<br><br><br>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #224E07; size: 5; font-size: large; "> Contact Us :: [email protected] ...<br><br>
Phone no ::7507968233,9867176702 </p>
<p Style ="Color: Blue; Size: 5; font-size: large;">2012 Copyrighted Designzzz.com</p>
</div>
Page | 156
D SAPPHIRE
<div style="clear:both;"></div>
</div>
</body>
</html>
Bou.html
<div align="center">
<form method="POST" action="bou.php">
Member ID: <input type="text" name="mid"> Booking Date: <input type="date" name="bod" value="">
<input type="submit" value="Book">
</form>
</div>
Bou.php
<?php
mysql_select_db("sapphire",$dbc)
Page | 157
D SAPPHIRE
or
die("Cant connect :" . mysql_error());
If(isset($_REQUEST['submit'])!='')
{
If($_REQUEST['mid']=='' || $_REQUEST['bod']=='')
Echo "please fill the empty field.";
}
Else
{
$sql = mysql_query("SELECT Mname FROM register1 WHERE Mid='".$_REQUEST['mid']."'" );
if (mysql_num_rows($sql) >0) {
Page | 158
D SAPPHIRE
}
$s="insert into payments(Type,Charges,Date) values('Credit',500,'".date('d'.'m'.'y')."')";
$re=mysql_query($s);
}
else
{
echo"Member ID do not exist!! Please Register Yourself!!!<br> Please go back!!!";
}
?>
Parlour.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
Page | 159
D SAPPHIRE
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/add.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body>
<div class="header">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li><a href="index.php">Home</a>
</li>
<li class="active"><a href="post.html">Wedding</a>
Page | 160
D SAPPHIRE
</li>
<li><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<div class="header-wrapper opacity">
<div class="wrapper">
<br><br><br>
<div class="intro"style="color:black">We bring to you a bouquet of services to remain worry free
about your looks. We have made effortless beauty care and the equipment and products we use are
of premium. We offer fashionable hair-dos for all seasons.
<br>
<br>
<br>
<br>
<br>
<div class="box-1"> <img src="style/images/art/parl7.jpg" alt="" class="img-border imgindent">
<br>
<br>
<br>
<br>
<br>
</div>
<div class="container_24">
<div class="grid_7">
<div class="top-1 right-1">
<p style="color:black">Services Offered: <br><br>
Hair <br> <ul>
<li>Change of Style
<li>Hair Spa
<li>Trimming
<li>Head Massage
</ul></p>
<br><br><p font size: "bold" style="color:black"> Hair Care:<br><br>
<ul>
<li>Hair Coloring
Page | 161
D SAPPHIRE
<li>Full Streaking
<li>Re Bonding
<li>Crimping/Ironing
<li>Strait Therapy
</ul></p>
<br><p font size: "bold" style="color:black"> Specials:<br><br>
<ul>
<li>Threading
<li>Facial Treatment
<li>Bridal Makeup
<li>Party Makeup
<li>Bridal Saree
<li>Mehendi
<li>Pedicure and Manicure
<li>Spa
<li>Waxing
</ul></p>
</div>
<div class="box-1"> <img src="style/images/art/parl4.jpg" alt="" class="img-border img-indent">
<br>
<br>
</div> <div class="box-1"> <img src="style/images/art/parl1.jpg" alt="" class="img-border
img-indent">
<br>
<br>
</div>
<center><br><br><p> Click on the button to book the parlour!!!</p><br><br><br>
<br><a href="cparl.html"><button>Book</button></a></center><br><br>
<br><br><br>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #224E07; size: 5; font-size: large; "> Contact Us :: [email protected]
...<br><br> Phone no ::7507968233,9867176702 </p>
<p Style ="Color: Blue; Size: 5; font-size: large;">2012 Copyrighted Designzzz.com</p>
</div>
<div style="clear:both;"></div>
</div>
</body>
</html>
Parl.html
<div align="center">
Welcome<br><br>
<form method="POST" action="parl.php">
Member ID: <input type="text" name="mid"> Booking Date: <input type="date" name="bod"
value=""> <br> What Service you want from us? <input type="text" name="ser">
Page | 162
D SAPPHIRE
<input type="submit" value="Book">
</form>
</div>
Parl.php
<?php
$dbc = mysql_connect('localhost','root','') or die("Cant connect :" . mysql_error());
mysql_select_db("sapphire",$dbc)
or
die("Cant connect :" . mysql_error());
$time_offset ="525"; // Change this to your time zone
$time_a = ($time_offset * 120);
$time = date("h:i:s",time() + $time_a);
If(isset($_REQUEST['submit'])!='')
{
If($_REQUEST['mid']=='' || $_REQUEST['bod']==''|| $_REQUEST['ser']=='')
Echo "please fill the empty field.";
}
Else
{
$sql="insert
into
bookparl(Mid,Bodate,type,ptime)
values('".$_REQUEST['mid']."','".
$_REQUEST['bod']."','".$_REQUEST['ser']."','".$time."')";
$res=mysql_query($sql);
$s="insert into payments(Type,Charges,Date) values('Credit',1000,'".date('d'.'m'.'y')."')";
$re=mysql_query($s);
$q="insert into bookdetails(Mid,Amount) values('".$_REQUEST['mid']."',2000)";
$e=mysql_query($q);
if($res)
{
echo"<br><br><br> You are Booked Please visit on the following time : $time";
include 'parlour.html';
}
}
?>
Transport.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
Page | 163
D SAPPHIRE
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/css/ie8.css" media="all">
<![endif]-->
<!--[if IE 9]>
<link rel="stylesheet" type="text/css" href="style/css/ie9.css" media="all">
<![endif]-->
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/fi1.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body class="single">
<div class="scanlines"></div>
<div class="header-wrapper opacity">
<div class="header">
Page | 164
D SAPPHIRE
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li><a href="index.php">Home</a>
</li>
<li class="active"><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<div class="wrapper">
<div class="intro">We provide transportation facility to our guests. One can book cars and vans
for their guests to pick and drop them to various stations. Booking to be done in advance . We have
many of them .
<ul><br><br><br>
<li><span class=red> Indica <br><br><br> </span>
<div class="box-1"> <img src="style/images/art/ind.gif" alt="" class="img-border img-indent">
<br><br><br><br>
</div>
<li><span class=red> Swift Dezire
<br><br><br></span>
<div class="box-1"> <img src="style/images/art/swi.jpg" alt="" class="img-border img-indent">
<br> <br><br><br>
</div>
<li> <span class=red> Toyota Etios
<br><br><br> </span>
<div class="box-1"> <img src="style/images/art/eti.jpg" alt="" class="img-border img-indent">
<br> <br><br><br>
</div>
<li><span class=red> Honda Accord
<br><br><br> </span>
<div class="box-1"> <img src="style/images/art/acc.jpg" alt="" class="img-border img-indent">
<br>
</div>
</ul>
</div>
</div>
<br><br>
Page | 165
D SAPPHIRE
Availt.php
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<link
href="file:///I|/work/Compressed/kate-and-leo/css/grid_24.css"
rel="stylesheet"
type="text/css">
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/css/ie8.css" media="all">
<![endif]-->
<!--[if IE 9]>
<link rel="stylesheet" type="text/css" href="style/css/ie9.css" media="all">
<![endif]-->
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
Page | 166
D SAPPHIRE
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/fi.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<?php
$con=mysqli_connect("localhost","root","","sapphire");
// Check connection
if (mysqli_connect_errno()) {
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
echo"<br><br>The available cars right now are <br><br><br>";
$result = mysqli_query($con,"SELECT * FROM cavailable where Cavailable='yes'");
echo "Car ID Car Name Number of cars available<br><br> ";
while($row = mysqli_fetch_array($result)) {
echo $row['Cid'] ."
"
$row['Cname'].
"
Page | 167
D SAPPHIRE
<form><input
type="button"
value="Go
Back"
style="background-color:red"
onClick="window.location.href='transport.html'"></form>
</body>
</html>
Catering.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/fi1.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
Page | 168
D SAPPHIRE
</head>
<body>
<div class="header">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li ><a href="index.php">Home</a>
</li>
<li class="active"><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
</div><br><br><br><br><br>
<div class="wrapper"> A simple and delicious cuisine
<bR><BR><br><br><br>
<div class="box-1"> <img src="style/images/art/cat.jpg" alt="" class="img-border img-indent">
<br>
<br>
<br>
<br>
<br>
</div></div>
<div class="header-wrapper opacity">
<div class="wrapper">
<div class="intro"style='text-align:left;color:black'>You have found your catering team for all
occasions! Our website is designed to assist those who are planning Corporate Events, Weddings,
Private Parties and Barbecues. Within, there is a wealth of information to help you plan your festive
affair. As you prepare for your celebration, do not forget this Catering - the leader here for
exceptional cuisine, capitol style and competitve pricing.
</div>
</div>
<br><br>
Page | 169
D SAPPHIRE
<div id="slide">
<div class="slider" ">
<ul class="items">
<li><img src="style/images/art/ca1.jpg" alt=""></li>
<li><img src="style/images/art/ca2.jpg" alt=""></li>
<li><img src="style/images/art/ca3.jpg" alt=""></li>
<li><img src="style/images/art/ca4.jpg" alt=""></li>
<li><img src="style/images/art/ca5.jpg" alt=""></li>
<li><img src="style/images/art/ca6.jpg" alt=""></li>
<li><img src="style/images/art/ca7.png" alt=""></li>
<li><img src="style/images/art/ca9.jpg" alt=""></li>
<li><img src="style/images/art/ca10.jpg" alt=""></li>
<li><img src="style/images/art/ca11.jpg" alt=""></li>
<li><img src="style/images/art/ca8.jpg" alt=""></li>
<li><img src="style/images/art/ca12.jpg" alt=""></li>
<li><img src="style/images/art/ca13.jpg" alt=""></li>
<li><img src="style/images/art/ca15.jpg" alt=""></li>
</ul>
</div>
</div>
<div class="container_24">
<p> Menu for Catering : <br><br>
<Strong> Appetizers </strong> <br> <br><ul>
<li>Five hours of open bar featuring premium brands <br>
<li>Designer Cake
<li>Teas and Coffees
<li> Lemonade<br><br>
<Strong> Non-Veg Appetizers (Can select any two)<br> </strong>
<li>Chicken Tikkas
<li>Chicken Pakora
<li>keema samosa
<li>Shamim kabab <br><br>
<Strong> Veg Appetizers (Can select any three)<br> </strong>
<li>Paneer Tikkas
<li>Pakora
<li>veg samosa
<li>veg cutlet
<li> potato fingers<br><br>
<Strong> Vegetable Entrees<br></strong>
<li>Saag Alu
<li>Alu gobi mughlai
<li>Alu Matter
<li>Chole
<li>Malai Kofta
<li>Mix Veg
<li>Palak Paneer
<li>Paneer Makhani
<li>Jalfrezi
<li>Tawa Bhaji
<li>Corn Veg
<li>Mutter Mushroom
<li>Baigan Hyderabadi
<br><br>
<Strong> Non-Vegetable Entrees<br></strong>
Page | 170
D SAPPHIRE
<li>Chicken Tikka Masala
<li>Kadai Chicken
<li>Chicken Malaiwala
<li>Chicken Korma
<li>Murgh Saagwala
<li>Lamb Rogan Josh
<li>Lamb Da Piyaza<br><br>
<Strong> Daal and Chawal<br></strong>
<li>Daal Makhani
<li>Yellow Daal
<li>Daal Tarka
<li>Sucha Daal
<li>Steamed Basmati
<li>Matar Pulao
<li>Non veg Biryani<br><br>
<Strong> Roti<br></strong>
<li>Tandoori Naan
<li>Plain Roti
<li>Kulcha
<li>Puri
<li>Lacha Paratha<br><br>
<Strong> Dessert <br></strong>
<li>Ras Malai
<li>Gajar ka halwa(seasonal)
<li>Dal ka halwa
<li>Gulab Jamun
<li>Kheer
<li>Kulfi
<li>Fried Ice Cream<br><br>
<Strong>Enhancements
(To add to the experience of your special day our enhancements can be added to any
package)<br><br><br></strong>
<li>Chat Station
<li>South Indian Station
<li>Punjab Station
<li>Chinese Station
<li>Chocolate fountain with accompaniments for dipping<br>
<li>Variety of fruits and small desserts such as brownies and rice crispy treats for dipping
<li>Bride and groom specialty signature drink
<li>Welcome gift delivery
<li>Custom (GOBO) lighting to welcome your guests and
the new couple
</ul></p>
<br><br>
<center><p> Packages <br><br>
<Strong> We Have different packages for you you can select any one according to your need
</strong> <br> <br><ul></center>
<li>Package 1 : contains every 2 or 3 meals from each part <br>
<li>Package 2 : contains every 5 or 6 meals from each part<br>
<li>Package 3 : contains all meals from each part<br><br><br>
<div class="box-1"> <img src="style/images/art/dish.jpg" alt="" class="img-border imgindent">
<br><br>
Page | 171
D SAPPHIRE
<center><br><br><p><font color=black> Click on the button to book the catering menu!!!
</font></p><br><br><br>
<br><a href="formcheck.html"><button>Book</button></a></center><br><br>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #224E07; size: 5; font-size: large;"> Contact Us ::
Formcheck.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/fi1.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
Page | 172
D SAPPHIRE
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body>
<div class="header">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li ><a href="index.php">Home</a>
</li>
<li class="active"><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
</div><br><br><br><br><br>
<div class="wrapper"> A simple and delicious cuisine
<bR><BR><br><br><br>
<div class="box-1"> <img src="style/images/art/cat.jpg" alt="" class="img-border img-indent">
<br>
<br>
<br>
<br>
<br>
</div></div>
<div class="header-wrapper opacity">
Page | 173
D SAPPHIRE
<div class="wrapper">
<div class="intro"style='text-align:left;color:black'>You have found your catering team for all
occasions! Our website is designed to assist those who are planning Corporate Events, Weddings,
Private Parties and Barbecues. Within, there is a wealth of information to help you plan your festive
affair. As you prepare for your celebration, do not forget this Catering - the leader here for
exceptional cuisine, capitol style and competitve pricing.
</div>
</div>
<br><br>
<div id="slide">
<div class="slider" ">
<ul class="items">
<li><img src="style/images/art/ca1.jpg" alt=""></li>
<li><img src="style/images/art/ca2.jpg" alt=""></li>
<li><img src="style/images/art/ca3.jpg" alt=""></li>
<li><img src="style/images/art/ca4.jpg" alt=""></li>
<li><img src="style/images/art/ca5.jpg" alt=""></li>
<li><img src="style/images/art/ca6.jpg" alt=""></li>
<li><img src="style/images/art/ca7.png" alt=""></li>
<li><img src="style/images/art/ca9.jpg" alt=""></li>
<li><img src="style/images/art/ca10.jpg" alt=""></li>
<li><img src="style/images/art/ca11.jpg" alt=""></li>
<li><img src="style/images/art/ca8.jpg" alt=""></li>
<li><img src="style/images/art/ca12.jpg" alt=""></li>
<li><img src="style/images/art/ca13.jpg" alt=""></li>
<li><img src="style/images/art/ca15.jpg" alt=""></li>
</ul>
</div>
</div>
<div class="container_24">
<p> Menu for Catering : <br><br>
<Strong> Appetizers </strong> <br> <br><ul>
<li>Five hours of open bar featuring premium brands <br>
<li>Designer Cake
<li>Teas and Coffees
<li> Lemonade<br><br>
<Strong> Non-Veg Appetizers (Can select any two)<br> </strong>
<li>Chicken Tikkas
<li>Chicken Pakora
<li>keema samosa
<li>Shamim kabab <br><br>
<Strong> Veg Appetizers (Can select any three)<br> </strong>
<li>Paneer Tikkas
<li>Pakora
<li>veg samosa
<li>veg cutlet
<li> potato fingers<br><br>
<Strong> Vegetable Entrees<br></strong>
<li>Saag Alu
<li>Alu gobi mughlai
<li>Alu Matter
Page | 174
D SAPPHIRE
<li>Chole
<li>Malai Kofta
<li>Mix Veg
<li>Palak Paneer
<li>Paneer Makhani
<li>Jalfrezi
<li>Tawa Bhaji
<li>Corn Veg
<li>Mutter Mushroom
<li>Baigan Hyderabadi
<br><br>
<Strong> Non-Vegetable Entrees<br></strong>
<li>Chicken Tikka Masala
<li>Kadai Chicken
<li>Chicken Malaiwala
<li>Chicken Korma
<li>Murgh Saagwala
<li>Lamb Rogan Josh
<li>Lamb Da Piyaza<br><br>
<Strong> Daal and Chawal<br></strong>
<li>Daal Makhani
<li>Yellow Daal
<li>Daal Tarka
<li>Sucha Daal
<li>Steamed Basmati
<li>Matar Pulao
<li>Non veg Biryani<br><br>
<Strong> Roti<br></strong>
<li>Tandoori Naan
<li>Plain Roti
<li>Kulcha
<li>Puri
<li>Lacha Paratha<br><br>
<Strong> Dessert <br></strong>
<li>Ras Malai
<li>Gajar ka halwa(seasonal)
<li>Dal ka halwa
<li>Gulab Jamun
<li>Kheer
<li>Kulfi
<li>Fried Ice Cream<br><br>
<Strong>Enhancements
(To add to the experience of your special day our enhancements can be added to any
package)<br><br><br></strong>
<li>Chat Station
<li>South Indian Station
<li>Punjab Station
<li>Chinese Station
<li>Chocolate fountain with accompaniments for dipping<br>
<li>Variety of fruits and small desserts such as brownies and rice crispy treats for dipping
<li>Bride and groom specialty signature drink
<li>Welcome gift delivery
<li>Custom (GOBO) lighting to welcome your guests and
the new couple
</ul></p>
Page | 175
D SAPPHIRE
<br><br>
<center><p> Packages <br><br>
<Strong> We Have different packages for you you can select any one according to your need
</strong> <br> <br><ul></center>
<li>Package 1 : contains every 2 or 3 meals from each part <br>
<li>Package 2 : contains every 5 or 6 meals from each part<br>
<li>Package 3 : contains all meals from each part<br><br><br>
<div class="box-1"> <img src="style/images/art/dish.jpg" alt="" class="img-border imgindent">
<br><br>
<center><br><br><p><font color=black> Click on the button to book the catering menu!!!
</font></p><br><br><br>
<br><a href="formcheck.html"><button>Book</button></a></center><br><br>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #224E07; size: 5; font-size: large;"> Contact Us ::
Formre.php
<?php
$hostname="localhost"; //local server name default localhost
$username="root"; //mysql username default is root.
$password="";
//blank if no password is set for mysql.
$database="sapphire"; //database name which you created
$con=mysql_connect($hostname,$username,$password);
if(! $con)
{
die('Connection Failed'.mysql_error());
}
mysql_select_db($database,$con);
$sql
=
mysql_query("SELECT
fname
FROM
bookbanquet
WHERE
Boid='".
$_REQUEST['bid']."'" );
if (mysql_num_rows($sql) >0) {
echo" Thank you for verifying";
if(isset($_POST['submit'])){//to run PHP script on submit
if(!empty($_POST['catering'])){
$savedata = $_REQUEST['savedata'];
$data="Catering Menu,";
if ($savedata == 1){
// Loop to store and display values of individual checked checkbox.
Page | 176
D SAPPHIRE
foreach($_POST['catering'] as $selected){
$data .= $selected." , ";}
}
$file = "Booking id".$_REQUEST['bid'].".txt";
$fp = fopen($file, "a") or die("Couldn't open $file for writing!");
fwrite($fp, $data) or die("Couldn't write values to file!");
fclose($fp);
echo "Your Form has been Submitted!";
}
}
$sql="insert into payments(Type,Charges,Date) values('Catering',7500,'".date('d'.'m'.'y')."')";
$res=mysql_query($sql);
}
else
{
echo"Sorry! your hall is not booked or you entered wrong id !! Click on the link below to go to
booking page";?>
<form><input type="button" value="Go To Booking Page" style="background-color:red"
onClick="window.location.href='form.html'"></form>
<?php
}
?>
Restaurant.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
Page | 177
D SAPPHIRE
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/red.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body>
<div class="header">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li><a href="index.php">Home</a>
</li>
<li><a href="post.html">Wedding</a>
</li>
<li ><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
Page | 178
D SAPPHIRE
</div>
</div><br><br><br><br><br>
<div class="wrapper"> Air Condtioned and fully Licensed Restaurant
<bR><BR><br><br><br>
<div class="box-1"> <img src="style/images/art/res1.jpg" alt="" class="img-border imgindent">
<br>
<br>
<br>
<br>
<br>
</div></div>
<div class="header-wrapper opacity">
<div class="wrapper">
<div class="intro" style="text-align:left;color:black">With years of experience in food and
catering service, our restaurant is commited to provide the best in every type of recipies in a modern
style. It specialises in South Indian dishes chinese and meals in particular. Chefs with years of
experience in both vegetarian and non-vegetarian cuisine are our hallmarks.
Apart from food, a variety of hot beverages are also available for you to choose from. As a customer
focused entity, we would always be listening to what out customers say. We understand that
feedbacks from our customers are the best way to improve.
The distinguishing and enriching cuisine has been recognized by all around the world , with
intoxicating fusion of flavors may not be found anywhere else. The uniqueness and diversity of our
recipes with their distinctive flavors and aroma enthrall the hearts of worlds epicures. We aim to
present a minute sample of this extensive compilation of recipes for your gourmet appraisal. The
eclectic menu has been appreciated by everyone from connoisseurs cuisine to someone trying the
flavors for the first time. The service, value and taste have been praised very highly by critics. The
growing community of loyal patrons has helped Shilpa to win the Archant Food and Drinks Award
for two consecutive years.
</div>
</div>
<br><br>
<div class="container_24" align="center">
<p style="color:black"> Menu : <br><br>
<Strong> Appetizers </strong> <br> <ul><pre>
<li>Lemonade
<li>Cold Coffee
<li>Teas and Hot Coffees
Rs.15
<li>Sandwich
<li>Cutlets
<li>Veg Kathi Rolls
<li>Non veg Kathi Rolls
Rs.60
<br><br>
<Strong> Snacks </strong><br>
Rs.15
Rs.50
Rs.25
Rs.40
Rs.35
Page | 179
D SAPPHIRE
<li>Chicken Pakora
<li>keema samosa
<li>Shamim kabab
<li>Paneer Tikkas
<li>Chowmein
<li>Pizza
<li>Fried Rice
<li>Chilly Paneer
<Li>Manchurian
<li>Pav Bhaji
<li>Bhature Chole
<li>Potato chatpate
<li>Momos
<Strong>Meals</strong><br>
<li>Saag Alu
<li>Alu gobi mughlai
<li>Alu Matter
<li>Chole
<li>Malai Kofta
<li>Mix Veg
<li>Palak Paneer
<li>Paneer Makhani
<li>Jalfrezi
<li>Corn Veg
<li>Mutter Mushroom
<li>Baigan Hyderabadi
<li>Chicken Tikka Masala
<li>Kadai Chicken
<li>Chicken Malaiwala
<li>Chicken Korma
<li>Murgh Saagwala
<li>Lamb Rogan Josh
<li>Tandoori Chicken
<li>Daal Makhani
<li>Yellow Daal
<li>Daal Tarka
<li>Sucha Daal
<li>Steamed Basmati
<li>Matar Pulao
<li>Non veg Biryani
<li>Tandoori Naan
<li>Plain Roti
<li>Kulcha
<li>Puri(4)
<li>Lacha Paratha
<li>Stuffed Paratha with dahi
<li>Stuffed Paratha
<Strong> Dessert </strong><br>
<li>Ras Malai(per piece)
<li>Gajar ka halwa(seasonal)
<li>Dal ka halwa
<li>Gulab Jamun(2 piece)
<li>Kheer
<li>Kulfi
<li>Fried Ice Cream
<strong>Drinks</strong><br>
Rs.100
Rs.100
Rs.100
Rs.100
Rs.50
Rs.120
Rs.80
Rs.100
Rs.100
Rs.50
Rs.50
Rs.70
Rs.70<br><br><br>
Rs.50
Rs.60
Rs.60
Rs.60
Rs.70
Rs.50
Rs.100
Rs.100
Rs.100
Rs.100
Rs.100
Rs.100
Rs.200
Rs.200
Rs.200
Rs.200
Rs.200
Rs.200
Rs.150
Rs.100
Rs.60
Rs.70
Rs.80
Rs.50
Rs.70
Rs.120
Rs.20
Rs.10
Rs.20
Rs.10
Rs.50
Rs.100
Rs.60<br><br><br>
Rs.20
Rs.80
Rs.100
Rs.30
Rs.50
Rs.40
Rs.100<br><br><br>
Page | 180
D SAPPHIRE
<li>Fruit Beer
<li>Coldrink
<li>Hard Drinks (per peg)
<li>Cocktails
<li>Mocktails
<li>Jaljeera
<Strong>Special Packs</Strong>
<li>Fried Rice +Chilly Panner
<li>Pav Bhaji + Coldrink
<li>Pizza+MOmo
<li>Dosa Sambhar+ 2 idlis
</pre></ul></p>
</div>
Rs.150
Rs.80
Rs.100
Rs.300
Rs.150
Rs.40<br><br><br>
Rs.280
Rs.100
Rs.230
Rs.150<br><br><br>
Viewing
the
stills
from
our
restaurant
...
</p><br><br><br><br><br><br>
<div class="box-1"> <img src="style/images/art/res3.jpg" alt="" class="img-border imgindent"><br><br><br><br><br><br>
<center><br><br><p> Do the Bookings!!!</p><br><br><br>
<br><a href="check.html"><button>Book a table for yourself!!</button></a></center><br><br>
<br><br>
<br><br><br>
<center><br><br><p> Get a home delivery!!</p><br><br><br>
<br><a href="deliver.html"><button>Home Delivery!!</button></a></center><br><br>
<br><br>
<br><br><br><br>
</center>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #224E07; size: 5; font-size: large;"> Contact Us :: [email protected]
...<br><br> Phone no ::7507968233,9867176702 </p>
<p Style ="Color: Blue; Size: 5; font-size: large;">2012 Copyrighted Designzzz.com</p>
</div>
<div style="clear:both;"></div>
</div>
</body>
</html>
Books1.html
<html>
<head>
<title>BOOKING FORM</title><link rel="stylesheet" type="text/css" href="style.css"></head>
<body>
<form name="booking" method="post" action="book.php">
<fieldset>
<legend>Booking Form </legend>
Page | 181
D SAPPHIRE
<p>YOUR
NAME: <br><br><input
type="text"
name="mname" value=""><br>
<p>BOOKING DATE: <br><br><input
type="date"
name="bdate" value=""><br>
<p>TABLE NUMBER: <br><br>
<select name="number" id="rno" style="width:158px;">
<option value="none">----Choose the Room Number ----</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option><option value="5">5</option>
<option value="6">6</option></select>
<br>
<p>Facility ID: <br><br>
<select name="num" id="rno" style="width:158px;">
<option value="none">----Choose the Facility ----</option>
<option value="1">Candle Light Dinner</option>
<option value="2">Advance Booking</option>
<p><input type="submit" name="submit" value="submit">
</fieldset>
</form>
</body>
</head>
</html>
Book.php
<?php
$hostname="localhost"; //local server name default localhost
$username="root"; //mysql username default is root.
$password="";
//blank if no password is set for mysql.
$database="sapphire"; //database name which you created
$con=mysql_connect($hostname,$username,$password);
if(! $con)
{
die('Connection Failed'.mysql_error());
}
mysql_select_db($database,$con);
$originalDate = $_REQUEST['bdate'];
$newDate = date("Y-m-d", strtotime($originalDate));
$sql = mysql_query("SELECT BookDate,Tableno FROM rebook WHERE BookDate='".
$newDate."' && Tableno='".$_REQUEST['number']."'" );
if (mysql_num_rows($sql) >0) {
echo "This table is already booked for the following date plz try another date or room!!";
}
else
{
$sql="insert into rebook(Guname,BookDate,Tableno,RFid) values('".$_REQUEST['mname']."','".
$newDate."','".$_REQUEST['number']."', '".$_REQUEST['num']."')";
if($_REQUEST['num']==1)
Page | 182
D SAPPHIRE
$c=500;
else
$c=800;
$res=mysql_query($sql);
If($res)
{
Echo "Congrats!!! Your table is booked!!";
}
$s="insert into payments(Type,Charges,Date) values('Credit',$c,'".date('d'.'m'.'y')."')";
$re=mysql_query($s);
}
?>
Deliver.html
<html>
<head>
<title>DELIVER FORM</title><link rel="stylesheet" type="text/css" href="style.css"></head>
<body>
<form name="booking" method="post" action="deliver.php">
<fieldset>
<legend>Delivering Form </legend>
<p>YOUR
NAME: <br><br><input
type="text"
name="mname" value=""><br>
<p>ADDRESS: <br><br><input
type="text"
name="adr" value=""><br>
<p>Contact
Number: <br><br><input
type="text"
name="con" value=""><br>
<p>CHOOS YOUR PACKAGE: <br><br>
<select name="number" id="rno" style="width:158px;">
<option value="none">----Choose the Package ----</option>
<option value="1">Package 1</option>
<option value="2">Package 2</option>
<option value="3">Package 3</option>
<option value="4">Package 4</option>
<br>
<input type="submit" name="submit" value="submit">
</fieldset>
</form>
</body>
</head>
</html>
Deliver.php
<?php
$hostname="localhost"; //local server name default localhost
$username="root"; //mysql username default is root.
$password="";
//blank if no password is set for mysql.
$database="sapphire"; //database name which you created
Page | 183
D SAPPHIRE
$con=mysql_connect($hostname,$username,$password);
if(! $con)
{
die('Connection Failed'.mysql_error());
}mysql_select_db($database,$con);
If(isset($_REQUEST['submit'])!='')
{
$result = mysql_query("SELECT
Rate
FROM
deliver
WHERE
PackageId
='".
$_REQUEST['number']."'");
$row = mysql_fetch_row($result);
$i=$row[0];
$sql="insert
into
homedeliver(PackageId,Name,Address,Contact,Amount)
$_REQUEST['number']."','".$_REQUEST['mname']."',
values('".
'".$_REQUEST['adr']."',
'".
$_REQUEST['con']."',$i)";
$res=mysql_query($sql);
$s="insert into payments(Type,Charges,Date) values('Home delivery',$i,'".date('d'.'m'.'y')."')";
$re=mysql_query($s);
If($res)
{
Echo "Your delivery will be done in one hour.You have to pay Rs. ";
echo $i;
}
}
?>
Club.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/css/ie8.css" media="all">
<![endif]-->
<!--[if IE 9]>
<link rel="stylesheet" type="text/css" href="style/css/ie9.css" media="all">
<![endif]-->
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
Page | 184
D SAPPHIRE
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/ba5.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body class="single">
<div class="scanlines"></div>
<div class="header-wrapper opacity">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li><a href="index.php">Home</a>
</li>
<li><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
<li class="active"><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
Page | 185
D SAPPHIRE
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
</div><br><br>
<p>Experience the passion & privilege of membership. Membership in the Club allows you access
to a host of exclusive benefits and facilities</p>
<br><br>
img-indent"><br><br><br><br><br><br>
<p>Enjoy your life with your friends and family. Get whatever you like. Chit Chat with friends ....
Play games..... Enjoy Parties</p>
<br><br>
<div class="box-1"> <img src="style/images/art/res3.jpg" alt="" class="img-border imgindent"><br><br><br><br><br><br>
<p> Get maximum discounts after you get a membership... <br>Every time you want a party in an
occasion you have to go no where. <br>You will be our first priority with the maximum of discounts
we can provide with special gifts and arrangements!!! <br> <br> Membership is free for trial basis
then you can be our premium member with a very les amount and a very high priviliged life!!!</p>
<center><br><br><p> Click on the button to become a member!!!</p><br><br><br>
<br><a href="details.html"><button>Get the Membership</button></a></center><br><br>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #224E07; size: 5; font-size: large;"> Contact Us ::
Details.html
<html>
<head>
<title>REGISTRATION FORM</title><link rel="stylesheet" type="text/css" href="style.css">
<script>
function validate() {
document.write("good");
submitFlag = true;
if(document.registration.trans.value.length!=6){
submitFlag=false;
alert("invalid transaction id!! Try Again!!");
Page | 186
D SAPPHIRE
}
return submitFlag;
}
</script>
</head>
<body>
<form name="registration" method="post" onsubmit="return validate()" action="reg.php">
<!-- we will create registration.php after registration.html -->
<fieldset>
<legend>Sign Up Form </legend>
<p>NAME: <br><br><input
type="text"
name="mname" value=""><br>
<p>ADDRESS: <br><br><input
type="text"
name="addr" value=""><br>
<p>CONTACT NUMBER: <br><br><input type="text"
name="cont" value=""><br>
<p>EMAIL
ID: <br><br><input
type="text"
name="mail"
value=""><br>
<p>DATE OF BIRTH: <br><br><input type="date" name="dob"
value=""><br>
<p>TYPE: <br><br>
id="course" style="width:158px;">
<option value="none">----Choose the Type ----</option>
<option value="Temporary">Temporary</option>
<option value="Premium">Premium</option></select>
<br>
<p>OCCUPATION: <br><br><input
<select name="number"
type="text"
name="occu"
value=""><br>
<p>ENTER THE TRANSACTION NUMBER ON THE MEMBER SLIP OF YOUR PAYMENT
CARD: <br><br><input type="text" name="trans" value=""><br>
<p>USERNAME: <br><br><input
type="text"
name="name"
value=""><br>
<p>PASSWORD: <br><br><input type="password" name="password"
value=""><br>
<p>RE-PASSWORD:<br><br><input type="password" name="repassword" value=""><br>
<p><input type="submit" name="submit" value="submit">
</fieldset>
</form>
</body>
</head>
</html>
Reg.php
<?php
$hostname="localhost"; //local server name default localhost
Page | 187
D SAPPHIRE
$username="root"; //mysql username default is root.
$password="";
//blank if no password is set for mysql.
$database="sapphire"; //database name which you created
$con=mysql_connect($hostname,$username,$password);
if(! $con)
{
die('Connection Failed'.mysql_error());
}session_start();
$v=$_REQUEST['mname'];
$_SESSION['var'] = $v;
echo $v;
mysql_select_db($database,$con);
If(isset($_REQUEST['submit'])!='')
{
If($_REQUEST['mname']==''
||
$_REQUEST['name']==''
$_REQUEST['password']==''||
$_REQUEST['repassword']==''||
$_REQUEST['dob']==''||
$_REQUEST['number']==''||
$_REQUEST['mail']==''
||
||
$_REQUEST['addr']==''||
$_REQUEST['cont']==''
$_REQUEST['occu']==''|| $_REQUEST['trans']=='')
{
Echo "please fill the empty field.";
}
Else
{
$sql="insert
||
into
register1(Mname,Maddr,Mcont,Memail,username,password,MDob,Mtype,Moccu,Transaction_Num
ber)
values('".$_REQUEST['mname']."','".$_REQUEST['addr']."',
$_REQUEST['mail']."','".$_REQUEST['name']."',
$_REQUEST['dob']."',
$_REQUEST['trans']."')";
$res=mysql_query($sql);
$result = mysql_query("SELECT
'".$_REQUEST['cont']."','".
md5('".$_REQUEST['password']."'),'".
'".$_REQUEST['number']."','".$_REQUEST['occu']."','".
Mid
FROM
register1
WHERE
username
='".
$_REQUEST['name']."'");
$row = mysql_fetch_row($result);
$x=$_REQUEST['number'];
if($x=='Temporary')
{
$l=1;
}
if($x=='Premium')
{$l=2;
}
else
{$l=3;
}$i=$row[0];
$_SESSION['ch'] = $i;
Page | 188
D SAPPHIRE
$s="insert into level(mid,level) values($i,$l)";
$r=mysql_query($sql);
If($res)
{
Echo "Congrats!!! U R a member NOW U can login now with ur member id and password";
Echo "<br><br>Ur member id is ";
Echo $i;
include 'login.html';
}Else
{
Echo "Not a valid Transaction ID";
}
}
}
?>
Index1.php
<?php
require 'core.inc.php';
require 'connection.inc.php';
if(loggedin())
{
$rightvar=$_SESSION['user_id'];
$result = mysql_query("SELECT * FROM users WHERE id = $rightvar") or die(mysql_error());
$data = mysql_fetch_array($result);
$firstname=$data['firstname'];
$surname=$data['surname'];
$userid=$data['id'];
echo 'Welcome! ' . $firstname . ' ' . $surname .'<a href="logout.php"><input type="button"
value="Logout"/></a>';
}
else
{?>
<div align="center">
<form method="POST" action="login.inc.php">
Username: <input type="text" name="username">
Password:
<input
type="password"
name="password">
<input type="submit" value="Log in">
</form>
</div>
<?php
}
?>
Members.php
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
Page | 189
D SAPPHIRE
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/club.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
<p align=right><br><a href="login.html"><button>Logout</button></a></p><br><br>
</head>
<body>
<div class="header">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
Page | 190
D SAPPHIRE
<li class="active"><a href="index.html">Home</a>
</li>
<li><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<br><br><br><br><br>
<div class="wrapper">
<div class="intro"><Strong> Welcome member, </strong></div>
<center><?php
$v=$_SESSION['var'] ;
echo "<p> <font color=blue size='100pt'> $v </font> </p>";
$hostname="localhost"; //local server name default localhost
$username="root"; //mysql username default is root.
$password="";
//blank if no password is set for mysql.
$database="sapphire"; //database name which you created
$con=mysql_connect($hostname,$username,$password);
if(! $con)
{
die('Connection Failed'.mysql_error());
}
$result = mysql_query("SELECT Mid FROM register1 WHERE Mname ='".$v."'");
$row = mysql_fetch_row($result);
$i=$row[0];
$_SESSION['ch'] = $i;
?>
<center><br><a href="games.html"><button>Join Games</button></a></center><br><br>
<br><a href="gym.html"><button>Join Gym</button></a></center><br><br>
</center>
<div><Strong> We are happy to serve you with the benefits of our place!!!
</Strong></div>
<br><br><br><br><br></center>
<div id="slide">
<div class="slider" ">
Page | 191
D SAPPHIRE
<ul class="items">
<li><img src="style/images/club/c1.gif" alt=""></li>
<li><img src="style/images/club/c2.jpg" alt=""></li>
<li><img src="style/images/club/c3.jpg" alt=""></li>
<li><img src="style/images/club/c4.jpg" alt=""></li>
<li><img src="style/images/club/c6.jpg" alt=""></li>
<li><img src="style/images/club/c7.jpg" alt=""></li>
<li><img src="style/images/club/c5.jpg" alt=""></li>
</ul>
</div>
</div>
<br><br><br><br>
<div class="post format-chat box">
<h2 class="title";><a href="pics.html">Photo Gallery</a></h2>
<h2 class="title";><a href="news.html">News and Events</a></h2>
<h2 class="title";><a href="disc.html">Discount</a></h2>
</div>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #224E07; size: 5; font-size: large;"> Contact Us ::
Pics.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
Page | 192
D SAPPHIRE
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/pp.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body>
<div class="header">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li class="active"><a href="index.php">Home</a>
</li>
<li><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
Page | 193
D SAPPHIRE
</div>
</div>
<div class="clear"></div>
</div>
</div>
<br><br><br><br><br>
<img class="left" src="style/images/club/1.jpg" style="width:20%;height:20%;"/>
<img class="left" src="style/images/club/2.jpg"style="width:20%;height:20%;"/>
<img class="left" src="style/images/club/3.jpg"style="width:20%;height:20%;" />
<img class="left" src="style/images/club/4.jpg"style="width:20%;height:20%;"/>
<img class="left" src="style/images/club/5.jpg"style="width:20%;height:20%;"/>
<img class="left" src="style/images/club/6.jpg"style="width:20%;height:20%;"/>
<img class="left" src="style/images/club/7.jpg"style="width:20%;height:20%;" />
<img class="left" src="style/images/club/8.jpg"style="width:20%;height:20%;"/>
<img class="left" src="style/images/club/9.jpg"style="width:20%;height:20%;" />
<img class="left" src="style/images/club/10.jpg"style="width:20%;height:20%;"/>
<img class="left" src="style/images/club/11.jpg"style="width:20%;height:20%;" />
<img class="left" src="style/images/club/12.jpg"style="width:20%;height:20%;"/>
<img class="left" src="style/images/club/13.jpg"style="width:20%;height:20%;"/>
<img class="left" src="style/images/club/14.jpg"style="width:20%;height:20%;"/>
<br><br><br><br>
<p> Enjoy to the fullest and live ur life as u never did !!!!!<br><br><br><br>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #224E07; size: 5; font-size: large;"> Contact Us :: [email protected]
...<br><br> Phone no ::7507968233,9867176702 </p>
<p Style ="Color: Blue; Size: 5; font-size: large;">2012 Copyrighted Designzzz.com</p>
</div>
<div style="clear:both;"></div>
</div>
</body>
</html>
News.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
Page | 194
D SAPPHIRE
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/eve.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body>
<div class="header">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li class="active"><a href="index.php">Home</a>
</li>
<li><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
Page | 195
D SAPPHIRE
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<br><br><br><br><br>
<div class="wrapper">
<div class="intro"><Strong> Welcome member, Main events happened recently!!!!
</Strong></div>
<br><br><br><br><br> <center>
<p style="color:black">Valentine's Celebrations
<br><p style="color:black">Diwali Celebration
<br><p style="color:black">Holi Celebration
<br><p style="color:black">New Years Celebration
<br><p style="color:black">Other Festive Celebrations
<br><p style="color:black">Inter State Competiton (This can take u much higher from here!!!)
<br><p style="color:black">Dance and Singing Competitions
<br><p style="color:black">Fun Competitions for childrens
<br><p style="color:black">Events organised on request also
<br><p style="color:black"><strong> You will get a lot of things with just one membership!!
</strong> </center>
</div>
</div>
<br><br><br><br>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #224E07; size: 5; font-size: large;"> Contact Us ::
Disc.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
Page | 196
D SAPPHIRE
<meta
name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/bgg.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body>
<div class="header">
<div class="header">
<div class="logo"> <a href="index.php"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li class="active"><a href="index.html">Home</a>
</li>
Page | 197
D SAPPHIRE
<li><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="special.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<br><br><br><br><br>
<div class="header-wrapper opacity">
<div class="wrapper">
<p><strong> Valid Discounts for our Premium Members Available :- </strong>
<br><p> Members get a 30% huge discount on any party they want + one room free
<br><p> Members get a 20% discount on any tourism pack they pick
<br><p> Members get a 10% discount on rooms booking
<br><p> Members get a one time free offer for the restaurant (limited Period Offer)
<br><p> <strong> Stay tuned for more updates </strong>
</div>
</div>
<br><br><br><br>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #224E07; size: 5; font-size: large;"> Contact Us ::
Change.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Password Change</title>
</head>
<body>
Page | 198
D SAPPHIRE
<h1>Change Password</h1>
<form method="POST" action="change.php">
<table>
<tr>
<td>Enter your UserName</td>
<td><input type="username" size="10" name="username"></td>
</tr>
<tr>
<td>Enter your existing password:</td>
<td><input type="password" size="10" name="password"></td>
</tr>
<tr>
<td>Enter your new password:</td>
<td><input type="password" size="10" name="newpassword"></td>
</tr>
<tr>
<td>Re-enter your new password:</td>
<td><input type="password" size="10" name="confirmnewpassword"></td>
</tr>
</table>
<p><input type="submit" value="Update Password">
</form>
</body>
</html>
Change.php
<?php
$hostname="localhost"; //local server name default localhost
$username="root"; //mysql username default is root.
$password="";
//blank if no password is set for mysql.
$database="sapphire"; //database name which you created
$con=mysql_connect($hostname,$username,$password);
if(! $con)
{
die('Connection Failed'.mysql_error());
}session_start();
mysql_select_db($database,$con);
$username = $_POST['username'];
$password = $_POST['password'];
$newpassword = $_POST['newpassword'];
$confirmnewpassword = $_POST['confirmnewpassword'];
$password1=md5($password);
$password2=md5($newpassword);
$result = mysql_query("SELECT password FROM register1 WHERE
username='$username'");
if(mysql_num_rows($result)==0)
{
echo "The username you entered does not exist";
}
Page | 199
D SAPPHIRE
else if($password1!= mysql_result($result,0))
{
echo "You entered an incorrect password";
}
else if($newpassword==$confirmnewpassword)
{
$sql=mysql_query("UPDATE
register1
SET
password='$password2'
where
username='$username'");
if($sql)
{
echo "Congratulations You have successfully changed your password";
}
}
else
{
echo "Passwords do not match";
}
?>
<p><a href="index.php">Home</a>
Tourism.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,user-
scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/ba2.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
Page | 200
D SAPPHIRE
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body>
<div class="header">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/art/logon.jpg" alt=""> </a>
</div>
<div id="menu-wrapper">
<div id="menu" class="menu">
<ul id="tiny">
<li><a href="index.php">Home</a>
</li>
<li><a href="post.html">Wedding</a>
</li>
<li><a href="restaurant.html">Restaurant</a>
<li><a href="club.html">Club</a></li>
<li><a href="login.html">Login</a></li>
</li>
<li class="active"><a href="tourism.html">Tourism</a>
</li>
<li><a href="contact.html">Contact</a></li>
<li><a href="frameset/frameset.html">Specially For you!!!!</a></li>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<div id="slide">
<div class="slider" ">
<ul class="items">
<li><img src="style/images/art/tour1.jpg" alt=""></li>
<li><img src="style/images/art/tour2.jpg" alt=""></li>
<li><img src="style/images/art/tour3.png" alt=""></li>
<li><img src="style/images/art/tour4.jpg" alt=""></li>
Page | 201
D SAPPHIRE
<li><img src="style/images/art/tour6.jpg" alt=""></li>
<li><img src="style/images/art/tour7.jpg" alt=""></li>
<li><img src="style/images/art/tour8.png" alt=""></li>
<li><img src="style/images/art/tour9.jpg" alt=""></li>
<li><img src="style/images/art/tour10.jpg" alt=""></li>
<li><img src="style/images/art/tour11.jpg" alt=""></li>
<li><img src="style/images/art/tour5.jpg" alt=""></li>
</ul>
</div>
<a href="#" class="prev"> </a><a href="#" class="next"> </a> </div><div
class="scanlines"></div>
<div class="header-wrapper opacity">
<p><br><Br><br><br><br>Need a break from your daily routine and the boring life. Come visit us
and we will give you the best touring plans for you. You can go around with your friends and family
and have a memorable time over there.. We are always here for you!!!!</p>
</div>
<center>
<br>You can directly book your holiday from here!!
<br><br>
<a
href="paypal/products.php"target="_top"><button>Book
your
Tour!!
</button></a></body></html>
<br><br>
Your designer will be Mr. Harsh Singhal. If you want another designer talk there personally!!!Thank
You!!!<br><br><center>
<p> Here are some of the stills from our customers...... </p><bR><Br><br><br>
<div class="box-1"> <img src="style/images/art/ho1.jpg" alt="" class="img-border imgindent">
<br><br><br><br>
<div class="box-1"> <img src="style/images/art/ho2.jpg" alt="" class="img-border imgindent">
<br><br><br><br>
<div class="box-1"> <img src="style/images/art/ho3.jpg" alt="" class="img-border imgindent">
<br><br><br><br>
<div class="box-1"> <img src="style/images/art/ho4.jpg" alt="" class="img-border imgindent">
<br><br><br><br>
<div class="footer-wrapper">
<div id="footer">
<p Style="Color: #224E07; size: 5; font-size: large;"> Contact Us ::
Page | 202
D SAPPHIRE
Products.php
<?php
session_start();
$_SESSION['uid'] = '1';
$_SESSION['username'] = 'Fellow Traveller';
$paypal_url='https://www.sandbox.paypal.com/cgi-bin/webscr';
$paypal_id='[email protected]'; // [email protected]
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Products | Store</title>
<style type="text/css">
body{
width: 900px;
margin: 0 auto;
margin-top: 50px;
font:bold 14px arial;
}
.product{
float: left;
margin-right: 10px;
border: 1px solid #cecece;
padding: 10px;
margin-right: 20px;
}
.price{
text-align: right;
}
.btn{
text-align: center;
}
</style>
</head>
<body>
<h2>Welcome, <?php echo $_SESSION['username'];?></h2>
<?php
require 'db_config.php';
$result = mysql_query("SELECT * from products");
while($row = mysql_fetch_array($result)) {
?>
<div class="product">
<div class="name">
<?php echo $row['product'];?>
</div>
<div class="price">
Price: <?php echo $row['price'];?>$
</div>
<div class="btn">
<form action='<?php echo $paypal_url; ?>' method='post' name='frmPayPal1'>
<input type='hidden' name='business' value='<?php echo $paypal_id;?>'>
<input type='hidden' name='cmd' value='_xclick'>
Page | 203
D SAPPHIRE
<input type='hidden' name='item_name' value='<?php echo $row['product'];?>'>
<input type='hidden' name='item_number' value='<?php echo $row['pid'];?>'>
<input type='hidden' name='amount' value='<?php echo $row['price'];?>'>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='currency_code' value='USD'>
<input type='hidden' name='handling' value='0'>
<input type='hidden' name='cancel_return' value='http://localhost/paypal/cancel.php'>
<input type='hidden' name='return' value='http://localhost/paypal/success.php'>
<input
src="https://www.sandbox.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif"
type="image"
border="0"
Contact.php
<?php
/* Set e-mail recipient */
$myemail = "[email protected]";
/* Check all form inputs using check_input function */
$yourname = check_input($_POST['yourname'], "Enter your name");
$subject = check_input($_POST['subject'], "Write a subject");
$email = check_input($_POST['email']);
$website = check_input($_POST['website']);
$likeit = check_input($_POST['likeit']);
$how_find = check_input($_POST['how']);
$comments = check_input($_POST['comments'], "Write your comments");
/* If e-mail is not valid show error message */
if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))
{
show_error("E-mail address not valid");
}
/* If URL is not valid set $website to empty */
if (!preg_match("/^(https?:\/\/+[\w\-]+\.[\w\-]+)/i", $website))
{
$website = '';
}
/* Let's prepare the message for the e-mail */
$message = "Hello!
Page | 204
D SAPPHIRE
Email.php
<form method= "post" action= "em.php" />
Page | 205
D SAPPHIRE
<table>
<tr>
<td>Your Name: </td>
<td><input name= "name" type= "text"/></td>
</tr>
<tr>
<td>Your e-mail address: </td>
<td><input name= "email" type= "text"/></td>
</tr>
<tr>
<td>Your message: </td>
<td><textarea name= "question" cols= "20" rows= "6"></textarea></td>
</tr>
<tr>
<td></td>
<td><input name= "buttonPressed" type= "submit" value= "Send E-mail!" /></td>
</tr>
</table>
</form>
<?php ?>
Em.php
<?php
$hostname="localhost"; //local server name default localhost
$username="root"; //mysql username default is root.
$password="";
//blank if no password is set for mysql.
$database="sapphire"; //database name which you created
$con=mysql_connect($hostname,$username,$password);
if(! $con)
{
die('Connection Failed'.mysql_error());
}
mysql_select_db($database,$con);
$sql="insert
into
email(name,eaddr,message)
values('".$_REQUEST['name']."','".
$_REQUEST['email']."', '".$_REQUEST['question']."')";
$res=mysql_query($sql);
If($res)
{
echo "Your message has been sent!! We will soon get back to you . Thank You for contacting us!!";
Echo $_REQUEST['name'];
?>
<br><a href="contact.html"><button>Go Back</button></a></center><br><br>
<br><br>
<?php
}
Else
{
Echo "There is some problem in sending mail!!!Try Again Later!";
}
?>
Frameset.html
Page | 206
D SAPPHIRE
<html>
<head>
<title> Welcome to our special tag.. You can view a list of extra services provided to you from here.
</title>
</head>
<frameset rows="100%" cols="20%,60%,*">
<frame src="slidebar1.html">
<frame src="home.html" name="abhi">
<frame src="slidebar2.html">
</frameset>
</html>
Disc.html
<html>
<head>
<title>
</title>
</head>
<body style="background-color:yellow"> <div class="intro"style='text-align:left'>
Page | 207
D SAPPHIRE
<hr><hr>
<img src="di2.jpg" border="2" style="border:2px solid black;"/><br><br>
<br>
<br>
NEW
AGE
SOUND
&
LIGHTING<br><br><br><a
href=http://www.newasal.com>http://www.newasal.com</a>
<br><br>At New Age Sound & Lighting we will work with you every step of the way when
planning the entertainment for your wedding. We come equipped with a full array of lighting to
compliment your wedding theme and colors. Our staff is
accessible prior, during, and post your event to ensure that we have satisfied all of your
entertainment needs<hr><hr>
<img src="di3.jpg" border="2" style="border:2px solid black;"/><br><br>
<br>
<br>
<br>
CHRIS
HOLLYWOOD
PRODUCTIONS<br><a
href=http://www.chrishollywoodproductions.com>http://www.chrishollywoodproductions.com</a>
<br><br>
Chris Hollywood Productions specializes in: AV & Event Production, DJ, MC, Live &
Extraordinary Entertainment, On-SIte Photo Printing, Helix Candle Luminaries + Dcor Solutions
& Spiral Melt Candles as Gifts.
On Your Special Day You Deserve Nothing but the Best!
We are committed to assisting our clients in designing & creating truly memorable events. Our
experienced team will transform your creative vision into a reality & will bring your event to life!
We proudly provide supreme product & service solutions to enhance and transform your event into
an unforgettable experience!
Chris Hollywood Productions Primary Goal is Customer Service Excellence!
Our clients visions & wishes are the foundation of the work that we do. We work with our clients,
their chosen venues & often even their event and dcor planners too to create a custom game plan
that ensures that all-important details are never overlooked. Most importantly, we make sure that all
your unique needs are consistently handled and met with the utmost professionalism which rivals all
competition!
Trust us to Create & Deliver the Event Experience of your Dreams!
It is our companys mission to consistently craft event experiences that are stylishly stunning,
unique, memorable and most importantly successful, fun & exciting to be a part of!
<hr></body></html>
Page | 208
D SAPPHIRE
Flowers.html
<html>
<head>
<title>
</title>
</head>
<body style="background-color:yellow"> <div class="intro"style='text-align:left'>
<br><br><a
href=http://www.gattoflowers.ca>http://www.gattoflowers.ca</a>
<br>Gatto Flowers has been a family business for over 30 years. Our original and creative work has
made visions become a reality. As a leading florist, we take pride in everything we do and will work
hard to make sure you are 100% satisfied with
our creations. Our breadth and depth of offering is extensive and will work with any budget to
ensure your day is as you imagine it to be. Let us make the difference. For a free consultation at no
obligation, please call us at 905-670-0636.<br><br>
<br><br>
<hr><hr>
<img src="f2.jpg" border="2" style="border:2px solid black;"/><br><br>
<br>
<br>
ACADEMY
FLORIST
WEDDINGS<br><br><br><a
href=http://www.weddingflowerswinnipeg.com/>http://www.weddingflowerswinnipeg.com/</a>
<br><br>Academy Florist has been a top Winnipeg wedding florist for over thirty years, bringing
plenty of experience, dedication, and style to each wedding we work on. From wedding bouquets,
bridesmaid bouquets, boutonnieres, ceremony flowers and centrepieces, we will design the perfect
wedding flowers for you.<br>
<hr><hr>
<img src="f3.jpg" border="2" style="border:2px solid black;"/><br><br>
<br>
<br>
<br>
BELEZA
FLORAL
AND
DECOR<br><a
href=http://www.belezafloralanddecor.com/>http://www.belezafloralanddecor.com/</a>
<br><br>
Page | 209
D SAPPHIRE
We are an up and coming wedding and event florist serving the greater Toronto area. Weddings are
our passion! We love taking a bride and grooms vision for their special day and designing unique
and beautiful bouquets, boutonnieres, centerpieces and any other special arrangements needed.
Beleza Floral and Dcor will go through every detail with the lucky couple and ensure that every
floral
aspect of their wedding represents them to the fullest and will have their guests talking about their
wedding for years to come! If you would like to discuss your wedding give us a call or drop us an
email to book your free consultation today!
<hr></body></html>
Footwear.html
<html>
<head>
<title>
</title>
</head>
<body style="background-color:red"> <div class="intro"style='text-align:left'>
Page | 210
D SAPPHIRE
<hr><hr>
</body></html>
Gift.html
<html>
<head>
<title>
</title>
</head>
<body style="background-color:yellow"> <div class="intro"style='text-align:left'>
<br><br><a
href=http://www.giftsforeveryreason.com/>http://www.giftsforeveryreason.com/</a>
<br>In business for over 9 years, nominated BEST Gift Shop in Whitby/Oshawa, winner of
numerous awards, and highlighted in Whitbys Snap Newspaper. ALL Designing, Photography and
Basket Assembly are done ON SITE by OUR STAFF to ensure the best price, quality and freshness
to you. FREE Delivery anywhere in ONTARIO and QUEBEC shipping across Canada at
discounted rates. <br> Savoury, Vegan, Gluten/Nut Free, Sugar Free, Spa and more.
15 Lismer Dr<br>
Whitby, ON
<br>
L1n9A3<br><br>
<hr><hr>
</body></html>
h.html
<html>
<head>
</head>
<body style="background-color:red"> <div class="intro"style='text-align:left'>
<br>
<br>
<div class="intro"style='text-align:left'>
Want to return to your Home page.Click below:<br><br>
<a href="../index.php"target="_top"><button>Go To Home Page</button></a>
</body></html>
Page | 211
D SAPPHIRE
Ho.html
<html>
<head>
<title>
</title>
</head>
<body style="background-color:yellow"> <div class="intro"style='text-align:left'>
<img src="h1.jpg" border="2" style="border:2px solid black;"/><br><br>
<br>
<br>
DETAIL DESIGN GALLERY <br><br>
<br>Detail Design Gallery has a reputation for fine art hosting and original, creative framing. If you
are looking for the perfect gift or framing the wedding pictures, this is a place to see.
Located in a historic house in the heart of Old Maple (Vaughan) The Gallery takes pride in
unparalleled service, attention to detail, knowledgeable advice. We carry fine art pieces (painting,
glass, sculpture) as well as a refined selection of giclee prints. Our extensive choice of framing
mouldings makes Detail design Gallery suitable for big or small budgets without compromising the
perfect solution for any framing needs.
<br><br>
See
you
in
the
Gallery!<br><a
[email protected]>[email protected]</a><br>
<hr><hr>
<img src="h2.jpg" border="2" style="border:2px solid black;"/><br><br>
<br>
<br>
PALITURE
CUSTOM
FURNITURE<br><br><br><a
href=http://www.paliture.com>http://www.paliture.com</a>
<br><br>Rustic and stylish furniture to suit your everyday needs.
All solid wood design, hand crafted from new and reclaimed Canadian white pine.
Hand finished layering technique for exceptional depth of color and durability.
Specializing in Dining & Breakfast Tables, Bars, Consoles & Buffet, Wine Racks, Wall &
Bookshelves, Storage Benches, Coffee & Accent Tables, Beds & Headboards, Bedside Tables and
Dressers
<br>Custom size any piece to fit your home. Its not just furniture, its a work art.
<br>57 Ferris Lane
Page | 212
D SAPPHIRE
<br>Alliston, ON
<br>
L9R0J3<br>
<hr><hr>
<br>
<br>
<br>
POTTERY BARN<br><a href=http://www.potterybarn.ca/>http://www.potterybarn.ca/</a>
<br><br>
Pottery Barn home furnishings are exceptional in comfort, style, quality and value. Our inhouse
designers draw inspiration from around the world to create an exclusive collection of furniture,
bedding, decorative accessories, dinnerware and more for every room in the home. Through our
partnership with global provider FiftyOne, most items are now available with international shipping
to over 75 countries;
<hr></body></html>
Home.html
<html>
<head> <strong> Home
</head>
<br>
<br>
<div class="intro"style='text-align:left'>
This page let you view the special and different facilities our place provides to you.<br><br>
Page | 213
D SAPPHIRE
Welcome to our special tag.. You can view a list of extra services provided to you from here.</body></html>
Jewel.html
<html>
<head>
<title>
</title>
</head>
AVENUE
COLLECTION<br><br><a
[email protected]>[email protected]</a>
<hr><hr>
<img src="j2.jpg" border="2" style="border:2px solid black;"/><br><br>
<br>
<br>
Page | 214
D SAPPHIRE
FERI
FASHION
HOUSE
GLOBAL
WEALTH
TRADE<br><br><a
href=http://www.globalwealthtrade.com/marissarimbao>http://www.globalwealthtrade.com/marissarimbao</
a>
<br><br>Feri Fashion House is the fastest growing luxury designer in the world since 2007. It is the designer
most often seen on the Red Carpet and on Hollywood stars. The Feri line contains exquisitely crafted pieces
of designer jewelry, timepieces, sunglasses called shields, designer hand bags and wallets. Constructed with
the best raw materials available which includes 925-940 silver, premium high tech ceramic, premium grade
tungsten carbide and the GWT exclusive plangsten blend. The 19k line offers bridal engagement rings as well
as especially designed product pieces like rings, earrings and pendants. Our Feri Mosh 21k custom made line,
combined with the worlds purest jewelry and Feri Mosh cutting edge design makes the 21k prestige designer
line the worlds most precious and collectible jewelry.<hr><hr>
<img src="j3.jpg" border="2" style="border:2px solid black;"/><br><br>
<br>
<br>
<br>
RANDOR JEWELLERY INC
<br><a href=http://www.randor.com>http://www.randor.com</a>
For 25 years, Randor Jewellery has specialized in providing custom diamond engagement rings & wedding
bands & wedding rings to brides & grooms in the Toronto area. We have a large selection of ready-made
jewellery, but if you dont find something that you like, we can absolutely create something made custom,
just for you, at a great price!
Randor Jewellery is a member of the Canadian Jewellers Association (CJA) & the Jewellers Vigilance
Committee, both of which hold high standards of professional conduct, ethics & integrity. Were also
graduated of the prestigious Gemological Institute of America.
Page | 215
D SAPPHIRE
Let us help you choose the perfect piece for your special occasion.
<br><br>
<hr></body></html>
Pic.html
<html>
<head>
<title>
</title>
</head>
PHOTOBOOTH
COMPANY
<br><br><a
href=http://www.mdrnphotoboothcompany.com>http://www.mdrnphotoboothcompany.com</a>
Page | 216
D SAPPHIRE
We pride ourselves on giving our customers fun, high-quality photo experiences that make for long-lasting,
unique memories, like when Anne Hathaway and James Franco hosted the Oscars only this time people
will like it!
ITS MORE THAN JUST A POINT, DUCK LIPS, AND CLICK EXPERIENCE WHEN WERE AT YOUR
PARTY.
Our photobooths are equipped with high quality professional cameras that are capable of taking videos and
pictures. Get your photos printed instantly in 26 strips or on a 46 sheet.
WELL MAKE YOUR TIME IN FRONT OF THE CAMERA THAT MUCH MORE SPECIAL.
If youre looking for something extra specific, we also offer custom props and backdrops to suit the specifics
of your event so that your guests can do more than duck lips and peace signs! You can make your event as
wacky as a Lady Gaga concert or as pristine as a Real Housewifes living room. All of the props for your
event will be beautifully displayed on a decorated prop table because you deserve more than a folding table
(splinters optional).
Page | 217
D SAPPHIRE
TAKE
MY
PHOTO
PHOTO
BOOTH
RENTALS<br><br><br><a
href=http://www.weddingflowerswinnipeg.com/>http://www.weddingflowerswinnipeg.com/</a>
Our Photo Booth rental is a great addition to your wedding, birthday party, corporate event, or any special
event. Our ultra-compact and versatile photo booth is built with the latest camera and printer technology.
Professional Photos + Quality Prints + Award Winning Customer Service = 5 Star Rating
Make your next event one to remember with Take My Photo. We are 100% Certified Fun!<hr><hr>
<img src="ph3.jpg" border="2" style="border:2px solid black;"/><br><br>
<br>
<br>
<br>
LOL
PHOTO
BOOTH<br><a
href=http://www.lolphotoboothgta.com>http://www.lolphotoboothgta.com</a>
<br><br>
We are a fully enclosed or open-air photo booth that can be setup at any venue. Our mission is to make your
event fun, exciting and memorable. Call us today for further details.<hr></body></html>
Rin.html
Page | 218
D SAPPHIRE
<html>
<head>
<strong>RINGS
</head>
<br>At The Den we believe that the jewellery you wear on your wedding day should be crafted with love,
attention and above all be as unique and special as you and your partner are. Our Wedding Packages are
tailored to allow you to be integral
in the design process and most importantly in the creation of your jewellery.
In this private workshop, you and your partner will share the romance of making your own wedding rings
with the help of an experienced goldsmith. You can choose from a variety of metals and widths and can
infuse your own style and flare into your rings.
The memories you create during this unique and remarkable experience will be as beautiful as the rings
themselves, and both will last a lifetime.
Page | 219
D SAPPHIRE
<hr><hr>
</body></html>
Ring.html
<html>
<head>
<title> RINGS </title>
</head>
<br>At The Den we believe that the jewellery you wear on your wedding day should be crafted with love,
attention and above all be as unique and special as you and your partner are. Our Wedding Packages are
tailored to allow you to be integral
in the design process and most importantly in the creation of your jewellery.
Page | 220
D SAPPHIRE
In this private workshop, you and your partner will share the romance of making your own wedding rings
with the help of an experienced goldsmith. You can choose from a variety of metals and widths and can
infuse your own style and flare into your rings.
The memories you create during this unique and remarkable experience will be as beautiful as the rings
themselves, and both will last a lifetime.
<hr><hr>
</body></html>
Slidebar1.html
<html>
<head>
<title>
</title>
</head>
<body style="background-color:orange">
Page | 221
D SAPPHIRE
<a href="pic.html" target="abhi"> Photo Booths </a><br>
<a href="rin.html" target="abhi">Rings </a><br>
<a href="h.html" target="abhi">Go Back </a><br>
</body>
</html>
Slidebar2.html
<html>
<head>
<title>
</title>
</head>
<body style="background-color:green">
</body>
Page | 222
D SAPPHIRE
</html>
Welcome.html
<html>
<head>
<title>
</title>
</head>
<body style="background-color:grey;">
<h1 style="text-align:center">Welcome to the Future World</h1>
</body>
</html>
Welcomeframe.html
<html>
<head>
<title>
</title>
</head>
Page | 223
D SAPPHIRE
<frame src="frameset.html">
</frameset>
</html>
Wine.html
<html>
<head>
</head>
<br>
<br>
ANDREW PELLER LIMITED <br><br><a href=www.andrewpeller.com>www.andrewpeller.com</a>
<br>With a focus on serving the needs of all wine consumers, the Company produces and markets personal
winemaking products through Global Vintners Inc., the world leader in the consumer-made wine industry.
Global Vintners manufacturers and distributes products worldwide under the main brands of Winexpert,
Vineco, Wine Kitz and Artful Winemaker. In addition, the Company owns and operates Vineyards Estate
Wines, Aisle 43 and WineCountry Vintners, independent wine retailers in Ontario with more than 100 wellpositioned retail locations. The Companys products are sold predominantly in Canada. The company also
represents a broad range of international brands through its two import divisions, Grady Wine Marketing in
British Columbia, Alberta, Saskatchewan and Manitoba, and The Small Winemakers Collection in Ontario.
Page | 224
D SAPPHIRE
<hr><hr>
</body></html>
Admin.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
Page | 225
D SAPPHIRE
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/red.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
Page | 226
D SAPPHIRE
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body>
<div class="header">
<div class="header">
<div class="logo"> <a href="index.html"> <img src="style/images/bg/logo.png" alt=""> </a> </div>
<img src="style/images/bg/ad.jpg" alt="" class="img-border img-indent">
<br>
</div>
<center>
<div class="intro" style='text-align:left'>Admin can see the reports and control the functioning
</div>
<br><br><br>
<a href="rsale.html"><button>Add the Restaurant Sale Entry</button></a><br><br>
<a href="bid.html"><button>Check the Booking Details</button></a><br><br>
<a href="park.html"><button>Add the Parking Details</button></a><br><br>
Page | 227
D SAPPHIRE
<a href="add.html"><button>Add the Sales Entry</button></a><br><br>
<a href="adetails.html"><button>Add a user</button></a><br><br>
<a href="index.php"><button>Logout</button></a><br><br>
Rsale.html
Page | 228
D SAPPHIRE
<html>
<head>
<title>RESTAURANT
DAILY
SALES
FORM</title><link
rel="stylesheet"
type="text/css"
href="style.css"></head>
<body>
ORDERED: <br><br><input
type="text"
name="food" value=""><br>
<p>BILL: <br><br><input
type="text"
name="bill"
value=""><br>
</body>
</head>
</html>
</center>
Page | 229
D SAPPHIRE
Rsale.php
<?php
$hostname="localhost"; //local server name default localhost
$username="root"; //mysql username default is root.
$password="";
mysql_select_db($database,$con);
If(isset($_REQUEST['submit'])!='')
{
Page | 230
D SAPPHIRE
{
$sql="insert
into
restaurant_sale(GuName,GuMenu,GuSale,Date)
values('".$_REQUEST['gname']."','".
$_REQUEST['food']."', '".$_REQUEST['bill']."','".date('d'.'m'.'y')."')";
$res=mysql_query($sql);
$s="insert into payments(Type,Charges,Date) values('Credit','".$_REQUEST['bill']."','".date('d'.'m'.'y')."')";
$re=mysql_query($s);
If($res)
{
Echo "Sale is updated";
include 'admin.html';
}Else
{
Echo "There is some problem in inserting record";
}
}
}
?>
Page | 231
D SAPPHIRE
Bid.html
<html>
<head>
<title>DETAILSFORM</title><link rel="stylesheet" type="text/css" href="style.css"></head>
<body>
</body>
</head>
</html>
Chbid.php
<html>
Page | 232
D SAPPHIRE
<img src='style/images/bg/rep1.jpg' style='position:fixed;top:0px;left:0px;width:100%;height:100%;z-index:1;'>
<?php
echo "<br><br><center><strong>Booking Details!!!! <br><br>";
$con=mysqli_connect("localhost","root","","sapphire");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
$result
mysqli_query($con,"SELECT
fname,lname,saddr,city,state,zip,country,phone,email,hall,party,rooms,date,eplan,theme,boutique,parlour,dev
ent,hsuite,cartoons,boid,amount FROM bookbanquet where boid='".$_REQUEST['bi']."'");
<th>Last Name</th>
<th>Address</th>
<th>City</th>
<th>State</th>
Page | 233
D SAPPHIRE
<th>Zip Code</th>
<th>Country</th>
<th>Phone</th>
<th>Email</th>
<th>Hall</th>
<th>Party</th>
<th>No.of Rooms</th>
<th>Date</th>
<th>Event Planner</th>
<th>Theme</th>
<th>Boutique</th>
<th>Parlour</th>
<th>Dance Events</th>
<th>Honeymoon Suite</th>
<th>Cartoons</th>
<th>Booking ID</th>
<th>Amount</th></tr>";
Page | 234
D SAPPHIRE
while($row = mysqli_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['fname'] . "</td>";
echo "<td>" . $row['lname'] . "</td>";
echo "<td>" . $row['saddr'] . "</td>";
echo "<td>" . $row['city'] . "</td>";
echo "<td>" . $row['state'] . "</td>";
echo "<td>" . $row['zip'] . "</td>";
echo "<td>" . $row['country'] . "</td>";
echo "<td>" . $row['phone'] . "</td>";
echo "<td>" . $row['email'] . "</td>";
echo "<td>" . $row['hall'] . "</td>";
echo "<td>" . $row['party'] . "</td>";
echo "<td>" . $row['rooms'] . "</td>";
echo "<td>" . $row['date'] . "</td>";
echo "<td>" . $row['eplan'] . "</td>";
echo "<td>" . $row['theme'] . "</td>";
echo "<td>" . $row['boutique'] . "</td>";
echo "<td>" . $row['parlour'] . "</td>";
echo "<td>" . $row['devent'] . "</td>";
echo "<td>" . $row['hsuite'] . "</td>";
echo "<td>" . $row['cartoons'] . "</td>";
Page | 235
D SAPPHIRE
echo "<td>" . $row['boid'] . "</td>";
echo "<td>" . $row['amount'] . "</td>";
echo "</tr>";
}
echo "</table><br><br><br><Br>";
mysqli_close($con);
?>
<br><Br><br>
<input type=button onclick="window.print()" value='Print Report'>
<a href="admin.html"><button>Go Back</button></a><br><br>
Park.html
<html>
<head>
<title>PARKING FORM</title><link rel="stylesheet" type="text/css" href="style.css"></head>
<body>
Page | 236
D SAPPHIRE
<p>Car
Number: <br><br><input
type="text"
name="c1"
type="text"
name="c2"
value=""><br>
<p>Guest
Name: <br><br><input
value=""><br>
<p>Time
In: <br><br><input
type="text"
name="t1"
type="text"
name="t2"
value=""><br>
<p>Time
Out: <br><br><input
value=""><br>
</body>
</head>
</html>
Add.html
<html>
<head>
<title>RESTAURANT
DAILY
SALES
FORM</title><link
rel="stylesheet"
type="text/css"
href="style.css"></head>
<body>
Page | 237
D SAPPHIRE
<!-- we will create registration.php after registration.html -->
<fieldset>
<legend>Daily Sales Form </legend>
<p>Type Of Transaction: <br><br><input type="text" name="ty"
value=""><br>
<p>Charges: <br><br><input
type="text"
name="cha"
value=""><br>
</body>
</head>
</html>
Add.php
<?php
$hostname="localhost"; //local server name default localhost
$username="root"; //mysql username default is root.
$password="";
Page | 238
D SAPPHIRE
{
die('Connection Failed'.mysql_error());
}session_start();
mysql_select_db($database,$con);
If(isset($_REQUEST['submit'])!='')
{
If($_REQUEST['ty']=='' || $_REQUEST['cha']=='')
{
Echo "please fill the empty field.";
}
Else
{
$s="insert
into
payments(Type,Charges,Date)
values('".$_REQUEST['ty']."','".
$_REQUEST['cha']."','".date('d'.'m'.'y')."')";
$re=mysql_query($s);
If($re)
{
Page | 239
D SAPPHIRE
Echo '<font color="white">'."Sale is updated".'</font><br>';
include 'admin.html';
}Else
{
Echo "There is some problem in inserting record";
}
}
}
?>
Adetails.html
<html>
<head>
<title>REGISTRATION FORM</title><link rel="stylesheet" type="text/css" href="style.css"></head>
<body>
Page | 240
D SAPPHIRE
<p>NAME: <br><br><input
type="text"
name="mname"
value=""><br>
<p>ADDRESS: <br><br><input
type="text"
name="addr"
NUMBER: <br><br><input
type="text"
value=""><br>
<p>CONTACT
name="cont" value=""><br>
<p>EMAIL ID: <br><br><input type="text" name="mail" value=""><br>
<p>DATE
OF
BIRTH: <br><br><input
type="text"
name="dob"
value=""><br>
<p>TYPE: <br><br>
style="width:158px;">
<option value="none">----Choose the Type ----</option>
<option value="Temporary">Temporary</option>
<option value="Premium">Premium</option></select>
<br>
<p>OCCUPATION: <br><br><input type="text" name="occu" value=""><br>
<p>ENTER THE TRANSACTION NUMBER ON THE MEMBER SLIP OF YOUR PAYMENT
CARD: <br><br><input type="text" name="trans" value=""><br>
type="password"
name="password"
value=""><br>
<p>RE-PASSWORD:<br><br><input type="password" name="repassword" value=""><br>
<p><input type="submit" name="submit" value="submit">
</fieldset>
Page | 241
D SAPPHIRE
</form>
</body>
</head>
</html>
Areg.php
<?php
$hostname="localhost"; //local server name default localhost
$username="root"; //mysql username default is root.
$password="";
$v=$_REQUEST['mname'];
$_SESSION['var'] = $v;
echo $v;
Page | 242
D SAPPHIRE
mysql_select_db($database,$con);
If(isset($_REQUEST['submit'])!='')
{
$_REQUEST['password']==''||
$_REQUEST['repassword']==''||$_REQUEST['mail']==''
||
into
register1(Mname,Maddr,Mcont,Memail,username,password,MDob,Mtype,Moccu,Transaction_Number)
values('".$_REQUEST['mname']."','".$_REQUEST['addr']."',
$_REQUEST['mail']."','".$_REQUEST['name']."',
'".$_REQUEST['cont']."','".
md5('".$_REQUEST['password']."'),'".
$_REQUEST['dob']."', '".$_REQUEST['number']."','".$_REQUEST['occu']."','".$_REQUEST['trans']."')";
$res=mysql_query($sql);
If($res)
{
Echo "The user is succesfully added";
include 'admin.html';
}Else
{
Echo "There is some problem in inserting record";
Page | 243
D SAPPHIRE
}
}
}
?>
Del.html
<html>
<head>
<title>REGISTRATION FORM</title><link rel="stylesheet" type="text/css" href="style.css"></head>
<body>
USER-NAME: <br><br><input
type="text"
name="Uname" value=""><br>
<p><input type="submit" name="submit" value="submit">
</fieldset>
</form>
Page | 244
D SAPPHIRE
</body>
</head>
</html>
Del.php
<?php
$hostname="localhost"; //local server name default localhost
$username="root"; //mysql username default is root.
$password="";
mysql_select_db($database,$con);
If(isset($_REQUEST['submit'])!='')
{
If($_REQUEST['Uname']=='')
Page | 245
D SAPPHIRE
{
Echo "please fill the empty field.";
}
Else
{
$sql="delete from register1 where username='".$_REQUEST['Uname']."'";
$res=mysql_query($sql);
If($res)
{
Echo "User is deleted!!";
include 'admin.html';
}
Else
{
Echo "There is some problem in deleting record";
}
}
}
?>
Select.html
<!DOCTYPE HTML>
Page | 246
D SAPPHIRE
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/bgg.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
Page | 247
D SAPPHIRE
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<script>
Page | 248
D SAPPHIRE
function showUser(str) {
if (str=="") {
document.getElementById("txtHint").innerHTML="";
return;
}
if (window.XMLHttpRequest) {
// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
} else { // code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4 && xmlhttp.status==200) {
document.getElementById("txtHint").innerHTML=xmlhttp.responseText;
}
}
xmlhttp.open("GET","getuser.php?q="+str,true);
xmlhttp.send();
}
</script>
</head>
<body>
<br><br><br><br><br>
Page | 249
D SAPPHIRE
Choose a hall:
<form>
<select name="users" onchange="showUser(this.value)">
<option value="">Select:</option>
<option value="1">Vatika</option>
<option value="2">Celebration</option>
<option value="3">Meeting Room</option>
<option value="4">Board Room</option>
<option value="5">Mapple</option>
<option value="6">Shagun</option>
</select>
</form>
<br>
<div id="txtHint"><b></b></div>
<br><br><br>
</body>
</html>
Getuser.php
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
Page | 250
D SAPPHIRE
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/bgg.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
Page | 251
D SAPPHIRE
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<?php
$q = intval($_GET['q']);
$con = mysqli_connect('localhost','root','','sapphire');
if (!$con) {
die('Could not connect: ' . mysqli_error($con));
Page | 252
D SAPPHIRE
}
mysqli_select_db($con,"sapphire");
$res = mysqli_query($con,"SELECT Available FROM halls where Hid=$q");
while($row = mysqli_fetch_array($res))
{
$s=$row['Available'];
}
if($s=='yes')
{
$sql="update halls set Available='no'where Hid=$q";
$result = mysqli_query($con,$sql);
}
if($s=='no')
{
$sql="update halls set Available='yes'where Hid=$q";
$result = mysqli_query($con,$sql);
}
if($result)
echo"Your availability has been changed<br><br><br><br><br>";
Page | 253
D SAPPHIRE
mysqli_close($con);
?>
<br><br><br>
<a href="admin.html"><button>Go Back</button></a><br><br>
Select1.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
Page | 254
D SAPPHIRE
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/bgg.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
Page | 255
D SAPPHIRE
progressBar:false
})
});
</script>
</head>
<script>
function showUser(str) {
if (str=="") {
document.getElementById("txtHint").innerHTML="";
return;
}
if (window.XMLHttpRequest) {
// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
} else { // code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4 && xmlhttp.status==200) {
document.getElementById("txtHint").innerHTML=xmlhttp.responseText;
}
}
xmlhttp.open("GET","getuser1.php?q="+str,true);
Page | 256
D SAPPHIRE
xmlhttp.send();
}
</script>
</head>
<body>
<br><br><br><br><br>
Choose an event planner:
<form>
<select name="users" onchange="showUser(this.value)">
<option value="">Select:</option>
<option value="E1">Manish Mehrotra</option>
<option value="E2">Raj Arora</option>
<option value="3">Ayushman Khurana</option>
<option value="E4">Kanika Rawat</option>
<option value="E5">Abhinav</option>
</select>
</form>
<br>
<div id="txtHint"><b></b></div>
<br><br><br>
</body>
</html>
Getuser1.php
Page | 257
D SAPPHIRE
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/bgg.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
Page | 258
D SAPPHIRE
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
Page | 259
D SAPPHIRE
<?php
$q = intval($_GET['q']);
$con = mysqli_connect('localhost','root','','sapphire');
if (!$con) {
die('Could not connect: ' . mysqli_error($con));
}
mysqli_select_db($con,"sapphire");
$res = mysqli_query($con,"SELECT Available FROM halls where Hid=$q");
if($result)
echo"Your availability has been changed<br><br><br><br><br>";
mysqli_close($con);
?>
<br><br><br>
<a href="admin.html"><button>Go Back</button></a><br><br>
Page | 260
D SAPPHIRE
Ban.html
<html>
<head>
<title>BANQUET
TRANSACTIONNS
FORM</title><link
rel="stylesheet"
type="text/css"
href="style.css"></head>
<body>
of
Transaction: <br><br><input
type="text"
name="gname" value=""><br>
<p>Amount: <br><br><input
type="text"
name="amt"
type="date"
name="dt"
value=""><br>
<p>Date: <br><br><input
value=""><br>
</body>
</head>
</html>
Page | 261
D SAPPHIRE
Ban.php
<?php
$hostname="localhost"; //local server name default localhost
$username="root"; //mysql username default is root.
$password="";
mysql_select_db($database,$con);
If(isset($_REQUEST['submit'])!='')
{
$sql="insert
into
debit_transactions(reason,amount,date)
values('".$_REQUEST['gname']."','".
$_REQUEST['amt']."', '".$_REQUEST['dt']."')";
$res=mysql_query($sql);
$s="insert
into
payments(Type,Charges,Date)
values('Debit','".$_REQUEST['amt']."','".
$_REQUEST['dt']."')";
Page | 262
D SAPPHIRE
$re=mysql_query($s);
If($res)
{
Echo "Sale is updated";
include 'admin.html';
}Else
{
Echo "There is some problem in inserting record";
}
}
?>
Empl.php
<html>
<img src='style/images/bg/rep1.jpg' style='position:fixed;top:0px;left:0px;width:100%;height:100%;z-index:1;'>
<?php
echo "<center><strong><br><br><br>Employees<br><br>";
$con=mysqli_connect("localhost","root","","sapphire");
Page | 263
D SAPPHIRE
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
echo "Designers<br>";
$result = mysqli_query($con,"SELECT Deid,Dename,Deaddr,Decont,Defee FROM designer");
<th>Address</th>
<th>Contact Number</th>
<th>Fees</th>
</tr>";
while($row = mysqli_fetch_array($result))
{
echo "<tr>";
Page | 264
D SAPPHIRE
echo "<td>" . $row['Dename'] . "</td>";
<th>Address</th>
<th>Contact Number</th>
<th>Fees</th>
</tr>";
while($row = mysqli_fetch_array($result))
{
Page | 265
D SAPPHIRE
echo "<tr>";
<th>Address</th>
<th>Contact Number</th>
Page | 266
D SAPPHIRE
<th>Email</th>
<th>Work Experience(in years)</th>
<th>Fees</th>
</tr>";
while($row = mysqli_fetch_array($result))
{
echo "<tr>";
Page | 267
D SAPPHIRE
<th>Address</th>
<th>Contact Number</th>
<th>Fees</th>
</tr>";
while($row = mysqli_fetch_array($result))
{
echo "<tr>";
Page | 268
D SAPPHIRE
echo "</table>";
?>
<br><Br><br>
Special.html
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>D Sapphire</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<link rel="stylesheet" type="text/css" href="style/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="style/css/media-queries.css">
<link rel="stylesheet" type="text/css" href="style/js/player/mediaelementplayer.css">
<link
rel="stylesheet"
type='text/css'
href='http://fonts.googleapis.com/css?
family=Open+Sans:400,400italic,300italic,300,700,700italic|Open+Sans+Condensed:300,700'>
<script src="style/js/jquery-1.7.2.min.js"></script>
<script src="style/js/ddsmoothmenu.js"></script>
<script src="style/js/retina.js"></script>
<script src="style/js/selectnav.js"></script>
Page | 269
D SAPPHIRE
<script src="style/js/jquery.masonry.min.js"></script>
<script src="style/js/jquery.fitvids.js"></script>
<script src="style/js/jquery.backstretch.min.js"></script>
<script src="style/js/mediaelement.min.js"></script>
<script src="style/js/mediaelementplayer.min.js"></script>
<script src="style/js/jquery.dcflickr.1.0.js"></script>
<script src="style/js/twitter.min.js"></script>
<script>$.backstretch("style/images/bg/red.jpg");</script>
<script type="text/javascript" src="style/js/tms-0.4.1.js"></script>
<script>
$(document).ready(function(){
$('.slider')._TMS({
show:0,
pauseOnHover:true,
prevBu:'.prev',
nextBu:'.next',
playBu:false,
duration:800,
preset:'fade',
pagination:'.pags',
pagNums:false,
slideshow:7000,
Page | 270
D SAPPHIRE
numStatus:false,
banners:false,
waitBannerAnimation:false,
progressBar:false
})
});
</script>
</head>
<body>
<div class="header-wrapper opacity">
<center><p><strong> VIP Zone </strong>
<br><br><br>
<p><br><Br><br><br><br>
We have done mass caterings for many renowned companies. Following is a list of few of such renowned
companies,D Sapphire has been serving for:</p>
</div>
<center><p><strong> Our Clients </strong>
<br><br><br><br><br>
<img class="left" src="style/images/club/x1.jpg" style="width:20%;height:20%;"/>
<img class="left" src="style/images/club/x2.jpg"style="width:20%;height:20%;"/>
Page | 271
D SAPPHIRE
<br><br><br><br>
<a href="admin.html"><button>Go Back</button></a><br><br>
</body>
</html>
Table.php
<html>
<img src='style/images/bg/rep1.jpg' style='position:fixed;top:0px;left:0px;width:100%;height:100%;z-index:1;'>
<?php
echo "<center><strong><br><br><br>Viewing the sales details of restaurant <br><br>";
Page | 272
D SAPPHIRE
$con=mysqli_connect("localhost","root","","sapphire");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
<th>Guest Menu</th>
<th>Bill</th>
<th>Date</th></tr>";
while($row = mysqli_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['GuName'] . "</td>";
Page | 273
D SAPPHIRE
echo "<td>" . $row['GuSale'] . "</td>";
Tot.php
<html>
<img src='style/images/bg/rep1.jpg' style='position:fixed;top:0px;left:0px;width:100%;height:100%;z-index:1;'>
<?php
echo "<br><br><center><strong>Total Sales till now!!!! <br><br>";
$con=mysqli_connect("localhost","root","","sapphire");
// Check connection
if (mysqli_connect_errno())
{
Page | 274
D SAPPHIRE
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
</tr>";
while($row = mysqli_fetch_array($result))
{
$y=$row['1'];
if($y<=2014)
{
echo "<tr>";
echo "<td>" . $row['sum(Charges)'] . "</td>";
echo "<td>" . $row['1'] . "</td>";
echo "</tr>";
Page | 275
D SAPPHIRE
}}
echo "</table>";
mysqli_close($con);
?>
<br><Br><br>
Market.php
<html>
<head> <title>Marketing and Advertising </title>
</head>
<body>
<br>
Online Presence<br>
Nothing takes the place of a face-to-face, in-person, visit when choosing a banquet hall. Make it easier for
potential customers to select your site as one of the finalists by providing photos of the banquet hall on your
website. Include photographs of the rooms with descriptions of the size and how many people it holds under
different arrangements. If you specialize in weddings, then photographs of the room set up for wedding
receptions are ideal. Include parking facilities and any special amenities you offer.
<br><br>
Brochure<br>
Page | 276
D SAPPHIRE
It might seem old-fashioned, but a four-color brochure helps you show off your banquet hall. It's something
to leave behind on a sales call or to send out to prospective clients. Choose photographs that showcase
different types of events. Prospective corporate clients, for example, might conclude that because there isn't a
photo of a business event, the hall isn't appropriate for a business function.
<br><br>
Corporations and Businesses<br>
Businesses are the perfect clients for weekday and weeknight events, when your banquet hall probably has
space available. Send out invitations to visit your facility along with your brochure to the owners or CEOs of
local businesses. Sales meetings, corporate luncheons to thank customers, new product introductions or
retirement parties for key employees are all reasons to hire your banquet hall. Describe your ability to host
those types of business-related events in a cover letter.
<br><br>
Publicity<br>
Hosting a charity or fundraiser at a minimal fee, or perhaps just for the cost and preparation of the food, gives
back to the community. It's also an opportunity for your business to get favorable publicity. Ask the event
planner to include your banquet hall in any news releases, invitations and programs at the event. Maintain
your own publicity campaign throughout the year. Distribute news releases that include tips on what to look
for in a banquet hall, how to choose a banquet hall or how to know what size banquet hall the client needs.
Providing valuable information helps you build credibility for your business that will lead to future event
bookings.
<br><Br>
Promote Days Other than Saturdays for Weddings<br>
Wedding receptions are the backbone of banquet hall business. The wedding reception venue is often booked
12 months in advance or more. The downside is that weddings mostly take place on Saturdays. Offer
discounts for weddings held other days of the week, and let brides-to-be and your referral network know that
booking the event on other days and times means less expense.
<br><br><strong>Advertising<br>
It is being done in facebook and through brochures ....
<bR><br>Send sms time to time to your customers
Page | 277
D SAPPHIRE
All the Best!!
<a href="admin.html"><button>Go Back</button></a><br><br>
Tc.html
<html>
<head>
<title>REGISTRATION FORM</title><link rel="stylesheet" type="text/css" href="style.css"></head>
<body>
</body>
</head>
</html>
Tc.php
Page | 278
D SAPPHIRE
<html>
<img src='style/images/bg/rep1.jpg' style='position:fixed;top:0px;left:0px;width:100%;height:100%;z-index:1;'>
<?php
echo "<br><br><center><strong>Profit/Loss Statement<br><br>";
$con=mysqli_connect("localhost","root","","sapphire");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
$date = date_parse($_REQUEST['pl']);
$result = mysqli_query($con,"SELECT sum(Charges) FROM payments where Type!='Debit' and
year(Date)='".$_REQUEST['pl']."'");
while($row = mysqli_fetch_array($result))
$x= $row['sum(Charges)'];
Page | 279
D SAPPHIRE
$res = mysqli_query($con,"SELECT sum(Charges) FROM payments where Type='Debit'and year(Date)='".
$_REQUEST['pl']."'");
while($row = mysqli_fetch_array($res))
$y= $row['sum(Charges)'];
Page | 280
D SAPPHIRE
echo "<br><br>You were in loss This year. Your loss was Rs.";
echo $pl;
}
mysqli_close($con);
?>
<br><Br><br>
Chmem.php
<html>
<img src='style/images/bg/rep1.jpg' style='position:fixed;top:0px;left:0px;width:100%;height:100%;z-index:1;'>
<?php
echo "<br><br><center><strong>List of Members!!!! <br><br>";
$con=mysqli_connect("localhost","root","","sapphire");
// Check connection
if (mysqli_connect_errno())
{
Page | 281
D SAPPHIRE
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
$result
mysqli_query($con,"SELECT
<th>Member Name</th>
<th>Member Address</th>
<th>UserName</th>
<th>Password</th>
<th>Member Occupation</th>
Page | 282
D SAPPHIRE
</tr>";
while($row = mysqli_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['Mid'] . "</td>";
echo "<td>" . $row['Mname'] . "</td>";
echo "<td>" . $row['Maddr'] . "</td>";
echo "<td>" . $row['Mcont'] . "</td>";
echo "<td>" . $row['Memail'] . "</td>";
echo "</tr>";
}
echo "</table><br><br><br><Br>";
Page | 283
D SAPPHIRE
echo "<table border='1'>
<tr>
<th>Total Number of Members</th>
</tr>";
while($row = mysqli_fetch_array($res))
{
echo "<tr>";
echo "<td>" . $row['count(Mid)'] . "</td>";
echo "</tr>";
}
echo "</table>";
mysqli_close($con);
?>
<br><Br><br>
D SAPPHIRE
Page | 285
D SAPPHIRE
b) Errors may, however, take place if the environment where D Sapphire is installed is
not proper. Necessary checks have been incorporated where such error checking is
necessary.
c) Error might happen if a record which has been deleted is again sought to be deleted.
This might happen if user clicks the back button to load a page from the cache. To
handle such errors, the delete option also has error handling ability
d) Conditional checking is also implemented when the user logs in. There is a common
login form for all users. Based on the users username, the user is taken to the appropriate
homepage belonging to his/her category.
e) Validation has also been used in many places to detect whether primary key fields or
mandatory fields were left empty anywhere.
Page | 286
D SAPPHIRE
a) Since D Sapphire is a web based project, use of functions have been used to pass
values from one page to another. The PHP functions like $_POST and $_GET have been
used to pass such values as parameters.
b) Date validation has been performed in D Sapphire using the date_val() function
c) Apart
from the above important functions,
there are certain
other functions which are
Function
Parameter
Use
session_logged_in()
described
in a tabular manner:
session_begin_session()
session_gencode()
session_login($userID)
session_start_php3()
session_loadvars($php3SessionID)
session_killold()
Checkdata()
random($max)
None
Page | 287
D SAPPHIRE
5. Testing
5.1 Testing techniques and Testing strategies
The following Validation and Testing Strategies would be implemented for the
testing of D Sapphire.
1. Unit Testing
The purpose of unit testing in D Sapphire is to uncover defects using formal techniques.
Defects and deviations in Date formats, Special requirements in input conditions (for
example Text box where only numeric or alphabets should be entered), selection based on
Combo Boxs, List Boxs, Option buttons, Check Boxs would be identified during the
Unit Testing phase. Test Cases would be written based on the requirements mentioned in
the test conditions.
2. Integration Testing
During Integration Testing of D Sapphire, behaviour of the system on the whole is
observed. Individual modules are integrated and tested for the whole functionality. Test
Cases would be written for all the requirements mentioned in the test conditions.
3. System Testing
The goal of system testing in D Sapphire is to uncover defects while integrating hardware
and software system to verify that the system meets its specified requirements.
The following table describes the effort and the schedules for the testing activities.
D SAPPHIRE
Activity
Unit Testing
Integration Testing
System Testing
Start Date
15.08.2014
22.08.2014
01.09.2014
End Date
21.08.2014
31 .08.2014
06.09.2014
Duration
6 days
9 days
5 days
UTC-001
Test Phase
Unit Test
Functionality
Environment
Procedure
users of
Expected Outcome
Page | 289
D SAPPHIRE
UTC-002
Test Phase
Unit Test
Functionality
Environment
Procedure
Expected Outcome
UTC-003
Test Phase
Unit Test
Functionality
Environment
user
D Sapphire Home page for Administrator -> Create User option
Procedure
Expected Outcome
UTC-004
Test Phase
Unit Test
Functionality
Testing whether the website text box in Login -> Not a member
yet takes a value more than 6
Environment
Procedure
Expected Outcome
Page | 290
D SAPPHIRE
UTC-005
Test Phase
Unit Test
Functionality
Environment
Procedure
Expected Outcome
UTC-006
Test Phase
Unit Test
Functionality
Environment
Procedure
Expected Outcome
UTC-007
Test Phase
Unit Test
Functionality
Testing whether the website text box in Home-> Book Form takes
only number less than 10
Environment
Test
Case No.
Test
Phase
Procedure
Unit
Test
1Go to
home page and click the Book Button
Functionality
Environment
Expected Outcome
:
:
Procedure
Expected Outcome
Page | 291
D SAPPHIRE
ITC-001
Test Phase
Integration Test
Functionality
UTC-009
: D Sapphire Home page -> Booking Form
Test Phase
Functionality
Procedure
whether
the page
website
in Home->Tourism
takes
: : Testing1.Go
to home
and text
click box
on booking
form
Environment
Unit Test
2. when email
the form
only registered
ID is successfully submitted then a payment
slip is generated
D Sapphire
pagesure
for members
3. onecatering
has to make
if it is received by the user
Procedure
: 1Go to home page and click Tourism link
receiving
the
one
to bring it with him for
Expected Outcome
: 2. HereAfter
comes
a button
toslip
book
thehas
tour
Expected Outcome
Page | 292
D SAPPHIRE
STC-002
Test Phase
System Test
Functionality
Environment
Username
Password
Gg
Harendra
xx
farha
admin
ayu
hla
xx
farha20
admin
STC-001
Test Phase
System Test
Functionality
Environment
Procedure
Expected Outcome
Page | 293
D SAPPHIRE
Expected Outcome
Expected Outcome
STC-003
Test Phase
System Test
Functionality
Environment
Procedure
Expected Outcome
Page | 294
D SAPPHIRE
Test Case No.
Test Phase
Functionality
Environment
Procedure
Expected Outcome
Planner availability
option
1.
Go to Admin Home Page -> Change event planner availability
2. In the form, select the event planner whose availability you
want to change
3. Click on the Submit button
4. Click the Event Planner page and availability link
1. For the selected event planner availability will be changed
Expected Outcome
Procedure
Expected Outcome
availability
option
1.
Go to Admin Home Page -> Change hall availability
2. In the form, select the hall whose availability you want to
change
3. Click on the Submit button
4. Click the Hall page and availability link
1. Availability for the choosen hall will be changed
Page | 295
D SAPPHIRE
UTC-001
Functionality
Expected Outcome
Expected Outcome
5.3 Test
Testing
Phase
Page | 296
D SAPPHIRE
UTC-002
Functionality
Expected Outcome
Step No.
1.
Data Used
Click on the check members list
Actual Outcome
Password will be shown in hashing
form
Page | 297
D SAPPHIRE
UTC-003
Functionality
Expected Outcome
Step No.
1.
Data Used
Fill in the form with username as garima
Actual Outcome
Garima Chadha Duplicate user
entry
Page | 298
D SAPPHIRE
UTC-004
Functionality
Expected Outcome
Step No.
1.
Data Used
Actual Outcome
Fill in the form with transaction ID as Not a valid Transaction ID
123456789
UTC-005
Functionality
Expected Outcome
Invalid date
Step No.
1.
Data Used
Fill in the form with date as 02.14.20000
Actual Outcome
Invalid Date
Page | 299
D SAPPHIRE
UTC-006
Functionality
Expected Outcome
: Enter a number
Step No.
1.
Data Used
Fill in the form with AB
Actual Outcome
Enter a number
Page | 300
D SAPPHIRE
UTC-008
Functionality
Expected Outcome
Step No.
1.
Data Used
Fill in the form with 90
Actual Outcome
Page | 301
D SAPPHIRE
UTC-009
Functionality
Expected Outcome
Step No.
1.
Data Used
Fill in the form with [email protected]
Actual Outcome
Please make sure
you
have
ITC-001
Functionality
Expected Outcome
Step No.
1.
Data Used
Actual Outcome
Fill in the form and take payment receipt User will have
print out
manually
the
Page | 302
receipt
D SAPPHIRE
STC-001
Functionality
Expected Outcome
Step No.
1.
Data Used
Username harsh password sai
Actual Outcome
New User named harsh will be
created
Page | 303
D SAPPHIRE
Page | 304
D SAPPHIRE
STC-002
Functionality
Expected Outcome
Step No.
1.
Data Used
Username jatin password javi
Actual Outcome
In 1st option user as a member wll
Page | 305
D SAPPHIRE
STC-003
Functionality
Expected Outcome
Step No.
1.
Password Change
Data Used
Username jatin old password javi
Actual Outcome
Password is changed
Page | 306
D SAPPHIRE
STC-004
Functionality
Expected Outcome
Step No.
1.
Data Used
Username jatin
Delete user
Actual Outcome
User is deleted
Page | 307
D SAPPHIRE
STC-004
Functionality
Expected Outcome
: Booking ID is given
Step No.
1.
Data Used
Fill Booking Form
Actual Outcome
BookingIiD is given
Page | 308
D SAPPHIRE
STC-006
Functionality
Expected Outcome
Actual Outcome
Hall availability is changed
D SAPPHIRE
STC-007
Functionality
Expected Outcome
Actual Outcome
Event
Planner
availability
is
changed
Page | 310
D SAPPHIRE
STC-009
Functionality
Expected Outcome
Actual Outcome
Restaurant details will be added
Page | 311
D SAPPHIRE
STC-010
Functionality
Expected Outcome
Actual Outcome
Value will be added
Page | 312
D SAPPHIRE
Figure
Test Case
No.
UTC-001
UTC-002
UTC-003
UTC-004
Date
15/01/2014
15/01/2014
16/01/2014
16/01/2014
Pass /
Fail
Pass
Pass
Pass
Pass
UTC-005
UTC-006
UTC-007
17/01/2014
17/01/2014
19/01/2014
Pass
Pass
Pass
UTC-008
20/01/2014
Pass
UTC-009
21/01/2014
Pass
ITC-001
STC-001
22/01/2014
02/02/2014
Pass
Pass
STC-002
STC-003
STC-004
STC-005
5.20
Total
STC-006
STC-007
STC-008
STC-009
STC-010
03/02/2014
04/02/2014
05/02/2014
06/02/2014
Sale
Report
07/02/2014
09/02/2014
10/02/2014
11/02/2014
12/02/2014
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Comments
Tested with 4 different data sets
3 attempts made with different data
-st
Failed in 1 attempt. Code was rectified and 2
more attempts made
3 attempts made
Tested with 3 kinds of malformed email addresses
Tested with 3 kinds of malformed website
addresses. Also tried with and without http://
Failed in first two attempts. Code rectified and two
more tests were made
In the first attempt, the printout was going out of
the page. Rectified after changing page setup in
several attempts. Not a coding error.
-Tested using username belonging to all the
userlevels
-st
Failed in 1 attempt. Code rectified and re-tested
-4 attempts made with different data
------
Page | 313
D SAPPHIRE
Problem: The initial test attempt failed. The password was not getting stored in Hash form
Investigation: In coding when the password was getting inserted it was not converted in
hash form.
$sql="insert into register1(Mname,Maddr,Mcont,Memail,username,password,MDob,Mtype,Moccu,Transaction_Number) values('".$_REQUEST['mname']."','".
$_REQUEST['addr']."', '".$_REQUEST['cont']."','".$_REQUEST['mail']."','".$_REQUEST['name']."', '".$_REQUEST['password'].",'".$_REQUEST['dob']."', '".
$_REQUEST['number']."','".$_REQUEST['occu']."','".$_REQUEST['trans']."')";
$res=mysql_query($sql);
Page | 314
D SAPPHIRE
Problem: The initial test attempt failed. The date was not being tested.
Investigation: In coding the date was not being tested
Findings and Rectification: To check the date validity following code was added
$date = date_parse($_REQUEST['pl']);
if ($date["error_count"] == 0 && checkdate($date["month"], $date["day"], $date["year"]))
Page | 315
D SAPPHIRE
Problem: The initial test attempt failed. The userlevel textbox should take only numerical
values but it was taking alphabetical value and converting it to numerical values. However,
the underlying attribute in the table was numerical
Investigation: The textbox was designed to take any text value without any checks. The
underlying code in the textbox was like this: (Error is underlined)
<p>Enter the Booking ID: <br><br><input type="text" name="bi" value=""><br>
Findings and Rectification: The value to be taken should be a number . Thus it was made
as a number.
Page | 316
D SAPPHIRE
Problem: The initial test attempt failed. There was no option of logout.
Investigation: The page did not contain any option to log out.
Page | 317
D SAPPHIRE
However, applications should never connect to the database as for user , because these
users can execute any query at will, for example, modifying the schema (e.g. dropping
tables) or deleting its entire content.
All user creation, initial allocation of passwords and modification of user data are
done by the D Sapphire administrator after the users approach for registration
through official channel in an offline procedure. There can be automatic creation of
Page | 318
D SAPPHIRE
account only if one enters a transaction number which is valid and given while
is common to all the users of the system, including the D Sapphire administrator.
The users are granted with user levels which decides their handling in the system.
In the front end, the PHP code enforces the access rights to each page of the D
Sapphire website with the help of the user data contained in the backend database
Everytime the user tries to book or access something it is asked to verify his
member id.If the member id is correct he is permitted otherwise he is asked to
register himself first.
For example the following code Here it is asked to first verify your member id
which is allotted by the administrator
Page | 319
D SAPPHIRE
<div align="center">
<p>Firstly, We have to verify that you are a member or not</p><br><br>
<form method="POST" action="cc.php">
Enter your Member ID first : <input type="text" name="mid">
<input type="submit" value="Log in">
</form>
</div>
<?php
$dbc = mysql_connect('localhost','root','') or die("Cant connect :" . mysql_error());
mysql_select_db("sapphire",$dbc)
or
die("Cant connect :" . mysql_error());
$sql = mysql_query("SELECT Mname FROM register1 WHERE Mid='".$_REQUEST['mid']."'" );
if (mysql_num_rows($sql) >0) {
echo" Thank you for verifying";
header('Location: b1.html');
}
else
{
echo"Sorry! you are not registered !! Click on the link below to go to login page";?>
<form><input type="button" value="Go To Login Page" style="background-color:red"
onClick="window.location.href='login.html'"></form>
<?php
}
?>
Since D Sapphire is an online system, its website is accessible to all internet users.So it is
essential that proper security measures be implemented to prevent hackers and
unauthorized users from accessing the system. Keeping this in view,the following
measures have been taken to secure D Sapphire from unauthorized users:
D SAPPHIRE
username is same as the user-id of various users while the password may be
changed by the user subsequently. All users log in using a common login screen at
the D Sapphire login page. However, the user will be taken to his/her respective
Session Expiry Since HTTP is a stateless protocol, sessions are used to share data
which propagates from page to page in respect of a particular user. However, in a
system like D Sapphire where security is very important,care has to be taken to
expire the session if there is no user activity for a certain time.
Page | 321
D SAPPHIRE
Preventing SQL injection attack A SQL injection vulnerability can occur when a
poorly-written program uses user-provided data in a database query without first
validating the input. To prevent this kind of SQL injection attack the D Sapphire
user's input are checked for dangerous characters like single-quotes etc., which tells
the database exactly what to expect before any user-provided data is passed to it.
For example, if a user is asked for a user ID and password, and then checked by
passing the database a query and checking the result -
However, if a hacker is trying to attack the system, he may enter the following as his
password:
' OR '1'='1
This will return the username without validating the password and the malicious user can
gain entry in the application as a user of his choice. To prevent SQL injection attack
escaping dangerous characters from the user- submitted values, most particularly the single
quotes ('), semi-colon (;) etc. is required. In D Sapphire, the for_sql() function has been
used to escape dangerous characters from user submitted values, particularly single quotes.
$username = for_sql($_POST["username"]);
$password = for_sql($_POST["password"]);
Page | 322
D SAPPHIRE
} ?>
Firewall Though not a part of the software, the networks from where clients
access the system needs to be firewalled to prevent any intrusion
Preventing unvalidated input errors: Unvalidated input can help a hacker to gain
access to the system by adding codes with user inputs which may reveal the
internals of the server. In D Sapphire regular expressions have been used by proper
function to validate whether the user input conforms to the proper type.
Page | 323
D SAPPHIRE
It has been measured that the developer of D Sapphire can average 650 function points per
month when developing in PHP environment.
Adjusted Function Point Count Productivity for that language = Development Time
Page | 324
D SAPPHIRE
Assuming that the CTC for the developer is Rs. 1000/- per month,
we get
Apart from the software development cost, there are other costs incurred for implementing
the project, which are calculated under:
Since Free and Open Source Software (FOSS) are being used for the development and
deployment of the system, no additional costs are envisaged. However, for media, mailing
and other incidental charges, we may assume a cost of Rs.5000/- at the most for procuring /
downloading the software. Since we are opting for third party hosting, no additional
charges for server-side software are required
Bandwidth Charges
At least a 256 Mbps broadband internet connectivity will be required at the respective
sites. For this purpose, the unlimited business access plan of DOCOMO costing Rs.3300/per month can be availed at each of the 4 sites
Page | 325
D SAPPHIRE
8. Reports
Page | 326
D SAPPHIRE
Viewing the reports generated for the administrator.The reports can be seen below:
Page | 327
D SAPPHIRE
Page | 328
D SAPPHIRE
Page | 329
D SAPPHIRE
D SAPPHIRE
Page | 331
D SAPPHIRE
Page | 332
D SAPPHIRE
Page | 333
D SAPPHIRE
Catering Report (It will be saved as a text file with the choosed options with the
name of the booking id as this one is of booking id 14.txt)
Page | 334
D SAPPHIRE
Query Report
Page | 335
D SAPPHIRE
There is a scope for D Sapphire to be integrated with the existing system. Making this
system online provides an option to increase its business In this way it will be accessed by
the whole world. One can book it from anywhere and just come on the date of booking. D
Sapphire may become the worlds best in providing its services.
D Sapphire can be further enhanced in several areas to increase the security of the
system, communicability among the field formations, monitoring of the movement of
cargo in real-time by customs and intelligence agencies etc. A few suggested enhancements
in these areas include:
(i) Virtual Private Networking (VPN) A secured VPN connection over internet will
further enhance the security of the system, keeping the system isolated while, at the same
time, using the cheap internet infrastructure
(ii) Digital Signature Digital Signatures have been legalized in India video Section 5 of
the IT Act, 2000. The iCERT CA (http://www.icert.gov.in) is a Class III Digital Signature ,
so D Sapphire can use it in the check in check out system and also other needed places.
Page | 336
D SAPPHIRE
(iii) Instant Messaging / Video Conferencing One can also do video conferencing fr any
queries and also to confirm his/her identity.
(iv) Short Messaging Service (SMS) The SMS technology may be used to remind the
users their dates for any bookings and wish them on occasions and also to tell them various
services time to time
(v) Global Positioning System (GPS) One of the prime objectives of D Sapphire is to
prevent diversion of people to go on a wrong way. Use of GPS in the transport and its
integration with the D Sapphire will help both the tourists and the workers to know the
position/location of the D Sapphire.
Page | 337
D SAPPHIRE
10. Bibliography
Achour, Mehdi, Friedhelm Betz, and Antony Dovgal. "PHP: PHP Manual - Manual."
PHP: Hypertext
Preprocessor.
The
PHP
Group,
2014.
Web.
18
Sept.
2014.
<http://www.php.net/manual/en/>.
Bawane nee' Singhal, Neelam, and C.V. Srikrishna. "A Case Study to Assess the Validity of
Function
Points." World Academy of Science, Engineering and Technology 42 (2008): 224-27. Print.
Converse, Tim. PHP5 and MySQL Bible. Indianapolis, IN: Wiley, 2004. Print.
Function Point Counting Practices Manual. 4.1th ed. International Function Point User?s
Group
(IFPUG), 1999. Print.
Goel, Prof. M.P., Ms. Huma Anwar, Ms. Tamanna Siddiqui, and P. Venkata Suresh. MCS014:
Systems Analysis and Design. New Delhi: Indira Gandhi National Open University, 2004.
Print.
IEEE-SA Standards Board. IEEE 1016-1998: Recommended Practice for Software Design
Descriptions. New York: IEEE Computer Society, 1998. Print.
IEEE-SA Standards Board. IEEE 1063-2001: IEEE Standard for Software User
Documentation. New
York: IEEE Computer Society, 2001. Print.
Page | 338
D SAPPHIRE
IEEE-SA Standards Board. IEEE 829-1998: Standard for Software Test Documentation.
New York:
IEEE Computer Society, 1998. Print.
Kruthiventy, AJitha, Amrish Shah, Ashna Datye, and Bharathy Jayaraman. Software
Testing Guide
Book. Vol. I. The SoftREL Team, 2006. Print.
Kumar, Akshay, Divya Sharma, and RanJana Sharma. MCS-043: Database Design and
Implementation. Ed. Prof. N. Nirmala. New Delhi: Indira Gandhi National Open
University,
2006. Print.
Kumar, Akshay, RanJana Sharma, V.V. Subrahmanyam, and Archana Singhal. MCS-023:
Introduction to Database Management Systems. Ed. Milind MahaJani. New Delhi: Indira
Gandhi National Open University, 2005. Print.
Nepal. Ministry of Commerce. Customs. Treaty of Transit between the Government of
India and His
Majesty's Government of Nepal. Kathmandu: Ministry of Commerce, Nepal, 1999. Print.
Siddiqui, Tamanna, Dr. Ela Kumar, P. Venkata Suresh, and Akshay Kumar Purohit. MCS034:
Software Engineering. Ed. Prof. A.K. Tripathi. New Delhi: Indira Gandhi National Open
University, 2005. Print.
Tripp, Leonard L., ed. IEEE Std 830-1998: IEEE Recommended Practice for Software
Requirements
Specifications. New York: IEEE Computer Society, 1998. Print.
Page | 339
D SAPPHIRE
Wandschneider, Marc. Core Web Application Development with PHP and MySQL (Core
Series).
Upper Saddle River: Prentice Hall PTR, 2005. Print.
Page | 340
D SAPPHIRE
11. Glossary
DFD
ERD
Entity-Relationship Diagram
Entity-relationship
diagram
based
on
Gantt Chart
start and
finish dates of the terminal elements and
summary elements of a project.
MD5
Message-Digest algorithm 5
A widely used cryptographic hash function
with a 128-bit hash value. As an Internet
standard
(RFC
1321),
MD5
has
been
Page | 341
D SAPPHIRE
MySQL
PERT
in
completing
given
project,
PHPMyAdmin
to
handle the administration of MySQL over the
World Wide Web. It can perform various
tasks such as creating, modifying or deleting
databases,
tables,
fields
statements;
or
or
rows;
executing
managing
users
SQL
and
permissions.
SRS
Page | 342
D SAPPHIRE
(or supplementary) requirements.
XAMPP
XAMPP
is
free
and
latform web
server solution stack package, consisting
mainly of
the Apache HTTP Server, MySQL database,
and interpreters for scripts written in
the PHP and Perl programming languages.
XAMPP's name is an acronym for:
X (to be read as "cross", meaning cross-platform),
Apache HTTP Server , MySQL
PHP , Perl
WAN
(i.e.,
any
network
whose
with
local
personal
area
area
networks
networks
(LANs),
or
Page | 343