Project Index: SR - No Title Page No

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 54

PROJECT INDEX

Sr.No Title Page No


1 Introduction
1.1 Company Profile 1
1.2 Abstract 1
1.3 Existing System and Need for System 1
1.4 Scope of System 2
1.5 Operating Environment - Hardware and Software 2
1.6 Brief Description of Technology Used 3
1.6.1 Operating systems used 5
1.6.2 RDBMS used to build database 5
2 Proposed System
2.1 Study of Similar Systems 6
2.2 Feasibility Study 7
2.3 Objectives of Proposed System 8
2.4 Users of System 9
3 Analysis and Design
3.1 System Requirements 10
3.2 Entity Relationship Diagram (ERD) 11
3.3 Table Structure 12
3.4 Use Case Diagrams 15
3.5 Class Diagram 16
3.6 Activity Diagram 17
3.7 Deployment Diagram 18
3.8 Module Hierarchy Diagram 19
3.9 Sample Input and Output Screens 20
4 Coding
4.1 Code snippets 34
5 Testing
5.1 Test Strategy 57
5.2 Unit Test Plan 58
5.3 Acceptance Test Plan 59
5.4 Test Case / Test Script 61
6 Limitations of Proposed System 62
7 Proposed Enhancements 63
8 Conclusion 64
9 Bibliography 65
10 Appendix – Cost sheet, Data sheet 66
11 User Manual 67
1. INTRODUCTION

1.1 Company Profile:


Paarsh info tech develops web and mobile applications that solve specific business problems. We
believe developing a successful solution is not about technology, but about customer service.

1.2 Abstract:
Tourism management system is a good application for booking tickets to travel. In old days we don’t
have any technology so we should go to the nearest retailer but now a days we no need to go anywhere
we can book anything at the same place where we are. The functionalities used in this application are
Admin and User.

1.3 Existing System & Need for System:

In the existing system, each task is carried out manually and processing is also a tedious job. In
previous system travelers were maintaining time table details manually in pen and paper, which was
time taking and costly. The travelers is not able to achieve its need in time and also the results may not
accurate. Because of the manual maintenance there are number of difficulties and drawbacks exist in
the system.

Drawbacks of the Existing System:-

 Increased transaction leads to increased source document and hence maintenance


becomes difficult.
 If any admin, user entry is wrongly made then the maintenance becomes very difficult.

1
1.4 Scope of System:

 Maintain the master files.

 System will maintain customer information such as name, email, contact no, address etc.

 Maintain the transaction files.

 To generate the report.

 The system will provide detailed information of various users, order etc...

 All transactions entries should be easy.

1.5 Operating Environment Hardware and Software:

Hardware and Software used:-

 Processer : Intel i5
 RAM : 8 GB
 Operating System: Windows

Technology used:-

 Database : MYSQL
 IDE Tool : Eclipse
 Technologies: Java, JSP Servlets, JavaScript, Boot strap, HTML5, CSS.

2
1.6 Brief Description of Technology Used:.

(1) JavaScript :-

Java Script is the world's most popular programming language. JavaScript is the programming
language of the Web. JavaScript is easy to learn. JavaScript is lightweight, interpreted programming
language.

(2)JQuery:-

jQuery is a lightweight, "write less, do more", JavaScript library.

The purpose of jQuery is to make it much easier to use JavaScript on your website.

jQuery takes a lot of common tasks that require many lines of JavaScript code to accomplish, and
wraps them into methods that you can call with a single line of code.

jQuery also simplifies a lot of the complicated things from JavaScript, like AJAX calls and DOM
manipulation.

(3)Ajax:-

AJAX = Asynchronous JavaScript And XML.AJAX is not a programming language. AJAX just uses a
combination of:

 A browser built-in XML HttpRequest object (to request data from a web server)
 JavaScript and HTML DOM (to display or use the data)

(4)Bootstrap:-

Bootstrap is the most popular HTML, CSS and JavaScript framework for developing a responsive
and mobile friendly website. It is absolutely free to download and use. It is a front-end framework
used for easier and faster web development .It includes HTML and CSS based design templates for
typography, forms, buttons, tables, navigation, modals, image carousels and many others can also
use JavaScript plug-ins. It facilitates you to create responsive designs.

(5)HTML5:-

HTML5 tutorial provides details of all 40+ HTML tags including audio, video, header, footer, data,
data list, article etc. This HTML tutorial is designed for beginners and professionals.
3
HTML5 is a next version of HTML. Here, you will get some brand new features which will make
HTML much easier. These new introducing features make your website layout clearer to both website
designers and users. There are some elements like <header>, <footer>, <nav> and <article> that define
the layout of a website.

(6) CSS :-
CSS stands for Cascading Style Sheets.CSS describes how HTML elements are to be displayed on
screen, paper, or in other media. CSS saves a lot of work. It can control the layout of multiple web
pages all at once. External style sheets are stored in CSS files.

(7) UML :-
UML (Unified Modeling Language) is a standard language for specifying, visualizing, constructing,
and documenting the artifacts of software systems. UML was created by the Object Management
Group (OMG) and UML 1.0 specification draft was proposed to the OMG in January 1997. It was
initially started to capture the behavior of complex software and non-software system and now it has
become an OMG standard. This tutorial gives a complete understanding on UML.OMG is
continuously making efforts to create a truly industry standard.

 UML is different from the other common programming languages such as C++, Java,
COBOL, etc.
 UML is a pictorial language used to make software blueprints.

1.6.1 Operating System Used:

We have used Windows 11 as our operating system. Microsoft Windows is a group of


several proprietary graphical operating system families developed and marketed by Microsoft. Each
family caters to a certain sector of the computing industry. For example, Windows NT for consumers,
Windows Server for servers, and Windows IoT for embedded systems. Defunct Windows families
include Windows 9x, Windows Mobile, and Windows Phone.

1.6.2 MySQL used to build database:


MySQL is a relational database management system based on SQL – Structured Query
Language. The application is used for a wide range of purposes, including data warehousing,
e-commerce, and logging applications. The most common use for MySQL however, is for the
purpose of a web database.
MySQL is a component of the LAMP web application software stack (and others), which is
an acronym for Linux, Apache, MySQL, Perl/PHP/Python.
MySQL is used by many databases driven web applications, including Drupal, Joomla, and
WordPress. MySQL is also used by many popular websites, including Facebook, Flickr, Media-Wiki,
Twitter, and YouTube.

4
2. 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 places they want to visit and make bookings online for travel and
accommodation.

2.1. Study of Similar Systems:


To provide flexibility to the users, the interfaces have been developed that are accessible through a
browser.

The GUI’S at the top level have been categorized as

1. Administrative user interface


The ‘administrative user interface’ concentrates on the consistent information that is practically, part of
the organizational activities and which needs proper authentication for the data collection. These
interfaces help the administrators with all the transactional states like Data insertion, Data deletion and
Date updation along with the extensive data search capabilities.

2. The operational or generic user interface


The ‘operational or generic user interface’ helps the end users of the system in transactions through the
existing data and required services. The operational user interface also helps the ordinary users in
managing their own information in a customized manner as per the included flexibilities.

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 increase
the trust of the customer into the travel company as well.
Once the bookings are confirmed all the travel details, customer details as well as all the relevant
details related to the trip like hotel name, room number, vehicle number, vehicle owner’s details, date
of arriving, date of departure, food to be served and every single detail will be available to the client.
They just need once to click using mouse and everything is made available to them.

5
2.2 Feasibility Study:
The purpose of feasibility study is to investigate deeply the recommended system. Feasibility study is
carried out to describe and evaluate the proposed system. The study Will justify whether the project is
feasible or not and whether it is worthwhile or not. Therefore, a feasibility study of the proposed
system needs to be carried out in Order to -
 Provide a better understanding of the System.
 Clarify objectives in the proposed System.
 Assess and recommend what course of action should be taken for the
Solution proposed.
 Describe the outputs.
There are many factors to access when analysing whether the proposed system is Feasible and
should be adopted. These factors are Technical Feasibility, Operational Feasibility, Social Feasibility
and Economical Feasibility. In order to test Technical, Operational and Economical Feasibility, the
system comparisons are carried out between The Proposed System and The Existing System, so
that the proposed system can be easily taken over.

1) Technical Feasibility:

Technical Feasibility is defined as the feasibility that is concerned with specifying equipment and
software that will successfully satisfy the user requirement. It compasses the technical needs of the
system. It helps organizations determine whether the technical resources meet capacity and whether
the technical team is capable of converting the ideas into working systems. Technical feasibility also
involves the evaluation of the hardware, software, and other technical requirements of the proposed
system.
The Technical feasibility deals with some facts such as: -

 Is the proposed system technically feasible?


 Is it within the state of art?
 What hardware and software will be required?

6
2) Operational Feasibility:

Operational feasibility is the measure of how well a proposed system solves the problems, and takes
advantage of the opportunities identified during scope definition and how it satisfies the requirements
identified in the requirements analysis phase of system development. Operational feasibility refers to
the measure of solving problems with the help of a new proposed system. It helps in taking
advantage of the opportunities and fulfils the requirements as identified during the development of
the project.

3) Economic Feasibility:
Economic feasibility determines whether the required software is capable of generating financial gains
for an organization. It involves the cost incurred on the software development team, estimated cost of
hardware and software, cost of performing feasibility study, and so on.

2.3 Objective of Proposed System:


This application is develop to provide best travelling services to the customers and travel agents. We
have developed tours and travel 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 favorable 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 tours and travels management system. This
system also keeps a history of visited places of its users.

7
2.4 Users of System:
1) User:-
 First user need to register(enter the details)
 Then user can login
 After user can fill the package, room, food, transport details
 After filling details user confirm the bookings and make payments
2) Admin:-
 First admin can login
 Then admin can manage the package, room, food, transport, discount details
 Also admin can delete or modify the package ,room, food ,transport ,discount details

3. Analysis and Design


8
3.1 System Requirements (Functional and Non-Functional
requirements):-

Functional Requirements

 Travel management system offer logout functionality to end users.

 Travel management system will only accept a valid login details to enroll on a travel
Management System.

 Travel management system will provide password security facility.

 Travel management system will redirect the user login whenever the package booked then go
for online payment process.

Non Functional Requirements


 Database Security: An unauthorized person cannot access the panel and database, do not read
and write the information. It should maintain the security of the client’s payment method.

 Reservations Requirement: Travel management system should reserve a travel package


weekly evaluation by the project guide.

 Reliability Requirement: Travel management system should provide a reliable environment


to both customers and owner.

 Usability Requirement: The travel Management System is designed for user friendly
environment and ease of use.

 Availability: The travel Management System should be available for 24 hours because it offers
international tourists reserved packages from different countries so it should be available for 24
hours.

9
3.2 Entity Relationship Diagram (ERD):

10
3.3 Table Structure:

A table structure or data dictionary is a collection of descriptions of the data objects or items in a data
model for the benefit of programmers and others who need to refer to them. A first step in analyzing a
system of objects with which users interact is to identify each object and its relationship to other
objects.

Registration
Field Data type
Id int

Name varchar

Email varchar

Phone int

Password Varchar

Book Package
Field Data type
Id int

package_name varchar

package_place varchar

no_of_days int

Cost int

no_of_person int

total_cost int

11
Book Room
Field Datatype
Id int

package_name varchar

select_place varchar

hotel_name varchar

room_type varchar

room_size int

Cost int

select_date varchar

Book Food
Field Data type
Id int

select_package varchar

select_place varchar

food_type varchar

food_name varchar

Cost int

quantity int

total_cost int

12
Book Transport
Field Data type
Id int

select_package_name varchar

select_place varchar

transport_type varchar

vehicle_type varchar

vehicle_name varchar

Cost int

select_date varchar

13
3.4 Use Case Diagram:

Admin Customer

14
3.5 Class Diagram:

15
3.6 Activity Diagram:

16
3.7 Deployment Diagram:

17
3.8 Sample Input and Output Screens:
1. Home:-

18
2. User:-
2.1 User Registration:-

2.2 Login:-

19
2.3 Book Package:-

20
2.4 Change Password

2.5 Tours History

21
2.6 Admin Login

22
4. Coding

4.1 Code Snippets:

4.1.1 Login Page

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

23
<!--//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;"
style="color:#000 !important"> TMS - Tourism Management System</h1> -->
</div>
</div>

<!---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">
24
<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">
25
<div class="rou-left">
<a href="#"><i class="fa fa-user"></i></a>
</div>
<div class="rou-rgt">
<h3>1900</h3>
<p>Registered 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>

26
4.1.2 Package List

<?php
session_start();
error_reporting(0);
include('includes/config.php');
?>
<!DOCTYPE HTML>
<html>
<head>
<title>TMS | Package 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;"> TMS- Package List</h1>
</div>
</div>
<!--- /banner ---->
<!--- rooms ---->
<div class="rooms">
27
<div class="container">

<div class="room-bottom">
<h3>Package 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>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>INR <?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 ---->


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

Profile.java:-

package userServlet;

import java.io.IOException;
import java.io.PrintWriter;
import java.sql.*;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import connection.ConnectionString;

/**
* Servlet implementation class UpdateProfile
*/

@WebServlet("/UpdateProfile")
public class UpdateProfile extends HttpServlet {
private static final long serialVersionUID = 1L;

/**
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/

protected void doPost(HttpServletRequest request, HttpServletResponse response) throws


ServletException, IOException {
String name = request.getParameter("name");
String email = request.getParameter("email");
String mobile = request.getParameter("mobile");
PrintWriter out = response.getWriter();

try {
Connection con=ConnectionString.getCon();//getting db connection
PreparedStatement ps = con.prepareStatement("update register set name =?, mobile =? where
email='"+email+"'");

29
ps.setString(1,name );
ps.setString(2, mobile);
ps.executeUpdate();
out.println("Updated Successfully");
}
catch (Exception e)
{
// TODO Auto-generated catch block

e.printStackTrace();
}
}

Profile .php:-

<?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>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" />
<meta name="keywords" content="Tourism Management System In PHP" />
<script type="applijewelleryion/x-javascript"> addEventListener("load", function()
{ setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
30
<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>
</div>
<!--- /banner-1 ---->
<!--- privacy ---->
<div class="privacy">
<div class="container">
<h3 class="wow fadeInDown animated animated" data-wow-delay=".5s"
31
style="visibility: visible; animation-delay: 0.5s; animation-name: fadeInDown;">My Profile!!</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>

<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>
32
</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 } ?>

33
List of Package :-

<?php
session_start();
error_reporting(0);
include('includes/config.php');
?>
<!DOCTYPE HTML>
<html>
<head>
<title>TMS | Package 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;"> TMS- Package List</h1>
</div>
</div>
<!--- /banner ---->
<!--- rooms ---->
<div class="rooms">
34
<div class="container">

<div class="room-bottom">
<h3>Package 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>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>INR <?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 ---->


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

1.2.4) Password Change

<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(isset($_POST['submit50']))
{
$email=$_POST['email'];
$mobile=$_POST['mobile'];
$newpassword=md5($_POST['newpassword']);
$sql ="SELECT EmailId FROM tblusers WHERE EmailId=:email and
MobileNumber=:mobile";
$query= $dbh -> prepare($sql);
$query-> bindParam(':email', $email, PDO::PARAM_STR);
$query-> bindParam(':mobile', $mobile, PDO::PARAM_STR);
$query-> execute();
$results = $query -> fetchAll(PDO::FETCH_OBJ);
if($query -> rowCount() > 0)
{
36
$con="update tblusers set Password=:newpassword where EmailId=:email and
MobileNumber=:mobile";
$chngpwd1 = $dbh->prepare($con);
$chngpwd1-> bindParam(':email', $email, PDO::PARAM_STR);
$chngpwd1-> bindParam(':mobile', $mobile, PDO::PARAM_STR);
$chngpwd1-> bindParam(':newpassword', $newpassword, PDO::PARAM_STR);
$chngpwd1->execute();
$msg="Your Password succesfully changed";
}
else {
$error="Email id or Mobile no is invalid";
}
}

?>
<!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" />
<meta name="keywords" content="Tourism Management System In PHP" />
<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>
<script type="text/javascript">
function valid()
37
{
if(document.chngpwd.newpassword.value!=
document.chngpwd.confirmpassword.value)
{
alert("New Password and Confirm Password Field do not match !!");
document.chngpwd.confirmpassword.focus();
return false;
}
return true;
}
</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>
</div>
<!--- /banner-1 ---->
<!--- privacy ---->
<div class="privacy">
38
<div class="container">
<h3 class="wow fadeInDown animated animated" data-wow-delay=".5s"
style="visibility: visible; animation-delay: 0.5s; animation-name:
fadeInDown;">Recover Password</h3>
<form name="chngpwd" method="post" onSubmit="return valid();">
<?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 }?>
<p style="width: 350px;">

<b>Email id</b> <input type="email" name="email" class="form-


control" id="email" placeholder="Reg Email id" required="">
</p>

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

<b>Mobile No</b> <input type="text" name="mobile"


class="form-control" id="mobile" placeholder="Reg Mobile no" required="">
</p>

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


<b>New Password</b>
<input type="password" class="form-control" name="newpassword"
id="newpassword" placeholder="New Password" required="">
</p>

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


<b>Confirm Password</b>
<input type="password" class="form-control" name="confirmpassword"
id="confirmpassword" placeholder="Confrim Password" required="">
</p>

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


<button type="submit" name="submit50" class="btn-primary btn">Change</button>
</p>
</form>

</div>
</div>
<!--- /privacy ---->
<!--- footer-top ---->
39
<!--- /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>

4.1.5 Check Availablity

<?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();
$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>";
}
}
40
}

?>

41
5. Testing

5.1 Test Strategy


Testing is the set of activities that can be planned in advanced and conducted systematically. Testing
requires that the developer discard preconceived notions of the “correctness” of the software just
developed and overcome a conflict of interest that occurs when errors are encountered. Testing
principles are.
 All tests should be traceable to customer requirements.
 Testing should be planned long before the testing begins.
 Testing should begin “in the small” and progress towards testing “in the large”.
 Exhaustive testing is not possible.
 To be most effective, testing should be conducted by an independent third party.
Testing objective are,
 Testing is the process of executing a program within the intent of finding an error.
 A good test case is one that has high probability of finding an as-yet-undiscovered error.
 A successful test is one that uncovers an as yet-undiscovered error.
There are various testing strategies available to accommodate from low-level testing to high-level
testing as discussed below

42
5.2 Unit Test Plan
A unit test plan for a Travel and Tourism Management System software involves testing individual
components or units of code to ensure their correctness and functionality. Here's a suggested approach
for creating a unit test plan:

1. Identify Units: Identify the individual units or components within the Travel and Tourism
Management System software that need to be tested. These units could include classes, methods,
functions, or modules.

2. Define Test Scope: Determine the scope of the unit tests. Decide which specific functionalities
or behaviors of the Travel and Tourism Management System will be covered by the unit tests.

3. Test Framework and Tools: Select a unit testing framework and the necessary tools for
writing and executing unit tests. Popular frameworks for Java include JUnit and TestNG, while
frameworks like NUnit and MSTest are commonly used in .NET environments.

4. Test Environment Setup: Set up a test environment that closely resembles the production
environment. This may include configuring databases, mocking external dependencies, and setting up
necessary test data.

5. Test Data: Create appropriate test data for each unit test. Ensure that the test data covers different
scenarios, including valid and invalid inputs, boundary cases, and edge conditions.

43
5.3 Acceptance Test Plan

An acceptance test plan for the Travel and Tourism Management System software outlines the
approach for conducting acceptance testing, which verifies whether the system meets the specified
requirements and is ready for deployment. Here's a suggested structure for an acceptance test plan:

1. Introduction
a. Purpose: Clearly state the purpose of the acceptance test plan.
b. Scope: Define the scope of the acceptance testing, including the functionalities and features to be
tested.
c. Test Environment: Specify the test environment setup, including hardware, software, and
configurations.

2. Test Objectives
a. List the objectives of the acceptance testing phase, such as validating the system against user
requirements, ensuring usability, and verifying system integration.

3. Test Approach
a. Define the overall approach for conducting acceptance testing, including the techniques, methods,
and tools to be used.
b. Describe the test data and test scenarios that will be employed during the acceptance testing phase.
c. Outline any specific test coverage criteria or metrics that will be used to measure the success of the
acceptance testing.

4. Roles and Responsibilities


a. Identify the key stakeholders involved in the acceptance testing process, including the testing team,
system owners, and end users.
b. Define the responsibilities of each stakeholder throughout the acceptance testing phase.

5. Test Execution
a. Test Scenarios: Provide a list of high-level test scenarios that will be executed during acceptance
testing. These scenarios should cover critical functionalities and use cases of the Travel and Tourism
Management System.
b. Test Procedures: Detail the step-by-step procedures for executing each test scenario. Include
specific inputs, expected outputs, and any preconditions or setup steps required.
c. Test Data: Specify the test data that will be used during the acceptance tests. This should include
sample tourist data, test user accounts, and any other relevant data sets.
d. Test Environment Setup: Provide instructions for setting up the test environment, including the
installation of the Travel and Tourism Management System, database configuration, and any necessary
integrations.

6. Test Criteria and Exit Criteria


a. Define the acceptance criteria for each test scenario, specifying the expected results and
performance thresholds.
b. Outline the exit criteria for the acceptance testing phase, such as a specific percentage of test
coverage or a maximum number of critical defects.

44
7. Defect Management
a. Describe the process for reporting and managing defects discovered during acceptance testing.
b. Define the severity and priority levels for categorizing defects, and explain the expected turnaround
time for resolving critical issues.

8. Test Deliverables
a. Identify the deliverables that will be produced during the acceptance testing phase, such as test
reports, defect logs, and any updated documentation.

9. Schedule and Milestones


a. Present a timeline for the acceptance testing phase, including planned milestones and key activities.
b. Outline any dependencies or constraints that may impact the testing schedule.

10. Risks and Contingency Plans


a. Identify potential risks and challenges associated with the acceptance testing process.
b. Propose contingency plans or mitigation strategies to address these risks.

11. Approval and Sign-Off


a. Specify the individuals or roles responsible for reviewing and approving the acceptance test plan.
b. Establish a sign-off process to indicate formal acceptance and agreement with the test plan.

45
5.4 Test Cases/Test Script
Test Test Test Case Step Executed Actual Test Case Priority
Case Id Case Description Result Status
Name
Login Validat To verify Enter number Invalid Error Designed High
e Login appropriate or special username Message
user login characters or
password
Package Validat To verify all Leave any Add & Button Designed Medium
Details e Fields the fields are field empty Update disabled
filed button
disabled

6. Limitations of Proposed System

46
6.1. Drawbacks:
1. This site is a product of Human mind. Software Engineer develops software after long
hours of analysis, evaluation and other SDLC functions. Still there can be limitations and
drawbacks.
2. The Drawbacks of system are as follows:
3. Help facility and information about the system would be insufficient in some particular
cases.
4. Computer being an electronic machine its feature are always incompatible to human
being.
5. The users of the site cannot communicate online to each other.
6. No bargaining.

6.2. Limitations:

1. Sometimes very high data interaction so server is down.


2. Very high security needed to this system.

7. Proposed Enhancements

47
1. Report will be save and print in Table format.
2. As we know that life is not static rather is dynamic, there for changes for betterment
necessary. Hence in every system there should be scope for improvement.
3. Growing and prospective is part of nature. Though the system is design with the aim of
perfection.
4. In future user can get more Transparency in system
5. Computer Checker facility will be gets added.
6. Will be able to maintain the Facility.
7. Will be able to cancel the Package.

8. Conclusion

48
While developing this project I have to learn a lot about Tours and Travels Management System. I
have also learned how to make it user-friendly.
During the development process I studied carefully and understood the criteria for making software
more demanding. I also realize the importance of maintaining the user information.
The system generated error message whenever required. The validation facility of system totally
eliminates the chance of wrong data entry.

9. Bibliography
Websites
 https://www.tutorialspoint.com/asp.net/index.htm
49
 https://www.tutorialspoint.com/object_oriented_analysis_design/index.html
 https://www.tutorialspoint.com/uml/index.html
 http://www.youtube.com/RationalRose

10.Appendix – Cost Sheet, Data Sheet

50
Data Sheet:-

Project Highlights:-

1. Simplified Booking Process:


Easy and quick booking for flights, hotels, and activities.
2. Real-time Information:
Access to up-to-date availability and pricing.
3. User-friendly Interface:
Intuitive design for a seamless user experience.
4. Customizable Itineraries:
Personalized travel plans and flexible scheduling.
5. Data Security:
Robust measures to protect user information.

# Key feature 1
User Registration and Authentication: Allow users to create accounts and sign in securely.

# Key feature 2:
Online Booking and Reservations: Enable users to book flights, hotels, car rentals, tours, and other
travel services online.

# Key Feature 3:
Travel Packages and Deals: Offer pre-designed travel packages and special deals to
attract customers.

# Key feature 4:
Compliance and Security: Ensure compliance with data protection regulations and implement robust
security measures to safeguard customer information and payment details.

11.User Manual
User Manual provides the information which helps the user to operate the system. With the help of
51
user manual user can operate the system easily. This user manual contains all the needed guidelines
about this system.

User:-
1) Registration by filling the required details.
2) Then login.
3) User can select package, place, room, food, transport.
4) User can update or modify details.
5) After selecting the entire details user do the confirmation.
6) After confirmation user do the payment process.

Admin:-
1) First admin can do login.
2) Then admin can manage the user details.
3) Admin can manage or update the package, room, food, transport and discount details.

52
Thank - You

53

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy