PHP Classes

File: View/search_form.tpl.php

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   Free Text Search   View/search_form.tpl.php   Download  
File: View/search_form.tpl.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Free Text Search
Search for data taking common words typed by users
Author: By
Last change:
Date: 4 years ago
Size: 1,252 bytes
 

Contents

Class file image Download
<div class="si-wrapper">

    <form role="search" action="./" method="get">
        <input type="hidden" name="a" value="result" />
        <p><input type="search" name="free_text" class="span4 si-input" placeholder="2 bed apartment to let in Dublin" title="Find the property that suits you by typing some keywords" required="required" /></p>
        <button class="si-btn">
            speech input
            <span class="si-mic"></span>
            <span class="si-holder"></span>
        </button>
        <p><input type="submit" name="submit" class="btn" value="Go, Search!" /></p>
    </form>

</div>


<h4 class="s_tMarg">Popular Search Queries</h4>
<ul>
    <li><a href="./?a=result&free_text=2+bed+apartment+to+rent+in+dublin">2 bed apartment to let in Dublin</a></li>
    <li><a href="./?a=result&free_text=2+or+3+beds+to+rent+between+1000+and+2000">2 or 3 beds to rent between 1000 and 2000</a></li>
    <li><a href="./?a=result&free_text=2+beds+apartment+to+let+around+900+and+14000+per+month">2 beds apartment to let around 900 and 14000 per month</a></li>
    <li><a href="./?a=result&free_text=4+bedroom+house+to+let+for+1000+around+900+and+14000+per+month">4 bedroom house to let for 1000 around 900 and 14000 per month</a></li>
</ul>