<?php
    /*
     *      Osclass – software for creating and publishing online classified
     *                           advertising platforms
     *
     *                        Copyright (C) 2012 OSCLASS
     *
     *       This program is free software: you can redistribute it and/or
     *     modify it under the terms of the GNU Affero General Public License
     *     as published by the Free Software Foundation, either version 3 of
     *            the License, or (at your option) any later version.
     *
     *     This program is distributed in the hope that it will be useful, but
     *         WITHOUT ANY WARRANTY; without even the implied warranty of
     *        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     *             GNU Affero General Public License for more details.
     *
     *      You should have received a copy of the GNU Affero General Public
     * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
     */


?>
 <form action="<?php echo osc_base_url(true); ?>" method="get" class="search nocsrf" <?php /* onsubmit="javascript:return doSearch();"*/ ?>>
        <input type="hidden" name="page" value="search"/>
<div class="main-search">
            <div class="cell">
                <input type="text" name="sPattern" id="query" class="input-text" value="" placeholder="<?php echo osc_esc_html(__(osc_get_preference('keyword_placeholder', 'next_revo'), 'next_revo')); ?>" />
            </div>

                <div class="cell selector1">
				
                    <?php osc_categories_select('sCategory', null, __('Select a category', 'next_revo')) ; ?>
                      
                </div>
				 <div class="cell selector">
               <?php next_region_select() ; ?>
                </div>
                <div class="cell reset-padding">

                <button class="ui-button ui-button-big js-submit"><span><i class="fa fa-search"></i><?php _e("Search", 'next_revo');?></span></button>

        </div>
        <div id="message-seach"></div>
 

</div>
   </form>

        <div class="search-line"></div>
<div style="clear:both"></div>