Вы находитесь на странице: 1из 86

E-Property

Project Report
Submitted in partial fulfillment of the requirements for the award of the

Degree of Bachelor of Technology in Computer Science and Engineering by RAUSHAN KUMAR (MRT09UGBCS023)

Faculty of Electronics, Informatics and Computer Engineering

SHOBHIT UNIVERSITY, MEERUT. June/July 2013


1

Company Certificate

Guide Certificate
This is to certify that the work presented in this project report has been carried out at under the supervision of (Name and Designation) by me during the period from to . The above work has not been submitted by any one for the award of any Degree/Diploma in any other institution

Date:

Signature

Name of the Student This is to certify that the above statement given by the students is true to the best of my knowledge.

Date:

Signature

Name of the Mentor

Acknowledgement
The satisfaction that accompanies that the successful completion of any task would be incomplete without the mention of people whose ceaseless cooperation made it possible, whose constant guidance and encouragement crown all efforts with success. We are grateful to our project guide Mr. Rohit Aggrawal for the

guidance, inspiration and constructive suggestions that helpful us in the preparation of this project. I must be thankful to Prof.R.P.Agarwal, Nidhi Tyagi, Sangeeta solanki, Yogesh Awasthi, Mukesh Rawat, Vijay Maheshwari, Niraj Singhal, Pro-vice chancellor & Director of Faculty of Electronic Instrumentation & Computer Enggering whose help, stimulating suggestion and encouragement helped me in all time of developing this application.

Raushan Kumar

TABLE OF CONTENTS S.NO


I. II. III. IV. 1.

TITLE
Front Page Company Certificate Guide Certificate Acknowledgement

PAGE NO
1 2 3 4 7 7 7 7 8-9 8 8 9 10-13 10 11 13 14-16 14 15 16 17 18-80 18 21 25 27 32 36 37 38 45 47
5

ABOUT THE PROJECT 1.1 INTRODUCTION 1.2 EXISTING SYSTEM 1.3 PRAPOSED SYSTEM 2. REQUIREMENT OF THE PROJECT 2.1 OBJECTIVE 2.2 PROPERTY MANAGEMENT SYSTEM MODULES 2.3 PROPERTY MANAGEMENT SYSTEM BENEFITS 3. FEATURE AND SCOPE 3.1 MASTER MODULES 3.2 TRANSACTION MODULES 3.3 SEARCH / QUERY MODULE 4. USAGE SUMMARY 4.1 PROPERTY MANAGEMENT SYSTEM 4.2 DFD CONTEXT DIAGRAM 4.3 ERD. OPERATING ENVIRONMENT CODING 6.1 Aabout_us.php 6.2 About_us.php 6.3 Aboutclient.php 6.4 Abuy.php 6.5 Acontactus.php 6.6 Admin.php 6.7 Delete.php 6.8 Index.php 6.9 Logout.php 6.10 Openconnection.php

5. 6.

S.NO

TITLE 6.11 Removeproprent.php 6.12 Removepropsell.php 6.13 Signup.php 6.14 Textarea.php 6.15 Thanks.php 6.16 Thankyou.php 6.17 Update1.php 6.18 Update2.php 6.19 Update3.php 6.20 Update4.php 6.21 Update5.php 6.22 Update6.php 6.23Updateproprent.php 6.24 Updatepropsell.php 6.25 Updaterent.php 6.26 Updatesell.php 6.27 Updproprent.php 6.28 Updpropsell.php 6.29 Vedio.php 6.30Adminheader.php

PAGE NO 48 50 51 52 53 55 57 58 58 59 60 61 62 65 67 68 69 71 73 77 78-79 78 78 79 80-85 86 86

7.

TESTING 7.1 OBJECTIVE OF SOFTWARE TESTING 7.2 PRINCIPLES OF SOFTWARE TESTING 7.3 STRATEGY FOR SOFTWATE TESTING

8. 9.

SCREAN SHOTS CONCLUSION BIBLIOGRAPY

10.

1.ABOUT THE PROJECT

1.1 INTRODUCTION
eProperty is an Estate Agent and Property Management System is a user friendly contact and property manager for real estate professionals. Save time and sell more by empowering to easily keep track of leads, manage listings, and market to new prospects. eProperty is a WEB Portal that gives you a clear view of what is going on in your business and provides simple steps that your team can easily follow to help grow your business. Take your business to the next level and stop wasting time with outdated or inefficient practices. eProperty has powerful search and match facility to match property with buyer by the selection parameter. No more need for Excel spreadsheets. Keep track of all your properties. eProperty has facilities to keep property related documents, images.

1.2 Existing System


At present all records are maintained manually. It is initial stage so parallely computerization is take place. Drawbacks: Difficult to manage data. Difficult to retrieve information.

1.3 Proposed System


In the proposed system will help them to manage day to day operation very smoothly It is having different modules to fulfill the requirement of the organization

2.REQUIREMENT OF THE PROJECT


2.1 OBJECTIVE Estate Agent / Property Management System eProperty is complete end to end solution to cover all aspects of Estate Agent day to day activity and Property buying selling procedure for small and large organization. The basic objective of developing this project is: Maintain client details line contact details, required property details, client type like residential and commercial client. Price limit. Preference. Maintain property details, registration of property for sale includes property address, property description, price, facilities available. Store property floor plan, property documents. Creation of thumbnail of property images for brochure. Vendor registration like vendor address, contact details, property details. Maintain history and log for each property viewing by clients, vendor, Powerful match facilities for client with property and property with clients. Generating offer letter and offer acceptance letter. Maintain appointment scheduler for the user, automatically reminder facilities. System must have transactional data, and all the update and delete operation must be recorded for audit purpose. System has powerful logical access management in place, each user must be identified by login id and strict password policy is applied to secure the system Generate property thumbnail and details in html file to send client via email.

2.2 Property Management System Modules Login - Validate user to login and access the system. Main Menu - .Display available options Property .Master Registration of property with all details Client Master Registration of clients Vendor Registration of Vendors
8

Match Matching the property with clients with multiple parameters. Appointment Set the appointment for specific date. Property plan, property documents module. Enquiry Module log all enquiries for lead purpose. Change Password Change password. User Master Manage system users.

2.3 Property Management System Benefits Type of property and features searching for. Match with properties for sale by number of bedrooms / price criteria. Display matched property details easily and quickly by one click. Enter Solicitor details. Enter Property for Sale details, Add Room descriptions. Add up to any nos of photos and property document per property Match property with potential buyers. Produce Documents, contracts and marketing brochures with templates. List all viewings for property. Quick Search for property details. Easy Connection with Outlook for send email from system. Diarise all viewings by Agent and by Office. Create Letters & contracts easily using templates. Quick Search off all records. System support keyword based advanced search facility to search the entire database at once and produce combined search results. Filter all views for easy record location Allow easy entry of Property and Vendor details Powerful logical user management for security. Easy to use and impressive GUI. Auto spells checker facility to check spelling and suggest for changes while entering data by connecting MS Word spell checker.
9

3. SCOPE AND FEATURES From an end-user perspective, the Property Management System Project consists of three functional elements: Master Module, Transaction Modules and a Search and Query Module. 3.1 Master Modules Master module is developed to maintain property registration, floor plan and property images, maintain property document, client registration, vendor registration solicitor details, and user management. Property Registration: This module is used to register new property details, their are two different types of forms for Residential property and commercial property, all property are registered with vendor or agent. In property registration module system have spell checker facilities and having powerful search facilities which is include all fields. User can view the property data one by one or all data in grid format also, sorting facilities also provided to view data in different direction. Property Document: System stores property related document in particular folder and mapped with property reference no for easy opening. We can edit property document in MS Word and can insert images floor plan from already saved images. Floor Plan and Property Images: It stores property images and floor plan in disk with references of property references no, User can store any number of scanned images, digital images to particular folder. This image is used to create property brochure or property thumbnail to give client. Client Registration: Client registration module is used to register new clients who are looking for property, there are two types of clients like Residential and Commercial, It stores detail information about client like his personal details, contact details, property he looking for, his preferences and budget. This data is used to match the property from the database. Other facilities include in module like View all records. Vendor Registration: Vendor registration module is used to vendor/ agent details like personal details, contact details, property details. Other facilities include in module like View all records.

10

Solicitor Master: This module is used to maintain solicitor/ lawyer details it includes personal details and contact details. It also has powerful search facilities which perform search for all available fields. Login: User must provide their user name and password to get access the system, system validate user name and password. After successful login system will captured login date, time and allow to accessing the main screen and menu options as per user type. Main Menu: After successfully login system display main screen with available menu option to the user as per rights. It also display user name, last logged in date, time in bottom of the screen. User Master: The System Administrator can able to add, modify system users, and also set the login rights and privileges to particular system resources to particular user. Change Password: User can change his/her own password. 3.2 Transaction Modules Transaction module is developed to perform various activities like match property with clients, maintain history for client, property and history. Generating offer letter, print offer letter. Managing incoming and outgoing calls, Maintain appointment and diary. Generating property thumbnail. Send email. Match client with properties: This module is used to match client requirement with register property, system has flexible options to select clients requirement and it search the database and show all matched properties. User can select individual properties and see the property document, set appointment or can send email to client from same window. Match Property with clients: This module used to match property with registered clients, system has flexible options to select clients requirement and it search the database and show all matched properties. User can select individual properties and see the property document, set appointment or can send email to client from same window. Property History: It shows details transaction with date and time for selected property like property seen by client, email send to clients, phone to agent, and phone to clients. Details can be exported to text file for save, share or print.

11

Client History: It shows transaction details with date and time for selected client like property seen by client, email send to clients, phone to agent, and phone to clients. Details can be exported to text file for save, share or print. Vendor History: It shows transaction details with date and time for selected vendor for his registered property like property seen by client, phone and email to vendor. Details can be exported to text file for save, share or print. Offer Letter: It creates offer letter for interested clients. It includes all details like property and vendor, letter can print, saved and email to the client. Offer Acceptance Letter: This module is used to updated offer details, like it is confirmed, solicitor details. Confirmation: This module is used to view all the confirmed offer, it can be exported in Ms Excel for report. Incoming Phone/ Enquiry: This module used to keep record of all incoming call. And saved data for further process. Appointment: it shows all appointment for selected date, user can print the appointment or delete appointment. Diary / Set appointment: User can create new appointment and view the appointment, system has option to set the alarm for appointment. Property Thumbnail: System generate HTML page for properties with property images and all details like cost, location. This file can be saved and send client via email. 3.3 Search / Query Module Search and Query module is used for the user, supervisor and management of Property Management System. The search and query module will include the following features: Search Module: System user can query for particular clients, property and vendor. System has powerful query builder module to search anything, he can creates query to search the record from the database. It shows all the related table and field, search condition. User select table, field, condition and search sting and build his own query. System shows search results in grid, user can open the record in registration form by double click it.
12

Extensive Search: System has unique keyword based search engine, which allow user to search any thing from entire database, It helps user when he not sure where to search, for example if user want to search for AJAY, this search will search for all table and all field for AJAY and produce search results. Update Keyword: This is used to generate keyword for perform extensive search.

13

4.USAGE SUMMARY Property Management System will address the following use cases. Selected use cases will be expanded into usage scenarios and features that are derived from both use cases and the usage scenarios, as represented in the following diagram: 4.1 Property Management System

Property Management System


Search property View Property Details
User

View Client

Property Details

Match Property

Supervisor

Update Property

Manage Transaction Generate Letters

Vendor Details Manage Users

Administrator

14

4.2. DFD Context Diagram

Vendor

Vendor Registration Property Registration Registration Property Management System Client Registration

Property

Client

Match Property with client

Offer Letter

15

4.3 ERD:
Name Time viewing VenderMaster Contact Client Master Property type ID Address Property status ClientId Name Address contact Area

Details

PropId

Type Address Search

verify

PropertyMaster

for Facility

Provide

status offeracceptenceLetter offrDate PropertyId offersno ClientId ID offersno ClientId ID Generate offer letter OfferLetter

offrDate

PropertyId

16

5.OPERATING ENVIRONMENT 5.1 Software Interface Client on Internet Web Browser, Operating System (any) Client on Intranet Web Browser, Operating System (any) Web Server Apache, Operating System (any) Data Base Server MySQL with Apache, Operating System (any) Development End PHP,HTML, AJAX ,JavaScript Apache(Web Server)

5.2 Hardware Interface Minimum Requirements: Client S Client Side Processor RAM Internet Explorer Intel Pentium III or 128 MB Mozilla Firefox AMD Google Chrome 800 MHz Server Side Apache PHP, MySQL Processor RAM Intel Pentium III or 512MB AMD 800 MHz Disk Space 1GB (Excluding Data Size)

Disk Space 100 MB

17

6. CODING

6.1 About_us.php <?php include("openconnection.php"); error_reporting(E_PARSE); if($_POST['Submit2']){ $Name=$_POST['name']; $Address=$_POST['address']; $CellNo=$_POST['cellNo'] ; $EmailId=$_POST['emailid']; $Description=$_POST['descrap']; $dt_tim= date("y/m/d"); if($Name == "" ) { $error= 'Enter your name.'; $code= '1' ; }

elseif(is_numeric($Name) == True ) { $error= 'Enter only character value.'; $code= '1'; } elseif(strlen($Name)>15) { $error= 'Name should not be greater then 15 letter.'; $code= '1'; } elseif($EmailId == "" ) { $error= 'You did not enter a email.'; $code= '2'; } elseif(!preg_match("/^[_\.0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/i", $EmailId)) { $error= 'error : You did not enter a valid email.'; $code= '2';} elseif($CellNo=="" ) { $error='Enter your contact number'; $code='3'; } elseif(is_numeric($CellNo) == false ){ $error= 'Enter only numeric value'; $code= '3'; } elseif(strlen($CellNo)==9) {$error= "contact No. should be 10 digit"; $code= '3'; } elseif($Address=='') { $error='Enter your address'; $code='4'; } elseif(is_numeric($Address) == true ) { $error= 'Do not enter numeric value.'; $code= '4'; } elseif($Description=='') { $error='enter Your property Description'; $code='5'; } elseif(is_numeric($Description) == true ){ $error= 'Do not enter numeric value.'; $code= '5';} else{ $query=mysql_query("insert into contactus set Name='$Name',Address='$Address', CellNo='$CellNo', EmailId='$EmailId',Description='$Description',dt_tim='$dt_tim'")or die(mysql_error()); header('location:thanks.php');}}?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
18

<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>contact us</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <script type="text/javascript"> <!-function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features);} //--> </script></head> <body> <div id="main_content"><?php include('include/adminheader.php');?> <div id="main_content2"><?php include('include/Asearch.php');?> <!-- end of column one --> <div class="column4"> <p>&nbsp;</p>

<div class="title">eproperty welcomes you </div>

<p class="main_text_box">eProperty&nbsp;is a professional property service and real estate broking business company. It is based on a philosophy of service to its customers offered with PROFESSIONALISM, INTEGRITY, TRANSPARENCY and TRUST. In a market that is currently dominated by the unorganized sector, largely unregulated and represented by Sole Proprietorship firms managed by unaccountable and often inscrutable property agents, Property promises to reinvent the business of property broking.</p> <p class="main_text_box">Clients can count on&nbsp;eProperty&nbsp;for all property related requirements, whether small or big with an assurance to be served with the same level of enthusiasm. As a real estate company,&nbsp;eProperty&nbsp;property caters to all the needs and requirements of its clients under a single roof - be it sale, purchase or lease of their property, investment in properties, property advice, property management and few more value added services</p> <p class="main_text_box">eProperty&nbsp;&nbsp;maintains confidentiality about its buyers &amp; sellers and concludes the deals at the best prevailing market prices. With the
19

help of its vast pool of database &quot;eProperty&nbsp;&nbsp;Magic&quot;,&nbsp;eProperty&nbsp;is successfully catering to the requirements of its clients for both commercial and residential projects. Based on high ethics, professional services and transparent dealings eProperty has created an indispensable space for itself and is reinventing the landscape for property brokerage business.</p> <p>&nbsp;</p> <p><span class="about_bot">eProperty's Range of Services</span></p> <table width="100%" border="0"> <tr>

<td><div align="left"><span class="about_botom">Our primary services comprise of:</span></div></td> <td><div align="left"><span class="about_botom">Our Value </tr> <tr>

Added Services comprise of:</span></div></td>

<td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Buy</span></div></td> <td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Legal Consultation</span></div></td> </tr><tr>

<td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Sell</span></div></td> <td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Transaction Coordination, Documentation</span></div></td> </tr><tr> <td><div align="left"><span class="text"><img src="images/icon.gif"

alt="" width="13" height="8" />&nbsp;&nbsp;Lease</span></div></td> <td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Home Loan &amp; Financial Services</span></div></td> </tr><tr> <td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Investmen</span></div></td> <td>&nbsp;</td></tr><tr>

<td colspan="2"><a href="#"><img src="images/animated Qustion.gif" alt="" width="505" height="30" border="0" onclick="MM_openBrWindow('ans.html','Answer','scrollbars=yes,width=800')" /></a></td> </tr> </table> <p>&nbsp;</p></div>

<!-- end of column four --> <!-- end of column two --><!-- end of main_content --> <div id="footer2"> <div id="copyright2"></div> </div></div>
20

<p>&nbsp;</p> <p>&nbsp;</p><p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p><?php include('include/footer.php');?></div> </body> </html> 6.2 About_us.php <?php include("openconnection.php"); error_reporting(E_PARSE); session_start(); if(isset($_POST['submit'])){ $username = $_POST['username']; $password = $_POST['password']; $username=mysql_real_escape_string($username); $password=mysql_real_escape_string($password); $query = mysql_query("select id,uid,username,email,contact from login where username = '$username' and password = '$password'"); while($row = mysql_fetch_array($query)) { $id = $row['id']; $uid = $row['uid'];$username = $row['username']; $contact=$row['contact']; }

$email = $row['email'];

$_SESSION['username'] = $username; $_SESSION['email'] = $email; $_SESSION['contact'] = $contact; $_SESSION['id']=$id; if($username == "" && $password =="" ) { $error= "Enter Username and Password."; $code= "1" ; } else if($username == "" ) { $error= "Enter Your Name."; $code= "1" ; } elseif(is_numeric($username) == True ) { $error= "Enter Only Character Value."; $code= "1"; } elseif(strlen($username)>15){$error= "Name should not be greater then 15 Letter.";$code= "1";} elseif($password =="" ) { $error="Enter Your Password"; $code="2"; } elseif(strlen($_POST['password'])<5) { $error="Password Cannot Be Less Than 5"; $code="2";} else{ if($uid == 1){ header('location:admin.php'); } elseif($uid == 2) {
21

header('location:client.php'); } else{ ?> <script language="javascript"> alert("Username Or Password is incorrect....Please Login again"); window.location="index.php"; </script> <?php } if(isset($_POST['c1'])) {

setcookie('username1',"$username",time()+60*60); setcookie('password1',"$password"); }}}?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>about us</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <script type="text/javascript"> <!-function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </script></head> <body><div id="main_content"><?php include('include/header.php');?> <div id="main_content2"><?php include('include/leftmenu.php');?> <!-- end of column one --> <div class="column4"> <div class="title">eproperty welcomes you </div> <p>&nbsp;</p>

<p class="main_text_box">eProperty&nbsp;is a professional property service and real estate broking business company. It is based on a philosophy of service to its customers offered with PROFESSIONALISM, INTEGRITY, TRANSPARENCY and TRUST. In a market that is currently dominated by the unorganized sector, largely unregulated and represented by Sole
22

Proprietorship firms managed by unaccountable and often inscrutable property agents, Property promises to reinvent the business of property broking.</p> <p class="main_text_box">Clients can count on&nbsp;eProperty&nbsp;for all property related requirements, whether small or big with an assurance to be served with the same level of enthusiasm. As a real estate company,&nbsp;eProperty&nbsp;property caters to all the needs and requirements of its clients under a single roof - be it sale, purchase or lease of their property, investment in properties, property advice, property management and few more value added services</p> <p class="main_text_box">eProperty&nbsp;&nbsp;maintains confidentiality about its buyers &amp; sellers and concludes the deals at the best prevailing market prices. With the help of its vast pool of database &quot;eProperty&nbsp;&nbsp;Magic&quot;,&nbsp;eProperty&nbsp;is successfully catering to the requirements of its clients for both commercial and residential projects. Based on high ethics, professional services and transparent dealings eProperty has created an indispensable space for itself and is reinventing the landscape for property brokerage business.</p> <p>&nbsp;</p> <p><span class="about_bot">eProperty's Range of Services</span></p> <table width="100%" border="0"><tr> <td><div align="left"><span class="about_botom">Our primary services comprise of:</span></div></td> <td><div align="left"><span class="about_botom">Our Value Added Services comprise of:</span></div></td> </tr><tr>

<td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Buy</span></div></td> <td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Legal Consultation</span></div></td> </tr><tr>

<td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Sell</span></div></td> <td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Transaction Coordination, Documentation</span></div></td> </tr><tr>

23

<td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Lease</span></div></td> <td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Home Loan &amp; Financial Services</span></div></td> </tr><tr> <td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Investmen</span></div></td> <td>&nbsp;</td> </tr><tr>

<td colspan="2"><a href="#"><img src="images/animated Qustion.gif" alt="" width="505" height="30" border="0" onclick="MM_openBrWindow('ans.html','Answer','scrollbars=yes,width=800')" /></a></td> </tr></table> <p>&nbsp;</p></div>

<!-- end of column four --><!-- end of column two --><!-- end of main_content --> <div id="footer2"> <div id="copyright2"></div> </div></div>

<p>&nbsp;</p><p>&nbsp;</p> <p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p> <p>&nbsp;</p><p>&nbsp;</p> <p>&nbsp;</p><?php include('include/footer.php');?> </div></body></html> 6.3 Aboutclient.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>about us</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <script type="text/javascript"> <!-function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </script></head> <body>
24

<div id="main_content"><?php include('include/clientheader.php');?> <div id="main_content2"><?php include('include/search.php');?> <!-- end of column one --> <div class="column4"> <div class="title">eproperty welcomes you </div><p>&nbsp;</p> <p class="main_text_box">eProperty&nbsp;is a professional property service and real estate broking business company. It is based on a philosophy of service to its customers offered with PROFESSIONALISM, INTEGRITY, TRANSPARENCY and TRUST. In a market that is currently dominated by the unorganized sector, largely unregulated and represented by Sole Proprietorship firms managed by unaccountable and often inscrutable property agents, Property promises to reinvent the business of property broking.</p> <p class="main_text_box">Clients can count on&nbsp;eProperty&nbsp;for all property related requirements, whether small or big with an assurance to be served with the same level of enthusiasm. As a real estate company,&nbsp;eProperty&nbsp;property caters to all the needs and requirements of its clients under a single roof - be it sale, purchase or lease of their property, investment in properties, property advice, property management and few more value added services</p> <p class="main_text_box">eProperty&nbsp;&nbsp;maintains confidentiality about its buyers &amp; sellers and concludes the deals at the best prevailing market prices. With the help of its vast pool of database &quot;eProperty&nbsp;&nbsp;Magic&quot;,&nbsp;eProperty&nbsp;is successfully catering to the requirements of its clients for both commercial and residential projects. Based on high ethics, professional services and transparent dealings eProperty has created an indispensable space for itself and is reinventing the landscape for property brokerage business.</p> <p>&nbsp;</p> <p><span class="about_bot">eProperty's Range of Services</span></p> <td><div align="left"><span

<table width="100%" border="0"><tr>

class="about_botom">Our primary services comprise of:</span></div></td> <td><div align="left"><span class="about_botom">Our Value Added Services comprise of:</span></div></td></tr><tr> <td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Buy</span></div></td> <td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Legal Consultation</span></div></td>
25

</tr><tr>

<td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Sell</span></div></td> <td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Transaction Coordination, Documentation</span></div></td> </tr><tr> <td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Lease</span></div></td> <td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Home Loan &amp; Financial Services</span></div></td></tr><tr> <td><div align="left"><span class="text"><img src="images/icon.gif" alt="" width="13" height="8" />&nbsp;&nbsp;Investmen</span></div></td> <td>&nbsp;</td></tr><tr>

<td colspan="2"><a href="#"><img src="images/animated Qustion.gif" alt="" width="505" height="30" border="0" onclick="MM_openBrWindow('ans.html','Answer','scrollbars=yes,width=800')" /></a></td> </tr></table><p>&nbsp;</p></div> <!-- end of column four --><!-- end of column two --><!-- end of main_content --> <div id="footer2"> <div id="copyright2"></div></div></div>

<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p> <p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><?php include('include/footer.php');?> </div></body></html> 6.4 Abuy.php <?php error_reporting(E_PARSE); include("openconnection.php"); session_start(); $username=$_SESSION['username'] ; if(isset($username)) { if($_POST['Submit']) { $Proptype=$_POST['proptype']; $Propertytitle=$_POST['propertytitle']; $Name=$_POST['Name'] ;
26

$ContactNo=$_POST['mobileNo']; $emailId=$_POST['emailId']; $owneraddress=$_POST['owneradd']; $City=$_POST['city']; $State=$_POST['state']; $PropertyLocation=$_POST['FlatsLocation']; $PropertyAddress=$_POST['address']; $Propertysize=$_POST['FlatsSize']; $Propertydesc=$_POST['prop_desc']; $budget1=$_POST['budget1']; $a=strpos($budget1,"to"); if($a) { $pieces= explode("to",$budget1); $pieces1=$pieces[0]; $pieces2=$pieces[1]; $pieces3=explode(" ",$pieces2); $b2=$pieces3[1]; $b3=$pieces3[2]; } else{ $pieces1=1; $pieces3=explode(" ",$budget1); $b2=$pieces3[0]; $b3=$pieces3[1]; } $uu="insert into buyprop set propertytype='Residental',propType='$Proptype', prop_desc='$Propertydesc',address='$PropertyAddress',owneradd='$owneraddress', FlatsSize='$Propertysize',FlatsLocation='$PropertyLocation',moneytype='$b3',price='$pieces1', price2='$b2',propertyCat='Buy',state='$State',city='$City', mobileNo='$ContactNo' ,emailId='$emailId',Name='$Name'"; $query=mysql_query($uu)or die(mysql_error()); ?> <script language="javascript"> window.location="thanks.php"; </script> <?php }} else{ ?> <script language="javascript">
27

alert("If You Want TO Proceed...Please Login First"); window.location="index.php"; </script> <?php }?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>buy</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script></head> <body> <div id="main_content"><?php include('include/adminheader.php');?> <div class="titlebig">Buy Property</div> <form name="buyprop" id="buyprop" action="#" method="post" onSubmit="return vailid()"> <table width="60%" border="0" cellspacing="0" cellpadding="0"><tr> <td width="124" align="left" valign="middle" class="text"><div align="left">Transaction Type*</div></td> <td width="10" align="left" valign="middle" class="text"><div align="center"><strong>:</strong></div></td> <td width="250" height="19" align="left" valign="middle"><span class="form_text1">Buy Property</span></td></tr><tr> <td align="left" valign="middle" class="text"> <div align="left">Property Category *</div></td> <td align="left" valign="middle" class="text"><div align="center"><strong>:</strong></div></td> <td height="11" align="left" valign="top"><label> <select name="propertytype" size="1" class="form_select" onChange="setOptions(document.buyprop.propertytype.options[document.buyprop.propertytype .selectedIndex].value);"> <option value="0" selected="selected"> select</option>
28

<option value="1">Commercial</option> <option value="2">Residental</option> </select><br /><br />

<select name="propType" size="1" class="form_select"> <option value=" " selected="selected">Please select one of the options above first</option></select></label> </td></tr><tr> <td align="left" valign="middle" class="text"> <div align="left">Property Description</div></td> <td align="left" valign="middle" class="text"><div align="center"><strong>:</strong></div></td> <td height="11" align="left" valign="top"><span class="form_text1"> <textarea name="prop_desc" cols="30" rows="3" class="text" id="prop_desc"></textarea> </span></td></tr><tr> <td align="left" class="text"><div align="left">Name</div></td> <td align="left" class="text"><div align="center"><strong>:</strong></div></td> <td align="left" valign="top"><span class="form_text1"> <input name="Name" type="text" class="form_input" id="Name" size="30" /> </span></td></tr><tr> No.</div></td> <td align="left" class="text"><div align="left">Contact

<td align="left" class="text"><div

align="center"><strong>:</strong></div></td> <td align="left" valign="top"><span class="form_text1"> <input name="mobileNo" type="text" class="form_input" </span></td></tr><tr>

id="mobileNo" size="30" />

<td align="left" class="text"><div align="left">Email Id</div></td> <td align="left" class="text"><div align="center"><strong>:</strong></div></td> <td align="left" valign="top"><span class="form_text1"> <input name="emailId" type="text" class="form_input" id="emailId" size="30" /> </span></td></tr><tr> <td align="left" valign="middle" class="text"><div

align="left">Owner Address</div></td> <td align="left" valign="middle" class="text"><div align="center"><strong>:</strong></div></td> <td height="11" align="left" valign="top"><span class="form_text1"> <textarea name="owneradd" cols="30" rows="3" class="text" id="owneradd"></textarea>
29

</span></td> </tr><tr> <td align="left" class="text"><div align="left">City</div></td> <td align="left" class="text"><div align="center"><strong>:</strong></div></td> <td align="left" valign="top"><span class="form_text1"> <input name="city" type="text" class="form_input" id="city" size="30" /> </span></td></tr><tr> <td align="left" class="text"><div align="left">State</div></td> <td align="left" class="text"><div align="center"><strong>:</strong></div></td> <td align="left" valign="top"><span class="form_text1"> <input name="state" type="text" class="form_input" id="state" size="30" /> </span></td></tr><tr> <td align="left" valign="middle" class="text"><div align="left">Property Location *</div></td> <td align="left" valign="middle" class="text"><div align="center"><strong>:</strong></div></td> <td height="19" align="left" valign="top"><select name="FlatsLocation" class="form_select" id="FlatsLocation"><option value="0">Select</option> <option value="Delhi/NCR">Delhi/NCR</option> <option value="Dwarka">Dwarka</option><option value="Rohini">Rohini</option> <option value="Pachim Vihar">Pachim Vihar</option><option value="JanakPuri">JanakPuri</option><option value="Noida">Noida</option> <option value="Faridabad">Faridabad</option><option value="Ghaziabad">Ghaziabad</option><option value="Gurgaon">Gurgaon</option> <option value="Greater Noida">Greater Noida</option> </select></td></tr><tr> <td align="left" valign="middle" class="text"> <div align="left">Property Address</div></td> <td align="left" valign="middle" class="text"><div align="center"><strong>:</strong></div></td> <td height="11" align="left" valign="top"><span class="form_text1"> <textarea name="address" cols="30" rows="3" class="text" id="address"></textarea>
30

</span></td> </tr> <tr> <td align="left" class="text"><div align="left">Property Size</div></td> <td align="left" class="text"><div align="center"><strong>:</strong></div></td> <td align="left" valign="top"><span class="form_text1"> <input type="text" name="FlatsSize" class="form_input" id="FlatsSize" /> </span></td> </tr><tr> <td align="left" class="text"> <div align="left">Damend Price* </div></td> <td align="left" class="text"><div align="center"><strong>:</strong></div></td> <td align="left" valign="top"><span class="form_text1"> <select name="budget1" class="form_select" id="budget1" > <option value="0">INR</option> <option value="10 Thousand">Below 10 Thousand</option> <option value="10 to 20 Thousand ">10 to 20 Thousand</option> <option value="20 to 30 Thousand">20 to 30 Thousand</option> <option value="30 to 40 Thousand">30 to 40 Thousand</option> <option value="40 to 50 Thousand">40 to 50 Thousand </option> <option value="50 to 60 Thousand">50 to 60 Thousand</option> <option value="60 to 70 Thousand">60 to 70 Thousand</option> <option value="70 to 80 Thousand">70 to 80 Thousand</option> <option value="80 to 90 Thousand">80 to 90 Thousand</option> <option value="90 to 95 Thousand">90 to 95 Thousand </option> <option value="1 to 5 Lacs">1 to 5 Lacs </option> <option value="5 to 10 Lacs ">5 to 10 Lacs</option> <option value="10 to 15 Lacs">10 to 15 Lacs</option> <option value="15 to 20 Lacs">15 to 20 Lacs</option> <option value="20 to 25 Lacs">20 to 25 Lacs</option> <option value="25 to 30 Lacs">25 to 30 Lacs</option> <option value="30 to 35 Lacs">30 to 35 Lacs</option> <option value="85 to 90 Lacs">85 to 90 Lacs</option> <option value="90 to 95 Lacs">90 to 95 Lacs</option> <option value="2 to 4 Crore">1 to 2 Crore</option>
31

<option value="2 to 4 Crore">2 to 4 Crores</option> <option value="4 to 6 Crore">4 to 6 Crores</option> <option value="&gt;5 Crores">&gt;6 Crores</option> </select></span></td></tr><tr> <td colspan="3" align="left" class="text"><label><span class="form_text1"> <input name="Submit" type="submit" class="text" value="Submit" /> </span> <input name="Reset" type="reset" class="text" value="Reset"/> </label></td></tr> </table></form> <div id="main_content2"></div> <?php include('include/footer.php');?> </div> </body> </html> 6.5 Acontactus.php <?php include("openconnection.php"); error_reporting(E_PARSE); if($_POST['Submit2']) { $Name=$_POST['name']; $Address=$_POST['address']; $CellNo=$_POST['cellNo'] ; $EmailId=$_POST['emailid']; $Description=$_POST['descrap']; $dt_tim= date("y/m/d"); if($Name == "" ) { $error= 'Enter your name.'; $code= '1' ; } elseif(is_numeric($Name) == True ) { $error= 'Enter only character value.'; $code= '1'; } elseif(strlen($Name)>15) { $error= 'Name should not be greater then 15 letter.'; $code= '1'; } elseif($EmailId == "" ) {
32

$error= 'You did not enter a email.'; $code= '2'; } elseif(!preg_match("/^[_\.0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/i", $EmailId)) { $error= 'error : You did not enter a valid email.'; $code= '2'; } elseif($CellNo=="" ) { $error='Enter your contact number'; $code='3'; } elseif(is_numeric($CellNo) == false ){ $error= 'Enter only numeric value'; $code= '3'; } elseif(strlen($CellNo)==9) { $error= "contact No. should be 10 digit"; $code= '3'; } elseif($Address=='') { $error='Enter your address'; $code='4'; } elseif(is_numeric($Address) == true ) { $error= 'Do not enter numeric value.'; $code= '4'; } elseif($Description=='') { $error='enter Your property Description'; $code='5'; } elseif(is_numeric($Description) == true ) { $error= 'Do not enter numeric value.'; $code= '5'; } else{ $query=mysql_query("insert into contactus set Name='$Name',Address='$Address', CellNo='$CellNo', EmailId='$EmailId',Description='$Description',dt_tim='$dt_tim'")or die(mysql_error());
33

header('location:thanks.php'); }} ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>contact us</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> </head> <body> <div id="main_content"><?php include('include/adminheader.php');?> <div id="main_content2"><?php include('include/search.php');?> <!-- end of column one --> <div class="column4"> <div class="title">Contact Us</div> <p>&nbsp;</p> <table width="100%" height="68" border="0" cellpadding="0"> <tr> <td><form name="contact_us" id="contact_us" method="post" action="#" onSubmit="return vailid();"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr><td width="26%" class="text">Name</td> <td width="3%" class="text"><strong>:</strong></td> <td width="67%"><input name="name" type="text" class="form_input" id="name" value="<?php if(isset($Name)){echo $Name;} ?>"> <?php if(isset($error)and $code==1){ echo $error;}?></td></tr><tr> <td class="text">Email Id </td> <td class="text"><strong>:</strong></td> <td><input name="emailid" type="text" class="form_input" id="emailid" value="<?php if(isset($EmailId)){echo $EmailId;}?>"> <?php if(isset($error)and $code==2){ echo $error;}?></td></tr><tr>
34

<td class="text">Contact no</td><td class="text"><strong>:</strong></td> <td><input name="cellNo" type="text" class="form_input" id="cellNo" value="<?php if(isset($CellNo)){echo $CellNo;} ?>"> <?php if(isset($error)and $code==3){ echo $error;}?></td></tr><tr> <td class="text">Address</td> <td class="text"><strong>:</strong></td> <td><textarea name="address" cols="27" rows="3" class="form_input" id="address"><?php if(isset($_POST['Submit2'])){echo $Address;} ?></textarea> <?php if(isset($error)and $code==4){ echo $error;}?></td> </tr> <tr> <td class="text">Description</td> <td class="text"><strong>:</strong></td> <td><textarea name="descrap" cols="27" rows="3" class="form_input" id="descrap"><?php if(isset($_POST['Submit2'])){echo $Description;} ?></textarea> <?php if(isset($error)and $code==5){ echo $error;}?></td></tr><tr> <td class="textbold">&nbsp;</td><td>&nbsp;</td> <td><input name="Submit2" type="submit" class="text" value="Submit" /></td> </tr></table></form></td> <td><span class="text"><img src="images/contact.gif" alt="" width="208" height="205" /></span></td> </tr><tr> <td colspan="2"><div align="left">Address :- A-4/44 New Kindly<br /> Contact No. :- +91-9650272822, 9472369711<br /> Email :-rushan.pawar@yahoo.com</div></td> </tr> <tr> <td colspan="2"><div align="left"> <p>C-413 New Ashok Nagar<br /> Contact No: +91-9650272822 <br /> New Delhi 110096<br /> Email- raushan.pawar1991@gmail.com</p> </div></td> </tr> </table> <p>&nbsp;</p></div> <!-- end of column four --> <!-- end of column two --> <!-- end of main_content --> <div id="footer2">
35

<div id="copyright2"></div></div> </div> <p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p> <p>&nbsp;</p><?php include('include/footer.php');?></div></body></html> 6.6 Admin.php <?php include("openconnection.php"); error_reporting(E_PARSE); ?> <?php $sql = "select id,propType,owneradd,FlatsSize,FlatsLocation,price,price2, moneytype,state,city, mobileNo,emailId,Name,prop_desc,Date,Time,propimage from addeuro where propertytype='Commercial' AND propertyCat='Buy' UNION select id,propType,owneradd,FlatsSize,FlatsLocation, price,price2, moneytype,state,city,mobileNo,emailId,Name,prop_desc,Date,Time,propimage from postpropery where propertytype='Commercial' AND propertyCat='Buy'"; $result = mysql_query($sql); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>admin</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <style type="text/css"> <!-- .style2 {font-size: 16; font-weight: bold; } --> </style> </head> <body><div id="main_content"><?php include('include/adminheader.php');?> <div id="main_content2"><!-- end of column one --> <div class="column5"> <?php include('include/adminlogin.php');?> <div class="titlebig">Admin Panel</div> </div> <!-- end of column four --> <!-- end of column two --> <!-- end of main_content -->

<div id="footer2"> <div id="copyright2"></div> </div> </div>

36

<p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p><p>&nbsp;</p> <p>&nbsp;</p><?php include('include/footer.php');?></div> </body> </html> 6.7 Delete.php <?php error_reporting(E_PARSE); include("openconnection.php"); $recordid=$_REQUEST['Id']; mysql_query("delete from addeuro where id='$recordid'"); header('location:removeclient_resi_rent.php'); ?> 6.8 Index.php <?php include("openconnection.php"); error_reporting(E_PARSE); session_start(); if(isset($_POST['submit'])) { $username = $_POST['username']; $password = $_POST['password']; $username=mysql_real_escape_string($username); $password=mysql_real_escape_string($password); $query = mysql_query("select id,uid,username,email,contact from login where username = '$username' and password = '$password'"); while($row = mysql_fetch_array($query)) { $id = $row['id']; $uid = $row['uid']; $username = $row['username']; $email = $row['email']; $contact=$row['contact'];} $_SESSION['username'] = $username; $_SESSION['email'] = $email; $_SESSION['contact'] = $contact; $_SESSION['id']=$id; if($username == "" && $password =="" ) { $error= "Enter Username and Password."; $code= "1" ; } else if($username == "" ) { $error= "Enter Your Name."; $code= "1" ; } elseif(is_numeric($username) == True ) { $error= "Enter Only Character Value."; $code= "1"; } elseif(strlen($username)>15){$error="Name shouldt be greater then 15 Letter."; $code= "1";} elseif($password =="" ) { $error="Enter Your Password"; $code="2"; }
37

elseif(strlen($_POST['password'])<5){ $error="Password Cannot Be Less Than 5"; $code="2";} else{ if($uid == 1){ header('location:admin.php');} elseif($uid == 2){ header('location:client.php');} else{?> <script language="javascript"> alert("Username Or Password is incorrect....Please Login again"); window.location="index.php"; </script> <?php }

if(isset($_POST['c1'])){ setcookie('username1',"$username",time()+60*60); setcookie('password1',"$password"); }} }?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>index</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script></head> <body><div id="main_content"><?php include('include/header.php');?> <div id="main_content2"> <div class="column1"> <div class="left_box"> <div class="top_left_box"> </div>

<div class="center_left_box"> <div class="box_title"><span>Login</span> Here <form id="form1" name="form1" method="post" action=""> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="pro1">Username</td> <td class="pro1"><label> <input type="text" name="username" id="textfield" value="<?php if(isset($_COOKIE['username1'])){echo $_COOKIE['username1'];}
38

elseif(isset($username)){echo $username;}?>" /> <?php if(isset($error)and $code==1){ echo $error;}?> </label></td> </tr> <tr> <td class="pro1"><label>

<td class="pro1">Password</td>

<input type="password" name="password" id="textfield2" value="<?php if(isset($_COOKIE['password1'])){echo $_COOKIE['password1'];} elseif(isset($password)){echo $password;} ?>" /> <?php if(isset($error)and $code==2){ echo $error;}?> </label></td> </tr> <tr> <td class="pro1"><label>

<td class="pro1">&nbsp;</td>

<input type="submit" name="submit" id="button" value="Submit" /> </label></td> </tr> <tr> <td class="pro1"> <div align="left">

<td class="pro1">&nbsp;</td>

<input type = "checkbox" name = "c1" value = "" /> Rememeber me</div></td> <td class="pro1">&nbsp;</td> <td class="pro1"><div align="left"><a href="signup.php">Sign Up</a></div></td></tr> <tr> <td class="pro1">&nbsp;</td> <td class="pro1"><div align="left"><a href="forget.php">Forgot password?</a></div></td> </tr> </table> </form> </div> </div> <div class="left_box"> <div class="center_left_box"> </div> </tr> <tr>

<form name="search" id="search" method="post" action="listproperty.php" > <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr>

<td width="153" valign="top" class="text_bold"><div align="left">Category </div></td> <td width="687" height="19" valign="buttom" class="text"><label> <input name="radiobutton" type="radio" value="Sell" checked="checked" /> Sell</label><label> <input name="radiobutton" type="radio" value="Rent" /> Rent</label></td> </tr> <tr>

<td valign="top" class="text_bold"><div align="left">Type </div></td>


39

<td height="11" valign="top"><label> <select name="stype" class="form_input" id="stype"> <option value="0">Select</option> <option value="Society Flat">Society Flat </option> <option value="Builder Flat ">Builder Flat </option> <option value="Builder Floor">Builder Floor</option> <option value="DDA Flat" selected="selected">DDA Flat</option> <option value="Commercial">Commercial</option> <option value="Residential flat">Residential flat</option> <option value="Residential Plot">Residential Plot</option> <option value="Residential Land">Residential Land</option> <option value="Industrial Plot">Industrial Plot</option> <option value="Industrial Building">Industrial Building</option> <option value="Independent House">Independent House</option> <option value="Office Space">Office Space</option> <option value="Shop">Shop</option> <option value="Retail Space">Retail Space</option> <option value="Hotel Space">Hotel Space</option> <option value="School Space">School Space</option> <option value="School Space">Kothi</option> </select> </label> </td> </tr> <tr>

<td valign="top" class="text_bold"><div align="left">Location </div></td> <td height="19" valign="top"><label> <select name="slocation" class="form_input" id="slocation"> <option value="0">Select</option> <option value="Delhi/NCR">Delhi/NCR</option> <option value="Dwarka">Dwarka</option> <option value="Rohini">Rohini</option> <option value="Pachim Vihar">Pachim Vihar</option> <option value="JanakPuri">JanakPuri</option> <option value="Noida">Noida</option>
40

<option value="Faridabad">Faridabad</option> <option value="Ghaziabad">Ghaziabad</option> <option value="Gurgaon">Gurgaon</option> <option value="Greater Noida">Greater Noida</option> </select> </label></td> </tr> <tr>

<td valign="top" class="text_bold"><div align="left">Budget </div></td> <td height="11" valign="top"><label> <select name="budget1" class="form_input" id="budget1" > <option value="0">INR</option> <option value="10 Thousand">Below 10 Thousand</option> <option value="10 to 20 Thousand ">10 to 20 Thousand</option> <option value="20 to 30 Thousand">20 to 30 Thousand</option> <option value="30 to 40 Thousand">30 to 40 Thousand</option> <option value="40 to 50 Thousand">40 to 50 Thousand </option> <option value="50 to 60 Thousand">50 to 60 Thousand</option> <option value="60 to 70 Thousand">60 to 70 Thousand</option> <option value="70 to 80 Thousand">70 to 80 Thousand</option> <option value="80 to 90 Thousand">80 to 90 Thousand</option> <option value="90 to 95 Thousand">90 to 95 Thousand </option> <option value="1 to 5 Lacs">1 to 5 Lacs </option> <option value="5 to 10 Lacs ">5 to 10 Lacs</option> <option value="10 to 15 Lacs">10 to 15 Lacs</option> <option value="15 to 20 Lacs">15 to 20 Lacs</option> <option value="20 to 25 Lacs">20 to 25 Lacs</option> <option value="25 to 30 Lacs">25 to 30 Lacs</option> <option value="85 to 90 Lacs">85 to 90 Lacs</option> <option value="90 to 95 Lacs">90 to 95 Lacs</option> <option value="2 to 4 Crore">1 to 2 Crore</option> <option value="2 to 4 Crore">2 to 4 Crores</option> <option value="4 to 6 Crore">4 to 6 Crores</option> <option value="&gt;5 Crores">&gt;6 Crores</option>
41

</select>

</label></td>

</tr>

<tr>

<td class="text_bold"><div align="left">Bedroom </div></td> <td valign="top"><label> <select name="bedroom" class="form_input" id="bedroom"> <option value="0">Select</option> <option value="1">1 BHK</option> <option value="2">2 BHK</option> <option value="3">3 BHK</option> <option value="4">4 BHK</option> <option value="5">5 BHK</option> <option value="6">6 BHK</option> <option value="7">7 BHK</option> <option value="8">8 BHK</option> <option value="9">9+BHK</option> </select> </label></td> <td valign="top"><label> <input name="SellRent" type="submit" class="text" value="Search" /> </label></td> </tr> </table> </div> </form> </div> </tr> <tr> <td></td>

<div class="bottom_left_box"> </div> <div class="left_box">

<div class="top_left_box"> </div>

<div class="center_left_box"> <div class="box_title"><span>Contact</span> information:</div> <div class="form"> <div class="form_row"> <img src="images/contact_envelope.gif" width="50" height="47" border="0" class="img_right" alt="" /> <div class="contact_information"> Email: info@eproperty.com<br /> Telephone: 0234 789 90<br /> Mobile: +91-9650272822<br /> Fax: 34534 3456 3456(54)<br /> <br /> <span>www.eproperty.com</span> </div> <div class="bottom_left_box"> </div> </div> </div> </div> </div> </div>

<!-- end of column one --><div class="column4"> <div class="title">eproperty welcomes you </div> <!-- end of column four --> <div class="column2" style="background-color:#f3f5f6; margin-left:5px;"> <div class="big_pic"><img src="images/welcome.gif" width="345" height="75" /></div>
42

</div>

<div class="pictures_thumbs"> <?php $row= mysql_query("SELECT * from addeuro where propertyCat='Rent' and propimage!='' limit 0,1"); $totalrows=mysql_fetch_array($row); ?> <table width="300" border="0" align="left" cellpadding="0" cellspacing="0"> <td>&nbsp;</td> <?php if($totalrows){ $arr=array(); ?> <td align="left"><a href="project_details.php?Id=<?php echo $totalrows['id'];?>"> <img src="image/<?php echo $totalrows['propimage']; ?>" width="160" height="100" border="1"></a></td> <?php $a=sizeof($totalrows); for($i=0;$i<$a/2;$i++){ $arr[$i]=$totalrows[$i];}}?> <td>&nbsp;</td> <?php $arr1=array(); $row= mysql_query("SELECT * from addeuro where propertyCat='Rent' and propimage!='' limit 1,2"); $totalrows=mysql_fetch_array($row) ; if($totalrows){?> <td align="left">&nbsp;</td> <?php $a1=sizeof($totalrows); for($i=0;$i<$a1/2;$i++){ $arr1[$i]=$totalrows[$i];}}?> <tr>

<?php $arr2=array();

43

$row= mysql_query("SELECT * from addeuro where propertyCat='Rent' and propimage!='' limit 2,3"); $totalrows=mysql_fetch_array($row); if($totalrows) {?> <?php $a2=sizeof($totalrows); for($i=0;$i<$a2/2;$i++){ $arr2[$i]=$totalrows[$i];}} ?> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> <?php if($arr){ // print_r($arr); ?> <td valign="top">&nbsp;</td> <td valign="top"><table width="96%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="text_bold" align="left">Property Category:</td> <td class="text" align="left"><?php echo $arr[1]." "."On"." ".$arr[12]; ?></td> </tr><tr> <td width="40%" class="text_bold" align="left">Property Type :</td> <td width="60%" class="text" align="left"><?php echo $arr[2]; ?></td> </tr><tr> <td class="text_bold" align="left">Property Size :</td> <td class="text" align="left"><?php echo $arr[6];?></td> </tr> <tr> <td class="text_bold" align="left">Property Location :</td> <td class="text" align="left"><?php echo $arr[7];?></td> </tr> </table> <?php }?></td> <td>&nbsp;</td> <?php if($arr1){ ?> <?php }if($arr2){ ?> <?php } ?> <tr> </tr> <tr> <td>&nbsp;</td> </tr> <tr> td>&nbsp;</td></tr> <td>&nbsp;</td>

<td height="12" colspan="5"></td> <td align="center">&nbsp;</td> <?php if($arr){ ?>

<td align="center" class="more"><a href="project_details.php?Id=<?php echo $arr[0]; ?> " class="more"> More Info. </a></td>
44

<?php } ?><td>&nbsp;</td> <?php if($arr1){ ?> <td align="center" class="more">&nbsp;</td> <?php }?> <?php if($arr2){ ?> <td align="center"><a href="project_details.php?Id=<?php echo $arr2[0]; ?> "></a></td> <?php }?> </tr> </table> </div> </div>

<!-- end of column two --> <?php include('include/keywordsearch.php');?> <?php include('include/rightmenu.php');?> <!-- end of main_content --> <div id="footer2"> <div id="copyright2"></div> </div> </div>

<p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p><?php include('include/footer.php');?> </div> </body> </html> 6.9 Logout.php <?php session_start(); session_destroy(); header('location:index.php'); exit; ?> 6.10 Openconnection.php <?php /*$con = mysql_connect("localhost","root","","eproperty_real"); //$con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); }// some codemysql_close($con);

mysql_select_db("eproperty_real", $con)or die(mysql_error()); //mysql_select_db("test", $con)or die(mysql_error()); */?> <?php session_start();


45

mysql_connect("localhost","root","") or die(mysql_error()); mysql_select_db("eproperty_real") or die(mysql_error()); ?>

6.11 Removeproprent.php <?php include("openconnection.php"); error_reporting(E_PARSE); ?> <?php $sql = "select id,propType,propertytitle,address,owneradd,FlatsSize,FlatsLocation, price,price2, moneytype,propertyCat,state,city,mobileNo,emailId,Name,prop_desc,Date,Time,propimage from addeuro where propertytype='Commercial' AND propertyCat='Rent' UNION select id,propType,propertytitle,address,owneradd,FlatsSize,FlatsLocation, price,price2, moneytype,propertyCat,state,city,mobileNo,emailId,Name,prop_desc,Date,Time,propimage from postpropery where propertytype='Commercial' AND propertyCat='Rent'"; $result = mysql_query($sql); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>remove vendor</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <style type="text/css"> <!-.style2 {font-size: 16; font-weight: bold; } .style3 {font-weight: bold} --></style> </head> <body> <div id="main_content"><?php include('include/header.php');?> <div id="main_content2"><!-- end of column one --> <div class="column5"> <?php include('include/adminlogin.php');?> <div class="titlebig">Remove </div>
46

<table width="210" border="0" bgcolor="#00CC99"> <tr> <td width="19%"><a href="addvendor_resi.php" class="menu_row">Add Client</a></td> <td width="19%"><a href="removevendor_resi.php" class="menu_row">Remove Client</a></td> <td width="19%"><a href="updvendor_resi.php" class="menu_row">Update Client</a></td> </tr> </table> <table width="1000" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC"> <tr bgcolor="#0066CC"> <td width="37" height="28" bgcolor="#D26F36" class="tab">S.No</td> <td width="37" height="28" bgcolor="#D26F36" class="tab">ID</td> <td width="98" bgcolor="#D26F36" class="tab">Property Owner Details</td> <td width="98" bgcolor="#D26F36" class="tab">Property Category</td> <td width="100" bgcolor="#D26F36" class="tab">Property Type</td> <td width="97" bgcolor="#D26F36" class="tab">Property Description</td> <td width="62" bgcolor="#D26F36" class="tab">Property Size</td> <td width="84" bgcolor="#D26F36" class="tab">Property Location</td> <td width="76" bgcolor="#D26F36" class="tab">Property Address</td> <td width="104" bgcolor="#D26F36" class="tab">property Cost</td> <td width="94" bgcolor="#D26F36" class="tab">View Image</td> <td width="94" bgcolor="#D26F36" class="tab">Remove</td> </tr> <?php $i=1; while($row = mysql_fetch_array($result)) { $id=$row['id']; $propType=$row['propType']; $Name= $row['Name']; $mobileNo =$row['mobileNo']; $emailId =$row['emailId']; $address=$row['owneradd']; $City=$row['city']; $state=$row['state']; $FlatsSize=$row['FlatsSize'];

$FlatsLocation= $row['FlatsLocation']; $price=$row['price']; $price2=$row['price2']; $moneytype=$row['moneytype']; $propimage=$row['propimage']; $prop_desc=$row['prop_desc'];


47

$Date=$row['Date']; <tr class="current">

$Time=$row['Time']; ?>

<td align="center" class="text"><?php echo $i;?></td> <td align="left" class="text"><?php echo $row['id'];?></td> <td align="left" class="text"><?php echo $row['Name']."</br>". $row['mobileNo']."</br>".$row['emailId'];?></td> <td align="left" class="text"><?php echo $row['propertytype'];?></td> <td align="left" class="text"><?php echo $row['propType'];?></td> <td align="justify" class="text"><?php echo $row['prop_desc'];?> </td> <td align="justify" class="text"><?php echo $row['FlatsSize'];?> </td> <td align="justify" class="text"><?php echo $row['FlatsLocation']; ?></td> <td align="justify" class="text"><?php echo $row['address'];?></td> <td align="justify" class="text"><?php echo $row['price']."-".$row['price2'] ."".$row['moneytype'];?></td> <td align="justify" class="text"><img src="image/<?php echo $row['propimage']; ?>" width="160" height="100"></td> <td align="center" class="more"><a href="delete.php?Id=<?php print $row[id]; ?>"class="more">Delete</a></td> </td> <?php $i++;?> <?php }?> </tr> </table> </div>

<!-- end of column four --> <!-- end of column two --> <!-- end of main_content --> <div id="footer2"> <div id="copyright2"></div> </div> </div>

<?php include('include/footer.php');?> </div> </body> </html> 6.12 Removepropsell.php <?php include("openconnection.php"); error_reporting(E_PARSE); ?> <?php $sql = "select id,propType,propertytitle,address,owneradd,FlatsSize,FlatsLocation, price,price2, moneytype,propertyCat,state,city,mobileNo,emailId,Name,prop_desc,Date,Time,propimage from addeuro where propertytype='Commercial' AND propertyCat='Sell' UNION select id,propType,propertytitle,address,owneradd,FlatsSize,FlatsLocation, price,price2,
48

moneytype,propertyCat,state,city,mobileNo,emailId,Name,prop_desc,Date,Time,propimage from postpropery where propertytype='Commercial' AND propertyCat='Sell'"; $result = mysql_query($sql); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>remove vendor</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <style type="text/css"> <!-.style2 {font-size: 16; font-weight: bold; } .style3 {font-weight: bold} --></style></head> <body><div id="main_content"><?php include('include/header.php');?> <div id="main_content2"><!-- end of column one --> <div class="column5"> <?php include('include/adminlogin.php');?> <div class="titlebig">Remove </div> <table width="210" border="0" bgcolor="#00CC99"> <tr> <td width="19%"><a href="addvendor_resi.php" class="menu_row">Add Client</a></td> <td width="19%"><a href="removevendor_resi.php" class="menu_row">Remove Client</a></td> <td width="19%"><a href="updvendor_resi.php" class="menu_row">Update Client</a></td> </tr> </table> <table width="1000" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC"> <tr bgcolor="#0066CC"> <td width="37" height="28" bgcolor="#D26F36" class="tab">S.No</td> <td width="37" height="28" bgcolor="#D26F36" class="tab">ID</td> <td width="98" bgcolor="#D26F36" class="tab">Property Owner Details</td> <td width="98" bgcolor="#D26F36" class="tab">Property Category</td>
49

<td width="100" bgcolor="#D26F36" class="tab">Property Type</td> <td width="97" bgcolor="#D26F36" class="tab">Property Description</td> <td width="62" bgcolor="#D26F36" class="tab">Property Size</td> <td width="84" bgcolor="#D26F36" class="tab">Property Location</td> <td width="76" bgcolor="#D26F36" class="tab">Property Address</td> <td width="104" bgcolor="#D26F36" class="tab">property Cost</td> <td width="94" bgcolor="#D26F36" class="tab">View Image</td> <td width="94" bgcolor="#D26F36" class="tab">Remove</td> </tr> <?php $i=1; while($row = mysql_fetch_array($result)){ $id=$row['id']; $propType=$row['propType']; $Name= $row['Name']; $mobileNo =$row['mobileNo']; $emailId =$row['emailId']; $address=$row['owneradd']; $FlatsSize=$row['FlatsSize']; $price=$row['price']; $moneytype=$row['moneytype']; $prop_desc=$row['prop_desc']; <tr class="current"> <td align="center" class="text"><?php echo $i;?></td> <td align="left" class="text"><?php echo $row['id'];?></td> <td align="left" class="text"><?php echo $row['Name']."</br>". $row['mobileNo']."</br>".$row['emailId'];?></td> <td align="left" class="text"><?php echo $row['propertytype'];?></td> <td align="left" class="text"><?php echo $row['propType'];?></td> <td align="justify" class="text"><?php echo $row['prop_desc'];?> </td> <td align="justify" class="text"><?php echo $row['FlatsSize'];?> </td> <td align="justify" class="text"><?php echo $row['FlatsLocation']; ?></td> <td align="justify" class="text"><?php echo $row['address'];?></td> $City=$row['city']; $state=$row['state'];

$FlatsLocation= $row['FlatsLocation']; $price2=$row['price2']; $propimage=$row['propimage']; $Date=$row['Date']; $Time=$row['Time']; ?>

50

<td align="justify" class="text"><?php echo $row['price']."-".$row['price2'] ."".$row['moneytype'];?></td> <td align="justify" class="text"><img src="image/<?php echo $row['propimage']; ?>" width="160" height="100"></td> <td align="center" class="more"><a href="delete.php?Id=<?php print $row[id]; ?>"class="more">Delete</a></td> </td> <?php $i++;?> <?php }?> </tr> </table> </div>

<!-- end of column four --> <!-- end of column two --> <!-- end of main_content --> <div id="footer2"> <div id="copyright2"></div> </div> </div>

<?php include('include/footer.php');?> </div> </body> </html> 6.13 Signup.php <?php include("openconnection.php"); error_reporting(E_PARSE); session_start(); if(isset($_POST['submit'])) { $username=trim($_POST['username']); $email=trim($_POST['email']); $password=trim($_POST['password']); $address=trim($_POST['address']); $contact=trim($_POST['contact']); if($username == "" ) { $error= " Enter Username."; $code= "1" ; } elseif(is_numeric($username) == True ) { $error= "Enter only character value."; $code= "1";} elseif(strlen($username)>15) { $error= "Username should not be greater then 15 letter."; $code= "1"; } elseif($email == "" ) { $error= "Enter your email.";$code= "2"; } elseif(!preg_match("/^[_\.0-9a-zA-Z-]+@([0-9a-zA-Z][0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$/i", $email)) { $error= 'Enter a valid email.'; $code= "2"; } elseif($password=="") { $error='Enter your password'; $code="3"; } elseif(strlen($password)<6) { $error= "password should be 6 digit"; $code= "3"; } elseif($contact=="" ) { $error="Enter your contact number"; $code="4"; } elseif(is_numeric($contact) == false ){ $error= "Enter only numeric value"; $code= "4"; } elseif(strlen($contact)==9) {$error= "contact No. should be 10 digit"; $code= "4"; } elseif($address=='') { $error='Enter your address'; $code="5"; }
51

elseif(is_numeric($address) == true ) {$error= "Do not enter numeric value."; $code= "5"; } else{ mysql_query("insert into login values('','2','$username','$email','$password','$contact', '$address')"); echo "<font face='Verdana' size='2' color=green>Welcome, You have successfully signed up<br><br><a href=login.php>Click here to login</a><br></font>"; } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>sign up</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script></head> <body><div id="main_content"><?php include('include/header.php');?> <div id="main_content2"><!-- end of column one --> <div class="title2nd">Sign Up Here --- Create your account </div> <div class="columnsignup" style="background-color:#f3f5f6; margin-left:5px;"> <form action = "" method = "post"> <table width="100%" border = "0" align = "center" cellpadding = "0" cellspacing = "0"> <tr> <td><div align="left">Enter Username</div></td> <td><div align="center"><strong>:</strong></div></td> <td><input name = "username" type = "text" class="form_input" value="<?php if(isset($username)){echo $username;} ?>"> <?php if(isset($error)and $code==1){ echo $error;}?></td> </tr> <tr> <td><div align="left">Enter Your Email</div></td> <td><div align="center"><strong>:</strong></div></td> <td><input name = "email" type = "text" class="form_input" value="<?php if(isset($email)){echo $email;} ?>" /> <?php if(isset($error)and $code==2){ echo $error;}?></td> </tr> <tr> <td><div align="left">Enter Your Password</div></td>
52

<td><div align="center"><strong>:</strong></div></td> <td><input name = "password" type = "password" class="form_input" value="<?php if(isset($password)){echo $password;} ?>" /> <?php if(isset($error)and $code==3){ echo $error;}?></td> </tr> <tr> <td><div align="left">Enter Your Contact no</div></td> <td><div align="center"><strong>:</strong></div></td> <td><input name = "contact" type = "text" class="form_input" value="<?php if(isset($contact)){echo $contact;} ?>" /> <?php if(isset($error)and $code==4){ echo $error;}?></td> </tr> <tr> <td><div align="left">Enter Your Address</div></td> <td><div align="center"><strong>:</strong></div></td> <td><textarea name = "address" cols="35" rows="3" class="text" id="address"><?php if(isset($_POST['submit'])){echo $address;} ?></textarea> <?php if(isset($error)and $code==5){ echo $error;}?></td> </tr> <td><input type ="submit" name = "submit" value = "Register"></td> <td>&nbsp;</td> <td><a href = "index.php">Sign In</a></td> </tr> </table> </form> </div> <div id="footer2"> <tr>

<div id="copyright2"></div> </div> </div><?php include('include/footer.php');?> </div> </body> </html> 6.14 Textarea.php <html> <form method="post" action =""> <textarea name="r"> <?php if(isset($_POST['submit'])){ echo $_POST['r']; } ?> </textarea> <input type="submit" name="submit"> </form> </html> 6.15 Thanks.php <?php error_reporting(E_PARSE); include("openconnection.php"); if($_POST['Submit']){ $pRequarment=$_POST['pRequarment']; $ptye=$_POST['PType'];
53

$cName=$_POST['cName']; $cityName=$_POST['Location']; $Desrpt=$_POST['PDesrpt'] ; $wnerNmae=$_POST['OwnerNmae']; $address=$_POST['address']; $email=$_POST['emailId']; $cellNo=$_POST['cellNo']; $budget1=$_POST['budget1']; $mobileNo=$_POST['mobileNo']; $a=strpos($budget1,"to"); if($a) { $pieces= explode("to",$budget1); $pieces1=$pieces[0]; $pieces2=$pieces[1]; $pieces3=explode(" ",$pieces2); $b2=$pieces3[1]; $b3=$pieces3[2]; } else{ $pieces1=1; $pieces3=explode(" ",$budget1); $b2=$pieces3[0]; $b3=$pieces3[1]; } $y="insert into postrequiremen set PostRequement ='$pRequarment',Property ='$ptye',Category='$cName',City='$cityName',PropertyDiscription='$Desrpt',ownerName='$wne rNmae',address='$address',email_id='$email',phoneNo='$cellNo',mobileNo='$mobileNo',moneyt ype='$b3',price='$pieces1',price2='$b2'"; $query=mysql_query($y)or die(mysql_error()); //header('location:thanks.php'); ?> <script language="javascript"> window.location="thanks.php"; </script> <?php } ?> <script language="javascript"> function vailid() { if(document.PostRequrment.PType.value=="0") { alert("Please Enter Property type "); //document.PostRequrment.sName.focus(); return false;} if(document.PostRequrment.cName.value=="0") { alert("Please Enter Property Category "); //document.PostRequrment.sName.focus(); return false;} if(document.PostRequrment.State.value=="") { alert("Please Enter State Name"); document.PostRequrment.State.focus(); return false;}

54

if(document.PostRequrment.cityName.value=="") { alert("Please Enter City Name"); document.PostRequrment.cityName.focus(); return false;} if(document.PostRequrment.emailId.value=="") { alert("Please Enter the Email."); document.PostRequrment.emailId.focus(); return false;} else{ var str=document.PostRequrment.emailId.value var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i if (filter.test(str)==false){ alert("Please enter vailid Email id");document.PostRequrment.emailId.value="" document.PostRequrment.emailId.focus() return false}} </script> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>index</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script></head> <body><div id="main_content"><?php include('include/header.php');?> <div id="main_content2"><!-- end of column one --> <div class="column4"> <div class="title2nd"><span class="about_botom">Your data has been sent successfully. We will Contact you as soon as posssiable. </span></div> <p><img src="images/thanks.jpg" alt="" width="600" height="300"></p> </div>

<!-- end of column four --> <!-- end of column two --><!-- end of main_content --> <div id="footer2"> <div id="copyright2"></div> </div> </div>
55

<p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p><?php include('include/footer.php');?></div></body></html> 6.16 Thankyou.php <?php error_reporting(E_PARSE); include("openconnection.php"); if($_POST['Submit']){ $pRequarment=$_POST['pRequarment']; $ptye=$_POST['PType']; $cName=$_POST['cName']; $cityName=$_POST['Location']; $Desrpt=$_POST['PDesrpt'] ; $wnerNmae=$_POST['OwnerNmae']; $address=$_POST['address']; $email=$_POST['emailId']; $cellNo=$_POST['cellNo']; $budget1=$_POST['budget1']; $mobileNo=$_POST['mobileNo']; $a=strpos($budget1,"to"); if($a){ $pieces= explode("to",$budget1); $pieces1=$pieces[0]; $pieces2=$pieces[1]; $pieces3=explode(" ",$pieces2); $b2=$pieces3[1]; $b3=$pieces3[2]; } else{ $pieces1=1; $pieces3=explode(" ",$budget1); $b2=$pieces3[0]; $b3=$pieces3[1];} $y="insert into postrequiremen set PostRequement ='$pRequarment',Property ='$ptye',Category='$cName',City='$cityName',PropertyDiscription='$Desrpt',ownerName='$wne rNmae',address='$address',email_id='$email',phoneNo='$cellNo',mobileNo='$mobileNo',moneyt ype='$b3',price='$pieces1',price2='$b2'"; $query=mysql_query($y)or die(mysql_error()); //header('location:thanks.php'); ?> <script language="javascript"> window.location="thanks.php"; </script> <?php }?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>admin</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
56

<style type="text/css"> <!-.style2 {font-size: 16; font-weight: bold; } --></style></head> <body> <div id="main_content"><?php include('include/header.php');?> <div id="main_content2"><!-- end of column one --> <div class="column5"> <?php include('include/adminlogin.php');?> <div class="column4"><div class="title2nd"><span class="about_botom">Your data has been sent successfully. We will Contact you as soon as possible. </span></div> <p><img src="images/thanks.jpg" alt="" width="600" height="300"></p></div> </div> <!-- end of column four --> <!-- end of column two --> <!-- end of main_content --> <div id="footer2"> <div id="copyright2"></div> </div> </div>

<?php include('include/footer.php');?></div></body></html> 6.17 Update1.php <?php include("openconnection.php"); error_reporting(E_PARSE); $recordid = $_POST['recordid']; $FlatsCost=$_POST['FlatsCost']; $ex = explode("-",$FlatsCost); echo $price=$ex['0']; $ex1 = $ex['1']; $ex2 = explode(" ",$ex1); echo $price2= $ex2['0']; echo $moneytype=$ex2['1']; $Name=$_POST['Name']; $ContactNo=$_POST['mobileNo']; $emailId=$_POST['emailId']; $City=$_POST['city']; $State=$_POST['state']; $owneraddress=$_POST['owneradd']; echo $name1=$_POST['file']; $imgdata=file_get_contents($name1); mysql_query("update addeuro set

Name='$Name',mobileNo='$ContactNo',emailId='$emailId', owneradd='$owneraddress',city='$City',state='$State',price='$Price',price2='$Price2', moneytype='$moneytype',propimage='$name1' where id='$recordid'"); mysql_query("update postpropery set Name='$Name',mobileNo='$ContactNo',emailId='$emailId', owneradd='$owneradd',city='$City',state='$State',price='$Price',price2='$Price2', moneytype='$moneytype',propimage='$name1' where id='$recordid'"); header('location:client_resi_rent.php');?>
57

6.18 Update2.php <?php include("openconnection.php"); error_reporting(E_PARSE); $recordid = $_POST['recordid']; $FlatsCost=$_POST['FlatsCost']; $ex = explode("-",$FlatsCost); $price=$ex['0']; $ex1 = $ex['1']; $ex2 = explode(" ",$ex1); $price2= $ex2['0']; $moneytype=$ex2['1']; $Name=$_POST['Name']; $ContactNo=$_POST['mobileNo'];

$emailId=$_POST['emailId']; $owneraddress=$_POST['owneradd']; $City=$_POST['city']; $State=$_POST['state']; $imgdata=file_get_contents($name1); mysql_query("update addeuro set Name='$Name',mobileNo='$ContactNo',emailId='$emailId', owneradd='$owneraddress',city='$City',state='$State',price='$Price',price2='$Price2', moneytype='$moneytype',propimage='$name1' where id='$recordid'"); mysql_query("update postpropery set Name='$Name',mobileNo='$ContactNo',emailId='$emailId', owneradd='$owneradd',city='$City',state='$State',price='$Price',price2='$Price2', moneytype='$moneytype',propimage='$name1' where id='$recordid'"); header('location:client_comc_buy.php'); ?> 6.19 Update3.php <?php include("openconnection.php"); error_reporting(E_PARSE); $recordid = $_POST['recordid']; $FlatsCost=$_POST['FlatsCost']; $ex = explode("-",$FlatsCost); $price=$ex['0']; $ex1 = $ex['1']; $ex2 = explode(" ",$ex1); $price2= $ex2['0']; $moneytype=$ex2['1']; $Name=$_POST['Name']; $ContactNo=$_POST['mobileNo']; $owneraddress=$_POST['owneradd']; $emailId=$_POST['emailId']; $City=$_POST['city']; $State=$_POST['state']; $name1=$_POST['file'];

$name1=$_POST['file']; $imgdata=file_get_contents($name1);
58

mysql_query("update addeuro set Name='$Name',mobileNo='$ContactNo',emailId='$emailId', owneradd='$owneraddress',city='$City',state='$State',price='$Price',price2='$Price2', moneytype='$moneytype',propimage='$name1' where id='$recordid'"); mysql_query("update postpropery set Name='$Name',mobileNo='$ContactNo',emailId='$emailId', owneradd='$owneradd',city='$City',state='$State',price='$Price',price2='$Price2', moneytype='$moneytype',propimage='$name1' where id='$recordid'"); header('location:client_comc_buy.php'); ?> 6.20 Update4.php <?php include("openconnection.php"); error_reporting(E_PARSE); $recordid = $_POST['recordid']; $FlatsCost=$_POST['FlatsCost']; $ex = explode("-",$FlatsCost); $price=$ex['0']; $ex1 = $ex['1']; $ex2 = explode(" ",$ex1); $price2= $ex2['0']; $moneytype=$ex2['1']; $Name=$_POST['Name']; $ContactNo=$_POST['mobileNo']; $emailId=$_POST['emailId']; $City=$_POST['city']; $State=$_POST['state']; echo $owneraddress=$_POST['owneradd']; mysql_query("update addeuro set Name='$Name',mobileNo='$ContactNo',emailId='$emailId', owneradd='$owneraddress',city='$City',state='$State',price='$Price',price2='$Price2', moneytype='$moneytype' where id='$recordid'"); mysql_query("update postpropery set Name='$Name',mobileNo='$ContactNo',emailId='$emailId', owneradd='$owneradd',city='$City',state='$State',price='$Price',price2='$Price2', moneytype='$moneytype' where id='$recordid'"); header('location:client_comc_rent.php'); ?> 6.21 Update5.php <?php include("openconnection.php"); error_reporting(E_PARSE);
59

$recordid = $_POST['recordid']; $FlatsCost=$_POST['FlatsCost']; $ex = explode("-",$FlatsCost); $price=$ex['0']; $ex1 = $ex['1']; $ex2 = explode(" ",$ex1); $price2= $ex2['0']; $moneytype=$ex2['1']; $Name=$_POST['Name']; $ContactNo=$_POST['mobileNo']; $emailId=$_POST['emailId']; $City=$_POST['city']; $State=$_POST['state']; echo $owneraddress=$_POST['owneradd']; mysql_query("update addeuro set Name='$Name',mobileNo='$ContactNo',emailId='$emailId', owneradd='$owneraddress',city='$City',state='$State',price='$Price',price2='$Price2', moneytype='$moneytype' where id='$recordid'"); mysql_query("update postpropery set Name='$Name',mobileNo='$ContactNo',emailId='$emailId', owneradd='$owneradd',city='$City',state='$State',price='$Price',price2='$Price2', moneytype='$moneytype' where id='$recordid'"); header('location:vendor_resi.php'); ?> 6.22 Update6.php <?php include("openconnection.php"); error_reporting(E_PARSE); ?> <?php $sql = "select id,propType,address,owneradd,FlatsSize,FlatsLocation,price,price2, moneytype,state,city, mobileNo,emailId,Name,prop_desc,Date,Time,propimage from addeuro where propertytype='Residental' AND propertyCat='Buy' UNION select id,propType,address,owneradd,FlatsSize,FlatsLocation, price,price2, moneytype,state, city,mobileNo,emailId,Name,prop_desc,Date,Time,propimage from postpropery where propertytype='Residental' AND propertyCat='Buy'"; $result = mysql_query($sql); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
60

<title>upload client</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <style type="text/css"> <!-.style2 {font-size: 16; font-weight: bold; } --></style></head> <body><div id="main_content"><?php include('include/adminheader.php');?> <div id="main_content2"><!-- end of column one --> <div class="column5"> <?php include('include/adminlogin.php');?> <div class="titlebig">Residental Client(Buy) </div> <table width="210" border="0" bgcolor="#00CC99"> <tr> <td width="19%"><a href="addclient_resi_buy.php" class="menu_row">Add Client</a></td> <td width="19%"><a href="removeclient_resi_buy.php" class="menu_row">Remove Client</a></td> <td width="19%"><a href="updclient_resi_buy.php" class="menu_row">Update Client</a></td> </tr></table> <table width="1000" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC"> <tr bgcolor="#0066CC"> <td width="37" height="28" bgcolor="#D26F36" class="tab"><div align="center">S.No</div></td><td width="37" height="28" bgcolor="#D26F36" class="tab"><div align="center">ID</div></td> <td width="37" height="28" bgcolor="#D26F36" class="tab"><div align="center">Property Type </div></td> <td width="75" bgcolor="#D26F36" class="tab"><div align="center">Name</div></td> <td width="75" bgcolor="#D26F36" class="tab"><div align="center">Mobile No.</div></td> <td width="71" bgcolor="#D26F36" class="tab"><div align="center">Email_id</div></td><td width="101" bgcolor="#D26F36" class="tab"><div align="center">Owner Address</div></td> <td width="127" bgcolor="#D26F36" class="tab"><div align="center">Property Size</div></td> <td width="101" bgcolor="#D26F36" class="tab"><div align="center">Property Address</div></td>

61

<td width="140" bgcolor="#D26F36" class="tab"><div align="center">Property Location</div></td> <td width="71" bgcolor="#D26F36" class="tab"><div align="center">Property Cost</div></td> <td width="150" bgcolor="#D26F36" class="tab"><div align="center">Property Description</div></td> <td width="90" bgcolor="#D26F36" class="tab"><div align="center">Property Image</div></td> <td width="90" bgcolor="#D26F36" class="tab"><div align="center">Update</div></td> <?php $i=1; while($row = mysql_fetch_array($result)){?> <tr class="current"> <td align="center" class="text"><?php echo $i;?></td> <td align="center" class="text"><?php echo $row['id'];?></td> <td align="left" class="text"><?php echo $row['propType'];?></td> <td align="justify" class="text"><?php echo $row['Name']; ?></td> <td align="justify" class="text"><?php echo $row['mobileNo'];?> </td> <td align="justify" class="text"><?php echo $row['emailId']; ?></td> <td align="justify" class="text"><?php echo $row['owneradd']; ?></td> <td align="justify" class="text"><?php echo $row['FlatsSize'];?></td> <td align="justify" class="text"><?php echo $row['address']."".$row['City']."". $row['state'];?></td> <td align="justify" class="text"><?php echo $row['FlatsLocation'];?></td> <td align="justify" class="text"><?php echo $row['price']."-".$row['price2']. " ".$row['moneytype'];?></td> <td align="justify" class="text"><?php echo $row['prop_desc'];?></td> <td align="justify" class="text"><img src="image/<?php echo $row['propimage']; ?>" width="160" height="100"></td> <td height="25" align="center" class="more"><a href="update_resi_buy.php?Id=<?php print $row[id]; ?>"class="more">Update</a></td> </td> </tr> <?php $i++; ?> <?php }?> </table> </div> </tr>

<!-- end of column four --> <!-- end of column two --> <!-- end of main_content --> <div id="footer2"> <div id="copyright2"></div> </div> </div>
62

<p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p><?php include('include/footer.php');?></div></body></html> 6.23 Updateproprent.php <?php include("openconnection.php"); error_reporting(E_PARSE);?> <?php $recordid = $_GET['Id']; $sql ="SELECT id,propertytype,propType,prop_desc,FlatsSize,FlatsLocation,address, price,price2, moneytype,mobileNo,emailId,Name,propimage FROM addeuro where propertyCat='Rent'UNION SELECT id, propertytype,propType,prop_desc,FlatsSize,FlatsLocation,address,price,price2,moneytype,mobil eNo, emailId,Name,propimage FROM postpropery where propertyCat='Rent'"; $result = mysql_query($sql); while($row = mysql_fetch_array($result)) $id=$row['id']; $Transaction=$row['propertyCat']; {

$Propertytype=$row['propertytype']; $Proptype=$row['propType']; $Propertytitle=$row['propertytitle']; $ContactNo=$row['mobileNo']; $propaddress=$row['address']; $City=$row['city']; $Name=$row['Name'] ; $emailId=$row['emailId']; $owneraddress=$row['owneradd']; $PropertyLocation=$row['FlatsLocation']; $price2=$row['price2'];

$State=$row['state'];

$Propertysize=$row['FlatsSize']; $price=$row['price']; $moneytype=$row['moneytype'];

$Propertydesc=$row['prop_desc']; }?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>update comc buy</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
63

<style type="text/css"> <!-.style2 {font-size: 16; font-weight: bold; } .style3 {font-style: italic} --></style></head> <body><div id="main_content"><?php include('include/adminheader.php');?> <div id="main_content2"><!-- end of column one --> <div class="column5"> <?php include('include/adminlogin.php');?> <div class="titlebig">Admin Panel</div> <form action = "updaterent.php" method = "post"> <table width="60%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC"> <tr> <td><div align="left">Id:</div></td> </tr> <tr>

<td><div align="left"><?php echo $recordid; ?></div></td> <td><div align="left">Property type:</div></td> <td><div align="left"><?php echo $Proptype;?></div></td> <td><div align="left">Contact No:</div></td>

</tr> <tr>

<td><div align="left">

<input name="mobileNo" type="text" class="form_input" id="mobileNo" size="30" value ="<?php echo $ContactNo; ?>" required="required"/> <td><div align="left">Email Id:</div></td> </div></td> </tr> <tr>

<td><div align="left">

<input name="emailId" type="text" class="form_input" id="emailId" size="30" value = "<?php echo $emailId;?> "required="required" /> </div></td> </tr> <tr>

<td><div align="left">Owner Address:</div></td> <td><input class="form_input" type="text" id="owneradd" value = "<?php echo $owneraddress."".$City."".$state;?>"></td> </tr> <tr>

<td><div align="left">Property Location:</div></td> <td><div align="left"><?php echo $PropertyLocation;?></div></td> <td><div align="left">Property Size:</div></td> <td><div align="left"><?php echo $Propertysize;?></div></td> <td><div align="left">Property Address:</div></td> <td><div align="left"><?php echo $propaddress;?></div></td> <td><div align="left">Property Cost:</div></td>
64

</tr>

<tr>

</tr>

<tr>

</tr>

<tr>

<td><div align="left">

<input name="FlatsCost" type="text" class="form_input" id="FlatsCost" size="30" value = "<?php echo $price."-".$price2." ".$moneytype;?> "required="required" /> </div></td> </tr> <tr> <td><div align="left">Property Description:</div></td> </tr> <tr>

<td><div align="left"><?php echo $Propertydesc;?></div></td> <td><div align="left">Property Image:</div></td>

<td><div align="left"><img src="image/<?php echo $image;?>" alt="" width="160" height="100" /></div></td> </tr> <tr>

<td><input type = "submit" name = "submit" value = "Update"/></td> <td><div align="left"> <input type = "hidden" name = "recordid" value = "<?php echo $recordid;?>"/> </div></td> </tr> </table> </form> <p>&nbsp;</p> </div> <!-- end of column two --> <!-- end of main_content -->

<!-- end of column four --> <div id="footer2">

<div id="copyright2"></div> </div> </div>

<p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p><?php include('include/footer.php');?></div></body></html> 6.24 Updatepropsell.php <?php include("openconnection.php"); error_reporting(E_PARSE);?> <?php $recordid = $_GET['Id']; $sql ="SELECT id,propertytype,propType,prop_desc,FlatsSize,FlatsLocation,address, price,price2, moneytype,mobileNo,emailId,Name,propimage FROM addeuro where propertyCat='Sell'UNION SELECT id, propertytype,propType,prop_desc,FlatsSize,FlatsLocation,address,price,price2,moneytype,mobil eNo, emailId,Name,propimage FROM postpropery where propertyCat='Sell'"; $result = mysql_query($sql); while($row = mysql_fetch_array($result)) $id=$row['id']; $Transaction=$row['propertyCat']; {

$Propertytype=$row['propertytype']; $Proptype=$row['propType']; $Propertytitle=$row['propertytitle']; $Name=$row['Name'] ;


65

$ContactNo=$row['mobileNo']; $emailId=$row['emailId']; $propaddress=$row['address']; $owneraddress=$row['owneradd']; $City=$row['city']; $State=$row['state'];

$PropertyLocation=$row['FlatsLocation']; $price=$row['price'];

$Propertysize=$row['FlatsSize']; $moneytype=$row['moneytype'];

$price2=$row['price2'];

$Propertydesc=$row['prop_desc']; }?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>update comc buy</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <style type="text/css"> <!-.style2 {font-size: 16; font-weight: bold; } .style3 {font-style: italic} --></style></head> <body><div id="main_content"><?php include('include/adminheader.php');?> <div id="main_content2"><!-- end of column one --><div class="column5"> <?php include('include/adminlogin.php');?><div class="titlebig">Admin Panel</div> <form action = "updatesell.php" method = "post"> <table width="60%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC"> <tr> <td><div align="left">Id:</div></td> </tr> <tr>

<td><div align="left"><?php echo $recordid; ?></div></td> <td><div align="left">Property type:</div></td> <td><div align="left"><?php echo $Proptype;?></div></td> <td><div align="left">Contact No:</div></td>

</tr> <tr>

<td><div align="left">

<input name="mobileNo" type="text" class="form_input" id="mobileNo" size="30" value ="<?php echo $ContactNo; ?>" required="required"/> <td><div align="left">Email Id:</div></td>
66

</div></td>

</tr>

<tr>

<td><div align="left">

<input name="emailId" type="text" class="form_input" id="emailId" size="30" value = "<?php echo $emailId;?> "required="required" /> </div></td> </tr> <tr>

<td><div align="left">Owner Address:</div></td> <td><input class="form_input" type="text" id="owneradd" value = "<?php echo $owneraddress."".$City."".$state;?>"></td> </tr> <tr>

<td><div align="left">Property Location:</div></td> <td><div align="left"><?php echo $PropertyLocation;?></div></td> <td><div align="left">Property Size:</div></td> <td><div align="left"><?php echo $Propertysize;?></div></td> <td><div align="left">Property Address:</div></td> <td><div align="left"><?php echo $propaddress;?></div></td> <td><div align="left">Property Cost:</div></td> </tr> <tr> </tr> <tr> </tr> <tr>

<td><div align="left">

<input name="FlatsCost" type="text" class="form_input" id="FlatsCost" size="30" value = "<?php echo $price."-".$price2." ".$moneytype;?> "required="required" /> </div></td> </tr> <tr>

<td><div align="left">Property Description:</div></td> <td><div align="left"><?php echo $Propertydesc;?></div></td> <td><div align="left">Property Image:</div></td> <td><div align="left"><img src="image/<?php echo $image;?>" alt="" width="160" height="100" /></div></td> </tr> <tr> <td><input type = "submit" name = "submit" value = "Update"/></td> <td><div align="left"> echo $recordid;?>"/> <input type = "hidden" name = "recordid" value = "<?php </tr> </table> </form> <p>&nbsp;</p> </div> </tr> <tr>

</div></td>

<!-- end of column four --> <div id="footer2">

<!-- end of column two --> <!-- end of main_content -->

<div id="copyright2"></div> </div> </div>

<p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p><?php include('include/footer.php');?> </div> </body> </html>
67

6.25 Updaterent.php <?php include("openconnection.php"); error_reporting(E_PARSE); $recordid = $_POST['recordid']; $FlatsCost=$_POST['FlatsCost']; $ex = explode("-",$FlatsCost); echo $price=$ex['0']; $ex1 = $ex['1']; $ex2 = explode(" ",$ex1); echo $price2= $ex2['0']; echo $moneytype=$ex2['1']; $Name=$_POST['Name']; $ContactNo=$_POST['mobileNo']; $emailId=$_POST['emailId']; $City=$_POST['city']; $State=$_POST['state']; $owneraddress=$_POST['owneradd']; mysql_query("update addeuro set Name='$Name',mobileNo='$ContactNo',emailId='$emailId', owneradd='$owneraddress',city='$City',state='$State',price='$Price',price2='$Price2', moneytype='$moneytype' where id='$recordid'"); mysql_query("update postpropery set Name='$Name',mobileNo='$ContactNo',emailId='$emailId', owneradd='$owneradd',city='$City',state='$State',price='$Price',price2='$Price2', moneytype='$moneytype' where id='$recordid'"); header('location:property_rent.php');?> 6.26 Updatesell.php <?php include("openconnection.php"); error_reporting(E_PARSE); $recordid = $_POST['recordid']; $FlatsCost=$_POST['FlatsCost']; $ex = explode("-",$FlatsCost); echo $price=$ex['0']; $ex1 = $ex['1']; $ex2 = explode(" ",$ex1); echo $price2= $ex2['0']; echo $moneytype=$ex2['1']; $Name=$_POST['Name']; $ContactNo=$_POST['mobileNo']; $emailId=$_POST['emailId']; $City=$_POST['city']; $State=$_POST['state']; $owneraddress=$_POST['owneradd']; mysql_query("update addeuro set Name='$Name',mobileNo='$ContactNo',emailId='$emailId', owneradd='$owneraddress',city='$City',state='$State',price='$Price',price2='$Price2',
68

moneytype='$moneytype' where id='$recordid'"); mysql_query("update postpropery set Name='$Name',mobileNo='$ContactNo',emailId='$emailId', owneradd='$owneradd',city='$City',state='$State',price='$Price',price2='$Price2', moneytype='$moneytype' where id='$recordid'"); header('location:property_sell.php'); ?> 6.27 Updproprent.php <?php include("openconnection.php"); error_reporting(E_PARSE); ?> <?php $sql = "SELECT id,propertytype,propType,prop_desc,FlatsSize,FlatsLocation,address, price,price2, moneytype,mobileNo,emailId,Name,propimage FROM addeuro where propertyCat='Rent'UNION SELECT id, propertytype,propType,prop_desc,FlatsSize,FlatsLocation,address,price,price2,moneytype,mobil eNo, emailId,Name,propimage FROM postpropery where propertyCat='Rent'"; $result = mysql_query($sql);?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>property_sell</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <style type="text/css"> <!-.style2 {font-size: 16; font-weight: bold; } --></style></head> <body><div id="main_content"><?php include('include/adminheader.php');?> <div id="main_content2"><!-- end of column one --><div class="column5"> <?php include('include/adminlogin.php');?> <div class="titlebig">Property sell</div>
69

<table width="210" border="0" bgcolor="#00CC99"> <tr> <td width="19%"><a href="add_sell_property.php" class="menu_row">Add Property</a></td> <td width="19%"><a href="removepropsell.php"

class="menu_row">Remove Property</a></td> <td width="19%"><a href="updpropsell.php" class="menu_row">Update Property</a></td> </tr> </table>

<table width="1000" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC"> <tr bgcolor="#0066CC"> <td width="37" height="28" bgcolor="#D26F36" class="tab">S.No</td> <td width="37" height="28" bgcolor="#D26F36" class="tab">ID</td> <td width="98" bgcolor="#D26F36" class="tab">Property Owner Details</td> <td width="98" bgcolor="#D26F36" class="tab">Property Category</td> <td width="100" bgcolor="#D26F36" class="tab">Property Type</td> <td width="97" bgcolor="#D26F36" class="tab">Property Description</td> <td width="62" bgcolor="#D26F36" class="tab">Property Size</td> <td width="84" bgcolor="#D26F36" class="tab">Property Location</td> <td width="76" bgcolor="#D26F36" class="tab">Property Address</td> <td width="104" bgcolor="#D26F36" class="tab">property Cost</td> <td width="94" bgcolor="#D26F36" class="tab">View Image</td> <td width="94" bgcolor="#D26F36" class="tab">Update</td> </tr> <?php $i=1; while($row = mysql_fetch_array($result)) { ?> <tr class="current"> <td align="center" class="text"><?php echo $i;?></td> <td align="left" class="text"><?php echo $row['id'];?></td> <td align="left" class="text"><?php echo $row['Name']."</br>". $row['mobileNo']."</br>".$row['emailId'];?></td> <td align="left" class="text"><?php echo $row['propertytype'];?></td> <td align="left" class="text"><?php echo $row['propType'];?></td> <td align="justify" class="text"><?php echo $row['prop_desc'];?> </td> <td align="justify" class="text"><?php echo $row['FlatsSize'];?> </td> <td align="justify" class="text"><?php echo $row['FlatsLocation']; ?></td>
70

<td align="justify" class="text"><?php echo $row['address'];?></td> <td align="justify" class="text"><?php echo $row['price']."-".$row['price2'] ."".$row['moneytype'];?></td> <td align="justify" class="text"><img src="image/<?php echo $row['propimage']; ?>" width="160" height="100"></td> <td height="25" align="center" class="more"><a href="updateproprent.php?Id=<?php print $row[id]; ?>"class="more">Update</a></td></td></tr><?php $i++;?> <?php }?> </table> </div> <!-- end of column four --> <div id="footer2"> <!-- end of column two --> <!-- end of main_content -->

<div id="copyright2"></div> </div> </div>

<?php include('include/footer.php');?> </div> </body> </html> 6.28 Updpropsell.php <?php include("openconnection.php"); error_reporting(E_PARSE); ?> <?php $sql = "SELECT id,propertytype,propType,prop_desc,FlatsSize,FlatsLocation,address, price,price2, moneytype,mobileNo,emailId,Name,propimage FROM addeuro where propertyCat='Sell'UNION SELECT id, propertytype,propType,prop_desc,FlatsSize,FlatsLocation,address,price,price2,moneytype,mobil eNo, emailId,Name,propimage FROM postpropery where propertyCat='Sell'"; $result = mysql_query($sql);?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>property_sell</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <style type="text/css">
71

<!-.style2 {font-size: 16; font-weight: bold; } --></style></head> <body><div id="main_content"><?php include('include/adminheader.php');?> <div id="main_content2"><!-- end of column one --> <div class="column5"> <?php include('include/adminlogin.php');?> <div class="titlebig">Property sell</div> <table width="210" border="0" bgcolor="#00CC99"> <tr> <td width="19%"><a href="add_sell_property.php" class="menu_row">Add Property</a></td> <td width="19%"><a href="removepropsell.php" class="menu_row">Remove Property</a></td> <td width="19%"><a href="updpropsell.php" class="menu_row">Update Property</a></td> </tr> </table>

<table width="1000" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC"> <tr bgcolor="#0066CC"> <td width="37" height="28" bgcolor="#D26F36"

class="tab">S.No</td> <td width="37" height="28" bgcolor="#D26F36" class="tab">ID</td> <td width="98" bgcolor="#D26F36" class="tab">Property Owner Details</td> <td width="98" bgcolor="#D26F36" class="tab">Property Category</td> <td width="100" bgcolor="#D26F36" class="tab">Property Type</td> <td width="97" bgcolor="#D26F36" class="tab">Property Description</td> <td width="62" bgcolor="#D26F36" class="tab">Property Size</td> <td width="84" bgcolor="#D26F36" class="tab">Property Location</td> <td width="76" bgcolor="#D26F36" class="tab">Property Address</td> <td width="104" bgcolor="#D26F36" class="tab">property Cost</td> <td width="94" bgcolor="#D26F36" class="tab">View Image</td> <td width="94" bgcolor="#D26F36" class="tab">Update</td> <?php $i=1; while($row = mysql_fetch_array($result)){?> <tr class="current"> <td align="center" class="text"><?php echo $i;?></td> <td align="left" class="text"><?php echo $row['id'];?></td> <td align="left" class="text"><?php echo $row['Name']."</br>". $row['mobileNo']."</br>".$row['emailId'];?></td>
72

</tr>

<td align="left" class="text"><?php echo $row['propertytype'];?></td> <td align="left" class="text"><?php echo $row['propType'];?></td> <td align="justify" class="text"><?php echo $row['prop_desc'];?> </td> <td align="justify" class="text"><?php echo $row['FlatsSize'];?> </td> <td align="justify" class="text"><?php echo $row['FlatsLocation']; ?></td> <td align="justify" class="text"><?php echo $row['address'];?></td> <td align="justify" class="text"><?php echo $row['price']."-".$row['price2'] ."".$row['moneytype'];?></td> <td align="justify" class="text"><img src="image/<?php echo $row['propimage']; ?>" width="160" height="100"></td> <td height="25" align="center" class="more"><a href="updatepropsell.php?Id=<?php print $row[id]; ?>"class="more">Update</a></td> </td> </tr> <?php $i++;?> <?php }?> </table> </div> <!-- end of column four --> <div id="footer2"> <!-- end of column two --> <!-- end of main_content -->

<div id="copyright2"></div> </div> </div>

<?php include('include/footer.php');?> </div> </body> </html> 6.29 Vedio.php <?php error_reporting(E_PARSE); include("openconnection.php"); $recordid=$_REQUEST['Id']; $row=mysql_query("select * from addeuro where id='$recordid'"); $rowRs=mysql_fetch_array($row);?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="style.css" rel="stylesheet" type="text/css"> <link rel="shortcut icon" href="images/logo.gif" />
73

<style type="text/css"> <!-.style9 { color: #1f5b9e; font-weight: bold; } --> </style> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> <script src="js/slides.min.jquery.js"></script> <script> $(function(){ $('#slides').slides({ preload: true, preloadImage: 'img/loading.gif', play: 5000, pause: 2500, hoverPause: true,animationStart: function(current){ $('.caption').animate({ bottom:-35},100); if (window.console && console.log) { console.log('animationStart on slide: ', current);};}, animationComplete: function(current){ $('.caption').animate({ bottom:0 },200); if (window.console && console.log) {

console.log('animationComplete on slide: ', current);};}, slidesLoaded: function() { $('.caption').animate({ bottom:0 },200); }}); }); </script> <script type="text/JavaScript"> <!-function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}
74

//--> </script></head><body> <table width="1000" border="0" cellspacing="0" cellpadding="0" align="center"> <td class="header"><?php include('include/menu.php');?></td> </tr> <tr> <td align="left" valign="top"><p>&nbsp;</p> <table width="545" border="0" align="center" cellpadding="0" cellspacing="0"> <td width="549" height="1" colspan="4"></td> </tr> <tr> <tr> <tr>

<td height="30" colspan="4" background="images/bar_bg.gif"><div align="center"><?php echo $rowRs['FlatsType']; ?> <span class="style9">Video</span></div></td> </tr> <tr valign="top">

<td colspan="4"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="10" colspan="5"></td> </tr> <tr> <td></td> <td width="85" align="left" valign="top">&nbsp;</td> <td width="167" class="text_bold">&nbsp;</td> <td width="88" valign="middle" class="text_bold">&nbsp;</td> <td width="201" height="19" valign="middle" class="text">&nbsp;</td> </tr> <tr> <td width="4"></td> <td height="3" colspan="4" valign="top"></td> </tr> <tr> <td width="4"></td> <td height="3" colspan="4" valign="top"></td> </tr> <tr> <td width="4"></td> <td height="3" colspan="4" valign="top"></td> </tr> <tr> <td></td> <td valign="top">&nbsp;</td> <td class="text_bold">&nbsp;</td> <td valign="middle" class="text_bold">&nbsp;</td> <td height="19">&nbsp;</td> </tr> <tr> <td width="4"></td> <td height="3" colspan="4" valign="top"></td> </tr> <tr> <td></td> <td valign="top">&nbsp;</td> <td class="text_bold">&nbsp;</td> <td valign="middle" class="text_bold">&nbsp;</td> <td height="19">&nbsp;</td> </tr> <tr> <td width="4"></td> <td height="3" colspan="4" valign="top"></td> </tr> <tr> <td></td> <td valign="top">&nbsp;</td> <td colspan="3" class="text_bold"><div><?php print $rowRs['vedio']; ?></div></td> </tr> <tr> <td width="4"></td> <td height="3" colspan="4" valign="top"></td> </tr> <tr> <td></td> <td valign="top">&nbsp;</td> <td class="text_bold">&nbsp;</td> <td class="text_bold"><?php print $rowRs['FlatsType']; ?></td> <td>&nbsp;</td> </tr> <tr> <td width="4"></td>

<td height="3" colspan="4" valign="top"></td> </tr> <tr> <td></td>


75

<td valign="top">&nbsp;</td> <td class="text_bold">&nbsp;</td> <tdclass="text_bold">&nbsp;</td> <td>&nbsp;</td> </tr> <tr>

<td width="4"></td> <td height="3" colspan="4" valign="top"></td> </tr> <tr> <td></td> <td valign="top">&nbsp;</td> <td class="text_bold">&nbsp;</td> <td class="text_bold">&nbsp;</td> <td>&nbsp;</td> </tr> <tr>

<td width="4"></td> <td height="3" colspan="4" valign="top"></td> </tr> <tr> <td></td> <td valign="top">&nbsp;</td> <td class="text_bold">&nbsp;</td> <td class="text_bold">&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td width="4"></td> <td height="3" colspan="4" valign="top"></td> </tr> <tr> <td width="4"></td> <td height="3" colspan="4" valign="top"></td> </tr> <tr> <td width="4"></td> <td valign="top">&nbsp;</td> <td colspan="2"></td> <td valign="top"><label></label></td> </tr> <tr> <td width="4"></td> <td colspan="4" valign="top">&nbsp;</td> </tr> </table> </form> </td> </tr> </table> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p></td> </tr> <tr><td align="center">

<?php include('include/footer.php');?></td> </tr></table></body> </html> 6.30 Adminheader.php <link href="../style.css" rel="stylesheet" type="text/css" /> <body> <div id="header"> <div class="menu"> <ul>

<li><a href="admin.php">Home</a></li> <li><a href="Aabout_us.php">About Us</a> </li> <li><a href="Abuy.php">Buy Property</a></li> <li><a href="Asell_property.php">Sell Property</a></li> <li><a href="Arent_property.php">Rent Property</a></li> <li><a href="Alist_all_property.php">List All Property</a></li> <li><a href="Apost_requirement.php">Post Requirement </a></li> <li><a href="adminfeedback.php">Feedback</a></li> <li><a href="Acontactus.php">Contact</a></li> </ul> </div> <table width="1000" height="175" border="0" cellpadding="0" cellspacing="0"> <tr>

<td width="259" align="center" valign="middle"><img src="images/logo.gif" alt="" width="250" height="150" border="1" /></td> <td width="731"><img </tr> </table> </div>

src="images/banner.gif" width="700" height="150" /></td>

<div id="mainlogin"> <table width="1000" border="0" cellpadding="0" cellspacing="0"> <tr>

76

<td width="509" align="left" bgcolor="#FFFFFF"><span class="font1">Welcome to admin panel</span></td> <?php session_start(); $_SESSION['uid'] = $rec['id']; $username = $_SESSION['username']; $email = $_SESSION['email']; $contact=$_SESSION['contact']; print("Welcome"." " .$username."<br>"); print("".$email."<br>"); print("Contact No".":"." ".$contact."<br>");?> </div></td> <td width="311" bgcolor="#FFFFFF"><div class="proposal">

<td width="160" align="right" valign="top" bgcolor="#FFFFFF"><div class="logout"><a href="logout.php" class="logout">Log Out</a></div></td> </tr> </table> </div>

77

7.TESTING
Software testing is the process of executing a program with intension of finding errors in the code. It is a process of evolution of system or its parts by manual or automatic means to verify that it is satisfying specified or requirements or not. Generally, no system is perfect due to communication problems between user and developer, time constraints, or conceptual mistakes by developer. To purpose of system testing is to check and find out these errors or faults as early as possible so losses due to it can be saved. Testing is the fundamental process of software success. Testing is not a distinct phase in system development life cycle but should be applicable throughout all phases i.e. design development and maintenance phase. Testing is used to show incorrectness and considered to success when an error is detected. 7.1 OBJECTIVES OF SOFTWARE TESTING The software testing is usually performed for the following objectives:SOFTWARE QUALITY IMPROVEMENT:- The computer and the software are mainly used for complex and critical applications and a bug or fault in software causes severe losses. So a great consideration is required for checking for quality of software.

VERIFICATION AND VALIDATION:Verification means to test that we are building the product in right way .i.e. are we using the correct procedure for the development of software so that it can meet the user requirements. Validation means to check whether we are building the right product or not. SOFTWARE RELIABILTY ESTIMATION:- The objective is to discover the residual designing errors before delivery to the customer. The failure data during process are taken down in order to estimate the software reliability. 7.2 PRINCIPLES OF SOFTWARE TESTING Software testing is an extremely creative and challenging task. Some important principles of software testing are as given:All tests should be traceable to customer requirements. Testing time and resources should be limited i.e. avoid redundant testing. It is impossible to test everything. Use effective resources to test. Test should be planned long before testing begins i.e. after requirement phase.
78

Test for invalid and unexpected input conditions as well as valid conditions. Testing should begin in in the small and progress towards testing in the large. For the most effective testing should be conducted by an independent party. Keep software static (without change mean while) during test. Document test cases and test results. Examining what the software not doing which it expected to do and also checking. 7.3 STRATEGY FOR SOFTWARE TESTING Different levels of testing are used in the test process; each level of testing aims to test different aspects of the system. The first level is unit testing. In this testing, individual components are tested to ensure that they operate correctly. It focuses on verification efforts. The second level is integration testing. It is a systematic technique for constructing the program structure. In this testing, many tested modules are combined into the subsystem which are then tested. The good here is to see if the modules can be integrated properly. Third level is integration testing. System testing is actually a series of different tests whose primary purpose is to fully exercise computer based system. These tests fall outside scope of software process and are not conducted solely by software engineers.

79

8. SCREAN SHOTS

8.1 Home page

80

8.2 About Us

81

8.3 Sell Property

82

8.4 Post Requirement

83

8.5 Contact Us

84

8.6 Feedback

85

CONCLUSION With the completion of my project I conclude that it has achieved its purpose and it is up to my satisfaction. The whole project provides a base for users to manage the ePropetry (Real Estate) efficiently and quickly. Wish that my application of eProperty would be beneficial for the user in this technical aera.

Bibliography

MYSQL SERVER

MSDN, Mastering Microsoft MYSQL Server

PHP

Complete Reference

86

Вам также может понравиться