title: Im having problem with wordpress theme, Parse error: syntax error, unexpected end of file,
body: <p>Im having problem with one theme, im installing theme and trying to open website but when i open is saying like this.
  ''Parse error: syntax error, unexpected end of file in D:\Programs\xampp\htdocs\wordpress\wp-content\themes\xwp-directory\header.php on line 68
  There has been a critical error on your website.</p>
  <p>Learn more about debugging in WordPress.''</p>
  <p>This is the code</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html &lt;?php language_attributes(); ?&gt;&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
      &lt;?php 
          $options = get_option( 'threeus_options' );
          $favicon = $options['favicon'] ? $options['favicon'] : get_template_directory_uri() . '/images/assets/favicon.png';
          $header_code     = $options['header_code'];
      ?&gt;
      &lt;link rel="shortcut icon" href="&lt;?php echo $favicon; ?&gt;" /&gt;
      &lt;?php wp_head(); ?&gt;
      &lt;?php echo stripslashes($header_code); ?&gt;
  &lt;/head&gt;
  
  &lt;body &lt;?php body_class(); ?&gt; itemscope itemtype="http://schema.org/WebPage"&gt;
  
      &lt;div id="wrapper" class="hfeed site"&gt;
  
  &lt;header id="header" class="site-header header2" role="banner" itemscope itemtype="http://schema.org/WPHeader"&gt;
      &lt;div class="container"&gt;
          &lt;div class="mid-header clearfix"&gt;
              &lt;div class="site-brand"&gt;
                  &lt;a href="&lt;?php echo site_url(); ?&gt;" class="logo"&gt;
                      &lt;?php
                      $options = get_option( 'threeus_options' );
                      $logo_small = $options['logo_small'] ? $options['logo_small'] : get_template_directory_uri() . '/images/assets/logo.png';?&gt;
                      &lt;img src="&lt;?php echo $logo_small; ?&gt;" alt="logo"/&gt;
                  &lt;/a&gt;                
              &lt;/div&gt;&lt;!-- .site-brand --&gt;
              &lt;div class="right-header"&gt;
                  &lt;?php echo get_search_form(); ?&gt;
              &lt;/div&gt;
          &lt;/div&gt;&lt;!-- .mid-header --&gt;
          &lt;nav class="main-menu clearfix" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement"&gt;
              &lt;span class="mobile-menu"&gt;&lt;i class="fa fa-bars"&gt;&lt;/i&gt;&lt;/span&gt;
              &lt;?php
              wp_nav_menu(
                  array(
                      'theme_location' =&gt; 'main_menu',
                      'container'      =&gt; false,
                      'menu_id'        =&gt; 'menu-main',
                      'menu_class'     =&gt; 'menu-main',
                      'fallback_cb'    =&gt; '',
                  )
              );
              ?&gt;
  
          &lt;/nav&gt;&lt;!-- .main-menu --&gt;
          &lt;br&gt;
          &lt;?php
              $options = get_option('threeus_options');
              $aam = stripslashes($options['aam']);
              if ($aam) {
                  $substr = substr( $aam, 0, 4 );
                  if ($substr == 'http') { ?&gt;
                      &lt;img class="ads" src="&lt;?php echo $aam; ?&gt;"&gt;
                  &lt;?php } else {
                      echo $aam;
                  }
              }
          ?&gt;
      &lt;/div&gt;&lt;!-- .container --&gt;
  
  &lt;/header&gt;&lt;!-- .site-header --&gt;
          &lt;main id="main" class="site-main" role="main" itemscope itemprop="mainContentOfPage"&gt;
  
  
  &lt;!DOCTYPE html&gt;
  &lt;html &lt;?php language_attributes(); ?&gt;&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
      &lt;?php 
          $options = get_option( 'threeus_options' );
          $favicon = $options['favicon'] ? $options['favicon'] : get_template_directory_uri() . '/images/assets/favicon.png';
          $header_code     = $options['header_code'];
      ?&gt;
      &lt;link rel="shortcut icon" href="&lt;?php echo $favicon; ?&gt;" /&gt;
      &lt;?php wp_head(); ?&gt;
      &lt;?php echo stripslashes($header_code); ?&gt;
  &lt;/head&gt;
  
  &lt;body &lt;?php body_class(); ?&gt; itemscope itemtype="http://schema.org/WebPage"&gt;
  
      &lt;div id="wrapper" class="hfeed site"&gt;
  
  &lt;header id="header" class="site-header header2" role="banner" itemscope itemtype="http://schema.org/WPHeader"&gt;
      &lt;div class="container"&gt;
          &lt;div class="mid-header clearfix"&gt;
              &lt;div class="site-brand"&gt;
                  &lt;a href="&lt;?php echo site_url(); ?&gt;" class="logo"&gt;
                      &lt;?php
                      $options = get_option( 'threeus_options' );
                      $logo_small = $options['logo_small'] ? $options['logo_small'] : get_template_directory_uri() . '/images/assets/logo.png';?&gt;
                      &lt;img src="&lt;?php echo $logo_small; ?&gt;" alt="logo"/&gt;
                  &lt;/a&gt;                
              &lt;/div&gt;&lt;!-- .site-brand --&gt;
              &lt;div class="right-header"&gt;
                  &lt;?php echo get_search_form(); ?&gt;
              &lt;/div&gt;
          &lt;/div&gt;&lt;!-- .mid-header --&gt;
          &lt;nav class="main-menu clearfix" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement"&gt;
              &lt;span class="mobile-menu"&gt;&lt;i class="fa fa-bars"&gt;&lt;/i&gt;&lt;/span&gt;
              &lt;?php
              wp_nav_menu(
                  array(
                      'theme_location' =&gt; 'main_menu',
                      'container'      =&gt; false,
                      'menu_id'        =&gt; 'menu-main',
                      'menu_class'     =&gt; 'menu-main',
                      'fallback_cb'    =&gt; '',
                  )
              );
              ?&gt;
  
          &lt;/nav&gt;&lt;!-- .main-menu --&gt;
          &lt;br&gt;
          &lt;?php
              $options = get_option('threeus_options');
              $aam = stripslashes($options['aam']);
              if ($aam) {
                  $substr = substr( $aam, 0, 4 );
                  if ($substr == 'http') { ?&gt;
                      &lt;img class="ads" src="&lt;?php echo $aam; ?&gt;"&gt;
                  &lt;?php } else {
                      echo $aam;
                  }
              }
          ?&gt;
      &lt;/div&gt;&lt;!-- .container --&gt;
  
  &lt;/header&gt;&lt;!-- .site-header --&gt;
          &lt;main id="main" class="site-main" role="main" itemscope itemprop="mainContentOfPage"&gt;</code></pre>
  </div>
  </div>
  </p>