0% found this document useful (0 votes)
73 views50 pages

Online House Rental Management System

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views50 pages

Online House Rental Management System

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

HOUSE RENTAL MANAGEMENT SYSTEM

1. INTRODUCTION

1.1. Project Context

The rise of digital transformation has significantly impacted various industries,


including real estate. In today's fast-paced world, traditional methods of managing
rental properties, such as manual record-keeping and in-person communication, are
becoming obsolete. Property owners and tenants alike seek more efficient, transparent,
and convenient ways to manage rental processes. This project aims to address these
needs by developing an online House Rental Management System using PHP and
MySQL. The system will streamline the processes for both property owners and
tenants, ensuring a seamless experience for all stakeholders involved.

1.2. Purpose and Description

The purpose of this project is to create a comprehensive web-based platform that


facilitates the management of rental properties. The system will allow property owners
to list their properties, manage bookings, and communicate with tenants. On the other
hand, tenants can search for available properties, book them, and maintain
communication with the property owners. The platform will also include an admin
panel for system administrators to oversee the entire system, manage users, and
maintain the overall integrity of the platform.

1.3. General Objective

The general objective of this project is to develop a user-friendly and efficient House
Rental Management System that automates the process of managing rental properties,
thus reducing the workload for property owners and improving the rental experience
for tenants. The system will be accessible from any device with internet access, making
it convenient for users to manage rental activities on the go.

1.4. Specific Objectives

• Design and develop a user interface that is intuitive and easy to navigate for all user
types, including property owners, tenants, and administrators.

• Implement a secure authentication system that allows property owners, tenants, and
administrators to log in to the system and access their respective dashboards.

1
HOUSE RENTAL MANAGEMENT SYSTEM

• Develop a property management module that allows property owners to add, update,
and delete property listings, manage bookings, and track rental payments.

• Create a tenant management module that enables tenants to search for available
properties, book properties, and communicate with property owners.

• Integrate a messaging system within the platform to facilitate communication


between tenants and property owners.

• Implement an admin dashboard that provides the system administrator with tools to
manage users, properties, and overall system maintenance.

• Ensure database security and integrity by implementing best practices for data
storage, access control, and backup procedures.

2. SCOPE AND LIMITATION OF THE STUDY

Scope:

The House Rental Management System aims to provide an efficient platform for managing
rental properties, facilitating communication between property owners and tenants, and
streamlining the rental process. The scope of the study includes the following
functionalities:

• User Management: The system will handle the registration, login, and profile
management of three types of users: administrators, property owners, and tenants.

• Property Listing: Property owners can list their properties with detailed descriptions,
photos, and pricing. Tenants can search for and view available properties.

• Booking Management: Tenants can book properties online, and property owners can
manage these bookings, including accepting or rejecting booking requests.

• Payment Management: While the initial version of the system may not include online
payment processing, it will track payment statuses and notify users accordingly.

• Messaging System: The platform will include an internal messaging system for
communication between tenants and property owners.

2
HOUSE RENTAL MANAGEMENT SYSTEM

• Admin Dashboard: Administrators will have access to a comprehensive dashboard to


manage users, properties, and oversee system activities.

Limitations:

• Payment Integration: The initial implementation may not support online payment
gateways. Future versions could integrate with third-party payment processors.

• Mobile Responsiveness: While the system will be accessible from various devices, full
optimization for mobile devices may be limited in the initial phase.

• Localization: The system may initially be available only in English, limiting


accessibility for non-English speakers.

• Scalability: The system is designed for small to medium-scale property management.


Performance issues may arise if scaled to support a large number of users or properties
without further optimization.

• External API Integrations: Initial versions may lack integration with external services
like Google Maps for location-based searches, though these features could be added
later.

3. SIGNIFICANCE OF THE STUDY

This study holds significant importance for various stakeholders involved in the rental property
management process. The system offers several benefits tailored to the needs of each user
group:

3.1. Administrator

• System Control: The administrator gains complete control over the platform, enabling
the management of users, properties, and overall system integrity. This helps maintain
a secure and organized system environment.

• User Management: Administrators can monitor and regulate the activities of property
owners and tenants, ensuring compliance with the system's terms and conditions.

3
HOUSE RENTAL MANAGEMENT SYSTEM

• Data Insights: The admin dashboard provides valuable insights into system usage, user
activity, and property performance, aiding in decision-making and future
enhancements.

3.2. Owner

• Efficient Property Management: Property owners can easily list, manage, and update
their properties, reducing the time and effort required to handle rental activities.

• Booking and Payment Tracking: Owners can track bookings, confirm reservations,
and monitor payment statuses in real time, improving cash flow management.

• Direct Communication: The integrated messaging system allows property owners to


directly communicate with potential tenants, addressing queries and finalizing bookings
without the need for third-party communication tools.

3.3. Tenant

• Convenient Property Search: Tenants can browse a wide range of properties with
detailed descriptions and photos, making it easier to find a suitable rental.

• Online Booking: The ability to book properties online provides tenants with the
convenience of securing accommodations without the need for physical visits or
lengthy negotiations.

• Direct Interaction with Owners: The messaging feature allows tenants to directly
communicate with property owners, ensuring transparency and resolving any concerns
or queries promptly.

4. DEFINITION OF TERMS

In the context of the House Rental Management System project, several key terms and
concepts are frequently referenced. The following definitions provide clarity and
understanding of these terms:

4.1. Architectural Diagram

An architectural diagram is a visual representation of the system’s structure, showing


how different components of the system interact with each other. In software
development, it typically includes elements like databases, servers, user interfaces, and
4
HOUSE RENTAL MANAGEMENT SYSTEM

the connections between them. For this project, the architectural diagram would
illustrate the flow between the front-end (user interfaces for tenants, owners, and
admins), back-end logic (PHP scripts), and the MySQL database.

4.2. Feasibility

Feasibility refers to the assessment of how practical and achievable a project is. It
considers factors such as technical resources, time, cost, and operational aspects. In this
project, feasibility studies help determine whether the system can be successfully
developed and deployed given the available technology, skills, and budget. It typically
includes technical feasibility, economic feasibility, and operational feasibility.

Technical feasibility : The proposed system can be easily maintain and repair, because
the system is developed by familiar programming language The project team members
learned programming languages that required for the successful completion of the
project such as java script, CSS, HTML, JSP,MySQL. These languages are simple,
open source and already known, so the team developed the system easily.

Economic feasibility : The purpose of the economic feasibility assessment is to


determine the positive economic benefits to the organization that the proposed system
provides. It includes quantification and identification of all the benefits expected. This
assessment typically involves a cost/ benefits analysis. House rent site is available to
anybody and anywhere. So the system is more functional in reducing costs from both
users and the owner.

Operational feasibility : The proposed system has been operationally functional and
user friendly. The users of system use the system to perform its regular task without
any ambiguity. The user of the system can understand the new system with little trial.
Operationally, the system has capable of producing quick and qualitative services to
user’s .therefore, the system developed is operationally more feasible.

5
HOUSE RENTAL MANAGEMENT SYSTEM

4.3. Hardware

Hardware refers to the physical components required to run the software system. In the
context of the House Rental Management System, hardware could include servers
where the system is hosted, client devices like computers or smartphones used by
tenants, owners, and administrators, and networking equipment that supports internet
connectivity.

4.4. MySQL

MySQL is an open-source relational database management system (RDBMS) that uses


structured query language (SQL) for database management. In this project, MySQL is
used to store and manage data related to properties, users (tenants, owners, admins),
bookings, payments, and messages. The database serves as the backbone of the system,
ensuring data is stored securely and can be retrieved efficiently.

4.5. Report

A report in the context of this system refers to any structured presentation of data or
information generated by the system. For instance, reports might be generated by the
admin to view user activity, property performance, or booking trends. Reports are often
used for decision-making, monitoring system usage, or generating insights for further
improvements.

4.6. Software

Software refers to the programs and other operating information used by the computer.
For this project, the software includes all the PHP scripts, HTML/CSS files, JavaScript,
and MySQL databases that make up the House Rental Management System. It also
includes any external libraries, frameworks, or APIs used to enhance the system's
functionality, such as Bootstrap for responsive design or jQuery for enhanced
interactivity. The software is the core of the system, enabling all the intended
functionalities and user interactions.

6
HOUSE RENTAL MANAGEMENT SYSTEM

5. REVIEW OF RELATED LITERATURE

5.1. Background of the Study

The real estate and rental industry has traditionally relied on physical interactions,
manual paperwork, and face-to-face negotiations to manage property rentals. With the
advent of digital technologies, there has been a significant shift toward automating and
digitizing these processes. This shift is driven by the need for more efficient,
transparent, and convenient ways to manage property rentals for both property owners
and tenants. The background of this study delves into the evolution of rental
management systems, from traditional methods to modern web-based platforms,
highlighting the impact of digitalization on the industry.

5.2. Related Systems

Various systems have been developed to manage different aspects of property rentals,
ranging from simple listing platforms to comprehensive property management systems
(PMS). These systems often include features like property listing management, tenant
and owner portals, booking and payment systems, and communication tools. Examples
include popular platforms like Airbnb, Zillow, and [Link], which offer online
property search and booking services. These systems provide valuable insights into best
practices and potential pitfalls, helping to shape the development of new rental
management solutions.

5.3. House Rental System

A House Rental System is a specialized platform designed to manage the renting


process for residential properties. It typically includes features such as property listings,
tenant management, booking and payment tracking, and communication between
tenants and property owners. The system aims to simplify and streamline the rental
process, making it more accessible and efficient for both parties. The literature review
covers existing house rental systems, analyzing their strengths and weaknesses to
inform the design and development of a new system that better meets user needs.

7
HOUSE RENTAL MANAGEMENT SYSTEM

5.4. Security and Privacy

Security and privacy are critical considerations in any online system, particularly one
that handles sensitive information such as user details, payment data, and property
ownership records. The literature review explores various security measures, including
encryption, secure authentication, access control, and data protection practices, that are
essential to safeguard the system against potential threats. It also examines privacy
concerns related to user data, discussing the importance of complying with regulations
like GDPR (General Data Protection Regulation) and ensuring that users' personal
information is handled responsibly.

5.5. Artificial Intelligence (AI) in House Rental Systems

AI has been increasingly integrated into house rental systems to enhance user
experience and operational efficiency. AI-driven features like recommendation engines,
chatbots, and predictive analytics are becoming more common in modern rental
platforms. These technologies can help match tenants with suitable properties, provide
instant customer support, and analyze market trends to optimize pricing strategies. The
literature review examines the current use of AI in rental systems and its potential to
revolutionize property management through advanced data analysis, automation, and
personalized user experiences.

6. METHODOLOGY

The methodology section outlines the approach and techniques used to develop the House
Rental Management System. It includes the following key steps:

• Requirements Gathering: Collecting information from stakeholders (property


owners, tenants, administrators) to understand their needs and expectations.

• System Design: Creating the architectural diagram, database schema, and user
interface layouts.

• Development: Using PHP, MySQL, and other web technologies to code the system's
functionality.

8
HOUSE RENTAL MANAGEMENT SYSTEM

• Testing: Conducting unit, integration, and user acceptance testing to ensure the system
meets the requirements.

• Deployment: Launching the system on a server and making it accessible to users.

• Maintenance: Providing ongoing support and updates to the system as needed.

7. PLANNING

Planning involves setting the project timeline, milestones, and deliverables. It includes
identifying the resources required, assigning tasks to team members, and setting deadlines for
each phase of the project. A Gantt chart or similar project management tool may be used to
track progress and ensure that the project stays on schedule.

8. ANALYSIS

The analysis phase involves studying the requirements gathered during the initial stages of the
project to understand the system's functionality, constraints, and user expectations. This phase
may include a feasibility study to determine the technical, economic, and operational viability
of the project. The output of this phase is a detailed system specification document that serves
as a blueprint for the design and development phases.

9. DESIGNING

The designing phase focuses on creating the system's architecture, user interface, and database
design. This includes:

• System Architecture: Defining the overall structure of the system, including the
interaction between the front-end, back-end, and database.

• User Interface Design: Creating wireframes and prototypes of the user interface for
different user roles (admin, owner, tenant).

• Database Design: Designing the database schema, including tables, relationships, and
queries needed to store and retrieve data efficiently.

9
HOUSE RENTAL MANAGEMENT SYSTEM

Fig : Use case diagram for HRMS

10. SOFTWARE DEVELOPMENT

10.1. Coding

Coding is the process of writing the actual code for the system using PHP for server-
side logic, MySQL for the database, and HTML/CSS/JavaScript for the front-end. This
phase involves translating the design into functional software, following best practices
for coding standards, and ensuring that the code is modular, maintainable, and efficient.

10
HOUSE RENTAL MANAGEMENT SYSTEM

10.2. Testing

Testing involves verifying that the system works as intended and meets the requirements
specified during the analysis phase. It includes:

• Unit Testing: Testing individual components or modules of the system.

• Integration Testing: Ensuring that different modules work together seamlessly.

• User Acceptance Testing (UAT): Having real users test the system to ensure it
meets their needs and expectations.

10.3. Operation

Operation refers to the deployment of the system in a live environment where users can
interact with it. This phase includes setting up the server, configuring the environment,
and ensuring that the system is accessible to all intended users. It may also involve
training users on how to use the system effectively.

10.4. Maintenance

Maintenance involves providing ongoing support to the system after deployment. This
includes fixing bugs, adding new features, and making updates to ensure the system
remains functional and secure. Maintenance is a continuous process that ensures the
system adapts to changing user needs and technological advancements.

10.5. Operating System

The operating system refers to the software environment on which the House Rental
Management System will run. Typically, the system would be hosted on a server
running a Linux-based OS (such as Ubuntu), which is compatible with PHP and
MySQL. The choice of operating system is critical for ensuring compatibility, security,
and performance of the system.

11. ARCHITECTURAL DIAGRAM INTERFACE OF HARDWARE

The architectural diagram for the hardware interface typically depicts the relationship between
different hardware components and how they interact with the software system. Here's an
outline of what it might include for the House Rental Management System:

11
HOUSE RENTAL MANAGEMENT SYSTEM

• Client Devices: These are the devices used by tenants, owners, and administrators to
access the system. This could include desktops, laptops, tablets, and smartphones.

• Web Server: The server where the PHP scripts, HTML/CSS files, and other assets are
hosted. This server processes requests from client devices and interacts with the
database.

• Database Server: A dedicated server running MySQL, responsible for storing and
retrieving data related to users, properties, bookings, and messages.

12. SYSTEM TESTING AND IMPLEMENTATION

System testing and implementation are crucial steps in the development process to ensure the
system operates correctly and meets the user's needs.

• System Testing:

o Unit Testing: Individual components of the system are tested for functionality.

o Integration Testing: Combined components are tested to ensure they work


together as expected.

o System Testing: The entire system is tested as a whole to verify that it meets
all requirements.

o User Acceptance Testing (UAT): The system is tested by actual users to ensure
it meets their needs and expectations.

12
HOUSE RENTAL MANAGEMENT SYSTEM

• Implementation:

o Deployment: The system is installed on the production server, configured, and


made accessible to end users.

o Training: Users are trained on how to use the system effectively.

o Go-Live: The system is officially launched, and users start using it in a live
environment.

o Post-Implementation Support: Ongoing support is provided to address any


issues that arise after the system goes live.

13. DOCTOR APPOINTMENT SYSTEM FEATURES

A doctor appointment system manages scheduling, patient records, and communication


between patients and healthcare providers. Key features include:

13.1.1. Recommended Hardware Specification (Server/Workstations)

• Server:

o Processor: Intel Xeon or AMD EPYC (quad-core or higher)

o RAM: 16 GB or higher

o Storage: SSD with 512 GB or higher

o Network: Gigabit Ethernet

• Workstations:

o Processor: Intel i5/i7 or AMD Ryzen (quad-core or higher)

o RAM: 8 GB or higher

o Storage: SSD with 256 GB or higher

13
HOUSE RENTAL MANAGEMENT SYSTEM

13.1.2. Recommended Software Specification (Server/Workstations)

• Server:

o Operating System: Ubuntu Server LTS, CentOS, or Windows Server

o Web Server: Apache or Nginx

o Database: MySQL or PostgreSQL

o Programming Languages: PHP, Python

• Workstations:

o Operating System: Windows 10/11, macOS, or Linux

o Web Browser: Google Chrome, Firefox, or Safari

o Office Suite: Microsoft Office or LibreOffice

13.1.3. Recommended Network Specification

• Security: Firewall and VPN for secure remote access

14. EXISTING SYSTEM

The existing system refers to the current methods or software in use for managing
doctor appointments. It may include manual systems (like paper-based records) or
outdated digital systems with limited functionality. Common issues with existing
systems might include lack of automation, inefficiencies in scheduling, poor data
management, and inadequate communication channels.

15. ER MODEL OF DOCTOR APPOINTMENT SYSTEM

The below shown diagram is the E.R. (Entity Relationship) diagram of the Rental
Housing Management System. It shows us the information that has to be given by the
user end and also by the owner end for the proper working of the system. The user as
well as owner have to give their basic details, the user must give the proper details of
the house he/she wants and the owner should do the same for the property they want to
rent out

14
HOUSE RENTAL MANAGEMENT SYSTEM

16. PROPOSED SYSTEM

The proposed system describes the new doctor appointment system being developed to address
the limitations of the existing system. It includes enhanced features like:

• Online Appointment Booking: Patients can book, reschedule, or cancel appointments


online.

• Automated Reminders: SMS or email reminders for upcoming appointments.

• Patient Management: Securely storing patient information and medical history.

• Doctor Scheduling: Managing doctors' availability and appointments efficiently.

• Telemedicine Integration: Allowing remote consultations via video calls.

• Reporting: Generating reports on appointment trends, doctor utilization, patient


satisfaction, etc.

[Link] FOR HOUSE RENTAL MANAGEMENT SYSTEM

17.1 [Link]

<?php

session_start();

if(!isset($_SESSION["email"])){

15
HOUSE RENTAL MANAGEMENT SYSTEM

header("location:../[Link]");

include("[Link]");

include("[Link]");

?><head>

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" type="text/css" href="[Link]">

</head><body>

<div class="container-fluid">

<ul class="nav nav-pills nav-justified">

<li class="active" style="background-color: #FFF8DC"><a data-toggle="pill"


href="#home">Profile</a></li>

<li style="background-color: #FAC0E6"><a data-toggle="pill"


href="#menu4">Messages</a></li>

<li style="background-color: #FAF0E6"><a data-toggle="pill"


href="#menu1">Add Property</a></li>

<li style="background-color: #FFFACD"><a data-toggle="pill"


href="#menu2">View Property</a></li>

<li style="background-color: #FFFAF0"><a data-toggle="pill"


href="#menu3">Update Property</a></li>

<li style="background-color: #FAFAF0"><a data-toggle="pill"


href="#menu6">Booked Property</a></li>

</ul> <div class="tab-content">

<div id="home" class="tab-pane fade in active">

<center><h3>Owner Profile</h3></center>

<div class="container">

16
HOUSE RENTAL MANAGEMENT SYSTEM

<?php

include("../config/[Link]");

$u_email= $_SESSION["email"];

$sql="SELECT * from owner where email='$u_email'";

$result=mysqli_query($db,$sql);

if(mysqli_num_rows($result)>0)

{ while($rows=mysqli_fetch_assoc($result)){

?>

<div class="card">

<img src="../images/[Link]" alt="John" style="height:200px; width: 100%">

<h1><?php echo $rows['full_name']; ?></h1>

<p class="title"><?php echo $rows['email']; ?></p>

<p><b>Phone No.: </b><?php echo $rows['phone_no']; ?></p>

<p><b>Address: </b><?php echo $rows['address']; ?></p>

<p><b>Id Type: </b><?php echo $rows['id_type']; ?></p>

<p><img src="../<?php echo $rows['id_photo']; ?>" height="100px"></p>

<p><button type="button" class="btn btn-lg" data-toggle="modal" data-


target="#myModal">Update Profile</button></p>

<div class="modal fade" id="myModal" role="dialog">

<div class="modal-dialog">

<div class="modal-content">

<div class="modal-header">

<button type="button" class="close" data-dismiss="modal">&times;</button>

<h4 class="modal-title">Update Profile</h4>

</div> <div class="modal-body">

17
HOUSE RENTAL MANAGEMENT SYSTEM

<form method="POST">

<div class="form-group">

<label for="full_name">Full Name:</label>

<input type="hidden" value="<?php echo $rows['owner_id']; ?>"


name="owner_id">

<input type="text" class="form-control" id="full_name" value="<?php echo


$rows['full_name']; ?>" name="full_name">

</div> <div class="form-group">

<label for="email">Email:</label>

<input type="email" class="form-control" id="email" value="<?php echo


$rows['email']; ?>" name="email" readonly>

</div><div class="form-group">

<label for="phone_no">Phone No.:</label>

<input type="text" class="form-control" id="phone_no" value="<?php echo


$rows['phone_no']; ?>" name="phone_no">

</div> <div class="form-group">

<label for="address">Address:</label>

<input type="text" class="form-control" id="address" value="<?php echo


$rows['address']; ?>" name="address">

</div><div class="form-group">

<label for="id_type">Type of ID:</label>

<input type="text" class="form-control" value="<?php echo $rows['id_type']; ?>"


name="id_type" readonly>

</div> <div class="form-group">

<label>Your Id:</label><br>

18
HOUSE RENTAL MANAGEMENT SYSTEM

<img src="../<?php echo $rows['id_photo']; ?>" id="output_image"/ height="100px"


readonly>

</div> <hr>

<center><button id="submit" name="owner_update" class="btn btn-primary btn-


block">Update</button></center><br>

</form> </div>

<div class="modal-footer">

<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>

</div> </div> </div></div></div> </div> </div>

<div id="menu4" class="tab-pane fade">

<div class="container">

<center><h3>See Messages</h3></center>

<?php

$owner_id=$rows['owner_id'];

$sql1="SELECT * FROM chat where owner_id='$owner_id' ";

$query1 = mysqli_query($db,$sql1);

if ($query1 === false) { echo "Error: " . mysqli_error($db);

} else {

if (mysqli_num_rows($query1) > 0) {

while ($row = mysqli_fetch_assoc($query1)) {

$tenant_id = $row['tenant_id'];

$sql2 = "SELECT * FROM tenant WHERE tenant_id='$tenant_id'";

$query2 = mysqli_query($db, $sql2);

if ($query2 === false) {

echo "Error: " . mysqli_error($db);

19
HOUSE RENTAL MANAGEMENT SYSTEM

} else {

if (mysqli_num_rows($query2) > 0) {

while ($rows = mysqli_fetch_assoc($query2)) { ?>

<link rel="stylesheet" type="text/css" href="[Link]">

<div class="tab">

<button class="tablinks" id="defaultOpen" onmouseover="openCity(event, '<?php echo


$rows["full_name"]; ?>')"><?php echo $rows["full_name"]; ?></button>

</div>

<div id="<?php echo $rows["full_name"]; ?>" class="tabcontent">

<?php

$sql3="SELECT * FROM chat where tenant_id='$tenant_id' AND owner_id='$owner_id' ";

$query3 = mysqli_query($db,$sql3);

if(mysqli_num_rows($query3)>0) {

while($ro= mysqli_fetch_assoc($query3)){

echo $ro["message"]."<br>";

}} ?></div>

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

//echo '<a href="send-


[Link]?owner_id='.$owner_id.'&tenant_id='.$tenant_id.'">'.$rows["full_name"].'</a>';

}}}}}} }}?>

</div> </div>

<div id="menu1" class="tab-pane fade">

<center><h3>Add Property</h3></center>

<div class="container">

<div id="map_canvas"></div>

20
HOUSE RENTAL MANAGEMENT SYSTEM

<form method="POST" enctype="multipart/form-data">

<div class="row">

<div class="col-sm-6">

<div class="form-group">

<label for="country">Country:</label>

<select class="form-control" name="country" required="required">

<option value="">--Select Country--</option>

<option value="Nepal">India</option>

</select> </div>

<div class="form-group">

<label for="province">Province/State:</label>

<select class="form-control" name="province" required="required">

<option value="">--Select Province/State--</option>

<option value="Karnataka">Karnataka</option>

<option value="Telangana">Telangana</option>

<option value="Andra Pradesh">Andra Pradesh</option>

<option value="TamilNadu">TamilNadu</option>

<option value="Kerala">Kerala</option>

<option value="Goa">Goa</option>

<option value="Maharashtra">Maharashtra</option>

</select> </div>

<div class="form-group">

<label for="zone">Zone:</label>

<input type="text" class="form-control" id="zone" placeholder="Enter Zone"


name="zone">

21
HOUSE RENTAL MANAGEMENT SYSTEM

</div>

<div class="form-group">

<label for="district">District:</label>

<input type="text" class="form-control" id="district" placeholder="Enter District"


name="district">

</div>

<div class="form-group">

<label for="city">City:</label>

<input type="text" class="form-control" id="city" placeholder="Enter City"


name="city">

</div>

<div class="form-group">

<label for="vdc/municipality">VDC/Municipality:</label>

<input type="text" class="form-control" id="vdc_municipality" placeholder="Enter


vdc/municipality" name="vdc/municipality">

</div>

<div class="form-group">

<label for="ward_no">Ward No.:</label>

<input type="text" class="form-control" id="ward_no" placeholder="Enter Ward


No." name="ward_no">

</div> <div class="form-group">

<label for="tole">Tole:</label>

<input type="text" class="form-control" id="tole" placeholder="Enter Tole"


name="tole"> </div>

<div class="form-group">

22
HOUSE RENTAL MANAGEMENT SYSTEM

<label for="contact_no">Contact No.:</label>

<input type="text" class="form-control" id="contact_no" placeholder="Enter Contact


No." name="contact_no">

</div> <div class="form-group">

<label for="property_type">Property Type:</label>

<select class="form-control" name="property_type">

<option value="">--Select Property Type--</option>

<option value="Full House Rent">Full House Rent</option>

<option value="Flat Rent">Flat Rent</option>

<option value="Room Rent">Room Rent</option>

</select> </div>

<div class="form-group">

<label for="estimated_price">Estimated Price:</label>

<input type="estimated_price" class="form-control" id="estimated_price"


placeholder="Enter Estimated Price" name="estimated_price">

</div> </div> <div class="col-sm-6">

<div class="form-group">

<label for="total_rooms">Total No. of Rooms:</label>

<input type="number" class="form-control" id="total_rooms"


placeholder="Enter Total No. of Rooms" name="total_rooms">

</div> <div class="form-group">

<label for="bedroom">No. of Bedroom:</label>

<input type="number" class="form-control" id="bedroom" placeholder="Enter


No. of Bedroom" name="bedroom">

</div> <div class="form-group">

23
HOUSE RENTAL MANAGEMENT SYSTEM

<label for="living_room">No. of Living Room:</label>

<input type="number" class="form-control" id="living_room"


placeholder="Enter No. of Living Room" name="living_room">

</div> <div class="form-group">

<label for="kitchen">No. of Kitchen:</label>

<input type="number" class="form-control" id="kitchen" placeholder="Enter No.


of Kitchen" name="kitchen">

</div> <div class="form-group">

<label for="bathroom">No. of Bathroom/Washroom:</label>

<input type="number" class="form-control" id="bathroom" placeholder="Enter


No. of Bathroom/Washroom" name="bathroom">

</div> <div class="form-group">

<label for="description">Full Description:</label>

<textarea type="comment" class="form-control" id="description"


placeholder="Enter Property Description" name="description"></textarea>

</div>

<table class="table table-bordered" border="0">

<tr>

<div class="form-group">

<label><b>Latitude/Longitude:</b><span style="color:red; font-size:


10px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *Click on Button</span></label>

<td><input type="text" name="latitude" placeholder="Latitude" id="latitude"


class="form-control name_list" readonly required /></td>

<td><input type="text" name="longitude" placeholder="Longitude"


id="longitude" class="form-control name_list" readonly required /></td>

<td><input type="button" value="Get Latitude and Longitude"


onclick="getLocation()" class="btn btn-success col-lg-12"></td>
24
HOUSE RENTAL MANAGEMENT SYSTEM

</div>

</tr>

</table>

<table class="table" id="dynamic_field">

<tr>

<div class="form-group">

<label><b>Photos:</b></label>

<td><input type="file" name="p_photo[]" placeholder="Photos" class="form-


control name_list" required accept="image/*" /></td>

<td><button type="button" id="add" name="add" class="btn btn-success col-lg-


12">Add More</button></td>

</div>

</tr>

</table>

<input name="lat" type="text" id="lat" hidden>

<input name="lng" type="text" id="lng" hidden>

<hr>

<div class="form-group">

<input type="submit" class="btn btn-primary btn-lg col-lg-12" value="Add


Property" name="add_property">

</div> </div> </div> </form> <br><br>

</div> </div> <div id="menu2" class="tab-pane fade">

<center><h3>View Property</h3></center>

<div class="container-fluid">

25
HOUSE RENTAL MANAGEMENT SYSTEM

<input type="text" id="myInput" onkeyup="viewProperty()" placeholder="Search..."


title="Type in a name">

<div style="overflow-x:auto;">

<table id="myTable">

<tr class="header">

<th>Id.</th>

<th>Country</th>

<th>Province/State</th>

<th>Zone</th>

<th>District</th>

<th>City</th>

<th>VDC/Municipality</th>

<th>Ward No.</th>

<th>Tole</th>

<th>Contact No.</th>

<th>Property Type</th>

<th>Latitude</th>

<th>Longitude</th>

<th>Estmated Price</th>

<th>Total Rooms</th>

<th>Bedroom</th>

<th>Living Room</th>

<th>Kitchen</th>

<th>Bathroom</th>

<th>Description</th>

26
HOUSE RENTAL MANAGEMENT SYSTEM

<th>Photos</th>

</tr>

<?php

$u_email=$_SESSION['email'];

$sql1="SELECT * from owner where email='$u_email'";

$result1=mysqli_query($db,$sql1);

if(mysqli_num_rows($result1)>0) {

while($rowss=mysqli_fetch_assoc($result1)){

$owner_id=$rowss['owner_id'];

$sql="SELECT * from add_property where owner_id='$owner_id'";

$result=mysqli_query($db,$sql);

if(mysqli_num_rows($result)>0) {

while($rows=mysqli_fetch_assoc($result)){

$property_id=$rows['property_id'];

?>

<tr>

<td><?php echo $rows['property_id'] ?></td>

<td><?php echo $rows['country'] ?></td>

<td><?php echo $rows['province'] ?></td>

<td><?php echo $rows['zone'] ?></td>

<td><?php echo $rows['district'] ?></td>

<td><?php echo $rows['city'] ?></td>

<td><?php echo $rows['vdc_municipality'] ?></td>

<td><?php echo $rows['ward_no'] ?></td>

27
HOUSE RENTAL MANAGEMENT SYSTEM

<td><?php echo $rows['tole'] ?></td>

<td><?php echo $rows['contact_no'] ?></td>

<td><?php echo $rows['property_type'] ?></td>

<td><?php echo $rows['latitude'] ?></td>

<td><?php echo $rows['longitude'] ?></td>

<td>Rs.<?php echo $rows['estimated_price'] ?></td>

<td><?php echo $rows['total_rooms'] ?></td>

<td><?php echo $rows['bedroom'] ?></td>

<td><?php echo $rows['living_room'] ?></td>

<td><?php echo $rows['kitchen'] ?></td>

<td><?php echo $rows['bathroom'] ?></td>

<td><?php echo $rows['description'] ?></td><td>

<?php $sql2="SELECT * from property_photo where property_id='$property_id'";

$query=mysqli_query($db,$sql2);

if(mysqli_num_rows($query)>0) {

while($row=mysqli_fetch_assoc($query)){ ?>

<img src="<?php echo $row['p_photo'] ?>" width="50px">

<?php }}}}}} ?>

</td> </tr> </table> </div> </div> </div>

<div id="menu3" class="tab-pane fade">

<center><h3>Update Property</h3></center>

<div class="container-fluid">

<input type="text" id="myInput" onkeyup="updateProperty()" placeholder="Search..."


title="Type in a name">

<div style="overflow-x:auto;">

28
HOUSE RENTAL MANAGEMENT SYSTEM

<table id="myTable">

<tr class="header">

<th>Id.</th>

<th>Country</th>

<th>Province/State</th>

<th>Zone</th>

<th>District</th>

<th>City</th>

<th>VDC/Municipality</th>

<th>Ward No.</th>

<th>Tole</th>

<th>Contact No.</th>

<th>Property Type</th>

<th>Latitude</th>

<th>Longitude</th>

<th>Estmated Price</th>

<th>Total Rooms</th>

<th>Bedroom</th>

<th>Living Room</th>

<th>Kitchen</th>

<th>Bathroom</th>

<th>Description</th>

<th>Photos</th>

<th>Edit/Delete</th>

29
HOUSE RENTAL MANAGEMENT SYSTEM

</tr> <?php

$sql="SELECT * from add_property where owner_id='$owner_id'";

$result=mysqli_query($db,$sql);

if(mysqli_num_rows($result)>0)

while($rows=mysqli_fetch_assoc($result)){

$property_id=$rows['property_id'];

?> <tr>

<td><?php echo $rows['property_id'] ?></td>

<td><?php echo $rows['country'] ?></td>

<td><?php echo $rows['province'] ?></td>

<td><?php echo $rows['zone'] ?></td>

<td><?php echo $rows['district'] ?></td>

<td><?php echo $rows['city'] ?></td>

<td><?php echo $rows['vdc_municipality'] ?></td>

<td><?php echo $rows['ward_no'] ?></td>

<td><?php echo $rows['tole'] ?></td>

<td><?php echo $rows['contact_no'] ?></td>

<td><?php echo $rows['property_type'] ?></td>

<td><?php echo $rows['latitude'] ?></td>

<td><?php echo $rows['longitude'] ?></td>

<td>Rs.<?php echo $rows['estimated_price'] ?></td>

<td><?php echo $rows['total_rooms'] ?></td>

<td><?php echo $rows['bedroom'] ?></td>

30
HOUSE RENTAL MANAGEMENT SYSTEM

<td><?php echo $rows['living_room'] ?></td>

<td><?php echo $rows['kitchen'] ?></td>

<td><?php echo $rows['bathroom'] ?></td>

<td><?php echo $rows['description'] ?></td><td>

<?php $sql2="SELECT * from property_photo where property_id='$property_id'";

$query=mysqli_query($db,$sql2);

if(mysqli_num_rows($query)>0)

while($row=mysqli_fetch_assoc($query)){ ?>

<img src="<?php echo $row['p_photo'] ?>" width="50px">

<?php }} ?>

</td><form method="POST"> <td>

<input type="hidden" name="property_id" value="<?php echo


$rows['property_id']; ?>">

<a data-toggle="pill" class="btn btn-success" name="edit_property"


onclick="<?php $property_id = $rows['property_id'] ?>" href="#menu5">Edit</a><input
type="submit" class="btn btn-danger" name="delete_property" value="Delete">

</td> </tr> </form><?php }} ?>

</table>

</div> </div> </div>

<div id="menu5" class="tab-pane fade">

<center><h3>Edit Property Details</h3></center>

<div class="container">

<div id="map_canvas"></div>

<form method="POST" enctype="multipart/form-data">

31
HOUSE RENTAL MANAGEMENT SYSTEM

<div class="row">

<div class="col-sm-6">

<div class="form-group">

<label for="country">Country:</label>

<select class="form-control" name="country" required="required">

<option value="">--Select Country--</option>

<option value="Nepal">India</option>

</select>

</div>

<div class="form-group">

<label for="province">Province/State:</label>

<select class="form-control" name="province" required="required">

<option value="">--Select Province/State--</option>

<option value="Karnataka">Karnataka</option>

<option value="Telangana">Telangana</option>

<option value="Andra Pradesh">Andra Pradesh</option>

<option value="TamilNadu">TamilNadu</option>

<option value="Kerala">Kerala</option>

<option value="Goa">Goa</option>

<option value="Maharashtra">Maharashtra</option>

</select> </div> <div class="form-group">

<label for="zone">Zone:</label>

<input type="text" class="form-control" id="zone" placeholder="Enter Zone"


name="zone">

</div> <div class="form-group">

32
HOUSE RENTAL MANAGEMENT SYSTEM

<label for="district">District:</label>

<input type="text" class="form-control" id="district" placeholder="Enter District"


name="district">

</div> <div class="form-group">

<label for="city">City:</label>

<input type="text" class="form-control" id="city" placeholder="Enter City"


name="city">

</div> <div class="form-group">

<label for="vdc/municipality">VDC/Municipality:</label>

<input type="text" class="form-control" id="vdc_municipality"


placeholder="Enter vdc/municipality" name="vdc/municipality">

</div> <div class="form-group">

<label for="ward_no">Ward No.:</label>

<input type="text" class="form-control" id="ward_no" placeholder="Enter Ward


No." name="ward_no">

</div> <div class="form-group">

<label for="tole">Tole:</label>

<input type="text" class="form-control" id="tole" placeholder="Enter Tole"


name="tole">

</div> <div class="form-group">

<label for="contact_no">Contact No.:</label>

<input type="text" class="form-control" id="contact_no" placeholder="Enter Contact


No." name="contact_no">

</div> </div> <div class="col-sm-6">

<div class="form-group">

<label for="property_type">Property Type:</label>

33
HOUSE RENTAL MANAGEMENT SYSTEM

<select class="form-control" name="property_type">

<option value="">--Select Property Type--</option>

<option value="Full House Rent">Full House Rent</option>

<option value="Flat Rent">Flat Rent</option>

<option value="Room Rent">Room Rent</option>

</select> </div>

<div class="form-group">

<label for="estimated_price">Estimated Price:</label>

<input type="estimated_price" class="form-control" id="estimated_price"


placeholder="Enter Estimated Price" name="estimated_price">

</div> <div class="form-group">

<label for="total_rooms">Total No. of Rooms:</label>

<input type="number" class="form-control" id="total_rooms"


placeholder="Enter Total No. of Rooms" name="total_rooms">

</div> <div class="form-group">

<label for="bedroom">No. of Bedroom:</label>

<input type="number" class="form-control" id="bedroom" placeholder="Enter


No. of Bedroom" name="bedroom">

</div> <div class="form-group">

<label for="living_room">No. of Living Room:</label>

<input type="number" class="form-control" id="living_room"


placeholder="Enter No. of Living Room" name="living_room">

</div> <div class="form-group">

<label for="kitchen">No. of Kitchen:</label>

<input type="number" class="form-control" id="kitchen" placeholder="Enter No.


of Kitchen" name="kitchen">

34
HOUSE RENTAL MANAGEMENT SYSTEM

</div> <div class="form-group">

<label for="bathroom">No. of Bathroom/Washroom:</label>

<input type="number" class="form-control" id="bathroom" placeholder="Enter


No. of Bathroom/Washroom" name="bathroom">

</div> <div class="form-group">

<label for="description">Full Description:</label>

<textarea type="comment" class="form-control" id="description"


placeholder="Enter Property Description" name="description"></textarea>

</div> <hr> <div class="form-group">

<input type="submit" class="btn btn-primary btn-lg col-lg-12" value="Update


Property" name="add_property">

</div> </div> </div>

</form><br><br> </div> </div>

<div id="menu6" class="tab-pane fade">

<center><h3>Booked Property</h3></center>

<div class="container">

<input type="text" id="myInput" onkeyup="bookedProperty()" placeholder="Search..."


title="Type in a name">

<table id="myTable">

<tr class="header">

<th>Booked By</th>

<th>Booker Address</th>

<th>Property Province</th>

<th>Property District</th>

<th>Property Zone</th>

35
HOUSE RENTAL MANAGEMENT SYSTEM

<th>Property Ward No</th>

<th>Property Tole</th>

</tr>

<?php

include("../config/[Link]");

$u_email= $_SESSION["email"];

$sql3="SELECT * from owner where email='$u_email'";

$result3=mysqli_query($db,$sql3);

if(mysqli_num_rows($result3)>0)

while($rowss=mysqli_fetch_assoc($result3)){

$owner_id=$rowss['owner_id'];

$sql2="SELECT * from add_property where owner_id='$owner_id'";

$result2=mysqli_query($db,$sql2);

if(mysqli_num_rows($result2)>0)

while($ro=mysqli_fetch_assoc($result2)){

$property_id=$ro['property_id'];

$sql="SELECT * from booking where property_id='$property_id'";

$result=mysqli_query($db,$sql);

if(mysqli_num_rows($result)>0)

while($rows=mysqli_fetch_assoc($result)){

?>

36
HOUSE RENTAL MANAGEMENT SYSTEM

<tr>

<?php

$tenant_id=$rows['tenant_id'];

$property_id=$rows['property_id'];

$sql1="SELECT * from tenant where tenant_id='$tenant_id'";

$result1=mysqli_query($db,$sql1);

if(mysqli_num_rows($result1)>0)

while($row=mysqli_fetch_assoc($result1)){

?>

<td><?php echo $row['full_name']; ?></td>

<td><?php echo $row['address']; ?></td>

<td><?php echo $ro['province']; ?></td>

<td><?php echo $ro['district']; ?></td>

<td><?php echo $ro['zone']; ?></td>

<td><?php echo $ro['ward_no']; ?></td>

<td><?php echo $ro['tole']; ?></td>

</tr>

<?php }}}}}}}} ?>

</table> </div> </div></div></div></body>

17.2 [Link]

<?php

session_start();

37
HOUSE RENTAL MANAGEMENT SYSTEM

include("[Link]"); ?>

<style>

body, html {

height: 100%;

margin: 0;

}.bg {

/* The image used */

background-image: url("images/[Link]");

/* Full height */

height: 40%;

/* Center and scale the image nicely */

background-position: bottom;

background-repeat: no-repeat;

background-size: cover;

}.fa {

padding: 20px;

font-size: 30px;

text-align: left;

text-decoration: none;

margin: 5px 2px;

}.fa:hover {

opacity: 0.7;}

.fa-facebook {

background: #3B5998;

38
HOUSE RENTAL MANAGEMENT SYSTEM

color: white;

}.fa-linkedin {

background: #007bb5;

color: white;}

.active-cyan-3 input[type=text] {

border: 1px solid #4dd0e1;

box-shadow: 0 0 0 1px #4dd0e1;

}</style>

<div class="bg"></div><br>

<div class="container active-cyan-4 mb-4 inline">

<form method="POST" action="[Link]">

<input class="form-control" type="text" placeholder="Enter location to search house."


name="search_property" aria-label="Search">

</form></div><br><br>

<?php include("[Link]");

?> <br><br>

17.3 [Link]

<?php

include("config/[Link]");

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

if(isset($_SESSION["email"])){

global $db,$property_id;

$u_email=$_SESSION["email"];

$property_id=$_GET['property_id'];

$sql="SELECT * FROM tenant where email='$u_email'";

39
HOUSE RENTAL MANAGEMENT SYSTEM

$query=mysqli_query($db,$sql);

if(mysqli_num_rows($query)>0) {

while ($rows=mysqli_fetch_assoc($query)) {

$tenant_id=$rows['tenant_id'];

$sql1="UPDATE add_property SET booked='Yes' WHERE


property_id='$property_id'";

$query1=mysqli_query($db,$sql1);

$sql2="INSERT INTO booking(property_id,tenant_id) VALUES


('$property_id','$tenant_id')";

$query2=mysqli_query($db,$sql2);

if($query2) {

$email=$rows['email'];

$msg="Thankyou Mr/Ms ".$rows['full_name']." for booking Property. Please visit


the property location to view it personally.";

$recipient=$email;

$subject="Property Booked";

$mailheaders="From: RentHouse\n";

mail($recipient,$subject,$msg,$mailheaders);

?><style>

.alert {

padding: 20px;

background-color: #DC143C;

color: white;

.closebtn {

40
HOUSE RENTAL MANAGEMENT SYSTEM

margin-left: 15px;

color: white;

font-weight: bold;

float: right;

font-size: 22px;

line-height: 20px;

cursor: pointer;

transition: 0.3s; }

.closebtn:hover {

color: black;

</style>

<script>

[Link](function() {

$(".alert").fadeTo(1000, 0).slideUp(500, function(){

$(this).remove(); });

}, 2000);

</script>

<div class="container">

<div class="alert" role='alert'>

<spanclass="closebtn"onclick="[Link]='none';">&ti
mes;</span>

<center><strong>Thankyou for booking this property.</strong></center>

</div></div> <?php} }} }}?>

41
HOUSE RENTAL MANAGEMENT SYSTEM

18. SCREENSHOTS OF THE PROJECT

18.1 Dashboard

18.2 Login

42
HOUSE RENTAL MANAGEMENT SYSTEM

18.3 Tenant Login

18.4 Tenant Dashboard

43
HOUSE RENTAL MANAGEMENT SYSTEM

18.5 Booked property

18.6 Owner Dashboard

44
HOUSE RENTAL MANAGEMENT SYSTEM

18.7 Add_property

18.8 View Property

45
HOUSE RENTAL MANAGEMENT SYSTEM

18.9 Update Property

18.10 Booked Property

46
HOUSE RENTAL MANAGEMENT SYSTEM

18.11 Admin Dashboard

18.12 Owner Details

47
HOUSE RENTAL MANAGEMENT SYSTEM

18.13 Tenant Details

18.14 Booked property

48
HOUSE RENTAL MANAGEMENT SYSTEM

19. CONCLUSION AND RECOMMENDATION

This Rental Housing Management System is a web application that is made by using
HTML, CSS, JS, MySQL. All of this was developed in visual studio code by Microsoft.
Our rental house software is a very convenient and user friendly software and it
provides its users with various new features for enhancing their experience. The user
will enter into our website and first he has to log-in or sign-up with their credentials
and then they will be directed to our webpage where they will have to select the region
in which they want to rent a house and then after that they will be shown all the available
properties in that specific area, from there they can select the house that meet their
demands. This rental software will enhance the renter owner relationship and will aim
at making customers’ lives easier.

Our webpage will provide an user-friendly interface and both the tenants and the owner
can be benefited by the website. Users are provided with easy registration and login
with OTP and password for security purposes. Separate portals are provided for both
the buyers and the sellers. The search bar is provided with the filter search technique
which recommends the user with the houses as per his/her requirements and budget.
Our webpage will provide the recent images of the house and contact details of the
owner for transparency.

Future directions

• To also provide service to a user like personal transportation support which are
directly connected to Ola Cabs, Uber where a user can book a cab for its destination
which with 2-4% discount.

• To make our online web application also for Android and IOS app systems.

• To add dynamic features and also create an AI Chat bot which helps you to solve your
biggest problem regarding transaction, using this online web application.

• To make our application system on voice command also with different languages.

49
HOUSE RENTAL MANAGEMENT SYSTEM

[Link]

• HTML and CSS: Design and Build Websites


• Learning PHP, MySQL & JavaScript
• [Link]
• [Link]
• [Link]
• [Link]
• PHP and MySQL Web Development

50

You might also like