| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <?php include 'header.php' ?>
- <section id="content">
- <div class="filter-bar">
- <div class="filter-input-wrap minus map-search-1">
- <select name="ertekesites" id="ertekesites" class="modal-input property-search-select" onchange="set_ertekesites_tipus($(this).val())">
- <option value="">Összes értékesítés típus</option>
- <?php foreach ($ertekesites as $item) : ?>
- <option value="<?=$item->ertekesites?>" <?php if ($_SESSION['search']['ertekesites']==$item->ertekesites) echo 'selected'; ?>><?=lang::_($item->ertekesites)?></option>
- <?php endforeach; ?>
- </select>
- </div>
- <div class="filter-input-wrap minus map-search-2">
- <select name="jelleg" id="jelleg" class="modal-input property-search-select" onchange="setDetailedForm($(this),'grid')">
- <?php
- if ($_SESSION['search']['jelleg']=='lakoingatlan') {
- $check = 'Lakóingatlan - '.$_SESSION['search']['tipus'];
- }
- else {
- $check = $_SESSION['search']['jelleg'];
- }
- ?>
- <option value="">Összes ingatlan jelleg</option>
- <?php foreach ($jelleg as $item) : ?>
- <option value="<?=$item->jelleg?>" <?php if ($check==$item->jelleg) echo 'selected'; ?>><?=lang::_(str_replace("Lakóingatlan - ","",$item->jelleg))?></option>
- <?php endforeach; ?>
- </select>
- </div>
- <div class="filter-input-wrap selectize-wrap map-search-3">
- <select name="city[]" id="city" multiple="multiple">
- <option value="">Hol keresel?</option>
- <?php $actives = explode(",",$_SESSION['search']['city']); ?>
- <option value="Budapest" <?php if (in_array('Budapest',$actives)) echo 'selected'; ?>>Budapest</option>
- <?php foreach ($city as $item) : ?>
- <option value="<?=$item->telepules?>" <?php if (in_array($item->telepules,$actives)) echo 'selected'; ?>><?=$item->telepules?></option>
- <?php endforeach; ?>
- <?php foreach ($actives as $active) : ?>
- <?php if (stristr($active," (")) : ?>
- <option value="<?=$active?>" selected><?=$active?></option>
- <?php endif; ?>
- <?php endforeach; ?>
- </select>
-
- </div>
- <div class="sgPriceBox pricebox-marged" id="map-search-4" onclick="sgSetEditable(this)" style="margin-left: 0px;">
- <small class="ar-label" style="<?php if ($_SESSION['search']['iranyar_min']!='' || $_SESSION['search']['iranyar_max']!='') echo 'display: none;'; ?> color: #ccc;">Ár</small>
- <input <?php if ($_SESSION['search']['iranyar_min']=='') echo 'style="display: none;"'; ?> type="text" name="armin" id="iranyar_min" class="arbox" value="<?=$_SESSION['search']['iranyar_min']?>" placeholder="min" onfocus="this.placeholder = ''" onblur="this.placeholder = 'min'"><span <?php if ($_SESSION['search']['iranyar_min']=='') echo 'style="display: none;"'; ?>>-</span><input <?php if ($_SESSION['search']['iranyar_max']=='') echo 'style="display: none;"'; ?> type="text" name="armax" id="iranyar_max" class="arbox" value="<?=$_SESSION['search']['iranyar_max']?>" placeholder="max" onfocus="this.placeholder = ''" onblur="this.placeholder = 'max'">
- <?php if ($_SESSION['search']['ertekesites']=='elado') : ?>
- <small class="currency-label" style="float: right; margin-right: 15px;">M Ft</small>
- <?php else : ?>
- <small class="currency-label" style="float: right; margin-right: 15px;">E Ft</small>
- <?php endif; ?>
- </div>
- <div class="sgSizeBox" id="map-search-5" onclick="sgSetSizeEditable(this)">
- <small class="size-label" style="<?php if ($_SESSION['search']['meret_netto_min']!='' || $_SESSION['search']['meret_netto_max']!='') echo 'display: none;'; ?> color: #ccc;">Terület</small>
- <input <?php if ($_SESSION['search']['meret_netto_min']=='') echo 'style="display: none;"'; ?> type="text" name="nmmin" id="meret_netto_min" class="sizebox" value="<?=$_SESSION['search']['meret_netto_min']?>" placeholder="min" onfocus="this.placeholder = ''" onblur="this.placeholder = 'min'"><span <?php if ($_SESSION['search']['meret_netto_min']=='') echo 'style="display: none;"'; ?>>-</span><input <?php if ($_SESSION['search']['meret_netto_max']=='') echo 'style="display: none;"'; ?> type="text" name="nmmax" id="meret_netto_max" class="sizebox" value="<?=$_SESSION['search']['meret_netto_max']?>" placeholder="max" onfocus="this.placeholder = ''" onblur="this.placeholder = 'max'">
- <small style="margin-top: 5px; float: right; margin-right: 15px;">m<sup>2</sup></small>
- </div>
- <!--<div class="filter-input-wrap minus only-mobile">
- <input class="modal-input property-search-text first-property-searc-text" type="text" name="szoba_min" id="szoba_min" value="<?=$_SESSION['search']['szoba_min']?>" placeholder="Szobák (min)">
- <input class="modal-input property-search-text" type="text" name="szoba_max" id="szoba_max" value="<?=$_SESSION['search']['szoba_max']?>" placeholder="Szobák (max)">
- </div>-->
- <br class="only-mobile">
- <button type="button" name="go" onclick="search('/map/search/filter/')" class="btn-black mini"><i class="fas fa-search"></i> <span class="display-on-mobile">Keresés</span></button>
- <a href="javascript: void(0);" name="dsBtn" class="detailed-search-btn" onclick="showHideDetailSearch()">Részletes keresés</a>
- <a href="#" onclick="showGridView()" class="set-view view-list"><i class="fas fa-list"></i>Lista</a>
- <a href="#" onclick="showMapView()" class="set-view view-map"><i class="fas fa-th"></i>Térkép</a>
- </div>
- <div class="detailed-filter"></div>
- <div id="moveButton" style="float: left; line-height: 10px; position: fixed; left: 20px;"><div role="button" tabindex="0" title="Térkép mozgatása" aria-label="Térkép mozgatása" aria-pressed="false" draggable="false" style="direction: ltr; overflow: hidden; text-align: left; position: relative; color: rgb(86, 86, 86); font-family: Roboto, Arial, sans-serif; user-select: none; font-weight: bold; font-size: 11px; background-color: rgb(255, 255, 255); padding: 6px; padding-top: 2px; margin-top: 10px; border-bottom-left-radius: 2px; border-top-left-radius: 2px; background-clip: padding-box; box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;"><span style="display: inline-block;"><div style="width: 50px; height: 16px; overflow: hidden; position: relative; margin-top: 10px;">Mozgatás</div></span></div></div>
- <div id="polyButton" style="float: left; line-height: 10px; position: fixed; left: 85px;"><div role="button" tabindex="0" title="Kijelölés létrehozása" aria-label="Kijelölés létrehozása" aria-pressed="false" draggable="false" style="direction: ltr; overflow: hidden; text-align: left; position: relative; color: rgb(86, 86, 86); font-family: Roboto, Arial, sans-serif; user-select: none; font-weight: bold; font-size: 11px; background-color: rgb(255, 255, 255); padding: 6px; padding-top: 2px; margin-top: 10px; border-bottom-left-radius: 2px; border-top-left-radius: 2px; background-clip: padding-box; box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;"><span style="display: inline-block;"><div style="width: 45px; height: 16px; overflow: hidden; position: relative; margin-top: 10px;">Kijelölés</div></span></div></div>
- <div id="circleButton" style="float: left; line-height: 10px; position: fixed; left: 145px; top: 162px; z-index: 9999;"><div role="button" tabindex="0" title="Kijelölés létrehozása" aria-label="Kijelölés létrehozása" aria-pressed="false" draggable="false" style="direction: ltr; overflow: hidden; text-align: left; position: relative; color: rgb(86, 86, 86); font-family: Roboto, Arial, sans-serif; user-select: none; font-weight: bold; font-size: 11px; background-color: rgb(255, 255, 255); padding: 6px; padding-top: 2px; margin-top: 10px; border-bottom-left-radius: 2px; border-top-left-radius: 2px; background-clip: padding-box; box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;"><span style="display: inline-block;"><div style="width: 60px; height: 16px; overflow: hidden; position: relative; margin-top: 10px;">Kör rajzolás</div></span></div></div>
- <div id="trashButton" style="float: left; line-height: 10px; position: fixed; left: 220px;"><div role="button" tabindex="0" title="Kijelölés törlése" aria-label="Kijelölés törlése" aria-pressed="false" draggable="false" style="direction: ltr; overflow: hidden; text-align: left; position: relative; color: rgb(86, 86, 86); font-family: Roboto, Arial, sans-serif; user-select: none; font-weight: bold; font-size: 11px; background-color: rgb(255, 255, 255); padding: 6px; padding-top: 2px; margin-top: 10px; border-bottom-left-radius: 2px; border-top-left-radius: 2px; background-clip: padding-box; box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;"><span style="display: inline-block;"><div style="width: 30px; height: 16px; overflow: hidden; position: relative; margin-top: 10px;">Törlés</div></span></div></div>
- <div onclick="switchFullScreen($(this))" id="fullButton" style="float: left; line-height: 10px; position: absolute; left: 265px; top: 162px; z-index: 998;"><div role="button" tabindex="0" title="Váltás teljes képernyőre" aria-label="Váltás teljes képernyőre" aria-pressed="false" draggable="false" style="direction: ltr; overflow: hidden; text-align: left; position: relative; color: rgb(86, 86, 86); font-family: Roboto, Arial, sans-serif; user-select: none; font-weight: bold; font-size: 11px; background-color: rgb(255, 255, 255); padding: 6px; padding-top: 2px; margin-top: 10px; border-bottom-left-radius: 2px; border-top-left-radius: 2px; background-clip: padding-box; box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;"><span style="display: inline-block;"><div id="fsBtnLabel" style="width: 80px; height: 16px; overflow: hidden; position: relative; margin-top: 10px;">Teljes képernyő</div></span></div></div>
- <div class="map-block" id="map"></div>
- <div class="results-block thin-block">
- <button type="button" id="showhideDetailSearch" name="nsBtn" class="btn-black hide-on-desktop" style="width: 96%;" onclick="showHideSearch()">Részletes keresés</button>
- <a href="javascript:;" id="showhideDetailClose" class="hide-on-desktop close-detail-search" style="display: none;" onclick="showHideSearch()"><i class="fas fa-times"></i> Részletes keresés bezárása</a>
- <?php if ($propertyCount>0) : ?>
- <h3 style="font-weight: bold;"><strong id="properties_count" style="font-weight: bold;"><?=$propertyCount?></strong> találat</h3>
- <h4 id="map_search_text"><?=$keresesi_szoveg?></h4>
- <?php endif; ?>
- <?php if ($propertyCount>0) : ?>
- <div class="sorter">
- <label>Rendezés:</label>
- <?php $active_order = $_SESSION['storedOrderField']."_".$_SESSION['storedOrderDirection']; ?>
- <select name="sorting" onchange="setListOrder($(this).val())">
- <option value="letrehozva_DESC" <?php if ($active_order=='letrehozva_DESC') echo 'selected'; ?>>Legújabbak</option>
- <option value="letrehozva_ASC" <?php if ($active_order=='letrehozva_ASC') echo 'selected'; ?>>Régebbiek</option>
- <option value="iranyar_ASC" <?php if ($active_order=='iranyar_ASC') echo 'selected'; ?>>Olcsóbbak</option>
- <option value="iranyar_DESC" <?php if ($active_order=='iranyar_DESC') echo 'selected'; ?>>Drágábbak</option>
- </select>
- <!--<button type="button" name="save_search" onclick="save_search()" class="btn-black short righted" style="margin-right: 50px;">Keresés mentése</button>-->
- </div>
- <?php else : ?>
- <div class="error-message" style="display: block; position: relative;"><h2>Nincs találat : (</h2> Jelenleg nincs a megadott keresési feltételeknek megfelelő ingatlan az adatbázisunkban. Kérjük adjon meg más keresési paramétereket!</div>
- <?php endif; ?>
- <div class="clear"></div>
- <br>
- <div class="result-list-thin">
- <div class="clear"></div>
- </div>
- </div>
- </section>
- <script>var redirectURL = window.location.href;</script>
- <?php include 'footer_map.php' ?>
|