0% found this document useful (1 vote)
841 views

Department of Computer Application Project Report On: "Travel Record Management System"

This document provides an overview of a project to develop a Travel Record Management System. It discusses the objectives of creating a system to automate the processes of a travel agency. The system will allow customers to search for travel packages, book hotels and buses, and manage their travel records online. The document outlines the various sections and features of the system, including separate modules for users, administrators and guests. It also describes the tools and technologies that will be used such as PHP, HTML, JavaScript, MySQL database, and XAMPP server. Finally, it discusses performing a feasibility study to evaluate the technical, economic and operational viability of the project.

Uploaded by

hp testing
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
841 views

Department of Computer Application Project Report On: "Travel Record Management System"

This document provides an overview of a project to develop a Travel Record Management System. It discusses the objectives of creating a system to automate the processes of a travel agency. The system will allow customers to search for travel packages, book hotels and buses, and manage their travel records online. The document outlines the various sections and features of the system, including separate modules for users, administrators and guests. It also describes the tools and technologies that will be used such as PHP, HTML, JavaScript, MySQL database, and XAMPP server. Finally, it discusses performing a feasibility study to evaluate the technical, economic and operational viability of the project.

Uploaded by

hp testing
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 53

Department of Computer Application

Project Report
On
“TRAVEL RECORD MANAGEMENT SYSTEM”

CERTIFICATE
This is to certify that the project work entitled
“TRAVEL RECORD MANAGEMENT SYSTEM”
Was succesfully carried out by in partial fulfilment for the
award of the Master degree of Computer
Application(MCA) in 5 semester prescribed by the
Bangalore University during the academic year 2019-
2020.

Signature of ExaminersSignature of Guidence

1.

2. Signature of HOD

1
CONTENTS
1. Introduction 5
1.1.Synopsis
1.2.Objectives
1.3.Tools
2. Requirement analysis 7
2.1.System environment
2.2.Preliminary investigation
2.3.Functional Requirement
2.4.System Requirement Specification
2.5.Design
3. Project overview 10
3.1.System Designing
3.2.Code Designing
3.3.Input Designing
4. ER diagram 11
5. Data flow diagram(DFD) 14
6. PHP 17
7. HTML 20
8. CSS 22
9. JavaScript 23
10.MySQL 24
11.Testing 27
12.Database and tables 28
13.Coding 31
14.Pages (output) 49
15.Conclusion 54
16.Bibiliography 54

2
Introduction
1.1 Synopsis:
Title: Travel Destination
The Tourism Management System is a web based application. The main purpose of “Tourism
management system” is to provide a convenient way for a customer to book hotels, and bus
for tour purposes. The objective of this project is to develop a system that automates the
processes and activities of a travel agency.
Reason for the Project:
In this project, we will make an easier task of searching places and for booking hotels or bus.
In the present system a customer has to approach various agencies to find details of places
and to book tickets. This often requires a lot of time and effort. We provide approach skills to
critically examine how a tourist visits and its ability to operate in an appropriate way when
dealing with the consequences of tourism, locally, regionally, and nationally including visitor
security and ecological influences. It is tedious for a customer to plan a particular journey and
have it executed properly. The project ‘Tourism Management System’ is developed to
replace the currently existing system, which helps in keeping records of the customer details
of destination as well as payment received.
Aims & Objectives
This application is develop to provide best travelling services to the customers and travel
agents. We have developed tourism management system to provide a search platform where a
tourist can find their tour places according to their choices. This system also helps to promote
responsible and interesting tourism so that people can enjoy their holidays at their favourable
places. This system also helps to develop tourism with different cultures so that they enrich
the tourism experience and build pride. We develop this system to create and promote forms
of tourism that provide healthy interaction opportunities for tourists and locals and increase
better understanding of different cultures, customs, lifestyles, traditional knowledge and
believes. This system also provide a better way to connect with various events.

This system also gives tours related information like which places are tourist attractions,
cities, and provinces. Tourist can also book tours through our tourism management system.
This system also keeps a history of visited places of its users.

Project Modules:
 Users
 Admin
 Guest

3
Users
 User can register yourself.
 User can login with valid email and password.
 Forgot Password(user Can recover own password)
 Tour Booking
 Manage Booking
 Generate Ticket(Regarding Complaint)
 Change Password

Admin
 Admin can create Package
 Manage packages(Create,Update)
 Manage Users
 Manage Inquiries
 Manage issues
 Manage Booking
 Manage Pages
 Change Password
 Admin Dashboard

Guest User

 Visit the Website


 Guest user can enquiry

Software & Database:


 Language Used : PHP
 User Interface Design: HTML,JavaScript
 Database : My SQL
 Web Browser : Mozilla, Google Chrome, IE8,OPERA
 Software : XAMPP Server

1.2 Objectives:

The Tourism Management System is a web based application and maintains a centralized
repository of all related information. The Objective of this project is to develop a system that
automates the process and activities a travel agency and customer details. The purpose is to
design a system using which one can perform all operations related to travelling and sight
seeing

4
1.3 Tools:

 PHP
 HTML
 Java script
 Xampp server for database
 500 MB RAM
 1GB hard disk.

Requirement Analysis

2.1 System Environment

Problem Analysis:

Problem analysis involves the client and the user. One of the major activities during the
problem analysis is how to organize the information obtained, so that the information can be
effectively evaluated for the completeness and consistency.

The Tourism Management which is used to organize or book the hotels and places are wants
by customers and people. Why it is used only for this project, is because to get better idea
and information about the all types of places and function from minimum requirement to
make this project user or customers friendly.

2.2 Preliminary Investigation:

The purpose of the preliminary investigations to evaluate projects.it is the collecting of


information that helps to evaluate merits of the project request. Method like

 Taking bookings
 Giving better satisfaction.

Feasibility Study:
A feasibility analysis involves a details assessment the need, value and practically of
proposed enterprises such as systems development. The process of designing and
implementing record keeping system has significant accountability and resources
implications for an organization.
5
Feasibility analysis will help you to make informed and transparent decision crucial
points during the development process to determine whether it is operationally, economically
and technically realistic to proceed with the particular course of action.
Most feasibility studies are distinguished for both user and analysis. First, the study often
presupposes that when the feasibility documents are prepared, the analyst is in a position to
evaluate solutions. Second, more studies tend to overlook the confusion inherent in the
system development, the constraints and the assumed attitudes to determine whether a project
is worth doing, feasibility study is done. Three important tests of the feasibility are studied-

Technical feasibility:
This system requires server having fast data transfer speed and strong capacity, so that
staff can get the information quickly from the terminals connected to the server. This high
quality server is not available in the Tourism Management System and it is to be proposed.

Economic feasibility:
System is economically feasible to the organization, to run enquiry and boutique
management system maintains lot of software are being developed and lot of money are not
spend every month on their salary and other allowances.

Operating feasibility:
Proposed projects are beneficial, as it will meet the requirement of the both user as
well as admin.

2.3 Functional Requirement:


The current existing system is less interactive and not up to the mark in terms of the
user and staff supports. From all this we can conclude that his system is economically,
technically and functionally feasible.

2.4 System Requirement Specification:


Before any software is developed the requirement is setup. System requirement
describes the test that must be met for the software to be accepted by the user. The purpose of
the system requirement study is to bridge the communication gap between the user and the
programmer and the also customers. System requirement study is through which the client
and the user needs are accurately specified.
In this system requirement specification user requirement specification describes the relation
between the inputs and the outputs of the system. For the each requirement of the user.

6
A detailed description of all the range of valid input must be specified, this place deals with
requirement of user for this system.
The user is willing to participating in conferring the system also requires user-friendly
interfacing.

2.5 Design:

System design is the bridge between requirements specification and the final
solution. Design mythology is a semantic approach to satisfy the requirements.

A design methodology is semantic approach to create design by applying a set of technique


and guideline most design mythology offer a guideline that can be used by a design a system.

 This project id design to meet the following requirements:


 The system is secured to meet data are entered.
 Help manages and provide to lead the user in the right path.
 Updating of records is provided. Searching of particular record is provided.

7
PROJECT OVERVIEW

3.1 System Designing:


The most creative and challenging face of the development is developed is system
design. It provides the understating and procedural details necessary for implementing the
system recommended in the feasibility study. Design goes through the logical and physical
stages of development. The main purpose of the design phase is to plan a solution for the
problems specified in the requirement document.

Code Designing:
First place of implementation is coding. Coding can be done in two ways one by
automatic program code and other by programmers manually.
Written code. A code generator is a suite of programs that matches the input to an appropriate
code template and from these produces modules of code, the code is made simple in such a
way that another programmer can easily understand and work on that in future. The crucial
phases in the system development life cycle are the successful implementation good the new
system design.
In this output id the coding phase. It is primarily intend for detecting errors introduced in this
phase. The goal is to see how consistent the code is with the design. Code verification falls
under the categories dynamic and static.

Input Designing:
In the input design, user oriented inputs are converted in to a computer based
format. It also includes determine the record media, method of inputs, speed of capture and
entry on to the screen. Data entry accepts commands and data through a keyboard.
The major approach to input design is the menu and the prompt design. In each alternative,
the users are predefined. The dataflow diagram indicates logical data flow, data stores,
sources and destination. Input data are collected and organized in to a group of similar data.

8
ER DIAGRAM
An entity relationship(ER) diagram is a specialized graphics that illustrations the inter
relationship between entities in a diagram often use symbols to represent different types of
information.

SYMBOL DESCRIPTION

Entity

Weak Entity

Attribute

Key Attribute

Multi Valued
Attribute

Relationship

Identification
Relationship

Set to
Relationship

9
Username Password

Admin_login

has
Admin_panel

Home

Booking Packages

Dashboard
Manage

Booking
Manage Pages

Manage Issues Manage Enquiries

10
User_name Password

User-login

has

My_Profile
Signout

User-panel

Issue_Booking

Change-password
My_Application_History

DATA FLOW DIAGRAM (DFD)

11
The data flow diagram is graphical representation of the “flow” of data through an
information system. DFD’s can be used as the visualisation of data processing (structured
design).
On a DFD, data item flow an external data source or an internal data store to an internal data
source or an internal data sink, via an internal process
A DFD provides no information about the timing of process, or about whether processes will
operate in sequence or in parallel.it is therefore quote different from a flowchart, which
shows the flow of contro0l through an algorithm, allowing a reader to determine what
circumstance, but not what kind of data will be input to an output from the system, where the
data will come from and go to, nor where the data will be (all of which are shown on an
DFD).

CONTEXT LEVEL DFD

12
ADMIN LEVEL 1 DFD

13
USER LEVEL 1 DED

14
PHP:-

Introduction

PHP is now officially known as “PHP: HypertextPre-processor” It’s a server-side scripting


language usually written in an HTML context. Unlike an ordinary HTML page, a PHP script
is not sent directly to a client by the server; instead, it is parsed by the PHP binary or module,
which is server-side installed. HTML elements in the script are left alone, but PHP code is
interpreted and executed. PHP code in a script can query databases, create images, read and
write files, talk to remote servers – the possibilities is endless. The output from PHP code is
combined with the HTML in the script and the result sent to the user’s web-browser,
therefore it can never tell the user whether the web-server uses PHP or not, because the entire
browser sees is HTML.

PHP’s support for Apache and MySQL further increases its popularity. Apache is now the
most-used web-server in the world, and PHP can be compiled as an Apache module. MySQL
is a powerful free SQL database, and PHP provides a comprehensive set of functions for
working with it. The combination of Apache, MySQL and PHP is all but unbeatable.

That doesn’t mean that PHP cannot work in other environments or with other tools. In
fact, PHP supports an extensive list of databases and web-servers. While in the mid-1990s it
was ok to build sites, even relatively large sites, with hundreds of individual hard-coded
HTML pages, today’s webmasters are making the most of the power of databases to manage
their content more effectively and to personalize their sites according to individual user
preferences.

15
Reasons for using PHP

There are some indisputable great reasons to work with PHP. As an open source product,
PHP is well supported by a talented production team and a committed user community.
Furthermore, PHP can be run on all the major operating systems with most servers.

Learning PHP is easy

Basic is easy any interpreted language should be easy to learn. Since you are isolated from
the system (no pointers to use, no memory to allocate). The other advantage that all modern
interpreted languages share is good associative array constructs.

It’s Performance

While we can build an application that serves millions of pages a day on a server, when we
really look at the performance of the language it sucks. We are still orders of magnitude from
real performance. Not only that, but since PHP is designed around a single process model our
ability to share data structures or connection pool resources is left to native code libraries.

The low cost


There are many languages which are available at very less cost. There are some languages
which are available at very less cost like below:

a. PHP
b. C
c. C++

It’s Open Source, we can modify it

We can modify it if you need a hole in your head! Technically the point is that it’s an open
source project and they release patches often. You’re point is that the community is actively
working out the bugs. So, what any active language is doing this...

Unfortunately, C, C++ and Perl have all “died” at this point and will pretty much remain
static at their current functionality.

16
It’s Portability
C is portable; it’s just the OS bits that aren’t. A lot PHP isn’t portable to Windows since
people don’t use the OS abstractions to avoid some problems.

PHP Syntax
You cannot view the PHP source code by selecting “View source” in the browser – you will
only see the output from the PHP file, which is plain HTML. This is because the scripts are
executed on the server before the result is sent back to the browser.

Basic PHP Syntax

A PHP scripting block always starts with <?php and ends with ?>. A PHP scripting block
can be placed anywhere in the document.
On servers with shorthand support enabled you can start a
scripting block with <? And end with ?>.However, for maximum compatibility, we
recommend that you use the standard form (<?php) rather than the shorthand form.

A PHP file normally contains HTML tags, just like an HTML file, and some PHP scripting
code.

17
HTML

HTML or Hyper Text Markup Language is the standard markup language used to create
web pages.

HTML was created in 1991 by Tim Berners-Lee at CERN in Switzerland. It was designed to
allow scientists to display and share their research.

HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets
(like <html>). HTML tags most commonly come in pairs like <h1> and </h1>, although
some tags represent empty elements and so are unpaired, for example <img>. The first tag in
a pair is the start tag, and the second tag is the end tag (they are also called opening tags and
closing tags).

The purpose of a web browser is to read HTML documents and compose them into visible or
audible web pages. The browser does not display the HTML tags, but uses the tags to
interpret the content of the page. HTML describes the structure of a website semantically
along with cues for presentation, making it a markup language rather than a programming
language.

HTML elements form the building blocks of all websites. HTML allows images and objects
to be embedded and can be used to create interactive forms. It provides a means to create
structured documents by denoting structural semantics for text such as headings, paragraphs,
lists, links, quotes and other items. It can embed scripts written in languages such as Java
Script which affect the behavior of HTML web pages.

HTML is descriptive markup language. Library of various markup languages is defined in


various browsers.

18
HTML 5

HTML5 will be the new standard for HTML. The previous version of HTML, HTML 4.01,
came in 1999. The web has changed a lot since then. HTML5 is still a work in progress.
However, the major browsers support many of the new HTML5 elements and APIs.
HTML5 is cooperation between the World Wide Web Consortium (W3C) and the Web
Hypertext Application Technology Working Group (WHATWG).

WHATWG was working with web forms and applications, and W3C was working with
XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML.
Some rules for HTML5 were established:
a) New features should be based on HTML, CSS, DOM, and JavaScript
b) Reduce the need for external plug-ins (like Flash)
c) Better error handling
d) More markup to replace scripting
e) HTML5 should be device independent
f) The development process should be visible to the public

19
CSS

CSS tutorial or CSS 3 tutorial provides basic and advanced concepts of CSS technology.
Our CSS tutorial is developed for beginners and professionals. The major points of CSS are
given below:

a) CSS stands for Cascading Style Sheet.


b) CSS is used to design HTML tags.
c) CSS is a widely used language on the web.
d) HTML, CSS and JavaScript are used for web designing. It helps the web designers to
apply style on HTML tags.

Cascading Style Sheets (CSS) is a style sheet language used for describing the look and
formatting of a document written in a markup language. While most often used to style web
pages and user interfaces written in HTML and XHTML, the language can be applied to any
kind of XML document, including plain XML, SVG and XUL. CSS is a cornerstone
specification of the web and almost all web pages use CSS style sheets to describe their
presentation.

CSS can also allow the same markup page to be presented in different styles for different
rendering methods, such as on-screen, in print, by voice (when read out by a speech-based
browser or screen reader) and on Braille-based, tactile devices. It can also be used to allow
the web page to display differently depending on the screen size or device on which it is
being viewed. While the author of a document typically links that document to a CSS file,
readers can use a different style sheet, perhaps one on their own computer, to override the one
the author has specified.

With plain HTML you define the colors and sizes of text and tables throughout your pages. If
you want to change a certain element you will therefore have to work your way through the
document and change it. With CSS you define the colors and sizes in "styles". Then as you
write your documents you refer to the styles. Therefore: if you change a certain style it will
change the look of your entire site. Another big advantage is that CSS offers much more
detailed attributes than plain HTML for defining the look and feel of your site.

20
JAVASCRIPT

JavaScript (JS) is a dynamic computer programming language. It is most commonly used as


part of web browsers, whose implementations allow client-side scripts to interact with the
user, control the browser, communicate asynchronously, and alter the document content that
is displayed. It is also being used in server-side network programming (with Node.js), game
development and the creation of desktop and mobile applications.

JavaScript is a prototype-based scripting language with dynamic typing and has first-class
functions. Its syntax was influenced by C. JavaScript copies many names and naming
conventions from Java, but the two languages are otherwise unrelated and have very different
semantics. The key design principles within JavaScript are taken from the Self and Scheme
programming languages. It is a multi-paradigm language, supporting object-oriented,
imperative, and functional programming styles.

The application of JavaScript in use outside of web pages—for example, in PDF documents,
site-specific browsers, and desktop widgets—is also significant. Newer and faster JavaScript
VMs and platforms built upon them (notably Node.js) have also increased the popularity of
JavaScript for server-side web applications. On the client side, JavaScript was traditionally
implemented as an interpreted language, but just-in-time compilation is now performed by
recent (post-2012) browsers.

JavaScript was formalized in the ECMA Script language standard and is primarily used as
part of a web browser (client-side JavaScript). This enables programmatic access to objects
within a host environment.

JavaScript is the most popular programming language in the world.

It is the language for HTML, for the Web, for computers, servers, laptops, tablets, smart
phones, and more.

You can use JavaScript to:

a) Change HTML elements

b) Delete HTML elements


c) Create new HTML elements

d) Copy and clone HTML elements

21
MySQL:

Introduction:

The database has become an integral part of almost every human's life. Without it, many
things we do would become very tedious, perhaps impossible tasks. Banks, universities, and
libraries are three examples of organizations that depend heavily on some sort of database
system. On the Internet, search engines, online shopping, and even the website naming
convention would be impossible without the use of a database. A database that is
implemented and interfaced on a computer is often termed a database server.
One of the fastest SQL (Structured Query Language) database servers currently on
the market is the MySQL server, developed by T.c.X. DataKonsultAB. MySQL, available for
download at www.mysql.com, offers the database programmer with an array of options and
capabilities rarely seen in other database servers. MySQL is free of charge for those wishing
to use it for private and commercial use. Those wishing to develop applications specifically
using MySQL should consult MySQL's licensing section, as there is charge for licensing the
product.

These capabilities range across a number of topics, including the following:


a) Ability to handle an unlimited number of simultaneous users.
b) Capacity to handle 50,000,000+ records.
c) Very fast command execution, perhaps the fastest to be found on the market.
d) Easy and efficient user privilege system.
However, perhaps the most interesting characteristic of all is the fact that it's free. That's
right, T.c.X offers MySQL as a free product to the general public.

22
Reasons to Use MySQL

Scalability and Flexibility

The MySQL database server provides the ultimate in scalability, sporting the capacity to
handle deeply embedded applications with a footprint of only 1MB to running massive data
warehouses holding terabytes of information. Platform flexibility is a stalwart feature of
MySQL with all flavours of Linux, UNIX, and Windows being supported.

High Performance

A unique storage-engine architecture allows database professionals to configure the MySQL


database server specifically for particular applications, with the end result being amazing
performance results.

High Availability

Rock-solid reliability and constant availability are hallmarks of MySQL, with customers
relying on MySQL to guarantee around-the-clock uptime. MySQL offers a variety of high-
availability options from high-speed master/slave replication configurations, to specialized
Cluster servers offering instant failover, to third party vendors offering unique high-
availability solutions for the MySQL database server.

Robust Transactional Support

MySQL offers one of the most powerful transactional database engines on the market.
Features include complete ACID (atomic, consistent, isolated, durable) transaction support,
unlimited row-level locking, distributed transaction capability, and multi-version transaction
support where readers never block writers and vice-versa.

Web and Data Warehouse Strengths

MySQL is the de-facto standard for high-traffic web sites because of its high-performance
query engine, tremendously fast data inserts capability, and strong support for specialized
web functions like fast full text searches.

23
Strong Data Protection

Because guarding the data assets of corporations is the number one job of database
professionals, MySQL offers exceptional security features that ensure absolute data
protection. In terms of database authentication, MySQL provides powerful mechanisms for
ensuring only authorized users have entry to the database server, with the ability to block
users down to the client machine level being possible.

Management Ease

MySQL offers exceptional quick-start capability with the average time from software
download to installation completion being less than fifteen minutes. This rule holds true
whether the platform is Microsoft Windows, Linux, Macintosh, or UNIX.

PHP Main Features of MySQL

a) The MySQL Server design is multi-layered with independent modules.

b) Fully multi-threaded using kernel threads. It can easily use multiple CPUs if they are
available.

c) Provides transactional and non-transactional storage engines.

d) Uses very fast B-tree disk tables with index compression.

e) Relatively easy to add other storage engines. This is useful if you want to provide an SQL
interface for an in-house database.

f) A very fast thread-based memory allocation system.

g) Very fast joins using an optimized one-sweep multi-join.

h) In-memory hash tables, which are used as temporary table

24
Testing:
To understand testing technique that is geared to discover program faults and introduces
guidelines for interfaces testing and easy to understand specific approaches to object-oriented
testing.
Testing of individual program components is usually the responsibility of the component
developer.
Tests are derived from the developers experience and testing of groups of component
integrated to create a system or subsystem the responsibility of an independent testing team
and the tests are based on a system specification tests. Complete systems or sub systems
composed of integrated components.
Integration testing should be black-box testing with tests derived from the specifications.
Main difficulty is localizing errors and incremental, integration reduces this problem. Testing
is an expensive process phase. Testing workbenches provide a range of tools to reduce the
time required and the total testing costs.
Testing performs very critical role for quality assurance and for ensuring the reliability of the
software.
The success of testing for errors in progress depends critically on the tests.
The basic levels of testing are:
 Unit testing
 Integration testing
 System testing
 Acceptance testing

Testing Process:
The testing starts with a test plan. The plan specifies all the test cases required. Then
the test unit is executed with the test cases. The reports re produced and analysed when
testing of some units is complete, that unit can be combined with other untested modules to
from new testing units, testing of unit involves.
 Select case cases
 Execute test cases
 Evaluate the result of testing

25
Database and Tables:

Booking:

26
Issues:

Users:

27
Packeges:

Enquiry:

28
CODING
CONNECTION
<?php
// DB credentials.
define('DB_HOST','localhost');
define('DB_USER','root');
define('DB_PASS','');
define('DB_NAME','carrental');
// Establish database connection.
try
{
$dbh = new PDO("mysql:host=".DB_HOST.";dbname=".DB_NAME,DB_USER,
DB_PASS,array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8'"));
}
catch (PDOException $e)
{
exit("Error: " . $e->getMessage());
}
?>

HOMEPAGE
<?php
session_start();
error_reporting(0);
include('includes/config.php');
?>
<!DOCTYPE HTML>
<html>
<head>
<title>GC | Globe Consultancy </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<script type="applijewelleryion/x-javascript"> addEventListener("load", function()


{ setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); }
</script>
<link href="css/bootstrap.css" rel='stylesheet' type='text/css' />
<link href="css/style.css" rel='stylesheet' type='text/css' />
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,700,600' rel='stylesheet'
type='text/css'>
<link href='//fonts.googleapis.com/css?family=Roboto+Condensed:400,700,300'
rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>

29
<link href="css/font-awesome.css" rel="stylesheet">
<!-- Custom Theme files -->
<script src="js/jquery-1.12.0.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<!--animate-->
<link href="css/animate.css" rel="stylesheet" type="text/css" media="all">
<script src="js/wow.min.js"></script>
<script>
new WOW().init();
</script>
<!--//end-animate-->
</head>
<body>
<?php include('includes/header.php');?>
<div class="banner">
<div class="container">
<h1 class="wow zoomIn animated animated" data-wow-delay=".5s" style="visibility: visible;
animation-delay: 0.5s; animation-name: zoomIn;"> GC - Globe Consultacy</h1>
</div>
</div>

<!--- rupes ---->


<div class="container">
<div class="rupes">
<div class="col-md-4 rupes-left wow fadeInDown animated animated" data-wow-
delay=".5s" style="visibility: visible; animation-delay: 0.5s; animation-name: fadeInDown;">
<div class="rup-left">
<a href="offers.html"><i class="fa fa-usd"></i></a>
</div>
<div class="rup-rgt">
<h3>UP TO Rs. 50% OFF</h3>
<h4><a href="offers.html">TRAVEL SMART</a></h4>

</div>
<div class="clearfix"></div>
</div>
<div class="col-md-4 rupes-left wow fadeInDown animated animated" data-wow-
delay=".5s" style="visibility: visible; animation-delay: 0.5s; animation-name: fadeInDown;">
<div class="rup-left">
<a href="offers.html"><i class="fa fa-h-square"></i></a>
</div>
<div class="rup-rgt">
<h3>UP TO 70% OFF</h3>
<h4><a href="offers.html">ON HOTELS ACROSS WORLD</a></h4>

</div>
<div class="clearfix"></div>
</div>
<div class="col-md-4 rupes-left wow fadeInDown animated animated" data-wow-
delay=".5s" style="visibility: visible; animation-delay: 0.5s; animation-name: fadeInDown;">

30
<div class="rup-left">
<a href="offers.html"><i class="fa fa-mobile"></i></a>
</div>
<div class="rup-rgt">
<h3>FLAT Rs. 25% OFF</h3>
<h4><a href="offers.html">US APP OFFER</a></h4>

</div>
<div class="clearfix"></div>
</div>

</div>
</div>
<!--- /rupes ---->

<!---holiday---->
<div class="container">
<div class="holiday">

<h3>Package List</h3>

<?php $sql = "SELECT * from tbltourpackages order by rand() limit 4";


$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>
<div class="rom-btm">
<div class="col-md-3 room-left wow fadeInLeft animated" data-wow-delay=".5s">
<img src="admin/pacakgeimages/<?php echo htmlentities($result->PackageImage);?>"
class="img-responsive" alt="">
</div>
<div class="col-md-6 room-midle wow fadeInUp animated" data-wow-delay=".5s">
<h4>Type Of Booking: <?php echo htmlentities($result->PackageName);?></h4>
<h6>Package Type : <?php echo htmlentities($result->PackageType);?></h6>
<p><b>Contry :</b> <?php echo htmlentities($result->PackageLocation);?></p>
<p><b>Features</b> <?php echo htmlentities($result->PackageFetures);?></p>
</div>
<div class="col-md-3 room-right wow fadeInRight animated" data-wow-delay=".5s">
<h5>Rs. <?php echo htmlentities($result->PackagePrice);?></h5>
<a href="package-details.php?pkgid=<?php echo htmlentities($result->PackageId);?>"
class="view">Details</a>
</div>
<div class="clearfix"></div>
</div>

<?php }} ?>

31
<div><a href="package-list.php" class="view">View More Packages</a></div>
</div>
<div class="clearfix"></div></div>
<!--- routes ---->
<div class="routes">
<div class="container">
<div class="col-md-4 routes-left wow fadeInRight animated" data-wow-delay=".5s">
<div class="rou-left">
<a href="#"><i class="glyphicon glyphicon-list-alt"></i></a>
</div>
<div class="rou-rgt wow fadeInDown animated" data-wow-delay=".5s">
<h3>80000</h3>
<p>Enquiries</p>
</div>
<div class="clearfix"></div>
</div>
<div class="col-md-4 routes-left">
<div class="rou-left">
<a href="#"><i class="fa fa-user"></i></a>
</div>
<div class="rou-rgt">
<h3>1900</h3>
<p>Regestered users</p>
</div>
<div class="clearfix"></div>
</div>
<div class="col-md-4 routes-left wow fadeInRight animated" data-wow-delay=".5s">
<div class="rou-left">
<a href="#"><i class="fa fa-ticket"></i></a>
</div>
<div class="rou-rgt">
<h3>7,00,00,000+</h3>
<p>Booking</p>
</div>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
</div>
</div>

<?php include('includes/footer.php');?>
<!-- signup -->
<?php include('includes/signup.php');?>
<!-- //signu -->
<!-- signin -->
<?php include('includes/signin.php');?>
<!-- //signin -->
<!-- write us -->
<?php include('includes/write-us.php');?>

32
<!-- //write us -->
</body>
</html>

LOGIN

<?php
session_start();
if(isset($_POST['signin']))
{
$email=$_POST['email'];
$password=md5($_POST['password']);
$sql ="SELECT EmailId,Password FROM tblusers WHERE EmailId=:email and
Password=:password";
$query= $dbh -> prepare($sql);
$query-> bindParam(':email', $email, PDO::PARAM_STR);
$query-> bindParam(':password', $password, PDO::PARAM_STR);
$query-> execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
$_SESSION['login']=$_POST['email'];
echo "<script type='text/javascript'> document.location = 'package-list.php'; </script>";
} else{
echo "<script>alert('Invalid Details');</script>";
}
}
?>

<div class="modal fade" id="myModal4" tabindex="-1" role="dialog" aria-


labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content modal-info">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-
hidden="true">×</span></button>
</div>
<div class="modal-body modal-spa">
<div class="login-grids">
<div class="login">
<div class="login-left">
<ul>
<li><a class="fb" href="#"><i></i>Facebook</a></li>
<li><a class="goog" href="#"><i></i>Google</a></li>

</ul>
</div>
<div class="login-right">
<form method="post">
<h3>Signin with your account </h3>

33
<input type="text" name="email" id="email" placeholder="Enter your Email" required="">
<input type="password" name="password" id="password" placeholder="Password" value=""
required="">
<h4><a href="forgot-password.php">Forgot password</a></h4>
<input type="submit" name="signin" value="SIGNIN">
</form>
</div>
<div class="clearfix"></div>
</div>
<p>By logging in you agree to our <a href="page.php?type=terms">Terms and
Conditions</a> and <a href="page.php?type=privacy">Privacy Policy</a></p>
</div>
</div>
</div>
</div>
</div>

SIGNUP
<?php
error_reporting(0);
if(isset($_POST['submit']))
{
$fname=$_POST['fname'];
$mnumber=$_POST['mobilenumber'];
$email=$_POST['email'];
$password=md5($_POST['password']);
$sql="INSERT INTO tblusers(FullName,MobileNumber,EmailId,Password)
VALUES(:fname,:mnumber,:email,:password)";
$query = $dbh->prepare($sql);
$query->bindParam(':fname',$fname,PDO::PARAM_STR);
$query->bindParam(':mnumber',$mnumber,PDO::PARAM_STR);
$query->bindParam(':email',$email,PDO::PARAM_STR);
$query->bindParam(':password',$password,PDO::PARAM_STR);
$query->execute();
$lastInsertId = $dbh->lastInsertId();
if($lastInsertId)
{
$_SESSION['msg']="You are Scuccessfully registered. Now you can login ";
header('location:thankyou.php');
}
else
{
$_SESSION['msg']="Something went wrong. Please try again.";
header('location:thankyou.php');
}
}
?>
<!--Javascript for check email availabilty-->
<script>

34
function checkAvailability() {

$("#loaderIcon").show();
jQuery.ajax({
url: "check_availability.php",
data:'emailid='+$("#email").val(),
type: "POST",
success:function(data){
$("#user-availability-status").html(data);
$("#loaderIcon").hide();
},
error:function (){}
});
}
</script>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-
labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-
hidden="true">&times;</span></button>
</div>
<section>
<div class="modal-body modal-spa">
<div class="login-grids">
<div class="login">
<div class="login-left">
<ul>
<li><a class="fb" href="#"><i></i>Facebook</a></li>
<li><a class="goog" href="#"><i></i>Google</a></li>
</ul>
</div>
<div class="login-right">
<form name="signup" method="post">
<h3>Create your account </h3>
<input type="text" value="" placeholder="Full Name" name="fname" autocomplete="off"
required="">
<input type="text" value="" placeholder="Mobile number" maxlength="10"
name="mobilenumber" autocomplete="off" required="">
<input type="text" value="" placeholder="Email id" name="email" id="email"
onBlur="checkAvailability()" autocomplete="off" required="">
<span id="user-availability-status" style="font-size:12px;"></span>
<input type="password" value="" placeholder="Password" name="password" required="">
<input type="submit" name="submit" id="submit" value="CREATE ACCOUNT">
</form>
</div>
<div class="clearfix"></div>
</div>

35
<p>By logging in you agree to our <a href="page.php?type=terms">Terms and
Conditions</a> and <a href="page.php?type=privacy">Privacy Policy</a></p>
</div>
</div>
</div>
PACKAGE-LIST
<?php
session_start();
error_reporting(0);
include('includes/config.php');
?>
<!DOCTYPE HTML>
<html>
<head>
<title>TMS | Booking List</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="applijewelleryion/x-javascript"> addEventListener("load", function()
{ setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); }
</script>
<link href="css/bootstrap.css" rel='stylesheet' type='text/css' />
<link href="css/style.css" rel='stylesheet' type='text/css' />
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,700,600' rel='stylesheet'
type='text/css'>
<link href='//fonts.googleapis.com/css?family=Roboto+Condensed:400,700,300'
rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<link href="css/font-awesome.css" rel="stylesheet">
<!-- Custom Theme files -->
<script src="js/jquery-1.12.0.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<!--animate-->
<link href="css/animate.css" rel="stylesheet" type="text/css" media="all">
<script src="js/wow.min.js"></script>
<script>
new WOW().init();
</script>
<!--//end-animate-->
</head>
<body>
<?php include('includes/header.php');?>
<!--- banner ---->
<div class="banner-3">
<div class="container">
<h1 class="wow zoomIn animated animated" data-wow-delay=".5s" style="visibility: visible;
animation-delay: 0.5s; animation-name: zoomIn;"> Global Consultancy- Booking List</h1>
</div>
</div>
<!--- /banner ---->

36
<!--- rooms ---->
<div class="rooms">
<div class="container">

<div class="room-bottom">
<h3>Booking List</h3>

<?php $sql = "SELECT * from tbltourpackages";


$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>
<div class="rom-btm">
<div class="col-md-3 room-left wow fadeInLeft animated" data-wow-delay=".5s">
<img src="admin/pacakgeimages/<?php echo htmlentities($result->PackageImage);?>"
class="img-responsive" alt="">
</div>
<div class="col-md-6 room-midle wow fadeInUp animated" data-wow-delay=".5s">
<h4>Type Of Booking: <?php echo htmlentities($result->PackageName);?></h4>
<h6>Package Type : <?php echo htmlentities($result->PackageType);?></h6>
<p><b>Location :</b> <?php echo htmlentities($result->PackageLocation);?></p>
<p><b>Features</b> <?php echo htmlentities($result->PackageFetures);?></p>
</div>
<div class="col-md-3 room-right wow fadeInRight animated" data-wow-delay=".5s">
<h5>Rs. <?php echo htmlentities($result->PackagePrice);?></h5>
<a href="package-details.php?pkgid=<?php echo htmlentities($result->PackageId);?>"
class="view">Details</a>
</div>
<div class="clearfix"></div>
</div>
<?php }} ?>

</div>
</div>
</div>
<!--- /rooms ---->

<!--- /footer-top ---->


<?php include('includes/footer.php');?>
<!-- signup -->
<?php include('includes/signup.php');?>
<!-- //signu -->
<!-- signin -->
<?php include('includes/signin.php');?>
<!-- //signin -->

37
<!-- write us -->
<?php include('includes/write-us.php');?>
<!-- //write us -->
</body>
</html>

LOGOUT

<?php
session_start();
$_SESSION = array();
if (ini_get("session.use_cookies")) {
$params = session_get_cookie_params();
setcookie(session_name(), '', time() - 60*60,
$params["path"], $params["domain"],
$params["secure"], $params["httponly"]
);
}
unset($_SESSION['login']);
session_destroy(); // destroy session
header("location:index.php");
?>

DASHBOARD
<?php
session_start();
include('includes/config.php');
if(strlen($_SESSION['alogin'])==0)
{
header('location:index.php');
}
else{
?>
<!DOCTYPE HTML>
<html>
<head>
<title>TMS | Admin Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="application/x-javascript"> addEventListener("load", function()
{ setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); }
</script>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel='stylesheet' type='text/css' />
<!-- Custom CSS -->
<link href="css/style.css" rel='stylesheet' type='text/css' />
<link rel="stylesheet" href="css/morris.css" type="text/css"/>
<!-- Graph CSS -->
<link href="css/font-awesome.css" rel="stylesheet">

38
<!-- jQuery -->
<script src="js/jquery-2.1.4.min.js"></script>
<!-- //jQuery -->
<link href='//fonts.googleapis.com/css?family=Roboto:700,500,300,100italic,100,400'
rel='stylesheet' type='text/css'/>
<link href='//fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet'
type='text/css'>
<!-- lined-icons -->
<link rel="stylesheet" href="css/icon-font.min.css" type='text/css' />
<!-- //lined-icons -->
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<div class="left-content">
<div class="mother-grid-inner">
<!--header start here-->
<?php include('includes/header.php');?>
<!--header end here-->
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.html">Home</a> <i class="fa fa-angle-
right"></i></li>
</ol>
<!--four-grids here-->
<div class="four-grids">
<div class="col-md-3 four-grid">
<div class="four-agileits">
<div class="icon">
<i class="glyphicon glyphicon-user" aria-hidden="true"></i>
</div>
<div class="four-text">
<h3>User</h3>

<?php $sql = "SELECT id from tblusers";


$query = $dbh -> prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=$query->rowCount();
?> <h4> <?php echo htmlentities($cnt);?> </h4>

</div>

</div>
</div>
<div class="col-md-3 four-grid">
<div class="four-agileinfo">
<div class="icon">
<i class="glyphicon glyphicon-list-alt" aria-hidden="true"></i>
</div>

39
<div class="four-text">
<h3>Bookings</h3>
<?php $sql1 = "SELECT BookingId from tblbooking";
$query1 = $dbh -> prepare($sql1);
$query1->execute();
$results1=$query1->fetchAll(PDO::FETCH_OBJ);
$cnt1=$query1->rowCount();
?>
<h4><?php echo htmlentities($cnt1);?></h4>

</div>

</div>
</div>
<div class="col-md-3 four-grid">
<div class="four-w3ls">
<div class="icon">
<i class="glyphicon glyphicon-folder-open" aria-hidden="true"></i>
</div>
<div class="four-text">
<h3>Enquiries</h3>
<?php $sql2 = "SELECT id from tblenquiry";
$query2= $dbh -> prepare($sql2);
$query2->execute();
$results2=$query2->fetchAll(PDO::FETCH_OBJ);
$cnt2=$query2->rowCount();
?>
<h4><?php echo htmlentities($cnt2);?></h4>

</div>

</div>
</div>
<div class="col-md-3 four-grid">
<div class="four-wthree">
<div class="icon">
<i class="glyphicon glyphicon-briefcase" aria-hidden="true"></i>
</div>
<div class="four-text">
<h3>Toatal packages</h3>
<?php $sql3 = "SELECT PackageId from tbltourpackages";
$query3= $dbh -> prepare($sql3);
$query3->execute();
$results3=$query3->fetchAll(PDO::FETCH_OBJ);
$cnt3=$query3->rowCount();
?>
<h4><?php echo htmlentities($cnt3);?></h4>

</div>

40
</div>
</div>
<div class="clearfix"></div>
</div>

<div class="four-grids">
<div class="col-md-3 four-grid">
<div class="four-w3ls">
<div class="icon">
<i class="glyphicon glyphicon-folder-open" aria-hidden="true"></i>
</div>
<div class="four-text">
<h3>Issues Riaised</h3>
<?php $sql5 = "SELECT id from tblissues";
$query5= $dbh -> prepare($sql5);
$query5->execute();
$results5=$query5->fetchAll(PDO::FETCH_OBJ);
$cnt5=$query5->rowCount();
?>
<h4><?php echo htmlentities($cnt5);?></h4>

</div>

</div>
</div>

<div class="clearfix"></div>
</div>
<!--//four-grids here-->

<div class="inner-block">

</div>
<!--inner block end here-->
<!--copy rights start here-->
<?php include('includes/footer.php');?>
</div>
</div>

<!--/sidebar-menu-->
<?php include('includes/sidebarmenu.php');?>
<div class="clearfix"></div>
</div>
<script>
var toggle = true;

$(".sidebar-icon").click(function() {
if (toggle)

41
{
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolute"});
}
else
{
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400);
}

toggle = !toggle;
});
</script>
<!--js -->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
<!-- /Bootstrap Core JavaScript -->
<!-- morris JavaScript -->
<script src="js/raphael-min.js"></script>
<script src="js/morris.js"></script>
<script>
$(document).ready(function() {
//BOX BUTTON SHOW AND CLOSE
jQuery('.small-graph-box').hover(function() {
jQuery(this).find('.box-button').fadeIn('fast');
}, function() {
jQuery(this).find('.box-button').fadeOut('fast');
});
jQuery('.small-graph-box .box-close').click(function() {
jQuery(this).closest('.small-graph-box').fadeOut(200);
return false;
});

//CHARTS
function gd(year, day, month) {
return new Date(year, month - 1, day).getTime();
}

graphArea2 = Morris.Area({
element: 'hero-area',
padding: 10,
behaveLikeLine: true,
gridEnabled: false,
gridLineColor: '#dddddd',
axes: true,
resize: true,

42
smooth:true,
pointSize: 0,
lineWidth: 0,
fillOpacity:0.85,
data: [
{period: '2014 Q1', iphone: 2668, ipad: null, itouch: 2649},
{period: '2014 Q2', iphone: 15780, ipad: 13799, itouch: 12051},
{period: '2014 Q3', iphone: 12920, ipad: 10975, itouch: 9910},
{period: '2014 Q4', iphone: 8770, ipad: 6600, itouch: 6695},
{period: '2015 Q1', iphone: 10820, ipad: 10924, itouch: 12300},
{period: '2015 Q2', iphone: 9680, ipad: 9010, itouch: 7891},
{period: '2015 Q3', iphone: 4830, ipad: 3805, itouch: 1598},
{period: '2015 Q4', iphone: 15083, ipad: 8977, itouch: 5185},
{period: '2016 Q1', iphone: 10697, ipad: 4470, itouch: 2038},
{period: '2016 Q2', iphone: 8442, ipad: 5723, itouch: 1801}
],
lineColors:['#ff4a43','#a2d200','#22beef'],
xkey: 'period',
redraw: true,
ykeys: ['iphone', 'ipad', 'itouch'],
labels: ['All Visitors', 'Returning Visitors', 'Unique Visitors'],
pointSize: 2,
hideHover: 'auto',
resize: true
});

});
</script>
</body>
</html>
<?php } ?>

CHECK_AVAILABILITY
<?php
require_once("includes/config.php");
// code admin email availablity
if(!empty($_POST["emailid"])) {
$email= $_POST["emailid"];
if (filter_var($email, FILTER_VALIDATE_EMAIL)===false) {

echo "error : You did not enter a valid email.";


}
else {
$sql ="SELECT EmailId FROM tblusers WHERE EmailId=:email";
$query= $dbh -> prepare($sql);
$query-> bindParam(':email', $email, PDO::PARAM_STR);
$query-> execute();

43
$results = $query -> fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query -> rowCount() > 0)
{
echo "<span style='color:red'> Email already exists .</span>";
echo "<script>$('#submit').prop('disabled',true);</script>";
} else{
echo "<span style='color:green'> Email available for Registration .</span>";
echo "<script>$('#submit').prop('disabled',false);</script>";
}
}
}
?>

PROFILE
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['login'])==0)
{
header('location:index.php');
}
else{
if(isset($_POST['submit6']))
{
$name=$_POST['name'];
$mobileno=$_POST['mobileno'];
$email=$_SESSION['login'];

$sql="update tblusers set FullName=:name,MobileNumber=:mobileno where


EmailId=:email";
$query = $dbh->prepare($sql);
$query->bindParam(':name',$name,PDO::PARAM_STR);
$query->bindParam(':mobileno',$mobileno,PDO::PARAM_STR);
$query->bindParam(':email',$email,PDO::PARAM_STR);
$query->execute();
$msg="Profile Updated Successfully";
}

?>
<!DOCTYPE HTML>
<html>
<head>
<title>GC | Globe Consultancy </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Tourism Management System In PHP" />

44
<script type="applijewelleryion/x-javascript"> addEventListener("load", function()
{ setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); }
</script>
<link href="css/bootstrap.css" rel='stylesheet' type='text/css' />
<link href="css/style.css" rel='stylesheet' type='text/css' />
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,700,600' rel='stylesheet'
type='text/css'>
<link href='//fonts.googleapis.com/css?family=Roboto+Condensed:400,700,300'
rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<link href="css/font-awesome.css" rel="stylesheet">
<!-- Custom Theme files -->
<script src="js/jquery-1.12.0.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<!--animate-->
<link href="css/animate.css" rel="stylesheet" type="text/css" media="all">
<script src="js/wow.min.js"></script>
<script>
new WOW().init();
</script>

<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #dd3d36;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
.succWrap{
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #5cb85c;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
</style>
</head>
<body>
<!-- top-header -->
<div class="top-header">
<?php include('includes/header.php');?>
<div class="banner-1 ">
<div class="container">
<h1 class="wow zoomIn animated animated" data-wow-delay=".5s"
style="visibility: visible; animation-delay: 0.5s; animation-name: zoomIn;">TMS-Tourism
Management System</h1>
</div>

45
</div>
<!--- /banner-1 ---->
<!--- privacy ---->
<div class="privacy">
<div class="container">
<h3 class="wow fadeInDown animated animated" data-wow-delay=".5s"
style="visibility: visible; animation-delay: 0.5s; animation-name: fadeInDown;">Change
Password</h3>
<form name="chngpwd" method="post">
<?php if($error){?><div class="errorWrap"><strong>ERROR</strong>:<?
php echo htmlentities($error); ?> </div><?php }
else if($msg){?><div
class="succWrap"><strong>SUCCESS</strong>:<?php echo htmlentities($msg); ?>
</div><?php }?>

<?php
$useremail=$_SESSION['login'];
$sql = "SELECT * from tblusers where EmailId=:useremail";
$query = $dbh -> prepare($sql);
$query -> bindParam(':useremail',$useremail, PDO::PARAM_STR);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>

<p style="width: 350px;">

<b>Name</b> <input type="text" name="name" value="<?php echo


htmlentities($result->FullName);?>" class="form-control" id="name" required="">
</p>

<p style="width: 350px;">


<b>Mobile Number</b>
<input type="text" class="form-control" name="mobileno" maxlength="10" value="<?php
echo htmlentities($result->MobileNumber);?>" id="mobileno" required="">
</p>

<p style="width: 350px;">


<b>Email Id</b>
<input type="email" class="form-control" name="email" value="<?php echo
htmlentities($result->EmailId);?>" id="email" readonly>
</p>
<p style="width: 350px;">
<b>Last Updation Date : </b>
<?php echo htmlentities($result->UpdationDate);?>
</p>

46
<p style="width: 350px;">
<b>Reg Date :</b>
<?php echo htmlentities($result->RegDate);?>
</p>
<?php }} ?>

<p style="width: 350px;">


<button type="submit" name="submit6" class="btn-primary btn">Updtae</button>
</p>
</form>
</div>
</div>
<!--- /privacy ---->
<!--- footer-top ---->
<!--- /footer-top ---->
<?php include('includes/footer.php');?>
<!-- signup -->
<?php include('includes/signup.php');?>
<!-- //signu -->
<!-- signin -->
<?php include('includes/signin.php');?>
<!-- //signin -->
<!-- write us -->
<?php include('includes/write-us.php');?>
</body>
</html>
<?php } ?>

OUTPUT-SCREEN

Homepage

47
Package-List

Admin-login

48
Dashboard

User-login

49
User-profile-setting

Booking

50
Package-Details

Manage Packages:

51
CONCLUSION

While developing the system a conscious effort has been made to create and develop a
software package, making use of available tools, techniques and resources-that would
generate a proper system.

While making the system, an eye has been kept on making it as user-friendly, as cost-
effective and as flexible as possible. As such one may hope that the system will be acceptable
to any user and will adequately meet his/her needs.

As in case of any system development processes where there are a number of shortcomings,
there have been some shortcoming in the development of this system also. The project is still
under modification.

BIBILIOGRAPHY

 PHP is designed by RASMUS LERDORF and developed by Zend Technologies.


 Website: www.php.com
 Xampp server is a relational database software which is developed by Apache friends
in May 22, 2002.

52
 Website: www.xampp.com
 www.google.com
 www.youtube.com

53

You might also like