-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlistProperty.php
435 lines (400 loc) · 12.5 KB
/
listProperty.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
<?php
session_start();
include 'main.php';
if(isset($_POST['list-prop-upload-1']) || isset($_POST['list-prop-continue-2'])){
require 'list-prop-upload.php';
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="real, estate, rpoperties, patna, bihar, buy, rent, house, apartments,room, sell, property">
<title>List Property|RSK</title>
<link rel="stylesheet" type="text/css" href="rsk-web.css">
<link rel="icon" type="image/png" href="images/rsk-icon.png"/>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet">
</head>
<body>
<?php
include 'header.php';
include 'modals.php';
?>
<style>
.prop-page{
background: #7fff00;
width: 100%;
height: 100%;
}
</style>
<div style="display:inline-flex; width: 100%; align-items:center;justify-content:center;">
<hr class="upload-1" style="width:40%; margin:0; padding:0;">
<hr class="upload-2" style="width:40%; margin:0; padding:0;">
</div>
<?php if(!isset($_SESSION['basic-uploaded']) && !isset($_SESSION['prop-uploaded'])){ ?>
<div class="buy-top" style="display: inline-flex; align-items: center; justify-content: center; width: 100%; position: relative; height: 200px; background-image: url('images/real-estate5.png'); background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: 100% 100%;">
<h1 style="color: rgb(243, 237, 237); text-align: center;padding: 2%; margin: 0; font-family: Verdana, Geneva, Tahoma, sans-serif; background-color: rgba(0, 0, 0, 0.4);">Sell or Rent Your Property</h1>
</div>
<style>
h1{
font-size: 300%;
}
@media screen and (max-width: 600px) {
h1{
font-size: 250%;
}
}
</style>
<div class="list-property-inline" style="width: 100%;display: inline-flex; align-items: center; justify-content: center;" >
<div class="list-property-view" style="max-width: 1000px;background-color: white;height: 100%;margin-top: 2%;">
<div class="list-property" style="padding-left: 1%;">
<div class="list-property-left">
<div class="list-property-right-top">
<p>You are posting this property for <strike>Rs5000</strike>
<b style="background-color: burlywood;">FREE!</b></p>
<span class="material-icons">
check_circle
</span><i>Free Professional Photoshoot</i><br>
<span class="material-icons">
check_circle
</span><i>Get genuine buyers</i><br>
<span class="material-icons">
check_circle
</span><i>Sell Faster</i>
</div>
<style>
.list-property span.material-icons{
font-size: 15px;
color: cornflowerblue;
}
</style>
<form class="list-property-form" action="" method="post" enctype="multipart/form-data">
<div class="list-personal-details">
<h4>Personal Details</h4>
I am
<input type="radio" name="uploader-type" id="radio" value="Owner">
<label for="radio">Owner</label>
<input type="radio" name="uploader-type" id="radio" value="Agent">
<label for="radio">Agent</label>
<input type="radio" name="uploader-type" id="radio" value="other">
<label for="radio">Other</label>
<div class="form-name">
<input type="text" name="p-name" id="f-name" placeholder="Name" value="<?php echo $_SESSION["name"]; ?>">
<!--<input type="text" name="l-name" id="l-name" placeholder="Last Name">-->
</div>
<input type="phone" name="p-mobile" id="mobile" placeholder="Mobile Number">
<input type="email" name="p-email" id="email" placeholder="Email">
</div>
<div class="list-property-details">
<h4>Property Details</h4>
For
<input type="radio" name="upload-for" id="radio" value="Sell">
<label for="radio">Sell</label>
<input type="radio" name="upload-for" id="radio" value="Rent/Lease">
<label for="radio">Rent/Lease</label>
<input type="radio" name="upload-for" id="radio" value="PG/Hostel">
<label for="radio">PG/Hostel</label>
<br>
<br>
<label for="select-type">Property type</label><br>
<select class="property-type" name="property-type">
<option selected>Select..</option>
<option>Residential-1 BHK</option>
<option>Residential-2 BHK</option>
<option>Residential-3 BHK</option>
<option>Commercial</option>
<option>Parking</option>
<option>Office</option>
<option>Bungalow</option>
<option>Industral</option>
</select>
</div>
<div class="list-property-location">
<h4>Property Location</h4>
<label for="city-name"></label>
<input type="text" name="property-city" id="city-name" placeholder="city">
<input type="text" name="property-locality" id="locality-name" placeholder="Locality">
<br>
<input type="hidden" name="size" value="100000">
<label for="p-img" style="display: block; margin:2% 0;"><b>Upload Images</b></label>
<input type="file" name="image">
</div>
<textarea name="query" id="query" cols="30" rows="10" placeholder="Enter any message"></textarea><br>
<input type="checkbox" id="check1" name="rsk-exclusivity" value="Yes" checked required>I am posting this property 'exclusively' on RSK
` <br>
<input type="checkbox" id="check2" name="agree-whatsapp" value="Yes" checked>I want to receive responses on Whatsapp
<br>
<?php if(isset($_SESSION["loggedin"])){ ?>
<input type="submit" name="list-prop-upload-1" id="list-prop-upload" value="Continue">
<?php } ?>
</form>
<?php if(!isset($_SESSION["loggedin"])){ ?>
<button name="list-prop-login" id="list-prop-login" onclick="document.getElementById('myBtn').click()">Login and Continue</button>
<style>
div.list-property button#list-prop-login {
position: relative;
left: 15%;
text-align: center;
background-color: rgb(30, 219, 71);
border: none;
width: 50%;
font-size: 110%;
line-height: 30px;
margin: 4% 0;
border-radius: 5px;
cursor: pointer;
}
* {
box-sizing: border-box;
}
</style>
<?php } ?>
</div>
<div class="list-property-right">
<p>You are posting this property for <strike>Rs5000</strike>
<b style="background-color: burlywood;">FREE!</b></p>
<span class="material-icons">
check_circle
</span><i>Free Professional Photoshoot</i><br>
<span class="material-icons">
check_circle
</span><i>Get genuine Buyers</i><br>
<span class="material-icons">
check_circle
</span><i>Sell Faster</i>
</div>
</div>
<img src="images/real-estate5.png" alt="" width="100%" height="400px">
</div>
</div>
<?php } ?>
<?php if(isset($_SESSION['basic-uploaded']) && !isset($_SESSION['prop-uploaded'])){ ?>
<style>
hr.upload-1{
border:10px solid red;
color:blue;
z-index:1;
}
</style>
<div class="list-property-inline" style="width: 100%;display: inline-flex; align-items: center; justify-content: center;" >
<div class="list-property-view" style="max-width: 1000px;background-color: white;height: 100%;margin-top: 2%;">
<div class="list-property" style="padding-left: 1%;">
<div class="list-property-left">
<form class="list-property-form" action="" method="post">
<div class="list-personal-details">
<div class="form-name">
Price: <br>
<input name="prop-price" type="text" placeholder="Price">
Property Title: <br>
<input type="text" name="prop-title" id="" placeholder="e.g. 3 BHK Independent House, 5 BHK Bungalow etc.... ">
<br>
<b>Property Confugrations</b><br><br>
Build-up Area: <br>
<input type="text" name="prop-buildup-area" id="prop-buildup-area" placeholder="Build-up Area Value">
Configuration: <br>
<input type="text" name="prop-config" id="prop-config" placeholder="eg. 3 BHK, 5BHK etc.">
Possession Status: <br>
<input type="date" name="prop-posess-status" id="prop-posess-status" placeholder="eg. 31st Jan, 2002">
<br>
Facing: <br>
<input type="text" name="prop-facing" id="" placeholder="eg. East">
<br>
Carpet Area: <br>
<input type="text" name="prop-carpet-area" id="prop-carpet-area" placeholder="eg. 1120 ft">
Bathrooms: <br>
<input type="text" name="prop-bathrooms" id="prop-bathrooms" placeholder="eg. 3 BHK, 5BHK etc.">
Balcony: <br>
<input type="text" name="prop-balcony" id="prop-balcony" placeholder="eg. 3 BHK, 5BHK etc.">
Bedrooms: <br>
<input type="text" name="prop-bedrooms" id="prop-bedrooms" placeholder="eg. 3 BHK, 5BHK etc.">
</div>
</div>
<div class="list-property-details">
<label for="select-type">Parking:</label><br>
<select class="property-type" name="prop-parking">
<option selected>Select..</option>
<option value="Yes">Yes</option>
<option value="No">No</option>
</select>
</div>
About: <br>
<textarea name="about-property" id="about-property" cols="30" rows="10" placeholder="Write about property"></textarea><br>
<br>
<br>
<input type="submit" name="list-prop-continue-2" id="l-cont-2" value="Continue →">
</form>
</div>
</div>
<img src="images/real-estate5.png" alt="" width="100%" height="400px">
</div>
</div>
<style>
div.list-property {
width: 100%;
display: inline-flex;
align-content: center;
justify-content: center;
}
</style>
<?php } ?>
<?php if(isset($_SESSION['prop-uploaded'])){ ?>
<style>
hr.upload-1, hr.upload-2{
border:10px solid red;
color:blue;
z-index:1;
}
</style>
<div class="prop-upload">
<span class="material-icons" style="font-size: 150%; text-align:center;">
check_circle
</span><br>
<h2>Your Property is successfully Uploaded</h2>
</div>
<?php } ?>
<style>
form.list-property-form input[type=file]::-webkit-file-upload-button{
cursor: pointer;
}
div.list-property{
width: 100%;
display: inline-flex;
}
div.list-property-left{
width: 65%;
}
div.list-property-right{
width: 35%;
margin-top: 10%;
}
div.list-property-right-top{
display: none;
}
div.list-property .property-type{
width: 50%;
padding: 1%;
margin: 1%;
font-size: 110%;
border: none;
border-bottom: 1px solid rgb(1,1,1);
padding-bottom: 0;
cursor: pointer;
}
div.list-property input[type=text],input[type=phone],input[type=email], textarea{
width: 90%;
border: none;
border-bottom: 1px solid rgb(1,1,1);
margin: 1.5% 0;
padding: 0;
outline: none;
font-size: 105%;
}
div.list-property input[type=submit]{
position: relative;
left: 15%;
text-align: center;
background-color: rgb(30, 219, 71);
border: none;
width: 50%;
font-size: 110%;;
line-height: 30px;
margin:4% 0;
border-radius: 5px;
}
div.list-property input[type=submit]:hover{
opacity: 0.9;
cursor: pointer;
}
div.list-property input[type=checkbox]{
margin-left: 2%;
margin-top: 1%;
}
@media screen and (max-width:900px) {
div.list-property-left{
width: 100%;
}
div.list-property-right{
display: none;
}
div.list-property-right-top{
display: block;
}
}
@media screen and (max-width:600px) {
div.list-property .property-type{
width: 80%;
}
div.list-property input[type=text],input[type=phone],input[type=email], textarea{
width: 90%;
}
div.list-property input[type=submit]{
position: relative;
width: auto;
margin:4%;
}
div.list-property input[type=submit]:hover{
opacity: 0.9;
cursor: pointer;
}
div.list-property input[type=checkbox]{
margin-left: 2%;
}
}
</style>
<style>
span.check-circle{
font-size: 90%;
color: yellowgreen;
}
div.all-details{
max-width: 800px;
}
/*style for similer properties buttons*/
div select.property-type{
width: 50%;
padding: 1%;
margin: 1%;
font-size: 90%;
border: none;
border-bottom: 1px solid rgb(1,1,1);
padding-bottom: 0;
cursor: pointer;
}
div.contact-seller-form input[type=text],div.contact-seller-form input[type=tel],
div.contact-seller-form input[type=email],div.contact-seller-form textarea{
width: 90%;
border: none;
border-bottom: 1px solid rgb(1,1,1);
margin: 1.5% 0;
padding: 0;
outline: none;
font-size: 105%;
}
div.contact-seller-form input[type=submit]{
position: relative;
text-align: center;
background-color: rgb(30, 219, 71);
border: none;
width: 100%;
font-size: 110%;;
line-height: 30px;
margin:4% 0;
border-radius: 5px;
}
div.contact-seller-form input[type=submit]:hover{
opacity: 0.9;
cursor: pointer;
}
div.contact-seller-form input[type=checkbox]{
margin-left: 2%;
margin-top: 1%;
}
</style>
<?php
include 'foot.php';
?>
</body>
</html>