<?php
/* ------------------------------------------------------------------------ *
 * Seja Framework Version 3.0
 *
 * The template for displaying 404 pages (Not Found).
 * ------------------------------------------------------------------------ */

get_header(); ?>
<!-- 404.php -->
<?php seja_layout( array('type' => 'spage') ); ?>
	<div id="post-0" class="post error404 not-found">
		<h1 class="entry-title"><?php _e( 'We cannot find that page', 'seja_framework' ); ?></h1>
                
		<div class="entry-content">
			<p><?php _e( 'Apologies, but the page you requested could not be found. Perhaps searching will help.', 'seja_framework' ); ?></p>
                    
			<?php get_search_form(); ?>
		</div> <!-- .entry-content -->
	</div> <!-- #post-0 -->
    
<?php seja_layout( array('type' => 'epage') ); ?>
    <script type="text/javascript">
        // focus on search field after it has loaded
        document.getElementById('s') && document.getElementById('s').focus();
    </script>

<?php get_footer(); ?>