Professional Documents
Culture Documents
SUBMITTED TO
OF
BACHELOR
IN COMPUTER APPLICATION
A.Y. 2023-2024
210349106022
210349106040
210349106016
Signature
Acknowledgment
I would like to express my sincere gratitude to the individuals. who have been
instrumental in the development of Hotel Management System While this
project is still in progress, their support, guidance, and contributions have been
invaluable in shaping the platform into what it promises to become
First and foremost, I want to thank Prince Srivastava, my project advisor, for
their unwavering support, expertise, and guidance throughout the development
process. Their insights and mentorship have played a critical role in steering
this project in the right direction
I extend my heartfelt thanks to the entire Hotel Management system project
team, whose dedication and hard work have been the driving force behind the
platform's development. Your commitment to creating an innovative and user-
centric educational tool is truly commendable
Additionally, I want to express my gratitude to my friends and family for their
unwavering support and encouragement throughout this journey. Your belief in
the vision of Hotel Management system has been a constant source of
motivation.
Lastly, I'd like to recognize the users and future users of Hotel Management
system who have patiently awaited its completion. Your interest in our project
drives us to deliver a platform that will truly empower students in their
educational endeavours
As Hotel Management system progresses towards completion, I am confident
that it will become a valuable resource for tourists and builders alike, and this
journey would not have been possible without the collective efforts and support
of all those mentioned above
ATISHAY JAIN
INDEX
No. Description Page No.
1. Project Profile [1- 9]
1.1 Project Definition 01
1.2 Project Description 01
1.3 Existing System / Work Environment 02
1.4 Problem Statements 03
1.5 Need for New System 04
1.6 Proposed System & Features 05
1.7 Scope 06
1.8 Outcomes 07
1.9 Tools & Technology used 08
1.10 Project Plan 09
2. Requirement Analysis [10-18]
2.1 Feasibility Study 10-11
2.2 Users of the System 12
2.3 Modules 13
2.4 Process Model 14
2.5 Hardware & Software Requirements 15-16
2.6 Use Cases 17
2.7 Use Case Diagrams 18
3. Design [19 -24]
3.1 Use Case Scenarios 19
3.2 Diagrams 20 – 22
3.2.1 UML / DFD 20-21
3.2.2 Entity Relationship Diagram 22
3.3 Data Dictionary 23-24
4. Implementation [25- 63]
4.1 Form Layouts 25-26
4.2 Report Layouts 27
4.3 Coding Convention 28-29
4.4 Code 30-63
5. Testing [64 - 68]
5.1 Test Strategy 64-65
5.2 Test Cases 66-68
6. Future Enhancement 69
7. Bibliography 70
Project profile 2023-2024
Project Definition
The Hotel Management System is a comprehensive software solution designed to streamline and automate
various aspects of hotel operations. It encompasses modules for reservations, guest management, room
assignments, billing, inventory management, and reporting, providing a centralized platform to enhance
efficiency, customer service, and overall operational effectiveness within the hospitality industry.
1.1 Project Description
Key Features:
Online reservation system with real-time availability tracking.
Our Hotel Management System is a tailored solution for modern hotels, offering a
competitive edge by ensuring superior guest experiences and operational
efficiency.
7
Project profile 2023-2024
Team Structure:
The project will be executed by a multidisciplinary team, including software developers,
system architects, UX/UI designers, QA engineers, and project managers.
Development Team:
Software Developers (Backend and Frontend): Responsible for coding, implementing
features, and ensuring system functionality.
System Architects:
Design and oversee the overall system architecture, ensuring scalability an
performance.
UX/UI Designers:
Create user-friendly interfaces, focusing on an intuitive and visually appealing design.
Quality Assurance Team:
QA Engineers: Conduct thorough testing to identify and address bugs, ensuring the system's
reliability and security.
Project Management:
Project Manager: Oversee the project, manage timelines, and facilitate communication
among team members.
Product Owner: Act as the liaison between stakeholders and the development team,
ensuring the product meets business requirements.
Collaborative Tools:
The team will utilize collaborative tools to enhance communication and project management:
8
Project profile 2023-2024
Reservation Challenges:
Problem: Inaccurate reservation updates lead to overbooking and room availability
discrepancies.
Impact: Customer dissatisfaction, revenue loss, and operational inefficiencies.
Check-In/Check-Out Inefficiencies:
Problem: Manual and time-consuming check-in/check-out processes cause guest
frustration and longer waiting times.
Impact: Negative guest experience, potential errors, and reduced staff productivity.
Outdated Room Management:
Problem: Manual room tracking results in delayed housekeeping and maintenance,
affecting room turnover.
Impact: Longer preparation times, potential mismanagement, and guest dissatisfaction.
Fragmented Guest Profiles:
Problem: Guest information is scattered, hindering personalized services and marketing
efforts.
Impact: Missed loyalty opportunities, decreased customer satisfaction, and limited
marketing effectiveness.
Billing and Invoicing Issues:
Problem: Manual billing processes lead to errors, delays, and difficulty tracking additional
services.
Impact: Increased workload, potential revenue loss, and negative impact on guest
relations.
9
Project profile 2023-2024
The need for a new Hotel management system arises from several factors, including:
Operational Efficiency:
Guest Satisfaction:
Reservation Accuracy:
Efficient Check-In/Check-Out:
Billing Precision:
In summary, a Hotel Management System is essential for addressing operational challenges, enhancing
guest satisfaction, and fostering overall efficiency and growth in the hospitality industry.
10
Project profile 2023-2024
11
Project profile 2023-2024
*SCOPE:
Includes the design and implementation of the above features, covering reservation processes,
room management, billing, staff operations, and reporting.
Exclusions:
External integrations beyond the defined modules are excluded from the project scope.
Technology Stack:
Security:
Timeline:
Budget:
High-level cost estimate covering development, testing, and potential ongoing maintenance.
Conclusion:
The Hotel Management System aims to streamline operations, improve efficiency, and elevate
overall guest satisfaction in the hospitality industry.
12
Project profile 2023-2024
1.6 Outcomes
The outcomes of an Hotel management system can vary depending on the specific
goals of the system and the context in which it is implemented. Here are some potential
outcomes of an Hotel management system:
Increased Customer turnout: An Hotel management system can make it easier and
more convenient for customer to book their rooms, which may increase overall customer
services.
Increased efficiency: An Hotel management system can streamline the booking process,
reducing the time and resources required for traditional paper-based booking methods.
Improved accuracy: An Hotel management system can reduce the risk of errors and
discrepancies in the booking process, as customer can be automatically tabulated and
verified.
Cost savings: An Hotel management system can reduce the costs associated with
traditional paper-based Booking methods, including printing, distribution, and storage
of rooms.
13
Project profile 2023-2024
Tools
• Visual Studio Code Editor (VS code) : [Version 1.76.1]
• MYSQL : [Version 8.0.32]
• XAMPP : [Version 8.0.25]
Technology
14
Project profile 2023-2024
15
Requirement Analysis 2023 - 2024
By accommodating the needs and responsibilities of these diverse user roles, the Hotel
Management System aims to provide a seamless and efficient experience for all stakeholders in
the hotel's daily operations.
2.3 Modules:
The Hotel Management System is composed of various modules, each serving a specific function
to ensure the smooth operation of the hotel. The key modules include:
Reservation Module:
Allows users to manage and track room reservations.
Features include reservation creation, modification, and cancellation.
Room Management Module:
Manages room availability, status, and allocation.
Tracks room conditions, cleanliness, and maintenance schedules.
Billing and Invoicing Module:
Handles financial transactions related to guest stays.
Generates invoices, processes payments, and maintains a record of financial transactions.
Check-In/Check-Out Module:
Facilitates the guest check-in and check-out processes.
Captures guest information, assigns rooms, and manages key card distribution.
Staff Management Module:
Manages hotel staff information and schedules.
Includes features for attendance tracking, task assignment, and performance monitoring.
Customer Relationship Management (CRM) Module:
Manages guest interactions and preferences.
Helps personalize guest experiences and fosters customer loyalty.
Feedback and Review Module:
Collects and manages guest feedback.
Allows guests to leave reviews and ratings, helping the hotel improve services.
Notification Module:
Sends automated alerts and notifications to staff and guests.
Keeps stakeholders informed about reservations, events, and other important updates.
Process Model
The process model of a Hotel management system typically involves several stages,
including:
**1. Planning:
Develop the core functionalities that are essential for basic system operation.
Focus on features such as reservation management, room allocation, and basic billing.
Implement role-based access control and security measures to safeguard sensitive data.
Add modules for customer relationship management (CRM) and additional guest
services.
Technology Used:
2. Backend : PHP
3. Database: SQL
Minimum Specification:
2. RAM: 8 GB
4. SSD: 256 GB
Software Requirement:
Languages:
2. Backend: PHP
Work Area:
1. HTML:
2. CSS:
Chapter 3 - Design
Online voting systems can be used in various contexts, including political elections,
organizational or association voting, and public opinion surveys. Here's an example
scenario for an online voting system:
The online voting system allows members to log in to a secure website, verify their
identity, and cast their vote remotely. The system uses encryption and other security
measures to ensure the integrity of the voting process and prevent fraud.
Before the election, the organization sends out an email to all members with instructions
on how to access the online voting system, including a unique login ID and password.
Members can also contact the organization's support team for assistance if they have any
issues accessing the system.
3.2 Diagrams
Admin
HOTEL
Customer
Chapter 4 - Implementation
Registration Page
Login Page
Output Page
Here are some coding conventions that could be followed when developing an online voting
system:
Naming Convention: Use meaningful and descriptive names for variables, functions, and
classes. Names should be in camelCase or snake_case format and should reflect their purpose.
Indentation: Use consistent and clear indentation to improve code readability. Generally, a tab
or 4 spaces are used for indentation.
Comments: Include clear and concise comments in the code to explain the purpose of code
blocks, functions, and classes. Comments should be in clear English and should not include
irrelevant information.
Error Handling: Proper error handling should be implemented to ensure that errors are caught
and handled correctly. Meaningful error messages should be displayed to the user.
Code Reuse: Avoid duplicating code by using functions and libraries wherever possible.
Reusable code should be stored in separate files and modules.
Code Formatting: Use consistent formatting across the codebase to improve code readability.
Use a consistent style for braces, parentheses, and other syntax elements.
Testing: Include automated tests in the code base to ensure that the code functions as intended.
Tests should cover all major use cases and edge cases.
Security: Ensure that the codebase is secure by following secure coding practices and using
secure libraries and frameworks.
These coding conventions can help ensure that the codebase for the online voting system is well-
organized, maintainable, and secure.
4.4 Code
<div class="container">
<div class="row">
<div class="menue">
</div>
<div class="col-md-4 col-md-offset-4">
<div class="form-panel"><center>
<i>Login As:</i>
<select onchange = "page(this.value)">
<option value = "admin/index.php">System
Admin</option>
<option value = "admin2/index.php">System
User</option>
<option selected disables>Hotel Management</option>
</select>
<p/>
</center>
<form role="form" method = "post" enctype =
"multipart/form-data" class="index-form">
<div class="form-heading">
<center>Student Login</center>
</div>
<div class="form-field">
<label for = "username">Student ID:
</label><br/>
<div class="form-field">
<label for = "username" >Password: </label>
<input class="form-control"
placeholder="Enter Password" name="password" type="password" required =
"required">
</div>
<br/>
<center><button class="btn btn-lg btn-success
btn-block " name = "login" style= " margin-bottom:0px;" width="50">Login</button>
<a href="register/index.php"><button type="button"
class="btn btn-lg btn-success btn-block" data-dismiss="modal" style= " margin-
bottom:0px;">Register</button></a>
?>
</form>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
function page (src) {
window.location = src;
}
</script>
<?php
include ('footer.php');
?>
</body>
Hotel Management System
Implementation 2023-2024
22023
</html>
<?php
require_once 'admin/dbcon.php';
if(isset($_POST['login'])){
$idno=$_POST['idno'];
$password=$_POST['password'];
if($voted == 1){
?>
<script type="text/javascript">
alert('Sorry You Already Voted')
</script>
<?php
}else{
?>
<script type="text/javascript">
alert('Your account is not Actived')
</script>
<?php
}
}
?>
Hotel Management System
Implementation 2023-2024
22023
<body>
<div id="wrapper">
<heading class="menue-select">
<center>
<select onchange = "page(this.value)">
<option disabled selected>Select Candidate Group</option>
<option value = "candidates/pres.php">President</option>
<option value = "candidates/vp.php">Vice President</option>
<option value = "candidates/ua.php">Union Advisor</option>
<option value = "candidates/ss.php">Sports Secretary</option>
<option value = "candidates/ea.php">Entertainment
Advisor</option>
<option value = "candidates/tr.php">Treasurer</option>
<option value = "candidates/vtr.php">Vice Treasurer</option>
<option value = "candidates/sg.php">Secretary General</option>
<option value = "candidates/ta.php">Transport
& Accommodation</option>
<option value = "candidates/pb.php">Publicity</option>
<option value = "candidates/ac.php">Academics</option>
</select>
</center>
</heading>
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<?php
include ('footer.php');
?>
</body>
</html>
<body>
<?php include 'side_bar.php'; ?>
<div id="row">
<?php
if(ISSET($_POST['submit']))
{
if(!ISSET($_POST['pres_id']))
{
$_SESSION['pres_id'] = "";
}
else
{
$_SESSION['pres_id'] = $_POST['pres_id'];
}
if(!ISSET($_POST['vp_id']))
{
$_SESSION['vp_id'] = "";
}
else
{
$_SESSION['vp_id'] = $_POST['vp_id'];
}
if(!ISSET($_POST['ua_id']))
{
$_SESSION['ua_id'] = "";
}
else
{
$_SESSION['ua_id'] = $_POST['ua_id'];
}
if(!ISSET($_POST['ss_id']))
Hotel Management System
Implementation 2023-2024
22023
{
$_SESSION['ss_id'] = "";
}
else
{
$_SESSION['ss_id'] = $_POST['ss_id'];
}
if(!ISSET($_POST['ea_id']))
{
$_SESSION['ea_id'] = "";
}
else
{
$_SESSION['ea_id'] = $_POST['ea_id'];
}
if(!ISSET($_POST['treasurer_id']))
{
$_SESSION['treasurer_id'] = "";
}
else
{
$_SESSION['treasurer_id'] = $_POST['treasurer_id'];
}
if(!ISSET($_POST['sg_id']))
{
$_SESSION['sg_id'] = "";
}
else
{
$_SESSION['sg_id'] = $_POST['sg_id'];
}
if(!ISSET($_POST['vtr_id']))
{
$_SESSION['vtr_id'] = "";
}
else
{
$_SESSION['vtr_id'] = $_POST['vtr_id'];
}
if(!ISSET($_POST['tas_id']))
{
$_SESSION['tas_id'] = "";
}
else
}
else
{
$fetch = $conn->query("SELECT * FROM `candidate` WHERE
`candidate_id` = '$_SESSION[pres_id]'")->fetch_array();
}
else
{
$fetch = $conn->query("SELECT * FROM `candidate` WHERE
`candidate_id` = '$_SESSION[vp_id]'")->fetch_array();
echo $fetch['firstname']." ".$fetch['lastname']." "."<img
src = 'admin/".$fetch['img']."' style = 'height:80px; width:80px; border-
radius:500px;' />";
}
?>
</div>
<div class = "alert alert-info">
<div class="panel-heading"><center>UNION ADVISOR</center></div>
<br/>
<?php
if(!$_SESSION['ua_id'])
{
}
else
{
$fetch = $conn->query("SELECT * FROM `candidate` WHERE
`candidate_id` = '$_SESSION[ua_id]'")->fetch_array();
echo $fetch['firstname']." ".$fetch['lastname']." "."<img
src = 'admin/".$fetch['img']."' style = 'height:80px; width:80px; border-
radius:500px;' />";
}
?>
</div>
<div class = "alert alert-success" >
<div class="panel-heading"><center>SPORTS SECRETARY</center></div>
<br />
<?php
if(!$_SESSION['ss_id'])
{
}
else
{
</div>
<div class = "alert alert-info">
<div class="panel-
heading"><center>ENTERTAINMENT ADVISOR</center></div>
<br />
<?php
if(!$_SESSION['ea_id'])
{
}
else
{
$fetch = $conn->query("SELECT * FROM `candidate` WHERE
`candidate_id` = '$_SESSION[ea_id]'")->fetch_array();
echo $fetch['firstname']." ".$fetch['lastname']." "."<img
src = 'admin/".$fetch['img']."' style = 'height:80px; width:80px; border-
radius:500px;' />";
}
?>
</div>
<div class = "alert alert-success">
<div class="panel-heading"><center>TREASURER</center></div>
<br />
<?php
if(!$_SESSION['treasurer_id'])
{
}
else
{
$fetch = $conn->query("SELECT * FROM `candidate` WHERE
`candidate_id` = '$_SESSION[treasurer_id]'")->fetch_array();
echo $fetch['firstname']." ".$fetch['lastname']." "."<img
src = 'admin/".$fetch['img']."' style = 'height:80px; width:80px; border-
radius:500px;' />";
Hotel Management System
Implementation 2023-2024
22023
}
?>
</div>
<div class = "alert alert-info" >
<div class="panel-heading"><center>SECRETARY GENERAL</center></div>
<br />
<?php
if(!$_SESSION['sg_id'])
{
}
else
{
$fetch = $conn->query("SELECT * FROM `candidate` WHERE
`candidate_id` = '$_SESSION[sg_id]'")->fetch_array();
echo $fetch['firstname']." ".$fetch['lastname']." "."<img
src = 'admin/".$fetch['img']."' style = 'height:80px; width:80px; border-
radius:500px;' />";
}
?>
</div>
<div class = "alert alert-success">
<div class="panel-heading"><center>VICE TREASURER</center></div>
<br />
<?php
if(!$_SESSION['vtr_id'])
{
}
else
{
$fetch = $conn->query("SELECT * FROM `candidate` WHERE
`candidate_id` = '$_SESSION[vtr_id]'")->fetch_array();
echo $fetch['firstname']." ".$fetch['lastname']." "."<img
src = 'admin/".$fetch['img']."' style = 'height:80px; width:80px; border-
radius:500px;' />";
}
?>
</div>
<div class = "alert alert-info">
<div class="panel-heading"><center>TRANSPORT & ACCOMMODATION
SECRETARY</center></div>
<?php
if(!$_SESSION['tas_id'])
{
}
else
{
$fetch = $conn->query("SELECT * FROM `candidate` WHERE
`candidate_id` = '$_SESSION[tas_id]'")->fetch_array();
echo $fetch['firstname']." ".$fetch['lastname']." "."<img
src = 'admin/".$fetch['img']."' style = 'height:80px; width:80px; border-
radius:500px;' />";
}
?>
</div>
<div class = "alert alert-success">
<div class="panel-heading"><center>PUBLICITY SECRETARY</center></div>
<br />
<?php
if(!$_SESSION['ps_id'])
{
}
else
{
$fetch = $conn->query("SELECT * FROM `candidate` WHERE
`candidate_id` = '$_SESSION[ps_id]'")->fetch_array();
echo $fetch['firstname']." ".$fetch['lastname']." "."<img
src = 'admin/".$fetch['img']."' style = 'height:80px; width:80px; border-
radius:500px;' />";
}
?>
</div>
<div class = "alert alert-info">
<div class="panel-heading"><center>ACADEMICS SECRETARY</center></div>
<br />
<?php
if(!$_SESSION['as_id'])
{
}
else
</div>
<br />
</div>
</center>
<div class="modal-body">
<p><center>Are you sure you want to
submit your Votes? </center></p>
</div>
<div class="modal-footer"><center>
<a href = "submit_vote.php"><button type =
"submit" class="btn btn-success"><i class="icon-check"></i> Yes</button></a>
<a href = "vote.php"><button class="btn
btn- danger" aria-hidden="true"><i class="icon-remove icon-
large"></i> Back</button></a>
</center></div>
<!-- /.modal-content -->
</body>
<body>
<?php include ('view_banner.php');?>
<heading class="voters_heading">
<center><h1>University Of Lusaka Student's Union</h1>
</heading>
<div class="image">
<img src="img/img1.jpg" width="40%" hieght="40%"/>
</div>
<div class="union-infor">
Information about the Union go here.
</div>
<?php
include ('footer.php');
?>
</body>
</html>
body{
background-color: white;
}
.page-head{
}
/*Styling the form*/
form{
background-color: ;
}
.link{
Hotel Management Systemitalic;
font-style:
Implementation 2023 - 2024
}
.link a:hover{
color: green;
}
.form-panel{
background-color:;
width: 350px;
margin-left:auto;
margin-right: auto;
}
.form-heading{
font-weight: bold;
background-color:#449d44;
font-size: 20px;
color: white;
border-top-right-radius:
10px; border-top-left-radius:
10px;
}
.reg-btn-sbt{
padding-bottom: 10px;
}
.form-field{
}
label{
color: green;
font-style: italic;
font-weight: bold;
}
button{
font-size: larger;
background-color: ;
cursor: pointer;
height: 40px;
border-style: solid;
border-color: darkgreen;
border-width: thin;
border-radius: 5px;
}
button:hover{
background-color: green;
Hotel Management System
Implementation 2023 - 2024
color: white;
}
select{
width: 50%;
background-color: whitesmoke;
color: green;
}
input:hover, select:hover{
background-color:
transparent;
}
.footer{
color: white;
text-align: center;
padding-bottom:
20px;
background-color: rgba(0, 100, 0,
1); font-size: large;
}
a{
text-decoration: none;
}
.footer a:hover{
color:
white;
text-decoration: underline;
}
a:visited{
color: black;
}
a:hover{
cursor: pointer;
}
/*Dropdown
menue*/ nav{
padding-top: 10px;
margin-left:auto;
margin-right:
auto;
}
nav ul li{
display: inline-block;
padding: 0px 20px 10px
Hotel Management System
Implementation 2023 - 2024
20px; list-style: none;
}
nav ul li
a:hover{ colo
r: white;
}
nav ul li a{
color: black;
}
/*Dropdown End*/
body {
background-color: #f8f8f8;
}
#wrapper {
width: 100%;
}
#page-wrapper {
padding: 0 15px;
min-height: 200px;
}
@media(min-width:768px) {
.navbar-top-links li {
display: inline-block;
}
.navbar-top-links li:last-child
{ margin-right: 15px;
}
.navbar-top-links li a {
padding: 15px;
min-height: 50px;
}
.navbar-top-links .dropdown-menu li {
display: block;
}
.navbar-top-links .dropdown-menu li a {
padding: 3px 20px;
min-height: 0;
}
.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
width: 310px;
min-width: 0;
}
.navbar-top-links .dropdown-messages {
margin-left: 5px;
}
.navbar-top-links .dropdown-tasks {
margin-left: -59px;
}
.navbar-top-links .dropdown-alerts {
margin-left: -123px;
}
.navbar-top-links .dropdown-user {
right: 0;
left: auto;
}
.sidebar .sidebar-nav.navbar-collapse {
padding-right: 0;
padding-left: 0;
}
.sidebar .sidebar-search {
padding: 15px;
}
.sidebar ul li a.active {
background-color: #eee;
}
.sidebar .arrow {
float: right;
}
.sidebar .fa.arrow:before {
content: "\f104";
}
.sidebar .active>a>.fa.arrow:before {
content: "\f107";
}
.sidebar .nav-second-level li a
{ padding-left: 37px;
}
.sidebar .nav-third-level li a
{ padding-left: 52px;
}
@media(min-width:768px) {
.sidebar {
z-index: 1;
position: absolute;
width: 250px;
margin-top: 51px;
}
.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
Hotel Management System
Implementation 2023 - 2024
margin-left: auto;
.btn-outline {
color: inherit;
background-color: transparent;
transition: all .5s;
}
.btn-primary.btn-outline {
color: #428bca;
}
.btn-success.btn-outline {
color: #5cb85c;
}
.btn-info.btn-outline {
color: #5bc0de;
}
.btn-warning.btn-outline {
color: #f0ad4e;
}
.btn-danger.btn-outline {
color: #d9534f;
}
.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
color: #fff;
}
.chat {
margin: 0;
padding: 0;
list-style: none;
}
.chat li {
margin-bottom: 10px;
padding-bottom: 5px;
Hotel Management System
Implementation 2023 - 2024
.chat li .chat-body p {
margin: 0;
}
.chat-panel .panel-body {
height: 350px;
overflow-y: scroll;
}
.login-panel {
margin-top: 25%;
}
.flot-chart {
display: block;
height: 400px;
}
.flot-chart-content {
width: 100%;
height: 100%;
}
.btn-circle {
width: 30px;
height: 30px;
padding: 6px
0;
border-radius: 15px;
text-align: center;
font-size: 12px;
line-height: 1.428571429;
}
.btn-circle.btn-lg {
width: 50px;
height: 50px;
padding: 10px 16px;
border-radius: 25px;
font-size: 18px;
line-height: 1.33;
}
.btn-circle.btn-xl {
width: 70px;
height: 70px;
padding: 10px 16px;
border-radius: 35px;
Hotel Management System
Implementation 2023 - 2024
font-size: 24px;
line-height: 1.33;
}
.show-grid [class^=col-] {
padding-top: 10px;
padding-bottom: 10px;
border: 1px solid
#ddd;
background-color: #eee!important;
}
.show-grid {
margin: 15px 0;
}
.huge {
font-size: 40px;
}
.panel-green {
border-color: #5cb85c;
}
.panel-green .panel-heading
{ border-color: #5cb85c;
color: #fff;
background-color: #5cb85c;
}
.panel-green a {
color: #5cb85c;
}
.panel-green a:hover {
color: #3d8b3d;
}
.panel-red {
border-color: #d9534f;
}
.panel-red .panel-heading {
border-color: #d9534f;
Hotel Management System
Implementation 2023 - 2024
color: #fff;
background-color: #d9534f;
.panel-red a {
color: #d9534f;
}
.panel-red a:hover {
color: #b52b27;
}
.panel-yellow {
border-color: #f0ad4e;
}
.panel-yellow .panel-heading {
border-color: #f0ad4e;
color: #fff;
background-color: #f0ad4e;
}
.panel-yellow a {
color: #f0ad4e;
}
.panel-yellow a:hover {
color: #df8a13;
<body>
<div id="wrapper">
<heading class="voters_heading">
<center><h1>Registered
Hotel Management System Publicity Secretary Candidates</h1>
Implementation 2023 - 2024
<script>
function page (src){
window.location=src;
}
</script>
<p/>
</heading>
<div class="row">
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-
bordered table-hover" id="dataTables-example" border="0">
<thead class="thead">
<tr>
<th>Image</th>
<th>Firstname</th>
<th>Lastname</th>
<th>Party</th>
<th>Year Level</th>
<th>Gender</th>
</tr>
Hotel Management System
Implementation 2023 - 2024
</thead>
<tr>
<?php
require '../admin/dbcon.php';
$bool = false;
$query = $conn->query("SELECT * FROM
candidate WHERE `position` = 'Publicity Secretary'");
while($row = $query-
>fetch_array()){
$candidate_id=$row['candidate_id'];
?>
<?php } ?>
</tbody>
</table>
</div>
</div>
<!-- /.panel-body -->
</div>
</div>
<!-- /.row -->
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<?php
include ('footer.php');
?>
</body>
</html>
<body>
<div id="wrapper">
<heading class="voters_heading">
<center><h1>Registered Treasurer Candidates</h1>
<center>
<select onchange = "page(this.value)">
<option disabled selected>Select Candidate Group</option>
<option value = "pres.php">President</option>
<option value = "vp.php">Vice President</option>
<option value = "ua.php">Union Advisor</option>
<option value = "ss.php">Sports Secretary</option>
<option value = "ea.php">Entertainment Advisor</option>
<option disabled selected>Treasurer</option>
<option value = "vtr.php">Vice Treasurer</option>
<option value = "sg.php">Secretary General</option>
<option value = "ta.php">Transport & Accommodation</option>
<option value = "pb.php">Publicity</option>
<option value = "ac.php">Academics</option>
</select>
</center>
Hotel Management System
Implementation 2023 - 2024
<script>
function page (src){
window.location=src;
}
</script>
<p/>
</heading>
<div class="row">
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-
bordered table-hover" id="dataTables-example" border="0">
<thead class="thead">
<tr>
<th>Image</th>
<th>Firstname</th>
<th>Lastname</th>
<th>Party</th>
<th>Year Level</th>
<th>Gender</th>
</tr>
</thead>
<tbody>
<tr>
<?php
require '../admin/dbcon.php';
$bool = false;
$query = $conn->query("SELECT * FROM
candidate WHERE `position` = >fetch_array()){
'Treasurer'");
?>
<?php } ?>
</tbody>
</table>
</div>
</div>
<!-- /.panel-body -->
</div>
</div>
<!-- /.row -->
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<?php
include ('footer.php');
?>
</body>
Hotel Management System
Implementation 2023 - 2024
</html>
div.dataTables_length label {
float: left;
text-align: left;
font-weight: normal;
}
div.dataTables_length select {
width: 75px;
}
div.dataTables_filter label {
float: right;
font-weight: normal;
}
div.dataTables_filter input {
width: 16em;
}
div.dataTables_info
{ padding-top:
8px;
}
div.dataTables_paginate {
float: right;
margin: 0;
}
div.dataTables_paginate ul.pagination {
margin: 2px 0;
white-space: nowrap;
}
table.dataTable,
table.dataTable td,
table.dataTable th {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-
Hotel Management System
Implementation 2023 - 2024
box; box-sizing: content-
box;
table.dataTable {
clear: both;
margin-top: 6px !important;
margin-bottom: 6px !
important; max-width: none !
important;
}
table.dataTable th:active {
outline: none;
}
/* Scrolling */
div.dataTables_scrollBody table
{ margin-top: 0 !important;
margin-bottom: 0 !
important; border-top:
none;
}
div.dataTables_scrollFoot table
{ margin-top: 0 !important;
border-top: none;
}
/*
* TableTools styles
*/
background-color: #017ebc;
}
table.DTTT_selectable tbody tr {
cursor: pointer;
}
div.DTTT .btn {
font-size: 12px;
color: #333 !important;
}
div.DTTT .btn:hover {
text-decoration: none !important;
}
ul.DTTT_dropdown.dropdown-menu
{ z-index: 2003;
}
ul.DTTT_dropdown.dropdown-menu a {
color: #333 !important; /* needed only when demo_page.css is included */
}
ul.DTTT_dropdown.dropdown-menu li {
position: relative;
}
ul.DTTT_dropdown.dropdown-menu li:hover a {
color: white !important;
background-color: #0088cc;
}
div.DTTT_collection_background
{ z-index: 2002;
}
div.DTTT_print_info.modal {
height: 150px;
margin-top: -75px;
text-align: center;
}
div.DTTT_print_info h6 {
margin: 1em;
font-size: 28px;
font-weight: normal;
line-height: 28px;
}
div.DTTT_print_info p {
font-size: 14px;
line-height: 20px;
}
/*
* FixedColumns styles
*/
div.DTFC_LeftHeadWrapper table,
div.DTFC_LeftFootWrapper table,
div.DTFC_RightHeadWrapper table,
div.DTFC_RightFootWrapper table,
table.DTFC_Cloned tr.even {
background-color: white;
}
div.DTFC_RightHeadWrapper
table, div.DTFC_LeftHeadWrapper
table { margin-bottom: 0 !
important;
border-top-right-radius: 0 !important;
border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
div.DTFC_RightBodyWrapper
table, div.DTFC_LeftBodyWrapper
table { margin-bottom: 0 !
important;
Hotel Management System
Implementation 2023 - 2024
border-top: none;
}
div.DTFC_RightFootWrapper table,
div.DTFC_LeftFootWrapper table {
border-top: none;
}
Chapter 5 - Testing
The test strategy for a Hotel Management system should ensure the system is secure, reliable,
and accurate. Here are some key considerations to guide the testing process:
Usability Testing: Usability testing should be carried out to ensure that the system is easy to use
and understand for customers. The testing should be carried out on a representative sample of
users to get an accurate idea of how the system performs in real-world situations.
Performance Testing: Performance testing should be carried out to ensure that the system can
handle the expected load. Testing should include load testing, stress testing, and scalability
testing to ensure that the system can handle a large number of users without crashing.
Functionality Testing: Functionality testing should be carried out to ensure that the system
functions as expected. Testing should include verifying that voters can register, cast their
vote, and view their results. Testing should also ensure that the system is accessible to all
users, including those with disabilities.
Compatibility Testing: Compatibility testing should be carried out to ensure that the
system works correctly across different platforms, browsers, and devices. Testing should
include verifying that the system works on both desktop and mobile devices.
Reliability Testing: Reliability testing should be carried out to ensure that the system operates
correctly and without errors. Testing should include verifying that the system can recover
from failures and that room booking are counted accurately.
Compliance Testing: Compliance testing should be carried out to ensure that the system meets
all relevant regulations and standards, including data privacy laws and election regulations.
In conclusion, the test strategy for a Hotel Management System should cover all aspects of the
system, including security, usability, performance, functionality, compatibility, reliability, and
compliance. A comprehensive testing process will ensure that the system is ready for use and
that voters can trust the results .
Here are some test cases that can be considered while testing a Hotel Management System for
different modules.
Registration Module:
• Verify that all required fields are present on the registration form (e.g., name,
password).
• Test the validation of input fields, ensuring that appropriate error messages are
displayed for invalid inputs.
• Validate that the student ID entered during registration is unique and not already
registered in the system.
• Verify that a confirmation message is sent to the user after successful registration.
• Test that the registration process is successful and the user is redirected to the login
page after registration.
Login Module:
• Verify that the login page is displayed when a user attempts to access a protected
page without logging in.
• Test that users can't log in with invalid credentials (i.e., incorrect id or password).
• Verify that users are redirected to the Booking page after successful login.
• Verify that users are logged out after a period of inactivity.
• Test that users can log in using their registered id and password.
Voting Module:
• Verify that the user has cast their v o t e .
• Test that the room contains the appropriate information .
• Test that the information is only accessible to users who have successfully completed
the voting
• Verify that the room details is only valid for a certain period of time (if applicable).
• Test that the hotel page is responsive and displays correctly on different screen sizes
and devices.
Here are some possible future enhancements that can be made to an online voting system:
These enhancements can help improve the security, accessibility, and usability of the Hotel
Management system, leading to a more accurate and inclusive Room booking process.
Chapter -7 Bibliography
https://www.javatpoint.com/