property_detailed_search_garazs.php 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <table style="background-color: #fff; width: 100%; float: right; margin-top: -22px;">
  2. <tr>
  3. <td valign="top" style="padding-bottom: 20px; padding-top: 10px; padding-left: 15px;">
  4. <table>
  5. <tr>
  6. <td style="padding-top: 10px;">
  7. <select name="altipus[]" id="altipus" multiple="multiple">
  8. <option value="">Építés módja</option>
  9. <?php $actives = explode(",",$_SESSION['search']['altipus']); ?>
  10. <?php foreach ($altipus as $item) : ?>
  11. <option value="<?=$item->altipus?>" <?php if (in_array($item->altipus,$actives)) echo 'selected'; ?>><?=lang::_($item->altipus)?></option>
  12. <?php endforeach; ?>
  13. </select>
  14. <div class="clear"></div>
  15. </td>
  16. </tr>
  17. <tr>
  18. <td style="padding-top: 35px;">
  19. <select name="jogi_statusz" id="jogi_statusz" class="modal-input" style="width: 100%; text-align: center;">
  20. <option value="">Státusz</option>
  21. <?php foreach ($jog as $item) : ?>
  22. <option value="<?=$item->jogi_statusz?>" <?php if ($_SESSION['search']['jogi_statusz']==$item->jogi_statusz) echo 'selected'; ?>><?=lang::_($item->jogi_statusz)?></option>
  23. <?php endforeach; ?>
  24. </select>
  25. </td>
  26. </tr>
  27. <tr>
  28. <td style="padding-top: 10px;">
  29. <select name="allapot[]" id="allapot" multiple="multiple">
  30. <option value="">Állapot</option>
  31. <?php $actives = explode(",",$_SESSION['search']['allapot']); ?>
  32. <option value="1" <?php if (in_array('1',$actives)) echo 'selected'; ?>>Bontandó</option>
  33. <option value="2" <?php if (in_array('2',$actives)) echo 'selected'; ?>>Felújítandó</option>
  34. <option value="3" <?php if (in_array('3',$actives)) echo 'selected'; ?>>Átlagos</option>
  35. <option value="4" <?php if (in_array('4',$actives)) echo 'selected'; ?>>Jó</option>
  36. <option value="5" <?php if (in_array('5',$actives)) echo 'selected'; ?>>Kiváló</option>
  37. <option value="6" <?php if (in_array('6',$actives)) echo 'selected'; ?>>Felújított</option>
  38. </select>
  39. </td>
  40. </tr>
  41. </table>
  42. <br>
  43. </td>
  44. <td valign="top" style="padding-bottom: 20px; padding-top: 10px; padding-left: 10px;">
  45. <table>
  46. <tr>
  47. <td style="text-align: left; padding-bottom: 5px;">
  48. <input class="modal-input w50percent" type="text" name="ferohely_garazs_min" id="ferohely_garazs_min" value="<?=$_SESSION['search']['ferohely_garazs_min']?>" placeholder="Férőhely" onfocus="this.placeholder = ''" onblur="this.placeholder = 'Férőhely'"> -
  49. <input class="modal-input w50percent" type="text" name="ferohely_garazs_max" id="ferohely_garazs_max" value="<?=$_SESSION['search']['ferohely_garazs_max']?>" placeholder="Férőhely" onfocus="this.placeholder = ''" onblur="this.placeholder = 'Férőhely'"> db. között
  50. </td>
  51. </tr>
  52. </table>
  53. </td>
  54. <td valign="bottom">
  55. <table>
  56. <tr>
  57. <td>
  58. <button type="button" name="go" onclick="search('<?=$action?>')" class="btn-black mini" style="font-size: 13px; width: 140px !important;">Keresés</button>
  59. <button type="button" name="clear_search" onclick="clear_search()" class="btn-black mini" style="background-color: #ccc; font-size: 13px; width: 140px !important;">Törlés</button>
  60. </td>
  61. </tr>
  62. </table>
  63. </td>
  64. </tr>
  65. </table>