Sample Project Report
Sample Project Report
INTRODUCTION
Our website name is “THE ECHO HOTEL”. Interface of the website is very simple
and user friendly. The system being an online system will give accurate information
regarding the hotel rooms which helps to view all the room related information directly
from anywhere. The system which will allow the user to quickly and easily search a hotel
room to make their trip memorable. We developed this website using software like Visual
Studio 2010, SQL Server. The front end of the website is developed using Visual Studio
and the backend coding is write in C#. We provide two types of logins in our website i.e.
1. User Login.
2. Admin Login.
In the Admin panel some special rights were given to the admin, using these rights admin
can add, update and delete the room related details like room type, services like-Food,
Pool, Gym etc. and admin can also view and delete registered user’s details.
We provide a booking form for users, by filling this form they will become our registered
user and able to log in to the website. Registered users are those who can look for
multiple rooms and services provided by the hotel. Admin can add multiple new facilities
and can make changes in the website related to hotel rooms. Users can contact the hotel
for any enquiry. Users are given feedback form inside the website only to record their
personal views about the room.
1
2. SYSTEM ANALYSIS
A key part of system analysis of the existing system is gathering all the relevant
information about the present system. The system analyst has to find out how the current
system works. He must know what information together, where to find it. How to collect
it so he has to spend a lot of time talking with users and gathering the information. The
various tools can also be used for gathering the information
2
2.2 Proposed System:
✔ The Proposed system which will allow the user to quickly and easily search for a room
✔ The register users can look for multiple rooms with multiple facilities too.
✔ The system is designed and developed in such a way that any user can come over the
✔ This system being an online system will give accurate information regarding the rooms
which helps to view all the room information directly from anywhere.
✔ Users should be able to make changes in their packages and be able to change their
account details. Users should be able to view overall rooms available in the hotel.
3
3. FEASIBILITY STUDY
Feasibility study is the most important step in system analysis. It is the determination of whether
the project is feasible or not. Once it has been determined that a project is feasible, the analyst
can go ahead and prepare the project specification which finalizes project requirements.
It provides data about user requirements and a full identification of system objectives. A
feasibility study is carried out to select the best system that meets performance standards.
✔ Statement of constraints: Encompassing all the factors that limit the solution of the
problem.
✔ Determine and evaluate performance and cost effective of each proposed system.
4
There are 3 types of feasibility considerations:
• Economic feasibility
• Technical feasibility
• Operational feasibility
Economic Feasibility deals with the economic impact faced by the organization to implement a
new system. Financial benefits must equal or exceed the costs. The cost of conducting a full
system, including software and hardware cost for the class of application being considered
should be evaluated.
By implementing the computerized management software in our Echo Hotel Website, we are
able to store our records electronically which replace the storage area, with this we are able to
keep a backup of all our records. This again helps in reducing the cost of stationery using the
earlier system and making our system electronically better.
Economic analysis is the most frequently used method for evaluating the effectiveness of a new
system. More commonly known as cost/benefit analysis, the procedure is to determine the
benefits and savings that are expected from a candidate system and compare them with costs. If
benefits outweigh costs, then the decision is made to design and implement the system. An
entrepreneur must accurately weight the cost versus benefits before taking an action.
5
3.2 Technical Feasibility
This is concerned with specifying equipment and software that will successfully satisfy the user
requirement. The technical needs of the system may vary considerably, but it may center on the
following situations:
wear-tear.
✔ The examining technical feasibility configuration of the system is given more importance
than the actual makes of hardware. The configuration should give the complete picture
about the system’s requirements. The existing computer system property supports this
software. Hence it can be concluded that the proposed system is technically feasible.
6
3.3 Operational Feasibility
This system can be implemented anywhere, as there is adequate support for the user. With
minimum training the user can get familiar with it and can get better results. The system is easy
to operate so it is operationally feasible. This feasibility test asks if the system will work when it
is developed and installed. Operational feasibility in this project:
✔ The proposed system produces best results and gives high performance.
7
4. SYSTEM REQUIREMENT SPECIFICATIONS
Client
8
5. SYSTEM DESIGN
System Design is the most creative and challenging phase in the system life cycle. Design is the
first step into the development phase for any engineered product or system. Design is a creative
process. A good design is the key to an effective system. System design is a solution to how to
approach the creation of a new system. System design transforms a logic representation of what
is required to do into the physical specification. The specification is converted into physical
reality during development.
Logical Design
The logical flow defines the functionality of a system. It includes the following steps:
✔ Reviews the current physical system – its data flows, file content, volumes, frequencies
etc.
✔ Prepares output specifications – that is, determines the format, content and frequency of
reports.
✔ Prepares input specifications – format, content and most of the input functions.
✔ Prepares a logical design walk through of the information flow, output, input, controls
9
Physical Design
Physical system produces the working systems by defining the design specifications that tell the
programmers exactly what the candidate system must do. It includes the following steps:
✔ Design physical information flows through the system and a physical design walk
through.
✔ Devise a test and implementation plan and specify any new hardware/software.
10
5.1. Data Flow Diagram
Context Level DFD: -
11
Second Level DFD OF Manage User Info: -
12
Second Level DFD for User Account (2.0) for User: -
13
5.2. E-R Diagram
Full System E-R Diagram
admin table
14
user table
rooms table
pay table
15
service table
16
5.3. Data Structure
about table
Primary key: id
admin table
Primary Key: id
booking table
Primary Key: id
17
contact table
Primary Key: id
feedback table
Primary Key: id
Geninfo table
Primary Key: id
newsletter table
Primary Key: id
18
service table
Primary Key: id
Primary Key: id
rooms table
Primary Key: id
pay table
Primary Key: id
19
6. PROJECT DESIGN
6.1. Screen Shots
20
21
22
6.1.2 : Rooms
23
24
6.1.3 : Services
25
6.1.4 : Feedback
26
6.1.5 : Admin Login
27
28
6.1.7 : General Info(Add Info)
29
6.2. Code :
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta charset="utf-8">
<title>THE ECHO</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">
<meta content="" name="description">
</head>
<body>
30
<form id="form1" runat="server">
<div>
<ItemTemplate>
</asp:Repeater>
</a>
</div>
<div class="col-lg-9">
<div class="row gx-0 bg-white d-none d-lg-flex">
<div class="col-lg-7 px-5 text-start">
<div class="h-100 d-inline-flex align-items-center py-2
me-4">
<i class="fa fa-envelope text-primary me-2"></i>
<asp:Repeater ID ="Rept" runat ="server">
<ItemTemplate>
<ItemTemplate>
<p class="mb-0"><%#DataBinder .Eval (Container
,"DataItem.phone")%></p>
</ItemTemplate>
</asp:Repeater>
</div>
</div>
<div class="col-lg-5 px-5 text-end">
<div class="d-inline-flex align-items-center py-2">
<a class="me-3" href="https://www.facebook.com"
target="_blank"><i class="fab fa-facebook-f"></i></a>
<a class="me-3" href="https://www.twitter.com"><i
class="fab fa-twitter"></i></a>
<a class="me-3" href="https://www.linkedin.com"><i
class="fab fa-linkedin-in"></i></a>
<a class="me-3" href="https://www.instagram.com"><i
class="fab fa-instagram"></i></a>
31
<a class="" href="https://www.youtube.com"><i class="fab
fa-youtube"></i></a>
</div>
</div>
</div>
<nav class="navbar navbar-expand-lg bg-dark navbar-dark p-3 p-lg-0">
<a href="Default.aspx" class="navbar-brand d-block d-lg-none">
<h1 class="m-0 text-primary text-uppercase">THE ECHO</h1>
</a>
<button type="button" class="navbar-toggler"
data-bs-toggle="collapse" data-bs-target="#navbarCollapse">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-between"
id="navbarCollapse">
<div class="navbar-nav mr-auto py-0">
<a href="Default.aspx" class="nav-item nav-link
">Home</a>
<a href="about.aspx" class="nav-item nav-link">About</a>
<a href="service.aspx" class="nav-item
nav-link">Services</a>
<a href="room.aspx" class="nav-item nav-link">Rooms</a>
<div class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle"
data-bs-toggle="dropdown">Pages</a>
<div class="dropdown-menu rounded-0 m-0">
<a href="booking.aspx"
class="dropdown-item">Booking</a>
<a href="testimonial.aspx"
class="dropdown-item">Testimonial</a>
</div>
</div>
<a href="contact.aspx" class="nav-item
nav-link">Contact</a>
<a href="feedback.aspx" class="nav-item
nav-link">Feedback</a>
</div>
<a href="room.aspx" class="btn btn-primary rounded-0 py-4
px-md-5 d-none d-lg-block">ROOMS <i class="fa fa-arrow-right ms-3"></i></a>
</div>
</nav>
</div>
</div>
</div>
<!-- Header End -->
</asp:ContentPlaceHolder>
<!-- Newsletter Start -->
<div class="container newsletter mt-5 wow fadeIn" data-wow-delay="0.1s">
<div class="row justify-content-center">
<div class="col-lg-10 border rounded p-1">
<div class="border rounded text-center p-1">
<div class="bg-white rounded text-center p-5">
32
<h4 class="mb-4">Subscribe Our <span class="text-primary
text-uppercase">Newsletter</span></h4>
<div class="position-relative mx-auto" style="max-width:
400px;">
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Newsletter End -->
<!-- Footer Start -->
<div class="container-fluid bg-dark text-light footer wow fadeIn"
data-wow-delay="0.1s">
<div class="container pb-5">
<div class="row g-5">
<div class="col-md-6 col-lg-4">
<div class="bg-primary rounded p-4">
<a href="index.html"><h1 class="text-white text-uppercase
mb-3">THE ECHO</h1></a>
<p class="text-white mb-0">
Download <a class="text-dark
fw-medium" href="https://htmlcodex.com/hotel-html-template-pro">The echo – Premium
Version</a>, build a professional website for your hotel business and grab the attention
of new visitors upon your site’s launch.
</p>
</div>
</div>
<div class="col-md-6 col-lg-3">
<h6 class="section-title text-start text-primary text-uppercase
mb-4">Contact</h6>
<p class="mb-2"><i class="fa fa-map-marker-alt me-3"></i>Ratanada
circle,jodhpur,rajasthan</p>
<p class="mb-2"><i class="fa fa-phone-alt me-3"></i>+91
8890074144</p>
<p class="mb-2"><i class="fa fa-envelope
me-3"></i>[email protected]</p>
<div class="d-flex pt-2">
<a class="btn btn-outline-light btn-social"
href="https://www.twitter.com"><i class="fab fa-twitter"></i></a>
<a class="btn btn-outline-light btn-social"
href="https://www.facebook.com"><i class="fab fa-facebook-f"></i></a>
<a class="btn btn-outline-light btn-social"
href="https://www.youtube.com"><i class="fab fa-youtube"></i></a>
<a class="btn btn-outline-light btn-social"
href="https://www.linkedin.com"><i class="fab fa-linkedin-in"></i></a>
<a class="btn btn-outline-light btn-social"
href="https://www.instagram.com"><i class="fab fa-instagram"></i></a>
</div>
33
</div>
<div class="col-lg-5 col-md-12">
<div class="row gy-5 g-4">
<div class="col-md-6">
<h6 class="section-title text-start text-primary
text-uppercase mb-4">Company</h6>
<a class="btn btn-link" href="about.aspx">About Us</a>
<a class="btn btn-link" href="contact.aspx">Contact
Us</a>
<a class="btn btn-link" href="pv.aspx">Privacy Policy</a>
<a class="btn btn-link" href="term.aspx">Terms &
Condition</a>
<a class="btn btn-link" href="support.aspx">Support</a>
</div>
<div class="col-md-6">
<h6 class="section-title text-start text-primary
text-uppercase mb-4">Services</h6>
<a class="btn btn-link" href="food.aspx">Food &
Restaurant</a>
<a class="btn btn-link" href="spa.aspx">Spa & Fitness</a>
<a class="btn btn-link" href="game.aspx">Sports &
Gaming</a>
<a class="btn btn-link" href="party.aspx">Event &
Party</a>
<a class="btn btn-link" href="gym.aspx">GYM & Yoga</a>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="copyright">
<div class="row">
<div class="col-md-6 text-center text-md-start mb-3 mb-md-0">
© <a class="border-bottom" href="#">THE ECHO</a>, All
Right Reserved.
<a href="support.aspx">Help</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer End -->
34
</div>
</asp:Content>
35
<div class="p-3" style="max-width: 700px;">
<h6 class="section-title text-white text-uppercase mb-3
animated slideInDown">The Echo Living</h6>
<h1 class="display-3 text-white mb-4 animated
slideInDown">Discover A Brand Luxurious Hotel</h1>
<a href="room.aspx" class="btn btn-primary py-md-3
px-md-5 me-3 animated slideInLeft">Our Packages</a>
</div>
</div>
</div>
<div class="carousel-item">
<img class="w-100" src="img/imperial_port_19_6011-copy-1.jpg"
alt="Image" height="600px">
<div class="carousel-caption d-flex flex-column
align-items-center justify-content-center">
<div class="p-3" style="max-width: 700px;">
<h6 class="section-title text-white text-uppercase mb-3
animated slideInDown">The Echo Living</h6>
<h1 class="display-3 text-white mb-4 animated
slideInDown">Discover A Brand Luxurious Hotel</h1>
<a href="" class="btn btn-primary py-md-3 px-md-5 me-3
animated slideInLeft">Our Package</a>
</div>
</div>
</div>
</div>
<button class="carousel-control-prev" type="button"
data-bs-target="#header-carousel"
data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button"
data-bs-target="#header-carousel"
data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
<!-- Carousel End -->
36
<ItemTemplate>
</asp:Repeater></span></h1>
<p class="mb-4"> <asp:Repeater ID ="Rept11" runat ="server">
<ItemTemplate>
</div>
<div class="col-sm-4 wow fadeIn" data-wow-delay="0.3s">
</div>
<div class="col-sm-4 wow fadeIn" data-wow-delay="0.5s">
</div>
</div>
<a class="btn btn-primary py-3 px-5 mt-2"
href="about.aspx">Explore More</a>
</div>
<div class="col-lg-6">
<div class="row g-3">
<div class="col-6 text-end">
<img class="img-fluid rounded w-75 wow zoomIn"
data-wow-delay="0.1s" src="img/about-1.jpg" style="margin-top: 25%;">
</div>
<div class="col-6 text-start">
<img class="img-fluid rounded w-100 wow zoomIn"
data-wow-delay="0.3s" src="img/about-2.jpg">
</div>
<div class="col-6 text-end">
<img class="img-fluid rounded w-50 wow zoomIn"
data-wow-delay="0.5s" src="img/about-3.jpg">
</div>
<div class="col-6 text-start">
<img class="img-fluid rounded w-75 wow zoomIn"
data-wow-delay="0.7s" src="img/about-4.jpg">
</div>
</div>
</div>
</div>
</div>
</div>
<!-- About End -->
<!-- Service Start -->
<div class="container-xxl py-5">
<div class="container">
<div class="text-center wow fadeInUp" data-wow-delay="0.1s">
37
<h6 class="section-title text-center text-primary text-uppercase">Our
Services</h6>
<h1 class="mb-5">Explore Our <span class="text-primary
text-uppercase">Services</span></h1>
</div>
<div class="row g-4">
<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="0.1s">
<a class="service-item rounded" href="room.aspx">
<div class="service-icon bg-transparent border rounded p-1">
<div class="w-100 h-100 border rounded d-flex
align-items-center justify-content-center">
<i class="fa fa-hotel fa-2x text-primary"></i>
</div>
</div>
<h5 class="mb-3">Rooms & Appartment</h5>
<p class="text-body mb-0">There is nothing more important
than a good,safe,secure home.</p>
</a>
</div>
<asp:Repeater ID ="RepeatInformation1" runat ="server">
<ItemTemplate>
<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="0.2s">
<a class="service-item rounded"
href='food.aspx?title=<%#DataBinder .Eval (Container ,"DataItem.id")%>'>
<div class="service-icon bg-transparent border rounded p-1">
<div class="w-100 h-100 border rounded d-flex
align-items-center justify-content-center">
<i class="<%#DataBinder .Eval (Container
,"DataItem.icon")%>"></i>
</div>
</div>
<h5 class="mb-3"><%#DataBinder .Eval (Container
,"DataItem.title")%></h5>
<p class="text-body mb-0"><%#DataBinder .Eval (Container
,"DataItem.descss")%></p>
</a>
</div>
</ItemTemplate>
</asp:Repeater>
</div>
</div>
</div>
<!-- Service End -->
38
<div class="room-item shadow rounded overflow-hidden">
<div class="position-relative">
<img class="img-fluid"
src='adminecho/RoomImages/<%#DataBinder .Eval (Container ,"DataItem.image")%>' alt="">
<small class="position-absolute start-0 top-100
translate-middle-y bg-primary text-white rounded py-1 px-3 ms-4">Rs.<%#DataBinder .Eval
(Container ,"DataItem.price")%>/Night</small>
</div>
<div class="p-4 mt-2">
<div class="d-flex justify-content-between mb-3">
<h5 class="mb-0"><%#DataBinder .Eval (Container
,"DataItem.nameroom")%></h5>
<div class="ps-2">
<small class="fa fa-star text-primary"></small>
<small class="fa fa-star text-primary"></small>
<small class="fa fa-star text-primary"></small>
<small class="fa fa-star text-primary"></small>
<small class="fa fa-star text-primary"></small>
</div>
</div>
<div class="d-flex mb-3">
<small class="border-end me-3 pe-3"><i class="fa
fa-bed text-primary me-2"></i><%#DataBinder .Eval (Container ,"DataItem.fact1")%>
Bed</small>
<small class="border-end me-3 pe-3"><i class="fa
fa-bath text-primary me-2"></i><%#DataBinder .Eval (Container ,"DataItem.fact2")%>
Bath</small>
<small><i class="fa fa-wifi text-primary
me-2"></i><%#DataBinder .Eval (Container ,"DataItem.fact3")%> Wifi</small>
</div>
<p class="text-body mb-3"><%#DataBinder .Eval (Container
,"DataItem.DescT")%></p>
<div class="d-flex justify-content-between">
<a class="btn btn-sm btn-primary rounded py-2 px-4"
href="view.aspx">View Detail</a>
<a class="btn btn-sm btn-dark rounded py-2 px-4"
href="booking.aspx">Book Now</a>
</div>
</div>
</div>
</div>
</ItemTemplate>
</asp:Repeater>
</div>
</div>
</div>
<!-- Room End -->
39
<div class="testimonial-item position-relative bg-white rounded
overflow-hidden">
<div class="ps-3">
<h6 class="fw-bold mb-1"><%#DataBinder .Eval (Container
,"DataItem.name")%></h6>
</div>
</div>
<i class="fa fa-quote-right fa-3x text-primary position-absolute
end-0 bottom-0 me-4 mb-n1"></i>
</div>
</ItemTemplate>
</asp:Repeater>
</div>
</div>
</div>
<!-- Testimonial End -->
</div>
</asp:Content>
40
String cn1 = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn1 = new SqlConnection(cn1);
SqlCommand cd1 = new SqlCommand();
cd1.Connection = cnn1;
cd1.CommandText = "select * from ss";
cnn1.Open();
RepeatInformation1.DataSource = cd1.ExecuteReader();
RepeatInformation1.DataBind();
cnn1.Close();
String cn2 = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn2 = new SqlConnection(cn2);
SqlCommand cd2 = new SqlCommand();
cd2.Connection = cnn2;
cd2.CommandText = "select * from fb";
cnn2.Open();
RepeatInformation2.DataSource = cd2.ExecuteReader();
RepeatInformation2.DataBind();
cnn2.Close();
String cn3 = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn3 = new SqlConnection(cn3);
SqlCommand cd3 = new SqlCommand();
cd3.Connection = cnn3;
cd3.CommandText = "select * from ab";
cnn3.Open();
RepeatInformation11.DataSource = cd3.ExecuteReader();
RepeatInformation11.DataBind();
cnn3.Close();
cnn3.Open();
Rept11.DataSource = cd3.ExecuteReader();
Rept11.DataBind();
cnn3.Close();
}
}
41
<div class="container-fluid page-header-inner py-5">
<div class="container text-center pb-5">
<h1 class="display-3 text-white mb-3 animated slideInDown">Rooms</h1>
<nav aria-label="breadcrumb">
<ol class="breadcrumb justify-content-center text-uppercase">
<li class="breadcrumb-item"><a
href="Default.aspx">Home</a></li>
<li class="breadcrumb-item"><a href="#">Pages</a></li>
<li class="breadcrumb-item text-white active"
aria-current="page">Rooms</li>
</ol>
</nav>
</div>
</div>
</div>
<!-- Page Header End -->
42
<small class="border-end me-3 pe-3"><i class="fa
fa-bath text-primary me-2"></i><%#DataBinder .Eval (Container ,"DataItem.fact2")%>
Bath</small>
<small><i class="fa fa-wifi text-primary
me-2"></i><%#DataBinder .Eval (Container ,"DataItem.fact3")%> Wifi</small>
</div>
<p class="text-body mb-3"><%#DataBinder .Eval (Container
,"DataItem.DescT")%></p>
<div class="d-flex justify-content-between">
<a class="btn btn-sm btn-primary rounded py-2 px-4"
href="view.aspx">View Detail</a>
<a class="btn btn-sm btn-dark rounded py-2 px-4"
href="booking.aspx">Book Now</a>
</div>
</div>
</div>
</div>
</ItemTemplate>
</asp:Repeater>
</div>
</div>
</div>
<!-- Room End -->
43
</div>
<div class="testimonial-item position-relative bg-white rounded
overflow-hidden">
<p>Satisfied with the room and the services were great</p>
<div class="d-flex align-items-center">
<img class="img-fluid flex-shrink-0 rounded"
src="img/IMG-20231211-WA0001.jpg" style="width: 45px; height: 45px;">
<div class="ps-3">
</div>
</asp:Content>
44
{
String cn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn = new SqlConnection(cn);
SqlCommand cd = new SqlCommand();
cd.Connection = cnn;
cd.CommandText = "select * from rooms";
cnn.Open();
RepeatInformation.DataSource = cd.ExecuteReader();
RepeatInformation.DataBind();
cnn.Close();
}
}
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta charset="UTF-8" />
<title> Dashboard </title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<![endif]-->
<!-- GLOBAL STYLES -->
<link rel="stylesheet" href="assets/plugins/bootstrap/css/bootstrap.css" />
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="assets/css/theme.css" />
<link rel="stylesheet" href="assets/css/MoneAdmin.css" />
<link rel="stylesheet" href="assets/plugins/Font-Awesome/css/font-awesome.css" />
<!--END GLOBAL STYLES -->
45
<form id="form1" runat="server" enctype="multipart/form-data">
<div>
<!-- MAIN WRAPPER -->
<div id="wrap" >
</div>
</a>
</li>
<li class="divider"></li>
<li>
<a href="#">
<div>
<strong>Sujal</strong>
<span class="pull-right text-muted">
<em>Yesterday</em>
46
</span>
</div>
<div>HI
<br />
<span class="label label-success"> Moderate
</span>
</div>
</a>
</li>
<li class="divider"></li>
<li>
<a href="#">
<div>
<strong>Malika</strong>
<span class="pull-right text-muted">
<em>26 Jan 2014</em>
</span>
</div>
<div>Hello
<br />
<span class="label label-danger"> Low </span>
</div>
</a>
</li>
<li class="divider"></li>
<li>
<a class="text-center" href="#">
<strong>Read All Messages</strong>
<i class="icon-angle-right"></i>
</a>
</li>
</ul>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="icon-user "></i> <i class="icon-chevron-down
"></i>
</a>
</li>
<!--END ADMIN SETTINGS -->
</ul>
</nav>
47
</div>
<!-- END HEADER SECTION -->
<li>
<a class="btn btn-success btn-xs btn-circle" style="width:
10px;height: 12px;"></a> Online
</li>
</ul>
</div>
<br />
</div>
</a>
</li>
<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>
<ul class="collapse" id="component-nav2">
</ul>
48
</li>
<li class="panel">
<a href="#" data-parent="#menu" data-toggle="collapse"
class="accordion-toggle" data-target="#component-nav3">
<i class="icon-tasks"> </i> About
<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>
<ul class="collapse" id="component-nav3">
</ul>
</li>
<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>
<ul class="collapse" id="component-nav5">
</ul>
</li>
<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>
<ul class="collapse" id="component">
</ul>
</li>
49
<li class="panel ">
<a href="#" data-parent="#menu" data-toggle="collapse"
class="accordion-toggle" data-target="#component1">
<i class="icon-tasks"> </i> Services Detail
<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>
<ul class="collapse" id="component1">
</ul>
</li>
<li class="panel ">
<a href="fd.aspx" data-parent="#menu" data-toggle="collapse"
class="accordion-toggle" data-target="#component-nav7">
<i class="icon-tasks"> </i> Feedback
<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>
</li>
<li class="panel ">
<a href="ns.aspx" data-parent="#menu" data-toggle="collapse"
class="accordion-toggle" data-target="#component-nav8">
<i class="icon-tasks"> </i> Newsletter
<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>
</li>
<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>
</li>
<li class="panel ">
<a href="pm.aspx" data-parent="#menu" data-toggle="collapse"
class="accordion-toggle" data-target="#component-nav11">
<i class="icon-tasks"> </i> Payment
<span class="pull-right">
50
<i class="icon-angle-left"></i>
</span>
</a>
</li>
<span class="pull-right">
<i class="icon-angle-left"></i>
</span>
</a>
</li>
</ul>
</div>
<!--END MENU SECTION -->
</asp:ContentPlaceHolder>
</div>
<!-- FOOTER -->
<div id="footer">
<p>© the echo 2023 </p>
</div>
<!--END FOOTER -->
51
6.2.5 Admin Dashboard(index1.aspx)
<%@ Page Title="" Language="C#" MasterPageFile="~/adminecho/AdminMaster.master"
AutoEventWireup="true" CodeFile="index1.aspx.cs" Inherits="adminecho_index1" %>
</div>
</div>
</div>
<!--END PAGE CONTENT -->
</asp:Content>
<div class="inner">
<div class="row">
<div class="col-lg-12">
</div>
</div>
<hr />
<div class="row">
52
<div class="col-lg-12">
<div class="box primary">
<header>
<div class="icons"><i class="icon-building"></i></div>
<h5>Add Info</h5>
</header>
<div class="body collapse in" id="div3">
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
Basic Elements
</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
<div class="form-group">
<label>Name Of Hotel</label>
<asp:TextBox ID="TextBox1"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator1" runat="server"
ErrorMessage="Enter Name"
ControlToValidate="TextBox1" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>Email</label>
<asp:TextBox ID="TextBox2"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RegularExpressionValidator
ID="RegularExpressionValidator1" runat="server"
ErrorMessage="Enter Proper Email"
ControlToValidate="TextBox2" ForeColor="Red"
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressi
onValidator>
</div>
<div class="form-group">
<label>Phone</label>
<asp:TextBox ID="TextBox3"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RegularExpressionValidator
ID="RegularExpressionValidator2" runat="server"
ErrorMessage="Enter Proper
Number" ControlToValidate="TextBox3" ForeColor="Red"
ValidationExpression="\d{10}"></asp:RegularExpressionValidator>
</div>
<div class="form-group">
<label>Facbook</label>
53
<asp:TextBox ID="TextBox4"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server"
ErrorMessage="Enter link"
ControlToValidate="TextBox4" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>YouTube</label>
<asp:TextBox ID="TextBox5"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator3" runat="server"
ErrorMessage="Enter link"
ControlToValidate="TextBox5" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>Twitter</label>
<asp:TextBox ID="TextBox6"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator4" runat="server"
ErrorMessage="Enter link"
ControlToValidate="TextBox6" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>Instagram</label>
<asp:TextBox ID="TextBox7"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator5" runat="server"
ErrorMessage="Enter link"
ControlToValidate="TextBox7" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>LinkedIn</label>
<asp:TextBox ID="TextBox8"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator6" runat="server"
ErrorMessage="Enter link"
ControlToValidate="TextBox8" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<asp:Button ID="Button1" runat="server"
Text="Add" class="btn btn-default"
onclick="Button1_Click" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
54
</div>
</div>
</div>
</div>
</div>
<!--END PAGE CONTENT -->
</asp:Content>
}
protected void Button1_Click(object sender, EventArgs e)
{
String conn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection scon = new SqlConnection(conn);
scon.Open();
String q = "insert into GenInfo(id,name,email,phone,fb,youtube,tw,ins,link)
values('" + 1 + "','" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text +
"','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" +
TextBox7.Text + "','" + TextBox8.Text + "')";
SqlCommand scmd = new SqlCommand(q, scon);
scmd.ExecuteNonQuery();
scon.Close();
}
}
55
<div id="content">
<div class="inner">
<div class="row">
<div class="col-lg-12">
</div>
</div>
<hr />
<div class="col-lg-12">
<div id="fontAwesome">
</div>
</div>
</div>
</div>
56
<!--END PAGE CONTENT -->
</asp:Content>
if (ids!=null)
{
int id = Convert.ToInt32(ids);
String cn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn = new SqlConnection(cn);
SqlCommand cd = new SqlCommand();
cd.Connection = cnn;
cd.CommandText = "delete from GenInfo where id='"+id+"'";
cnn.Open();
cd.ExecuteNonQuery();
cnn.Close();
Response.Redirect("viewinfo.aspx");
}
else
{
String cn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn = new SqlConnection(cn);
SqlCommand cd = new SqlCommand();
cd.Connection = cnn;
cd.CommandText = "select * from GenInfo";
cnn.Open();
RepeatInformation.DataSource = cd.ExecuteReader();
RepeatInformation.DataBind();
cnn.Close();
}
}
57
6.2.8 Add Rooms (AddRooms.aspx)
<%@ Page Title="" Language="C#" MasterPageFile="~/adminecho/AdminMaster.master"
AutoEventWireup="true" CodeFile="AddRooms.aspx.cs" Inherits="adminecho_Addinfo" %>
<div class="inner">
<div class="row">
<div class="col-lg-12">
</div>
</div>
<hr />
<div class="row">
<div class="col-lg-12">
<div class="box primary">
<header>
<div class="icons"><i class="icon-building"></i></div>
<h5>Add Info</h5>
</header>
<div class="body collapse in" id="div3">
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
Basic Elements
</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
<div class="form-group">
<label>Name Of the Room</label>
<asp:TextBox ID="TextBox1"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator1" runat="server"
ErrorMessage="Enter Name"
ControlToValidate="TextBox1" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
58
<label>Price</label>
<asp:TextBox ID="TextBox2"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server"
ErrorMessage="Enter Price"
ControlToValidate="TextBox2" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>fac1</label>
<asp:TextBox ID="TextBox3"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator3" runat="server"
ErrorMessage="Enter Fact1"
ControlToValidate="TextBox3" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>fact2</label>
<asp:TextBox ID="TextBox4"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator4" runat="server"
ErrorMessage="Enter Fact2"
ControlToValidate="TextBox4" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>fact2</label>
<asp:TextBox ID="TextBox5"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator5" runat="server"
ErrorMessage="Enter Fact3"
ControlToValidate="TextBox5" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>Desc</label>
<asp:TextBox ID="TextBox6"
runat="server" class="fomr-control"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator6" runat="server"
ErrorMessage="Enter Desc"
ControlToValidate="TextBox6" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
<div class="form-group">
<label>Image</label>
<asp:FileUpload ID="FileUpload1"
runat="server" />
<asp:RequiredFieldValidator
ID="RequiredFieldValidator7" runat="server"
ErrorMessage="Enter Image"
ControlToValidate="FileUpload1" ForeColor="Red"></asp:RequiredFieldValidator>
</div>
59
<asp:Button ID="Button1" runat="server"
Text="Add" class="btn btn-default"
onclick="Button1_Click" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--END PAGE CONTENT -->
</asp:Content>
}
protected void Button1_Click(object sender, EventArgs e)
{
if (FileUpload1.PostedFile.FileName != "")
{
string fn = System.IO.Path.GetFileName(FileUpload1.PostedFile.FileName);
string SaveLocation = Server.MapPath("RoomImages") + "\\" + fn;
FileUpload1.PostedFile.SaveAs(SaveLocation);
}
String conn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
60
SqlConnection scon = new SqlConnection(conn);
scon.Open();
String q = "insert into rooms(nameroom,price,fact1,fact2,fact3,DescT,image)
values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" +
TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" +
FileUpload1.PostedFile.FileName + "')";
SqlCommand scmd = new SqlCommand(q, scon);
scmd.ExecuteNonQuery();
scon.Close();
}
}
<div class="inner">
<div class="row">
<div class="col-lg-12">
</div>
</div>
<hr/>
<div class="col-lg-12">
<div id="fontAwesome">
61
<td><%#DataBinder .Eval (Container ,"DataItem.fact3")%></td>
<td><%#DataBinder .Eval (Container ,"DataItem.DescT")%></td>
<td><%#DataBinder .Eval (Container ,"DataItem.image")%></td>
</div>
</div>
</div>
</div>
if (ids != null)
{
int id = Convert.ToInt32(ids);
String cn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn = new SqlConnection(cn);
SqlCommand cd = new SqlCommand();
cd.Connection = cnn;
cd.CommandText = "delete from rooms where id='" + id + "'";
cnn.Open();
cd.ExecuteNonQuery();
cnn.Close();
Response.Redirect("rv.aspx");
}
else
{
62
String cn = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\asus\Documents\Visual Studio
2010\WebSites\echo\App_Data\Database.mdf;Integrated Security=True;User Instance=True";
SqlConnection cnn = new SqlConnection(cn);
SqlCommand cd = new SqlCommand();
cd.Connection = cnn;
cd.CommandText = "select * from rooms";
cnn.Open();
RepeatInformation.DataSource = cd.ExecuteReader();
RepeatInformation.DataBind();
cnn.Close();
}
}
}
63
7. TESTING
Module testing, also known as unit testing, is a fundamental practice in software development
where individual units or components of a software application are tested in isolation. The term
"module" refers to the smallest testable part of a software application, typically a single function,
method, or class.
The primary objective of module testing is to verify that each unit of the software behaves as
expected and performs its intended functionality correctly, according to its specifications. This
testing approach involves isolating the unit being tested from the rest of the application, often
through the use of stubs, mocks, or drivers, to ensure that its behavior can be observed and
validated independently.
Module testing is typically conducted by software developers during the coding phase of the
software development lifecycle. As developers write code for individual modules, they create
corresponding unit tests to assess the correctness of the module's behavior under various
conditions, including normal operation, boundary cases, and error conditions.
Automated testing frameworks and tools are commonly used to facilitate the creation, execution,
and maintenance of unit tests. These tools help developers streamline the testing process,
automate the execution of test cases, and quickly identify defects or regressions in the codebase.
By performing module testing, developers can detect and address defects early in the
development process, reducing the likelihood of defects propagating to other parts of the
application. Additionally, module testing promotes code modularity, reusability, and
maintainability, as well as providing documentation and examples of how individual components
of the software should behave.
Overall, module testing plays a crucial role in ensuring the quality, reliability, and stability of
software applications, enabling developers to deliver high-quality software products that meet
user expectations and requirements.
64
Sr. No. Testing Action Expected Actual Result Testing
Module Result Result
1.0 Login Clicked on Login Login Login window Success.
Button of Home Page window is opening.
Menu. should be
Open .
1.1 (if username and Validation After checking Error
password Empty) should be validation show message
Clicked on login button check for message “Enter show
of login page. username and username and (Success)
password. Enter
password”.
1.2 Fill username and Check Redirect to Success.
password then clicked username and Admin page.
on login button. password if
valid.
1.3 Fill username and Check Show message Error
password then clicked username and “Username and Message
on login button. password if password Show
invalid. Invalid” (Success)
2.0 General Drop down Check Drop Show drop Success
Info Down list down list
appearing “Add Info and
View Info”
2.1 Add Info Click on addinfo option Form Show the Success
appearing Form fields.
2.1.1 Add Click on add button Reloads the Saving the Success
Button page details over
database.
65
2.1.2 (if fields Empty) Validation After checking Error
Clicked on add info of should be validation show message
General info. check for message “Enter show
fields. proper details”. (Success)
2.2 View Info Click on viewinfo Table Show the Success
option appearing details.
3.0 About Drop Down Check Drop Show drop Success
Down list down list
appearing “Add Info and
View Info”
3.1 Add Click on add option Form Show the Success
appearing Form fields.
3.1.1 Add Click on add button Reloads the Saving the Success
Button page details over
database.
3.1.2 (if fields Empty) Clicked Validation After checking Error
on add info of General should be validation show message
info. check for message “Enter show
fields. proper details”. (Success)
3.2 View Click on view option Table Show the Success
appearing details.
4.0 Rooms Drop Down Check Drop Show drop Success
Down list down list
appearing “Add and
View”
4.1 Add Click on add option Form Show the Success
appearing Form fields
66
4.1.1 Add Click on add button Reloads the Saving the Success
button page details over
database.
4.1.2 (if fields Empty) Clicked Validation After checking Error
on add info of General should be validation show message
info. check for message “Enter show
fields. proper details”. (Success)
4.2 View Click on view option Table Show the Success
appearing details.
5.0 Add Drop Down Check Drop Show drop Success
Services Down list down list
appearing “Add and
View”
5.1 Add Click on add option Form Show the Success
appearing Form fields
5.1.1 Add Click on add button Reloads the Saving the Success
Button page details over
database.
5.1.2 (if fields Empty) Clicked Validation After checking Error
on add info of General should be validation show message
info. check for message “Enter show
fields. proper details”. (Success)
5.2 View Click on add option Table Show the Success
appearing details.
6.0 Feedback Table Check table Show the table Success
appearing
7.0 Newsletter Table Check table Show the table Success
appearing
8.0 Booking Table Check table Show the table Success
appearing
67
9.0 Payment Table Check table Show the table Success
appearing
68
Front Page Testing
Sr. No. Testing Action Expected Actual Result Testing
Module Results Result
1.0 Feedback On click ”Feedback Feedback.aspx Page Appear Success
Menu” page
1.1 On click send message Validation If empty Success
button Message will validation
be appear if message
fields are appeared
empty
1.2 On click send message After filling Data stored Success
button data stored to
the database
2.0 Contact On click “Contact Contact.aspx Page appear Success
Menu” page
2.1 On click send message Validation If empty Success
button Message will validation
be appear if message
fields are appeared
empty
2.2 On click send message After filling Data stored Success
button data stored to
the database
3.0 Pages On hover drop down Drop down Drop down Success
will show shown the sub Shown with
menu sub menu
”Booking and
Testimonials”
69
3.1 Booking On click booking form Booking.aspx Page appear Success
appears page
3.1.1 On click book now Validation If empty Success
button Message will validation
be appear if message
fields are appeared
empty
70
8. FUTURE ENHANCEMENT
We want to list some future enhancements for the website –
We can build an XML web service programming model that enables other applications to
consume hotel web services built by us using standard protocols such as HTTP, XML, XSD,
SOAP and web services description language (WSDL).
With the advancement of technology, dynamic maps can be generated using AJAX which can
help the buyer locate a particular area where the property is located in the Google Map.
71
9. Conclusion
In conclusion, the development and implementation of a The Echo Hotel website have proven to
be a pivotal project in meeting the contemporary needs of the hospitality industry. The website
serves as a user-friendly platform that facilitates seamless hotel bookings, providing customers
with a convenient and efficient way to plan their accommodations. The incorporation of intuitive
design, secure payment gateways, and real-time availability updates enhances the overall user
experience.
The project not only addresses the evolving demands of tech-savvy travelers but also contributes
to the digital transformation of the hotel industry. With its user-centric approach and streamlined
functionality, the hotel reservation website stands as a testament to the significance of technology
in enhancing customer satisfaction and optimizing business operations within the dynamic
landscape of the hospitality sector.
72
10. References
http://msdn.microsoft.com/en-us/library/4w3ex9c2.aspx
https://visualstudio.microsoft.com/vs/getting-started/
https://www.techrepublic.com/article/how-do-i-install-sql-server-2005-expressedition-an
d-sql-server-management-studio-express/
http://www.devtopics.com/what-is-net/
5. www.project-management-basics.com
73