MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.118.255.51
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/.wp-cli/../uttamnagarproperties.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/.wp-cli/../uttamnagarproperties.com/sell-property-search.php
<form class="advance-search-form" action="search-property.php" method="get">
                                <div class="row field-wrap">
                                    <div class="option-bar col-xs-12 property-location">
                                        <select name="location" id="location" class="search-select">
                                            <option value="any">Location (Any)</option>
                                            <?php
												 $proLocSql = db_query("select * from tbl_location where 1 and location_pid='0'");
												 if(mysqli_num_rows($proLocSql)>0){
													 while($LOCDATA = mysqli_fetch_array($proLocSql)){
												?>
                                                <option value="<?=$LOCDATA['location_name']?>" <?php if($_REQUEST['location']==$LOCDATA['location_name']){ ?> selected <? } ?>> <?=$LOCDATA['location_name']?></option>
                                                 <?php
												$proSubLocSql = db_query("select * from tbl_location where 1 and location_pid='$LOCDATA[location_id]'");
												 if(mysqli_num_rows($proSubLocSql)>0){
													 while($SUBLOCDATA = mysqli_fetch_array($proSubLocSql)){
												?>
                                                <option value="<?=$LOCDATA['location_name']?>~<?=$SUBLOCDATA['location_name']?>" <?php if($_REQUEST['location']==$SUBLOCDATA['location_name']){ ?> selected <? } ?>>- <?=$SUBLOCDATA['location_name']?></option>
                                                <? }} ?>
                                                <? }} ?>
                                        </select>
                                    </div>
                                    <div class="option-bar col-xs-12 property-type">
                                        <select name="type" id="select-property-type" class="search-select">
                                            <option value="any" selected="selected">Property Type (Any)</option>
                                            <?php
												 $proTypeSql = db_query("select * from tbl_property_type where 1 and property_type_pid='0'");
												 if(mysqli_num_rows($proTypeSql)>0){
													 while($TYPEDATA = mysqli_fetch_array($proTypeSql)){
												?>
                                                <option value="<?=$TYPEDATA['property_type_name']?>" <?php if($_REQUEST['type']==$TYPEDATA['property_type_name']){ ?> selected <? } ?>> <?=$TYPEDATA['property_type_name']?></option>
                                                 <?php
												$proSubTypeSql = db_query("select * from tbl_property_type where 1 and property_type_pid='$TYPEDATA[property_type_id]'");
												 if(mysqli_num_rows($proSubTypeSql)>0){
													 while($SUBTYPEDATA = mysqli_fetch_array($proSubTypeSql)){
												?>
                                                <option value="<?=$TYPEDATA['property_type_name']?>~<?=$SUBTYPEDATA['property_type_name']?>" <?php if($_REQUEST['type']==$SUBTYPEDATA['property_type_name']){ ?> selected <? } ?>>- <?=$SUBTYPEDATA['property_type_name']?></option>
                                                <? }} ?>
                                                <? }} ?>
                                        </select>
                                    </div>
                                    <div class="option-bar col-xs-12 property-status">
                                        <select name="status" id="select-status" class="search-select">
                                            <option value="any" selected="selected">Property Status (Any)</option>
                                            <option value="For Rent" <?php if($_REQUEST['status']=='For Rent'){ ?> selected <? } ?>> For Rent</option>
                                            <option value="For Sale" <?php if($_REQUEST['status']=='For Sale'){ ?> selected <? } ?>> For Sale</option>
                                            <option value="For Lease" <?php if($_REQUEST['status']=='For Lease'){ ?> selected <? } ?>> For Lease</option>
                                        </select>
                                    </div>
                                    <!--<div class="option-bar col-xs-12 property-keyword">
                                        <input type="text" name="keyword" id="keyword-txt" value="" placeholder="Keyword">
                                    </div>-->
                                   
                                    <div class="option-bar col-xs-12 property-bedrooms">
                                        <select name="bedrooms" id="select-bedrooms" class="search-select">
                                            <option value="any" selected="selected">Min Bedrooms (Any)</option>
                                            <option value="1" <?php if($_REQUEST['bedrooms']=='1'){ ?> selected <? } ?>>1</option>
                                            <option value="2" <?php if($_REQUEST['bedrooms']=='2'){ ?> selected <? } ?>>2</option>
                                            <option value="3" <?php if($_REQUEST['bedrooms']=='3'){ ?> selected <? } ?>>3</option>
                                            <option value="4" <?php if($_REQUEST['bedrooms']=='4'){ ?> selected <? } ?>>4</option>
                                            <option value="5" <?php if($_REQUEST['bedrooms']=='5'){ ?> selected <? } ?>>5</option>
                                            <option value="6" <?php if($_REQUEST['bedrooms']=='6'){ ?> selected <? } ?>>6</option>
                                            <option value="7" <?php if($_REQUEST['bedrooms']=='7'){ ?> selected <? } ?>>7</option>
                                            <option value="8" <?php if($_REQUEST['bedrooms']=='8'){ ?> selected <? } ?>>8</option>
                                            <option value="9" <?php if($_REQUEST['bedrooms']=='9'){ ?> selected <? } ?>>9</option>
                                            <option value="10" <?php if($_REQUEST['bedrooms']=='10'){ ?> selected <? } ?>>10</option>
                                        </select>
                                    </div>
                                    
                                    <div class="option-bar col-xs-12 property-min-price">
                                        <select name="min-price" id="select-min-price" class="search-select">
                                            <option value="any" selected="selected">Min Price (Any)</option>
                                            <option value="1~Thousand" <?php if($_REQUEST['min-price']=='1~Thousand'){ ?> selected <? } ?>>1 Thousand</option>
                                            <option value="5~Thousand" <?php if($_REQUEST['min-price']=='5~Thousand'){ ?> selected <? } ?>>5 Thousand</option>
                                            <option value="10~Thousand" <?php if($_REQUEST['min-price']=='10~Thousand'){ ?> selected <? } ?>>10 Thousand</option>
                                            <option value="50~Thousand" <?php if($_REQUEST['min-price']=='50~Thousand'){ ?> selected <? } ?>>50 Thousand</option>
                                            <option value="1~Lakhs" <?php if($_REQUEST['min-price']=='1~Lakhs'){ ?> selected <? } ?>>1 Lakhs</option>
                                            <option value="2~Lakhs" <?php if($_REQUEST['min-price']=='2~Lakhs'){ ?> selected <? } ?>>2 Lakhs</option>
                                            <option value="3~Lakhs" <?php if($_REQUEST['min-price']=='3~Lakhs'){ ?> selected <? } ?>>3 Lakhs</option>
                                            <option value="4~Lakhs" <?php if($_REQUEST['min-price']=='4~Lakhs'){ ?> selected <? } ?>>4 Lakhs</option>
                                            <option value="5~Lakhs" <?php if($_REQUEST['min-price']=='5~Lakhs'){ ?> selected <? } ?>>5 Lakhs</option>
                                            <option value="6~Lakhs" <?php if($_REQUEST['min-price']=='6~Lakhs'){ ?> selected <? } ?>>6 Lakhs</option>
                                            <option value="7~Lakhs" <?php if($_REQUEST['min-price']=='7~Lakhs'){ ?> selected <? } ?>>7 Lakhs</option>
                                            <option value="8~Lakhs" <?php if($_REQUEST['min-price']=='8~Lakhs'){ ?> selected <? } ?>>8 Lakhs</option>
                                            <option value="9~Lakhs" <?php if($_REQUEST['min-price']=='9~Lakhs'){ ?> selected <? } ?>>9 Lakhs</option>
                                            <option value="10~Lakhs" <?php if($_REQUEST['min-price']=='10~Lakhs'){ ?> selected <? } ?>>10 Lakhs</option>
                                            <option value="15~Lakhs" <?php if($_REQUEST['min-price']=='15~Lakhs'){ ?> selected <? } ?>>15 Lakhs</option>
                                            <option value="20~Lakhs" <?php if($_REQUEST['min-price']=='20~Lakhs'){ ?> selected <? } ?>>20 Lakhs</option>
                                            <option value="25~Lakhs" <?php if($_REQUEST['min-price']=='25~Lakhs'){ ?> selected <? } ?>>25 Lakhs</option>
                                            <option value="50~Lakhs" <?php if($_REQUEST['min-price']=='50~Lakhs'){ ?> selected <? } ?>>50 Lakhs</option>
                                            <option value="1~Crore" <?php if($_REQUEST['min-price']=='1~Crore'){ ?> selected <? } ?>>1 Crore</option>
                                        </select>
                                    </div>
                                    <div class="option-bar col-xs-12 property-max-price">
                                        <select name="max-price" id="select-max-price" class="search-select">
                                            <option value="any" selected="selected">Max Price (Any)</option>
                                            <option value="5~Thousand" <?php if($_REQUEST['max-price']=='5~Thousand'){ ?> selected <? } ?>>5 Thousand</option>
                                            <option value="10~Thousand" <?php if($_REQUEST['max-price']=='10~Thousand'){ ?> selected <? } ?>>10 Thousand</option>
                                            <option value="50~Thousand" <?php if($_REQUEST['max-price']=='50~Thousand'){ ?> selected <? } ?>>50 Thousand</option>
                                            <option value="1~Lakhs" <?php if($_REQUEST['max-price']=='1~Lakhs'){ ?> selected <? } ?>>1 Lakhs</option>
                                            <option value="2~Lakhs" <?php if($_REQUEST['max-price']=='2~Lakhs'){ ?> selected <? } ?>>2 Lakhs</option>
                                            <option value="3~Lakhs" <?php if($_REQUEST['max-price']=='3~Lakhs'){ ?> selected <? } ?>>3 Lakhs</option>
                                            <option value="4~Lakhs" <?php if($_REQUEST['max-price']=='4~Lakhs'){ ?> selected <? } ?>>4 Lakhs</option>
                                            <option value="5~Lakhs" <?php if($_REQUEST['max-price']=='5~Lakhs'){ ?> selected <? } ?>>5 Lakhs</option>
                                            <option value="6~Lakhs" <?php if($_REQUEST['max-price']=='6~Lakhs'){ ?> selected <? } ?>>6 Lakhs</option>
                                            <option value="7~Lakhs" <?php if($_REQUEST['max-price']=='7~Lakhs'){ ?> selected <? } ?>>7 Lakhs</option>
                                            <option value="8~Lakhs" <?php if($_REQUEST['max-price']=='8~Lakhs'){ ?> selected <? } ?>>8 Lakhs</option>
                                            <option value="9~Lakhs" <?php if($_REQUEST['max-price']=='9~Lakhs'){ ?> selected <? } ?>>9 Lakhs</option>
                                            <option value="10~Lakhs" <?php if($_REQUEST['max-price']=='10~Lakhs'){ ?> selected <? } ?>>10 Lakhs</option>
                                            <option value="15~Lakhs" <?php if($_REQUEST['max-price']=='15~Lakhs'){ ?> selected <? } ?>>15 Lakhs</option>
                                            <option value="20~Lakhs" <?php if($_REQUEST['max-price']=='20~Lakhs'){ ?> selected <? } ?>>20 Lakhs</option>
                                            <option value="25~Lakhs" <?php if($_REQUEST['max-price']=='25~Lakhs'){ ?> selected <? } ?>>25 Lakhs</option>
                                            <option value="50~Lakhs" <?php if($_REQUEST['max-price']=='50~Lakhs'){ ?> selected <? } ?>>50 Lakhs</option>
                                            <option value="1~Crore" <?php if($_REQUEST['max-price']=='1~Crore'){ ?> selected <? } ?>>1 Crore</option>
                                            <option value="5~Crore" <?php if($_REQUEST['max-price']=='5~Crore'){ ?> selected <? } ?>>5 Crore</option>
                                        </select>
                                    </div>
                                    <div class="option-bar col-xs-12 property-min-area">

                                        <input type="text" name="min-area" id="min-area" pattern="[0-9]+" value="<?=$_REQUEST['min-area']?>" placeholder="Min Area (SqFt)" title="Please only provide digits!">
                                    </div>
                                    
                                    <div class="option-bar col-xs-12 submit-btn-wrappe">
                                        <input type="submit" name="Serach_Submit" value="Search" class="form-submit-btn">
                                    </div>
                                </div>
                                <!-- .field-wrap -->
                                
                            </form>

MMCT - 2023