<?php
/**
 * The template for displaying 404 pages (Not Found).
 *
 * @package WordPress
 * @subpackage classiera
 * @since classiera 1.0
 */



global $redux_demo, $maximRange; 
$errorStyle = $redux_demo['error-style'];
	$max_range = $redux_demo['max_range'];
	if(!empty($max_range)) {
		$maximRange = $max_range;
	} else {
		$maximRange = 1000;
	}
if($errorStyle == 1){
	get_header(); 
}	

?>
<?php 
if($errorStyle == 2){
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<?php $blog_title = get_bloginfo('name'); ?>
    <title><?php wp_title( '|', true, 'right' ); ?></title>
    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/css/app-ltr.css">
</head>
<body>
<?php } ?>
<section class="error-page">
	<div class="error-img">		
		<img src="<?php echo get_template_directory_uri(); ?>/images/eyes.png" alt="eyes" />		
		<img class="leftEye" src="<?php echo get_template_directory_uri(); ?>/images/lefteye.png" alt="lefteye" />		
		<img class="rightEye" src="<?php echo get_template_directory_uri(); ?>/images/righteye.png" alt="eyes" />
	</div>
	<div class="error-text">
		<h1><?php esc_html_e('404', 'classiera' ); ?><span><?php esc_html_e('ERROR', 'classiera' ); ?></span></h1>
		<img src="<?php echo get_template_directory_uri(); ?>/images/text-shadow.png" alt="<?php esc_html_e('shadow', 'classiera' ); ?>">
		<h3><?php esc_html_e('It looks like that page no longer exists. Would you like to go to', 'classiera' ); ?> <a href="<?php echo home_url(); ?>"><?php esc_html_e('HomePage', 'classiera' ); ?> </a><?php esc_html_e('instead?', 'classiera' ); ?></h3>
	</div>
</section>
<?php 
if($errorStyle == 1){
	get_footer(); 
} 
?>
<?php 
if($errorStyle == 2){
?>
</body>
</html>
<?php } ?>