You are on page 1of 38

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

BELGAUM, KARNATAKA-590018

An
Internship Project Report on
“MACHINE LEARNING WITH PYTHON”
WEB DESIGNING

An internship report submitted in partial fulfillment of the requirements for the internship in
Bachelor of Engineering in Computer Science and Engineering of Visvesvaraya
Technological University, Belgaum during the academic year 2020-2021.
2021-2022

Submitted by:
SADHANA (1SZ17CS006)
YASHWANTH V (1SZ18CS015)

Under the Guidance of Mr.Santhosh


NIRUPADIBTIDIGOL
J
AssistantDEPARTMENT
Professor Department
OF CSEof CSE

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING SAMPOORNA


INSTITUTE OF TECHNOLOGY & RESEARCH BELEKERE, CHANNAPATNA
TQ, RAMANAGAR Dist-562160
DEPARTMENT OF COMPUTER SCIENCE & ENGG
SAMPOORNA INSTITUTE OF TECHNOLOGY & RESEARCH
BELEKERE, CHANNAPATNA TQ, RAMANAGAR DIST-562160

CERTIFICATE

This is to certify that the internship on work entitled “HOUSE RENTAL

MANAGEMNT” has been successfully carried out by SADHANA (1SZ17CS006) abonafide


student of Sampoorna Institute of Technology & Research in partial fulfillment of the
requirements for the internship in Bachelor of Engineering of Visvesvaraya Technological
University, Belgaum during academic year 2020- 2021. It is certified that all
corrections/suggestions indicated for Internal Assessment have been incorporated in the report
deposited in the departmental library. The internship report has been approved as it satisfies the
academic requirements in respect of internship work for the said degree.

…………………

Mr.Nirupadi
H.O.D
Dept. of CSE.

External Viva

Name of the examiners Signature with date

1…………………………………………… …………………………………..

2…………………………………………… …………………………………..
ACKNOWLEDGEMENT

It gives me an immense pleasure to present before you my internship work titled “HOUSE
RENTAL MANAGEMENT”.The joy and satisfaction that accompany the successful completion of
any task would be incomplete without the mention of those who made it possible.

I am glad to express my gratitude towards my prestigious institution SAMPOORNA


INSTITUTE OF TECHNOLOGY AND RESEARCH for providing me with atmost
knowledge, encouragement and the maximum facilities in undertaking this internship.

I would like to thank Dr. B.S.M. Naidu, Chairman, SITAR, a well known Academician
for his modest and helping for all our academic Endevours.

I am indebted to Dr. Sampoorna Naidu, Director, SITAR, for her moral support and for
providing me all the facilities during my College days.

I wish to express a sincere thanks to our respected principal Dr. Shivashankare Gowda
for all his support.

I express my deepest gratitude and special thanks to Mr.Nirupadi , Professor &


Head,Dept. of Computer Science Engineering, for all her guidance and encouragement.

I sincerely acknowledge the guidance and constant encouragement of my internship guide


Mr.Nirupadi , Asst.Professor &Head of the department.

YASHWANTH V (1SZ18CS015)
ABSTRACT
We are stuck with technology when what we really want is just stuff that works. With the
current paradigm shift in technological field, there is an urgent need to embrace and
appreciate the power of technology. Housing sector remains vigilant to face the challenges
of change by employing a new strategy that facilitates easy management of rental houses.
Hence there is need to develop a rental house management system that can simplify work
for the rental managers so that all their work can be efficient and effective. To get
information about how rental houses are currently being managed, I prepared questionnaires
and submitted them to a number of rental house managers and from the information I
gathered I realized all work was done manually with a lot of paper work involved. Papers
can easily get damaged or get lost leading to loss of data. It is also expensive to keep on
buying files to store your records. A lot of files make a place look untidy and also consume
a lot of space. Getting a certain file to check data from many files becomes a difficult task.
Considering those facts, I decided to develop a rental house management system that can
solve all the problems experienced with the current manual system. The system was
developed in such manner that it provides maximum user-friendly interface. Once you the
user logs in the system automatically show three forms: houses form, rent payment form
and tenants‟ registration form. Each form has several command buttons; new, save, cancel,
delete, next, previous and exit. With the command buttons you can manipulate the database.
If you want to add data to the database all you need to do is to click on new then input data
in the textboxes provided then click save and the data will automatically be saved. If you
want to view data in the database you just click next or previous and the data will be
displayed for you. When you click delete, you will be able to delete a record that you desire.
You may enter data then decide to cancel it, it is simple click on cancel and it will be
canceled. For manager faced with management difficulties here is a perfect solution for you.
The rental house management system is made for you.

ii
CONTENTS
Title Page no

ACKNOWLEGDEMENT i
ABSTRACT ii
CONTENTS iii-iv
LIST OF FIGURES v
CHAPTER 1 INTRODUCTION 1-4
1.1 Problem statement 1
1.2 Background 1
1.2.1 How House Rental Service works 1
1.3 Aim and Objective 2
1.4 Purpose, Scope and Applicability 3

1.4.1 Purpose 3
1.4.2 Scope 3
1.4.3 Applicability 4
CHAPTER 2 SYSTEM REQURIMENTS 5
2.1 Software Environments 5
2.1.1 Technology Used 5
2.2 Hardware and Software Configuration 5
2.2.1 Hardware Requirements 5
2.2.2 Software Requirements 5
CHAPTER 3 LITERATURE SURVEY 6-8
3.1 Government Strategy and Incentives in House Sector 6
3.2 The Role of Private Sector in House Management 6
3.3 The Role of Relational Database 7
3.4 Introduction to Database Management System 7
3.4.1 Indicative areas for the use of DBMS 7

iii
3.4.2 Advantages of a DBMS 7
3.4.3 Components of a DBMS 8
CHAPTER 4 SYSTEM DESIGN 9-11
4.1 Logical Design 9
4.2 Use case Diagram 10
4.3 Dataflow 11
CHAPTER 5 IMPLEMENTATION 12-22
5.1 HTML 12
5.2 CSS 12
5.3 JavaScript 13
5.4 SQL 14
5.5 PHP 15
5.6 Source Code 15
5.6.1 Code for index.php 15
CHAPTER 6 TESTING 23-24
6.1 Test Plan 23
6.1.1 Testing Against Time Boxes 23
6.1.2 Required Test 23
6.2 Testing Environment 24
CHAPTER 7 SNAPSHOTS 25-28
CONCLUSION 29
FUTURE ENHANCEMENT 30
REFERENCE 31

iv
LIST OF FIGURES
Figure No. Figure Name Page.no
Fig.4.1 Logical System Design 9

Fig.4.2 Use Case Diagram 10


Fig. 4.3 Data Flow 11
Fig.7.1 Admin Dashboard 25
Fig.7.2 House Type 25
Fig.7.3 House 26
Fig.7.4 Tenants 26
Fig.7.5 Payments 27
Fig.7.6 Reports 27
Fig.7.7 User 28

v
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

CHAPTER 1

INTRODUCTION
We are stuck with technology when what we really want is just stuff that works. With the current
paradigm shift in technological field, there is an urgent need to embrace and appreciate the power
of technology. Housing sector remains vigilant to face the challenges of change by employing a
new strategy that facilitates easy management of rental houses. Hence there is need to develop
a House rental Project. The Home Rental System is Searching in Based on the Apartment House for
rent in metropolitan cities. The Home Rental System is Based on the Owners and the Customers.
The Owner is updated on the Apartment details, and rent details. The Customer is details about
the Room space, Room rent and the Address Details also. The Home Rental System is best
Suitable the owners because time save and the only contact and the eligible person and there is
no need to explain the room details on the speak. The Home Rental System is best application
in the city place. The customer contact and the easily search and the suitable place of House and
based the Money, Limit Person is based on the suitable house. The Home Rental System is save
the time also. The Rental Management System is used to easily identify the suitable place in
Save time, cost also. Hence this system is best applicable for the above reasons making House
rental an easy process through an online system.
1.1 Problem Statement
House Rental is a house/Apartment/home that can be used temporarily for a fee during a
specified period. The individual who needs a house must contact a rental car company and
contract out for a room/home/apartment. This system increases customer retention and simplify
House and staff management.
1.2 Background
1.2.1 How House Rental Services Work
A House rental is a house that can be used temporarily for a period of time with a
fee. Renting a house assists people to live in a comfortable house when they do not have
access to build their own personal homes/houses or. The individual who want to rent a
house/room/apartment/home must first contact the House rental company for the desire
House/Home/apartment. This can be done online. At this point, this person has to supply
some information such as; dates of rental, and type of house. After these details are worked
out, the individual renting the house must present a valid Identification Card.Most companies
throughout the industry make a profit based of the type of house that are rented. The rental

1
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

houses are categorized into modern Homes, Colonial, apartment, Rentals etc. And customers
are free to choose any house of their choice based on their purse and availability of such
houses at the time of booking.

Benefits of Online House Rental Services

• This online house rental solution is fully functional and flexible.

• It is very easy to use.

• This online House rental system helps in back office administration by


streamlining and standardizing the procedures.

• It saves a lot of time, money and labor.


• Eco-friendly: The monitoring of the Housing activity and the overall
business becomes easy and includes the least of paper work.

• The software acts as an office that is open 24/7.

• It increases the efficiency of the management at offering quality services to the


customers.

• It provides custom features development and support with the software.

1.3 AIM AND OBJECTIVES

• To produce a web-based system that allow customer to register and


reserve houses online and for the company to effectively manage their
House rental business.
• To ease customer’s task whenever they need to rent a house.

• To Transform the manual process of renting a house to an online and


computerized system
• To validate the house rental system using user feedback and testimonies
• To produce the documentation such as Software Requirement
specification, Software Design Description and Software Development
References

2
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

1.4 PURPOSE , SCOPE AND APPLICABILITY :

1.4.1 PURPOSE
The advancement in Information Technology and internet penetration has greatly enhanced
various business processes and communication between companies (services provider) and
their customers of which Real Estate/House Rentals industry is not left out. This House Rental
System is developed to provide the following services:

• Enhance Business Processes: To be able to use internet technology to project


the rental company to the global world instead of limiting their services to
their local domain alone, thus increase their return on investment.

• Online House/Room Booking: A tools through which customers can book


available Rooms/House/Apartment online prior to their date of using the
house instead of walking around and asking for a vacant house.

• Customer’s registration: A registration portal to hold customer’s details,


monitor their transaction and used same to offer better and improve services
to them and user account where he/she can view her/his details instead of the
poor existing systems where only the administrators control their customer
details.

• Rentals Notice and Blog: A tool where customers can see and view the
details of nearby available House for rent/sale, and also view the current
economic design of houses/apartments.

1.4.2 SCOPE

This project traverses a lot of areas ranging from business concept to computing field,
and required to perform several researches to be able to achieve the project objectives.
The area covers include:

• Real Estate Company: This includes study on how the Real Estate business
is being done, process involved and opportunity that exist for improvement.

• PHP Technology used for the development of the application.

• General customers as well as the company’s staff will be able to use the system
effectively.

• Web-platform means that the system will be available for access 24/7 except
when there is a temporary server issue which is expected to be minimal.

3
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

1.4.3 APLLICABLITY

House Rental is a house/Apartment/home that can be used temporarily for a fee during
a specified period. The individual who needs a house must contact a House Rental Owners
Through House rental Online System by first checking the available Houses, booking it then
The system will contact the house owners to check the House and contract out for a
room/home/apartment. This system increases customer retention and simplify House and staff
management. The System can be used by Real Estate Companies to increase the house rental
market around the world. The system will also help people to rent apartments/houses easily
instead of walking and manually renting houses. It is also applicable for landlords who wants
to expand their house rental business.

4
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

CHAPTER 2
SYSTEM REQURIMENTS
2.1 SOFTWARE ENVIRONMENT
Software Environment is a technical specification of requirements of software product
and This specifies the environment for development, operation and maintenance of the
product.
2.1.1 TECHNOLOGY USED
• Http
• Http Basics
• PHP
• Mysql 5.0
• SQL
• HTML

The Hypertext Transfer Protocol is stateless, TCP/IP based protocol used for
communicating on the World Wide Web. HTTP defines the precise manner in which
Web clients communicate with Web servers. HTTP/1.0 is the most common version in
use today. Oddly enough, this protocol is not officially recognized as an Internet
standard. It is documented in the informational RFC 1945. Its successor, HTTP/1.1, is
currently a proposed Internet standard and many browsers and servers now support this
new version.
2.2 HARDWARE & SOFTWARE CONFIGURATION

2.2.1 HARDWARE REQUIREMENTS:


Processor : Pentium-II or higher
Processor Speed : 533 MHZ
Hard Disk Space : 20 GB (minimum.)
RAM Memory : 32 MB (64 MB recommended)
2.2.2 SOFTWARE REQUIREMENTS:

Operating System : Windows 95/98/NT/2000 /10/7/8


Database Server : MySQL /XAMPP

Front end : HTML , CSS , Java Script , PHP

5
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

CHAPTER 3

LITERATURE SURVEY
Literature review is a text written by someone to consider the critical points of current
knowledge including substantive findings as well as theoretical and methodological
contributions to a particular topic. Main goals are to situate the current study within the body
of literature and to provide context for the particular reader (Cooper, 1998).

3.1 GOVERNMENT STRATEGY AND INCENTIVES IN THE HOUSING SECTOR


Some of the dominant strategies for housing and service provision for the Kenya’s urban
poor include slum upgrading and site and service schemes. However, the efficiency of these
strategies has been limited by ambivalent government attitude to irregular settlement. These
strategies have failed because of a reliance on inappropriate building by-laws and
infrastructural standards and modern designs, construction technology and conventional
building materials that all make housing unaffordable to the poor, even after subsidies. Thus,
government initiatives in assisting house owners in management have proven to be pathetically
slow with many of the houses provided being economically and socially irrelevant, this further
prompting the rise of informal settlement (Macoloo, 1994).

3.2 THE ROLE OF THE PRIVATE SECTOR IN HOUSE MANAGEMENT


Private sector housing management is defined as any process which is not connected
at all with the actions of the state neither directly constructed by state nor financially
sponsored by the state where production is not expected to have a social element (Golland,
1996).(Ambrose and Barlow, 1987) have argued that three factors are important in influencing
the level of new house building. These are direct capital investment by the state for public
housing, state support for production and consumption and changes in the profitability of
house builders in the private sector.The private sector can play an important role in housing
provision provided that the state offers sufficient and appropriate incentives to the sector
(Mitullar, 2003).The clear motivation that underlies the private sector is profit (or potential
profitability) with profit maximizing options being in the context of housing, producing and
selling more of the product; reducing the cost of production through lower raw material and
wage costs and finally increasing the price of the product or service (Hancock,
1998).Profitability in housing is advocated to be based on three variables; House prices, land
prices and building costs, where: Profit=House prices-{Land prices + Building costs}
(Golland, 1996).

6
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

3.3 THE ROLE OF RELATIONAL DATABASE MANAGEMENT SYSTEM (RDBMS)


(Levin, 1999) Database Management System (DBMS) has replaced the file system data
management by having a pool of data that can be shared by multiple application programs and
users concurrently. DBMS also provide logical and physical data independence, so that
changing of data structure or application program will not affect one another.
3.4 INTRRODUCTION TO DATABASE MANAGEMENT SYSTEM
A database management system (DBMS) refers to the technology for creating and
managing databases. Basically, a DBMS is a software tool to organize (create, retrieve,
update and manage) data in a database. The main aim of a DBMS is to supply a way to store
and retrieve database information that is both convenient and efficient. By data, we mean
known facts that can be recorded and that have embedded meaning. Normally people use
software such as DBASE IV or V, Microsoft ACCESS, or EXCEL to store data in the form
of database. A datum is a unit of data. Meaningful data combines to form information.
Hence, information is interpreted data – data provided with semantics.MS ACCESS is one
of themost common examples of database management software. Database systems are
meant to handle large collection of information. Management of data involves both defining
structures for storage of information and providing mechanisms that can do the manipulation
of those stored information. Moreover, the database system must ensure the safety of the
information stored, despite system crashes or attempts at unauthorized access.

3.4.1 Indicative areas for the use of a DBMS:

• Airlines: reservations, schedules etc.


• Telecom: calls made, customer details, network usage etc.

• Universities: registration, results, grades etc.

• Sales: products, purchases, customers etc.

• Banking: all transactions etc.

3.4.2 Advantages of a DBMS :

A Database Management System has many advantages over the traditional file
system used in the earlier days, such as:
• Data independence: Application programs should be as free or independent as
possible from details of data representation and storage. DBMS can supply an

7
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

abstract view of the data for insulating application code from such facts.

• Efficient data access: DBMS utilizes a mixture of sophisticated concepts and techniques
for storing and retrieving data competently and this feature becomes important in cases
where the data is stored on external storage devices.
• Data integrity and security: If data is accessed through the DBMS, the DBMS can enforce
integrity constraints on the data.
• Data administration: When several users share the data, integrating the administration of
data can offer major improvements. Experienced professionals understand the nature of
the data being managed and can be responsible for organizing the data representation to
reduce redundancy and make the data to retrieve efficiently.

3.4.3 Components of a DBMS:

• Users: Users may be of any kind, such as database administrators, system


developers or database users.
• Database application: Database application may be Departmental,Personal,
Organizational and /or Internal.
• DBMS: Software that allows users to create and manipulate database access.
• Database: Collection of logical data as a single unit.

8
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

CHAPTER 4
SYSTEM DESIGN
The most inventive and testing stage in the framework life cycle is framework structure.
The term portrays the last framework and the procedure through which it was
produced. Demonstrates the specialized details to be connected in the usage of the proposed
framework, It likewise incorporates program building and plan of yield, input, code, database
and framework task.

4.1 Logical System Design:


Consistent framework configuration surveys the present framework, gets ready yield,
altering, security and control execution designs.

Fig 4.1: Logical System Design

9
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

4.2 Use case diagram


In structuring a productive and compelling framework it is imperative to consider use case
graph. Use case graph is one of the five charts in UML or displaying the dynamic
parts of the framework. Use case outline is key to displaying the conduct of a framework, a
subsystem or a class. Use case graph are increasingly critical for picturing, indicating and make
frameworks. It shows how users will interact to the system.

Fig 4.2: Use case diagram

10
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

4.3 DATA FLOW

Fig 4.3 : Data flow diagram for system

11
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

CHAPTER 5

IMPLEMENTATION
5.1 HTML:

First developed Tim Berners-Lee in 1990, HTML is short for Hypertext Mark-up
Language. HTML is used to create electronic documents (called pages) that are displayed
on the World Wide Web. Each page contains a series of connections to other pages called
hyperlinks. Every web page you see on the Internet is written using one version of HTML
code or another.

HTML is a computer language devised to allow website creation. These websites can
then be viewed by anyone else connected to the Internet. It is relatively easy to learn,
with the basics being accessible to most people in one sitting; and quite powerful in what
it allows you to create. It is constantly undergoing revision andevolution to meet the
demands and requirements of the growing Internet audience under the direction of the
organisation charged with designing and maintaining the language.

The definition of HTML is Hyper Text Mark-up Language.

• Hypertext is the method by which you move around on the web — by clicking on
special text called hyperlinks which bring you to the next page. The fact that it is
hyper just means it is not linear — i.e. you can go to any place on the Internet
whenever you want by clicking on links — there is no set order to do things in.
• Mark-up is what HTML tags do to the text inside them. They mark it as a certain
type of text (italicised text for example).
• HTML is a Languages it has code-words and syntax like any other language.

5.2 CSS:

Cascading Style Sheets, fondly referred to as CSS, is a simple design language


intended to simplify the process of making web pages presentable.

CSS handles the look and feel part of a web page. Using CSS, you can control the color
of the text, the style of fonts, the spacing between paragraphs, how columns are sized and
laid out, what background images are used layout designs, variations in display for
different devices and screen sizes as well as a variety of other effects.CSS is easy to learn
and understand but it provides powerful control over the presentation of an HTML

12
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

document. Most commonly, CSS is combined with the mark up languages HTML or
XHTML.

Advantages of CSS:

• CSS saves time − you can write CSS once and then reuse same sheet in multiple
HTML pages. You can define a style for each HTML element and apply it to as
many Web pages as you want.

• Pages load faster − If you are using CSS, you do not need to write HTML tag
attributes every time. Just write one CSS rule of a tag and apply it to all the
occurrences of that tag. So less code means faster download times

• Easy maintenance − To make a global change, simply change the style, and all
elements in all the web pages will be updated automatically.

• Superior styles to HTML − CSS has a much wider array of attributes than HTML,
so you can give a far better look to your HTML page in comparison to HTML
attributes.

• Multiple Device Compatibility − Style sheets allow content to be optimized for


more than one type of device. By using the same HTML document, different
versions of a website can be presented for handheld devices such as PDAs and cell
phones or for printing.

5.3 JavaScript:

Java script is a dynamic computer programming language. It is lightweight and


most commonly used as a part of web pages, whose implementations allow client-side
script to interact with the user and make dynamic pages. It is an interpreted programming
language with object- oriented capabilities.

JavaScript was first known as Live Script, but Netscape changed its name to JavaScript,
possibly because of the excitement being generated by Java. JavaScript made its first
appearance in Netscape 2.0 in 1995 with the name Live Script. The general-purpose core
of the language has been embedded in Netscape, Internet Explorer, and other web
browser.

13
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

Client Side Java Script:

Client-side JavaScript is the most common form of the language. The script should be
included in or referenced by an HTML document for the code to be interpreted by the browser.
It means that a web page need not be a static HTML, but can include programs that interact
with the user, control the browser, and dynamically create HTML content.The JavaScript
client-side mechanism provides many advantages over traditional CGI server side scripts. For
example, you might use JavaScript to check if the user has entered a valid email address in a
form field.The JavaScript code is executed when the user submits the form, and only if all the
entries are valid, they would be submitted to the Web Server.JavaScript can be used to trap
user-initiated events such as button clicks, link navigation, and other actions that the user
initiates explicitly or implicitly.

Advantages of Java Script:

• Less server interaction − you can validate user input before sending the page
off to the server. This saves server traffic, which means less load on your
server.

• Immediate feedback to the visitors − they don't have to wait for a page reload to
see if they have forgotten to enter something.

• Increased interactivity − you can create interfaces that react when the user
hovers over them with a mouse or activates them via the keyboard.

5.4 SQL:

Structured Query Language (SQL) is a standard computer language for relational


database management and data manipulation. SQL is used to query, insert, update and
modify data. Most relational databases support SQL, which is an added benefit for
database administrators (DBAs), as they are often required to support databases across
several different platforms. First developed in the early 1970s at IBM by Raymond Boyce
and Donald Chamberlin, SQL was commercially released by Relational Software Inc.
(now known as Oracle Corporation) in 1979. The current standard SQL version is
voluntary, vendor-compliant and monitored by the American National Standards
Institute (ANSI). Most major vendors also have proprietary versions that are incorporated
and built on ANSI SQL, e.g., SQL*Plus (Oracle), and Transact- SQL (T-SQL)
(Microsoft).

14
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

5. 5 PHP:

PHP started out as a small open source project that evolved as more and more people
found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in
1994. PHP is a recursive acronym for "PHP: Hypertext Pre-processor".PHP is a server side
scripting language that is embedded in HTML.It is integrated with a number of popular databases,
including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.

• PHP is pleasingly zippy in its execution, especially when compiled as an Apache


module on the Unix side. The MySQL server, once started, executes even very complex
queries with huge result sets in record-setting time.

• PHP supports a large number of major protocols such as POP3, IMAP, and LDAP.
PHP4 added support for Java and distributed object architectures (COM and CORBA),
making n-tier development a possibility for the first time.

• PHP is forgiving: PHP language tries to be as forgiving as possible.

5.6 SOURCE CODE:

5.6.1 Code for Index.php


<!DOCTYPE html>
<html lang="en">

<?php session_start(); ?>


<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">

<title><?php echo isset($_SESSION['system']['name']) ? $_SESSION['system']['name'] : ''


?></title>
<?php
if(!isset($_SESSION['login_id']))
header('location:login.php');
include('./header.php');
// include('./auth.php');

15
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

?>
</head>
<style>
body{
background: #80808045;
}
.modal-dialog.large {
width: 80% !important;
max-width: unset;
}
.modal-dialog.mid-large {
width: 50% !important;
max-width: unset;
}
#viewer_modal .btn-close {
position: absolute;
z-index: 999999;
/*right: -4.5em;*/
background: unset;
color: white;
border: unset;
font-size: 27px;
top: 0;
}
#viewer_modal .modal-dialog {
width: 80%;
max-width: unset;
height: calc(90%);
max-height: unset;
}

16
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

#viewer_modal .modal-content {
background: black;
border: unset;
height: calc(100%);
display: flex;
align-items: center;
justify-content: center;
}
#viewer_modal img,#viewer_modal video{
max-height: calc(100%);
max-width: calc(100%);
}
</style>

<body>
<?php include 'topbar.php' ?>
<?php include 'navbar.php' ?>
<div class="toast" id="alert_toast" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-body text-white">
</div>
</div>

<main id="view-panel" >


<?php $page = isset($_GET['page']) ? $_GET['page'] :'home'; ?>
<?php include $page.'.php' ?>
</main>
<div id="preloader"></div>
<a href="#" class="back-to-top"><i class="icofont-simple-up"></i></a>
<div class="modal fade" id="confirm_modal" role='dialog'>
<div class="modal-dialog modal-md" role="document">

17
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Confirmation</h5>
</div>
<div class="modal-body">
<div id="delete_content"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" id='confirm'
onclick="">Continue</button>
<button type="button" class="btn btn-secondary" data-
dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="uni_modal" role='dialog'>
<div class="modal-dialog modal-md" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"></h5>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" id='submit' onclick="$('#uni_modal
form').submit()">Save</button>
<button type="button" class="btn btn-secondary" data-
dismiss="modal">Cancel</button>
</div>
</div>
</div>

18
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

</div>
<div class="modal fade" id="viewer_modal" role='dialog'>
<div class="modal-dialog modal-md" role="document">
<div class="modal-content">
<button type="button" class="btn-close" data-dismiss="modal"><span class="fa fa-
times"></span></button>
<img src="" alt="">
</div>
</div>
</div>
</body>
<script>
window.start_load = function(){
$('body').prepend('<di id="preloader2"></di>')
}
window.end_load = function(){
$('#preloader2').fadeOut('fast', function() {
$(this).remove();
})
}
window.viewer_modal = function($src = ''){
start_load()
var t = $src.split('.')
t = t[1]
if(t =='mp4'){
var view = $("<video src='"+$src+"' controls autoplay></video>")
}else{
var view = $("<img src='"+$src+"' />")
}
$('#viewer_modal .modal-content video,#viewer_modal .modal-content img').remove()
$('#viewer_modal .modal-content').append(view)

19
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

$('#viewer_modal').modal({
show:true,
backdrop:'static',
keyboard:false,
focus:true
})
end_load()

}
window.uni_modal = function($title = '' , $url='',$size=""){
start_load()
$.ajax({
url:$url,
error:err=>{
console.log()
alert("An error occured")
},
success:function(resp){
if(resp){
$('#uni_modal .modal-title').html($title)
$('#uni_modal .modal-body').html(resp)
if($size != ''){
$('#uni_modal .modal-dialog').addClass($size)
}else{
$('#uni_modal .modal-dialog').removeAttr("class").addClass("modal-dialog
modal-md")
}
$('#uni_modal').modal({
show:true,
backdrop:'static',
keyboard:false,

20
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

focus:true
})
end_load()
}
}
})
}
window._conf = function($msg='',$func='',$params = []){
$('#confirm_modal #confirm').attr('onclick',$func+"("+$params.join(',')+")")
$('#confirm_modal .modal-body').html($msg)
$('#confirm_modal').modal('show')
}
window.alert_toast= function($msg = 'TEST',$bg = 'success'){
$('#alert_toast').removeClass('bg-success')
$('#alert_toast').removeClass('bg-danger')
$('#alert_toast').removeClass('bg-info')
$('#alert_toast').removeClass('bg-warning')

if($bg == 'success')
$('#alert_toast').addClass('bg-success')
if($bg == 'danger')
$('#alert_toast').addClass('bg-danger')
if($bg == 'info')
$('#alert_toast').addClass('bg-info')
if($bg == 'warning')
$('#alert_toast').addClass('bg-warning')
$('#alert_toast .toast-body').html($msg)
$('#alert_toast').toast({delay:3000}).toast('show');
}
$(document).ready(function(){

21
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

$('#preloader').fadeOut('fast', function() {
$(this).remove();
})
})
$('.datetimepicker').datetimepicker({
format:'Y/m/d H:i',
startDate: '+3d'
})
$('.select2').select2({
placeholder:"Please select here",
width: "100%"
})
</script>
</html>

22
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

CHAPTER 6

TESTING
6.1 TEST PLAN

Test plan is a basic stage for giving a quality full item. In a test plan the extension,
procedures and criteria are portrayed for testing specific expectations of a venture.
Along these lines, here various test designs have been portrayed for testing this house
rental framework.

6.1.1 TESTING AGAINST TIME BOXES


Test plan against time boxes is a vital part to pick up venture's advancement inside allotted
time. Along these lines, a test plan has been produced against the characterized time box.
With the assistance of this arrangement this entire task will be legitimately checked and
watched and is anything but difficult to quantify advance.

6.1.2 REQURIED TESTS

• Unit Testing: Unit testing will be performed for testing explicit usefulness or
every module of this house rental administration framework.
• Integration Testing: Integration testing will be performed by joining all modules
or segments of this framework and testing it as a gathering to guarantee that this
framework is working appropriately.
• Acceptance Testing: Acceptance testing will be performed for verifying that this
framework has met all client necessities and the framework is prepared to send.
• Performance Testing: Performance testing will be performed to quantify this
current framework's effectiveness. Execution testing will recognize this present
framework's reaction against client's desire.
• Security Testing: Security testing will be performed to check whether the
framework is secure or not. Security testing will quantify this current framework's
helplessness and capacity to anchor the secret information.

23
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

6.2 TESTING ENVIRONMENT


These following tools are necessary to prepare an environment to perform proper testing:
• Full configured PC with windows 7, 8 or 10.
• Web browsers such Mozilla, Google chrome etc.
• Printer
• Internet connection
• Some valid data.

24
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

CHAPTER 7
SNAPSHOTS
7.1 Admin Dashboard
Description: House type, Houses, Tenants, Payments, Reports, and Users.

Fig 7.1: Admin Dashboard

7.2 House Type


Description: Category Form, Category List, Show Entries, Edit, Delete, and search.

Fig 7.2: House Type

25
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

7.3 Houses
Description: House Form, House Number, Category, Price, House List, Show Entries, Edit,
Delete, Search and Number of Entries.

Fig 7.3: Houses

7.4 Tenants
Description: List of Tenant, Number of Entries, Name, House Rented, Outstanding Balance,
Last Payment, View, Edit, Delete, Add New Tenant, Show Entries, and Search.

Fig 7.4: Tenants

26
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

7.5 Payments:
Description: List of Payments, Number of Entries, Date, Tenant, Invoice, Amount, Edit,
Delete, New Entry, and Search.

Fig 7.5: Payments

7.6 Reports
Description: Monthly Payments Report, Rental Balances Report.

Fig 7.6: Reports

27
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

7.7 User
Description: Show Entries, Number of Entries, Name, Username, Search, Edit, Delete,
Update, and Add New user.

Fig 7.7: User

28
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

CONCLUSION
House Rental business has emerged with a new goodies compared to the past experience where
every activity concerning House rental business is limited to a physical location only. Even
though the physical location has not been totally eradicated; the nature of functions and how
these functions are achieved has been reshaped by the power of internet. Nowadays, customers
can reserve book/buy/sale House online, rent House online, and have the house contracted
successfully without any sweat once the customer is a registered member of the House Rental
Management System. The web-based House rental system has offered an advantage to both
Tenants as well as Landlords to efficiently and effectively manage the business and satisfies
customers’ need at the click of a button.

29
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

FUTURE ENHANCEMENT
In future our project is meant to satisfy the needs of rental house owners. Several user-friendly
interfaces have also been adopted. This package shall prove to be a powerful in satisfying all
the requirements of the users. It is with utmost faith that I present this software to you hoping
that it will solve your problems and encourage you to continue appreciating technology because
it is meant to change and ease all our work that seems to be very difficult. I don't mean that my
project is the best or that I have used the best technology available it just a simple and a humble
venture that is easy to understand. In extent we can add GPS system in build and can give live
chat online option to users. This project can also be extended to IOS Platform and several state
Database can be included. Could also allow local business to push deals/coupons within a
certain geographic area.

30
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22

REFERENCES
[1] BradTravesy (2017) Php front end and back, https://www.traversymedia.com

[2] Php Files systems And Php MYSQLI, https://www.w3schools.com/php/

[3] JavaScript effects and events, https://www.w3schools.com

[4] Web development and application development by Ivan Byross BPB publications

[5] House rental system, https://www.slideshare.net

[6] Php front-end with mysqli, https: //www.traversymedia.com

[7] Mysqli database, https://www.youtube.com

31

You might also like