<?php
/**
 * Page Not Found (error 404) template.
 *
 */

get_header(); ?>
	
	<div id="wrapper">
	
	<?php if((isset($e404_options['main_intro_type']) && $e404_options['main_intro_type'] != 'none') || $e404_options['breadcrumbs']) echo '<div id="head_intro">'; ?>
		<?php include(OF_FILEPATH.'/main-intro-box.php'); ?>
		<?php if($e404_options['breadcrumbs']) : ?><div id="breadcrumb"><?php e404_breadcrumbs(); ?></div><?php endif; ?>
	<?php if((isset($e404_options['main_intro_type']) && $e404_options['main_intro_type'] != 'none') || $e404_options['breadcrumbs']) echo '</div>'; ?>

		<div id="error" class="one_half">
			<p>
				<strong>404</strong>
				<span><?php _e('Page not Found', 'ice'); ?></span>
			</p>
		</div>
		<div id="error-info" class="one_half last">
			<p><?php _e('Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'ice'); ?></p>
			<div class="content-search">
				<form action="<?php echo home_url(); ?>" method="get">
					<input type="text" name="s" value="<?php _e('Search...', 'ice'); ?>" onfocus="if (this.value == '<?php _e('Search...', 'ice'); ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Search...', 'ice'); ?>';}" />
					<input type="submit" value="<?php _e('Search', 'ice'); ?>" />
				</form>
			</div>
    		<hr class="divider-dotted" />
			<ul class="small-list small-arrow">
				<li><?php printf(__('Go to the <a href="%1$s">homepage</a>', 'ice'), home_url()); ?></li>
    		</ul>
		</div>
		<br class="clear" />
	</div>

<?php get_footer(); ?>
