<?php
/**
 * The template for displaying 404 pages (not found).
 *
 * @link https://codex.wordpress.org/Creating_an_Error_404_Page
 *
 * @package Luzuk 
 */

get_header(); ?>
<header class="page-main-header"> 
	 <div>
        <?php $image = wp_get_attachment_url( get_post_thumbnail_id($post->ID));?>
        <?php
        //print_r ($post);
            if (!empty($image)){
                echo '<img src="'.$image.'" class="ht-page-header-img" />';
            }
        ?>
        
    </div>
	<div class="container">
		<h1 class="ht-main-title"><?php esc_html_e( '404 Error', 'total' ); ?></h1>
		<?php do_action( 'total_breadcrumbs' ); ?>
	</div>
</header><!-- .entry-header -->

<div class="container">
	<div class="oops-text">      
        <?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'total' ); ?>
        <div class="clearfix"></div>
    </div>
	<span class="error-404">
          <img class="img-responsive" src="<?php echo get_template_directory_uri(); ?>/images/404-not-found.png" alt="">
        <div class="clearfix"></div>
        <?php esc_html_e( '404', 'total' ); ?></span>
</div>
<?php get_footer(); ?>