<?php
/*
 * Copyright 2015 osclass-pro.com
 *
 * You shall not distribute this theme and any its files (except third-party libraries) to third parties.
 * Rental, leasing, sale and any other form of distribution are not allowed and are strictly forbidden.
 */
    $sQuery = osc_esc_js(osc_get_preference('keyword_placeholder', 'next'));
?>
<!-- footer -->
<div id="footer">
<div style="text-align:center;">
   <?php osc_show_widgets('footer');?>
	 </div>
 <div id="social">
<?php if( osc_get_preference('facebook-nextrevo', 'next') != '') {?>
                    <a class="social" href="<?php echo osc_get_preference('facebook-nextrevo', 'next'); ?>" target="_blank"><img src="<?php echo osc_current_web_theme_url('images/facebook.png'); ?>" alt=""></a>
					<?php } ?>
					<?php if( osc_get_preference('twitter-nextrevo', 'next') != '') {?>
                    <a class="social" href="<?php echo osc_get_preference('twitter-nextrevo', 'next'); ?>" target="_blank"><img src="<?php echo osc_current_web_theme_url('images/twitter.png'); ?>" alt=""></a>
					<?php } ?>
					<?php if( osc_get_preference('google-nextrevo', 'next') != '') {?>
                    <a class="social" href="<?php echo osc_get_preference('google-nextrevo', 'next'); ?>" target="_blank"><img src="<?php echo osc_current_web_theme_url('images/google.png'); ?>" alt=""></a>
					<?php } ?>
 </div>
    <div class="inner">
        <a href="<?php echo osc_contact_url(); ?>"><?php _e('Contact', 'next'); ?></a>
        <?php osc_reset_static_pages(); ?>
        <?php while( osc_has_static_pages() ) { ?>
            | <a href="<?php echo osc_static_page_url(); ?>"><?php echo osc_static_page_title(); ?></a>
        <?php } ?>
        <?php
            if( osc_get_preference('footer_link', 'next') ) {
                echo ' | ' . __('This website is using the <a title="Osclass Theme Next" href="https://osclass-pro.com/">Osclass Theme Next</a>', 'next');
            }
        ?>
    </div>
</div>
<!-- /footer -->

<script type="text/javascript">
    var sQuery = '<?php echo $sQuery; ?>';
    function doSearch() {
        if($('input[name=sPattern]').val() == sQuery || ( $('input[name=sPattern]').val() != '' && $('input[name=sPattern]').val().length < 3 ) ) {
            $('input[name=sPattern]').css('background', '#FFC6C6');
            $('#search-example').text('<?php echo osc_esc_js( __('Your search must be at least three characters long','next') ); ?>')
            return false;
        }
        return true;
    }
</script>
<?php osc_run_hook('footer'); ?>