<script src="/includes/jquery/autocomplete/jquery.autocomplete.min.js" type="text/javascript"></script>
<link media="screen" rel="stylesheet" href="/includes/jquery/autocomplete/jquery.autocomplete.css" type="text/css">

<form id="mod_usr_search_form" method="post" action="/users/search.html">
    <table width="100%" border="0" cellspacing="0" cellpadding="4">
        <tr>
            <td valign="middle" style="text-align:center">
                Найти
                <select name="gender" id="gender" style="width:150px">
                    <option value="f">женщин</option>
                    <option value="m">мужчин</option>
                    <option value="0" selected>всех</option>
                </select>
            </td>
        </tr>
        <tr>
            <td style="text-align:center">
                от
                <input style="text-align:center;width:56px" name="agefrom" type="text" id="agefrom" value="18"/>
                до
                <input style="text-align:center;width:56px" name="ageto" type="text" id="ageto" value=""/>
                лет
            </td>
        </tr>
        <tr>
            <td style="text-align:center">
                имя 
                <input style="text-align:center;width:158px" id="name" name="name" type="text" value=""/>
            </td>
        </tr>
        <tr>
            <td style="text-align:center">
                город 
                <input style="text-align:center;width:150px" id="city" name="city" type="text" value=""/>
                <script type="text/javascript">
                    {$autocomplete_js}
                </script>
            </td>
        </tr>
        <tr>
            <td style="text-align:center">
                интересы 
                <input style="text-align:center;width:128px" id="hobby" name="hobby" type="text" value=""/>
            </td>
        </tr>
        <tr>
            <td align="center">
                <input name="gosearch" type="submit" id="gosearch" value="Найти!" />
            </td>
        </tr>
    </table>
</form>