You are on page 1of 56

A

Project Report
On

TRIP PLANNING AND MANAGEMENT


SYSTEM
SUBMITTED BY :
Devang Manish Muranjan

UNDER THE GUIDENCE OF:


ASSISTANT PROF. UNNATI DHAVARE

DEPARTMENT OF INFORMATION TECHNOLOGY

SETH HIRACHAND MUTHA COLLEGE OF ARTS,

COMMERCE AND SCIENCE


KALYAN, 421 301

UNDER

UNIVERSITY OF MUMBAI

BACHELOR OF INFORMATION TECHNOLOGY


TRIP PLANNING AND
MANAGEMENT SYSTEM

A Project Report
Submitted in partial fulfilment of the Requirements for the award of Degree of
BACHELOR OF SCIENCE (INFORMATION TECHNOLOGY) By
Devang Manish Muranjan
Seat Number- 225702

Under the esteemed guidance of


Ms. Unnati Dhavare
Professor

DEPARTMENT OF INFORMATION TECHNOLOGY


SETH HIRACHAND MUTHA COLLEGE OF ARTS, COMMERCE AND
SCIENCE
(Affiliated to University of Mumbai)
KALYAN, 421301
MAHARASHTRA
2021-2022
PROFORMA FOR THE APPROVAL PROJECT PROPOSAL

PRN No. _______________ Roll no. __________

1. Name of the Student

2. Title of the project

3. Name of the Guide

4. Teaching experience of the Guide ___________________________________

5. Is this your first submission?


Yes No

Signature of the Student Signature of the Guide


Date: ………………… Date…………………

Signature of the coordinator


Date: …………………
S.H. MUTHA COLLEGE OF ARTS, COMMERCE AND
SCIENCE (KALYAN)
(Affiliated to University of Mumbai)
KALYAN, MAHARASHTRA
421301
DEPARTMENT OF INFORMATION TECHNOLOGY

CERTIFICATE

This is to certify that the project entitled, "Trip Planning and Management System ", is
bonafide work of Devang Manish Muranjan bearing Seat. No: (225703) submitted in
partial
fulfilment of the requirements for the award of degree of BACHELOR OF SCIENCE in
INFORMATION TECHNOLOGY from University of Mumbai.

Internal Guide External Examiner


(Ms. Unnati Dhavare)

Head of Department I/C Principal


(Ms. Unnati Dhavare) (Mrs. Vaishali Gokhale)

Date: College Seal


ABSTRACT

In this project a detailed review of tour and travels management system. The main objectives of
this website to know the package related to the trip and journey with best facility and current
offer. Searching will be very easy.

At a single click will be able to fetch the required data. Nowadays, there are multiple travel
packages existing from the various websites to approximately all the locations over the world.
A customer demonstrates that it is extremely complicated to search for the multiple of the
packages as for significant websites, contact, and communication with the travel agents and
more options that exists in it which is a passive method and time-consuming.

This project will assist travellers to recommend the best Travel Package among all the packages
relevant information such as image, hotel facility, Google map facility, transport facility and
description about the places where they want to visit. The tour and travels management system
will be helpful for tourism.
ACKNOWLEDGEMENT
I take this opportunity to express our sincere gratitude to all those who helped us in
various capacities in undertaking this project and devising the report.

I am privileged to express our sense of gratitude to our respected teacher Ms. Unnati
Dhavare whose unparalleled knowledge, moral fibre and judgment along with her know-how,
was an immense support in completing the project

I am also grateful to the Ms. Unnati Dhavare (HOD) Head of Department, Information
Technology, for the brainwave and encouragement given. We take this opportunity also to
thank our friends and contemporaries for their cooperation and compliance.
DECLARATION

I hereby declare that the project entitled, “Trip Planning and Management” done at has
not been in any case duplicated to submit to any other university for the award of any degree.
To the best of my knowledge other than me, no one has submitted to any other university.
The project is done in partial fulfilment of the requirements for the award of degree of
BACHELOR OF SCIENCE (INFORMATION TECHNOLOGY) to be submitted as final
semester project as part of our curriculum.

Name and Signature of the Student


TABLE OF CONTENTS

Chapter 1: Introduction
1.1 Background
1.2 Objectives
1.3 Purpose and Scope
1.3.1Purpose
1.3.2Scope

Chapter 2: System Analysis


2.1 Existing System
2.2 Proposed System
2.3 Requirement Analysis
2.4 Hardware Requirements
2.5 Software Requirements
2.6 Justification of selection of Technology Chapter 3: System Design
Chapter 3: System Design
3.1 Module Division
3.2 Data Dictionary
3.3 ER Diagrams
3.4 Data Flow
Chapter 4: Implementation and Testing
4.1 Code
4.2 Testing Approach
4.2.1 Unit Testing
4.2.2 Integration System (Test cases and Test Results)
Chapter 5: Results and Discussions (Output Screens)
Chapter 6: Conclusion and Future Work
Chapter 7: References
List of Figures

Figure Number Figure Name Page No


Fig 3.3.1 Functional Design Description 17

Fig 3.3.2 Entity Relationship Diagram Customer and Admin 18

Fig 3.4.1 First level Data Flow Diagram for Admin 19


Fig 3.4.2 Second Level Data Flow Diagram for Admin 19
Fig 3.4.4 First Level Flow Diagram for Customer 20

Fig 3.4.4 Second Level Data Flow Diagram for Customer 21


Fig4.2.1 Testing on PHP code 45

Fig 4.2.2 Integration testing 46


Fig 5.1 Home page 47
Fig 5.2 Selection of tour 48
Fig 5.3 Booking enquiries/ details 48
Fig 5.4 Registration and login for Customers, Visitors& 49
Local service providers
Fig 5.5 Individual profile display for registered users 49
Chapter 1 INTRODUCTION

This application is developed to provide best travelling services to the customers and travel
agents. We have developed trip planning 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 provides 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 get the Map and navigation system and temperature and weather information.
Tourist can also book tours through our trip planning management system. This system also
keeps a history of visited places of its users.
1.1 Background

Tours & Travels Management System Transport solution to the different companies
situated locally in the many districts and it organizes tours to various part of the particular
areas. Earlier all the processes were done manually. The manual process is done by

maintaining the details of the tours, employees and their customers.

1.2 Objectives

The overall system design objective is to provide an efficient, modular design that will
reduce the system’s complexity, facilitate change and result in an easy implementation.

This will be accomplished by strongly designing cohesion system with minimal coupling.
In addition, this document will provide interface design models that are consistent user friendly
and will provide straight forward transition through the various system functions.

The project is a mainly designed to create a great trip and travels experience by allowing to
choose options to reside and for wayfaring around the desired destination whilst the duration of
the trip with a network of local services providers.
1.3 Purpose and Scope
1.3.1 Purpose
Tours & Travel Management System is an application will help in maintaining the
operations performed related to sight-seeing and travelling. Most of the people in this world
like to travel from one place to another no matter whether it is a small or large distance.

Some people like to travel by train, flight, bus or by any other means of transport. The
tours travel management system application is designed for the travel agency in which there is
an option of doing the railway or air ticket reservation in order to reach the intended
destination. The tours & travel management system application is one of the applications that
will help the customers to book the air ticket or the railway tickets through this application of
the travel agency. Booking of tickets will be done with a great ease and without any difficulty.

This will be one of the interesting projects that one can work on and implement in real
time world. The user interface must be simple and easy to understand.

The main purpose of this system is to provide a boost to the local economy of the
service providers like Car Rentals, Zoom Cars, Drivers, Hoteliers, Airbnb’s, Hospitality, Food
Cafes, Trip Planning with less complexity to provide a mutual benefit to both the service
provider and the receivers

1.3.2 Scope

There are many scopes available in this field like –

• This type of software’s can be further extended for generating reviews related to
the tourist requirements.

• Also, can be used for generating reviews for the Online Videos provided on the
software.

• Easy to find the nearby famous places, temples & monuments.

• Developer can be providing the update information of the places and also
provide updates to the software for better services.

• Provide offers for various places in budgets occasionally.


Chapter 2

System Analysis

Existing System:
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. A customer may not get
the desired information from these offices and often the customer may be misguided. It is
tedious for a customer to plan a particular journey and have it executed properly

 All work consider manually.


 In Manual Booking System Customer has to go to the Travelling office.
 Ask enquiry for Travelling then Book ticket Finally Paid Payment & Collect Receipt.
 Difficult To Maintain the Customer Details of Package and Payment Receipt in
Register.
 They Register Tour Package in the notebook.
 Add advertisement in Local newspaper or Local Market.
 Use Travelling Facility for the Limited Area or Person.
Proposed System:
The proposed system is a web-based application and maintains a centralized repository of
all related information. The system allows one to easily access the relevant information and make
necessary travel arrangements.

Users can decide about the places where they want to visit and make bookings online
for travel and accommodation. The propose system is highly automated and makes the
travelling activities much easier and flexible. The user can get the very right information at the
very right time.

Customers can get the knowledge of the hotels and vehicles they are going to use in
their trip prior to their starting of trip. This will help the travel company as well.
HARDWARE REQUIREMENT:
1. Memory (database)

2. Server CPU

3. Mobile/pc (login process)

4. Network connectivity

SOFTWARE REQUIREMENT:
• JDK 5 or Newer Version
• Microsoft Visual Studio
• Visual Studio
• Java SE / Java Virtual Machine (JVM)
• GlassFish or Apache Tomcat Web Server
• MySQL Server like Xampp or Wamp

FOR FRONT END: -


1. HTML5 and CSS
2. JavaScript
3. Bootstrap
FOR BACK END: -
1. PHP 7.4/8.0
2. MySQL for Database
3. Xampp
4. Apache Server Application

DATA STORAGE: -
1. MySQL database,
2. Apache HTTP server,
3. Laptop /Computer System
Chapter 3

System Design
3.1 Module Division
There are four modules in this software, now:
Admin module:
1) Admin can manage the user and receive package from traveller &
package management.
2) This module provides administrator related functionality.
Administrator manages all information and has access rights to add, delete, edit and
view the data related to places, travels, routes, bookings, etc.
Travels Module:
This module provides the details of various service providers. A user can select the
appropriate agency depending on convenience and accessibility.
Customer:
1) Customer can view package and booking.
2) This module helps to customer.

Visitor:
1) Visitor view site and give feedback.
2) View site
3.2 Data Dictionary
Data Flow Diagram A Data Flow Diagram (DFD) is a diagram that describes the flow
of data and the processes that change or transform data throughout a system. The Data Flow
Diagram reviews the current physical system, prepares input and output specification, specifies
the implementation plan etc. Four basic symbols are used to construct data flow diagrams. They
are symbols that represent data source, data flows, and data transformations and data storage. The
points at which data are transformed are represented by enclosed figures, usually circles, which
are called nodes.

Steps to Construct Data Flow Diagrams Four steps are commonly used to construct a
DFD:

• Process should be named and numbered for easy reference. Each name should be representative
of the process.

• The direction of flow is from top to bottom and from left to right.

• When a process is exploded into lower-level details they are numbered.

• The names of data stores, sources and destinations are written in capital letters Rules for
Constructing a Data Flow Diagram

• Arrows should not cross each other

• Squares, Circles and files must bear names.

• Decomposed data flow squares and circles can have same names.

• Choose meaningful names for dataflow. Draw all data flows around the outside of the diagram
3.3. Entity Relationship Diagrams

Fig 3.3.1 Functional Design Description


Fig 3.3.2 Entity Relationship Diagram Customer and Admin
3.4 Data Flow Diagram-

Fig 3.4.1First level Data Flow Diagram for Admin

Fig 3.4.2 Second Level Data Flow Diagram for Admin


Fig 3.4.3 First Level Flow Diagram for Customer
Fig 3.4.4 Second Level Data Flow Diagram for Customer
Chapter 4

Implementation and Testing


4.1 Code
tsm.sql

-- phpMyAdmin SQL Dump


-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jul 20, 2019 at 10:18 PM
-- Server version: 10.3.15-MariaDB
-- PHP Version: 7.2.19

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";


SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";

/*!40101 SET
@OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET
@OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET
@OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `tms`
--

-- --------------------------------------------------------

--
-- Table structure for table `admin`
--

CREATE TABLE `admin` (


`id` int(11) NOT NULL,
`UserName` varchar(100) DEFAULT NULL,
`Password` varchar(100) DEFAULT NULL,
`updationDate` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `admin`
--

INSERT INTO `admin` (`id`, `UserName`, `Password`, `updationDate`) VALUES


(1, 'admin', 'f925916e2754e5e03f75dd58a5733251', '2017-05-13 11:18:49');

-- --------------------------------------------------------

--
-- Table structure for table `tblbooking`
--

CREATE TABLE `tblbooking` (


`BookingId` int(11) NOT NULL,
`PackageId` int(11) DEFAULT NULL,
`UserEmail` varchar(100) DEFAULT NULL,
`FromDate` varchar(100) DEFAULT NULL,
`ToDate` varchar(100) DEFAULT NULL,
`Comment` mediumtext DEFAULT NULL,
`RegDate` timestamp NULL DEFAULT current_timestamp(),
`status` int(11) DEFAULT NULL,
`CancelledBy` varchar(5) DEFAULT NULL,
`UpdationDate` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tblbooking`
--
-- --------------------------------------------------------

--
-- Table structure for table `tblenquiry`
--

CREATE TABLE `tblenquiry` (


`id` int(11) NOT NULL,
`FullName` varchar(100) DEFAULT NULL,
`EmailId` varchar(100) DEFAULT NULL,
`MobileNumber` char(10) DEFAULT NULL,
`Subject` varchar(100) DEFAULT NULL,
`Description` mediumtext DEFAULT NULL,
`PostingDate` timestamp NULL DEFAULT current_timestamp(),
`Status` int(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tblenquiry`
--

INSERT INTO `tblenquiry` (`id`, `FullName`, `EmailId`, `MobileNumber`, `Subject`,


`Description`, `PostingDate`, `Status`) VALUES

-- --------------------------------------------------------

--
-- Table structure for table `tblissues`
--

CREATE TABLE `tblissues` (


`id` int(11) NOT NULL,
`UserEmail` varchar(100) DEFAULT NULL,
`Issue` varchar(100) DEFAULT NULL,
`Description` mediumtext DEFAULT NULL,
`PostingDate` timestamp NULL DEFAULT current_timestamp(),
`AdminRemark` mediumtext DEFAULT NULL,
`AdminremarkDate` timestamp NULL DEFAULT NULL ON UPDATE
current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tblissues`
--

INSERT INTO `tblissues` (`id`, `UserEmail`, `Issue`, `Description`, `PostingDate`,


`AdminRemark`, `AdminremarkDate`) VALUES
-- --------------------------------------------------------

--
-- Table structure for table `tblpages`
--

CREATE TABLE `tblpages` (


`id` int(11) NOT NULL,
`type` varchar(255) DEFAULT '',
`detail` longtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tblpages`
--

INSERT INTO `tblpages` (`id`, `type`, `detail`) VALUES


(1, 'terms', '<P align=justify><FONT size=2><STRONG><FONT color=#990000>(1)
ACCEPTANCE OF TERMS</FONT><BR><BR></STRONG>Welcome to Yahoo!
India. 1Yahoo Web Services India Private Limited Yahoo\", \"we\" or \"us\" as the case
may be) provides the Service (defined below) to you, subject to the following Terms of
Service (\"TOS\"), which may be updated by us from time to time without notice to you.
You can review the most current version of the TOS at any time at: <A
href=\"http://in.docs.yahoo.com/info/terms/\">http://in.docs.yahoo.com/info/terms/</A>.
-- --------------------------------------------------------

--
-- Table structure for table `tbltourpackages`
--

CREATE TABLE `tbltourpackages` (


`PackageId` int(11) NOT NULL,
`PackageName` varchar(200) DEFAULT NULL,
`PackageType` varchar(150) DEFAULT NULL,
`PackageLocation` varchar(100) DEFAULT NULL,
`PackagePrice` int(11) DEFAULT NULL,
`PackageFetures` varchar(255) DEFAULT NULL,
`PackageDetails` mediumtext DEFAULT NULL,
`PackageImage` varchar(100) DEFAULT NULL,
`Creationdate` timestamp NULL DEFAULT current_timestamp(),
`UpdationDate` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `tblusers`
--

CREATE TABLE `tblusers` (


`id` int(11) NOT NULL,
`FullName` varchar(100) DEFAULT NULL,
`MobileNumber` char(10) DEFAULT NULL,
`EmailId` varchar(70) DEFAULT NULL,
`Password` varchar(100) DEFAULT NULL,
`RegDate` timestamp NULL DEFAULT current_timestamp(),
`UpdationDate` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

index.php

<?php
session_start();
error_reporting(0);
include('includes/config.php');
?>
<!DOCTYPE HTML>
<html>
<head>
<title>TMS | Tourism Management System</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');?>
<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;"> TMS - Tourism Management
System</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 USD. 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;">
<div class="rup-left">
<a href="offers.html"><i class="fa fa-mobile"></i></a>
</div>
<div class="rup-rgt">
<h3>FLAT USD. 50 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>Package Name: <?php echo htmlentities($result->PackageName);?></h4>
<h6>Package Type : <?php echo htmlentities($result->PackageType);?></h6>
<p><b>Package 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>USD <?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><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');?>
<!-- //write us -->
</body>
</html>

header.php
<?php if($_SESSION['login'])
{?>
<div class="top-header">
<div class="container">
<ul class="tp-hd-lft wow fadeInLeft animated" data-wow-delay=".5s">
<li class="hm"><a href="index.html"><i class="fa fa-home"></i></a></li>
<li class="prnt"><a href="profile.php">My Profile</a></li>
<li class="prnt"><a href="change-password.php">Change Password</a></li>
<li class="prnt"><a href="tour-history.php">My Tour History</a></li>
<li class="prnt"><a href="issuetickets.php">Issue Tickets</a></li>
</ul>
<ul class="tp-hd-rgt wow fadeInRight animated" data-wow-delay=".5s">
<li class="tol">Welcome :</li>
<li class="sig"><?php echo htmlentities($_SESSION['login']);?></li>
<li class="sigi"><a href="logout.php" >/ Logout</a></li>
</ul>
<div class="clearfix"></div>
</div>
</div><?php } else {?>
<div class="top-header">
<div class="container">
<ul class="tp-hd-lft wow fadeInLeft animated" data-wow-delay=".5s">
<li class="hm"><a href="index.php"><i class="fa fa-home"></i></a></li>
<li class="hm"><a href="admin/index.php">Admin Login</a></li>
</ul>
<ul class="tp-hd-rgt wow fadeInRight animated" data-wow-delay=".5s">
<li class="tol">Toll Number : 123-4568790</li>
<li class="sig"><a href="#" data-toggle="modal" data-target="#myModal" >Sign
Up</a></li>
<li class="sigi"><a href="#" data-toggle="modal" data-target="#myModal4" >/
Sign In</a></li>
</ul>
<div class="clearfix"></div>
</div>
</div>
<?php }?>
<!--- /top-header ---->
<!--- header ---->
<div class="header">
<div class="container">
<div class="logo wow fadeInDown animated" data-wow-delay=".5s">
<a href="index.php">Tourism <span>Management System</span></a>
</div>

<div class="lock fadeInDown animated" data-wow-delay=".5s">


<li><i class="fa fa-lock"></i></li>
<li><div class="securetxt">SAFE &amp; SECURE </div></li>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
</div>
</div>
<!--- /header ---->
<!--- footer-btm ---->
<div class="footer-btm wow fadeInLeft animated" data-wow-delay=".5s">
<div class="container">
<div class="navigation">
<nav class="navbar navbar-default">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse nav-wil" id="bs-example-navbar-collapse-
1">
<nav class="cl-effect-1">
<ul class="nav navbar-nav">
<li><a href="index.php">Home</a></li>
<li><a href="page.php?type=aboutus">About</a></li>
<li><a href="package-list.php">Tour Packages</a></li>
<li><a href="page.php?type=privacy">Privacy Policy</a></li>
<li><a href="page.php?type=terms">Terms of Use</a></li>
<li><a href="page.php?type=contact">Contact Us</a></li>
<?php if($_SESSION['login'])
{?>
<li>Need Help?<a href="#" data-toggle="modal" data-
target="#myModal3"> / Write Us </a> </li>
<?php } else { ?>
<li><a href="enquiry.php"> Enquiry </a> </li>
<?php } ?>
<div class="clearfix"></div>

</ul>
</nav>
</div><!-- /.navbar-collapse -->
</nav>
</div>
<div class="clearfix"></div>
</div>
</div>

footer.php

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

<!---copy-right ---->

<div class="copy-right">

<div class="container">

<div class="footer-social-icons wow fadeInDown animated animated" data-wow-delay=".5s"


style="visibility: visible; animation-delay: 0.5s; animation-name: fadeInDown;">

<ul>

<li><a class="facebook" href="#"><span>Facebook</span></a></li>

<li><a class="twitter" href="#"><span>Twitter</span></a></li>

<li><a class="flickr" href="#"><span>Flickr</span></a></li>

<li><a class="googleplus" href="#"><span>Google+</span></a></li>

<li><a class="dribbble" href="#"><span>Dribbble</span></a></li>

</ul>

</div>

<p class="wow zoomIn animated animated" data-wow-delay=".5s" style="visibility: visible;


animation-delay: 0.5s; animation-name: zoomIn;">© 2017 TMS . All Rights Reserved </p>

</div>

</div>
signin.php
<?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>

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

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>

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

</section>

</div>
</div>

</div>

logout.php
<?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");

?>

Admin
Index.php

<?php

session_start();

include('includes/config.php');

if(isset($_POST['login']))
{

$uname=$_POST['username'];

$password=md5($_POST['password']);

$sql ="SELECT UserName,Password FROM admin WHERE UserName=:uname and


Password=:password";

$query= $dbh -> prepare($sql);

$query-> bindParam(':uname', $uname, PDO::PARAM_STR);

$query-> bindParam(':password', $password, PDO::PARAM_STR);

$query-> execute();

$results=$query->fetchAll(PDO::FETCH_OBJ);

if($query->rowCount() > 0)

$_SESSION['alogin']=$_POST['username'];

echo "<script type='text/javascript'> document.location = 'dashboard.php'; </script>";

} else{

echo "<script>alert('Invalid Details');</script>";

?>

<!DOCTYPE HTML>

<html>

<head>
<title>TMS | Admin Sign in</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">

<link rel="stylesheet" href="css/jquery-ui.css">

<!-- 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="main-wthree">

<div class="container">
<div class="sin-w3-agile">

<h2>Sign In</h2>

<form method="post">

<div class="username">

<span class="username">Username:</span>

<input type="text" name="username" class="name" placeholder="" required="">

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

</div>

<div class="password-agileits">

<span class="username">Password:</span>

<input type="password" name="password" class="password" placeholder=""


required="">

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

</div>

<div class="login-w3">

<input type="submit" class="login" name="login" value="Sign In">

</div>

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

</form>

<div class="back">

<a href="../index.php">Back to home</a>

</div>

</div>

</div>

</div>
</body>

</html>
4.1 Testing Approach
4.1.1 Unit Testing
Unit testing is a software development process in which the smallest testable
parts of an application, called units, are individually and independently scrutinized for
proper operation. This testing methodology is done during the development process by the
software developers and sometimes QA staff.

Fig4.2.1 Testing on PHP code


4.1.2 Integration Testing
Integration testing (sometimes called integration and testing, abbreviated I&T) is the phase in
software testing in which individual software modules are combined and tested as a group.
Integration testing is conducted to evaluate the compliance of a system or component with
specified functional requirements

Fig 4.2.2 Integration testing


Chapter 5
Results and Discussion

Fig 5.1 Home page

Fig 5.2 Selection of tour


Fig 5.3 Booking enquiries/ details

Fig 5.4 Registration and login for Customers, Visitors& Local service providers
Fig 5.5 Individual profile display for registered users
Admin And Backend Pages
(Dashboard)

(Create Packages)
(Manage Users)

(Update Page Data)


Chapter 6

Conclusion and Future Work

Conclusion:

Here we have presented the design of a tour management system that can provide the
users with the required tourism guidance required anytime and anywhere. This is a combination
of smartphone and Internet services. The tour management website contributes a reasonable
way for the users to schedule their trips, since it provides detailed information about the tourist
places including description, image and map. This method includes various features/services
such as delivering customized packages, the distance between the source and destination
location, Google maps, online ticket booking, etc. This process achieves its main goal by
pertaining to real-time.
Future Work:

In the future it will enhanced by providing Tour and Travels Management System for
multiple cities on our websites.  In future, we will give facility of online donation.

We will include more functionality as per user require.  Multiple packages can be
booked by one customer at a time.

Updated feature should be enhanced for all modules.

Real-time feedback facility available on our website.

Travels management system will try to serve all expectations.

Not a single website is ever considering as complete forever firstly because there is
always something new requirement also are growing day by day.

More facilities will be enhanced in this project, such as:

 Online payment option.

 Create Manual package by need of customers.


Chapter 7

References
1. https://old.mu.ac.in/wp-content/uploads/2016/06/4.49-Final-TYBSc-IT-
Syllabus- 2.pdf
2. https://www.google.com/search?q=unit+testing+&client=avast-a-2&sxsrf=APq-
WBuIfZE7VC1cGjXmKfr6qk0kAYRGMQ%3A1649195956977&ei=tLtMYtug
O87Dz
3. https://www.google.com/search?q=Manali&client=avast-a-2&sxsrf=APq-
WBsvOfVkpnySvic_0tV_2cC1DxHdTQ:1649196002399&source=lnms&tbm=is
ch&
sa=X&ved=2ahUKEwjV7Yzv9f32AhVgIbcAHZg_DZMQ_AUoAnoECAIQBA
&bi w=1280&bih=601&dpr=1.5#imgrc=eO7S5h9VS4 0M
4. https://www.w3schools.com/
5. https://www.tutorialspoint.com/
6. https://en.wikipedia.org/

56 | P a g e

You might also like