<- Go to the prev page(Basics)

Full (simple) search box

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load('jquery', '1.7.1');</script>
<script type="text/javascript">google.load('jqueryui', '1.8.13');</script>
<?
include "api.inc";
$auth = new TokkoAuth('a289c133348c53c870cf2ae21cc513a238ea684a');
$search_form = new TokkoSearchForm($auth);
?>

<link rel="stylesheet" href="estilos_buscador.css">
<div id="buscador_prop">
      <div id="div_form_prop">
         <p class="txt_input_prop">TIPO DE OPERACION</p>
         <?$search_form->deploy_operation_types_selection('operation_selector', "Seleccione el tipo de operacion", [1,2], "campos_prop");?>
         <p class="txt_input_prop">TIPO DE INMUEBLE</p>
         <?$search_form->deploy_property_types_selection('property_types_selector', "Seleccione el tipo de propiedad", "campos_prop");?>
         <div id="location_tree_container">
             <?$search_form->deploy_location_tree('location_tree', "Seleccione una opcion", "location_tree-type", "location_tree-id", "147", "state", 3, 'div', true, ['PROVINCIA','CIUDAD','ZONA']);?>
         </div>
         <div id="moneda_container">
             <p class="txt_input_prop">MONEDA</p>
             <ul class="lista_buscador_avanz">
                 <?$search_form->deploy_currency_selection('currency_selector', "", ["USD","ARS"], "input_buscador", "USD", "radiobutton", 'li');?>
             </ul>
         </div>
      </div>
      <div id="div_form_prop">
          <div id="rango_precio_container">
          <p class="txt_input_prop">PRECIO</p>
          <?$search_form->deploy_price_range_selection('price_range_selector', ["minimo", "maximo"]);?>
          </div>
          <div id="rango_precio_container">
          <p class="txt_input_prop">AMBIENTES</p>
          <?$search_form->deploy_range_filter_selection('room_amount_selector', "room_amount", ["minimo", "maximo"]);?>
          </div>
          <?$search_form->deploy_search_button('do_search_button', 'BUSCAR', 'enviar_prop');?>
      </div>
      <?$search_form->deploy_search_function('example3.php');?>
</div>

TIPO DE OPERACION

TIPO DE INMUEBLE

PROVINCIA

CIUDAD

ZONA

MONEDA

  • USD  
  • ARS  

PRECIO

  

AMBIENTES

  

Notes(Functions not explained before)