<!doctype html>
<?php
   /*
   Theme Designed By: S O R O U S H M A R K E T
   Email: info@soroushmarket.ir
   Demo Website: soroushmarket.ir
   Author Website: soroushmarket.ir
   */
   global $data;
      $color = basename($data['custom_color']);
      $css_color = str_replace("png","css",$color);
      $theme_color = str_replace(".png","",$color); ?>
<html <?php language_attributes(); ?>>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width,initial-scale=1">
      <meta name="theme-color" content="<?php echo '#'.$theme_color; ?>" />
      <title><?php bloginfo('name'); ?> | <?php is_front_page() ? bloginfo('description') : wp_title(''); ?></title>
      <link rel="shortcut icon" href="<?php echo $data['site_favicon']; ?>" type="image/x-icon" />
      <link rel="stylesheet" media="screen" type="text/css" href="<?php echo esc_url( get_template_directory_uri() ); ?>/css/bootstrap.min.css">
      <link rel="stylesheet" media="screen" type="text/css" href="<?php echo esc_url( get_template_directory_uri() ); ?>/css/bootstrap-rtl.min.css">
      <link rel="stylesheet" media="screen" type="text/css" href="<?php echo esc_url( get_template_directory_uri() ); ?>/css/font-awesome.min.css">
      <link rel="stylesheet" media="screen" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
      <link rel="stylesheet" media="screen" type="text/css" href="<?php echo esc_url( get_template_directory_uri() ); ?>/css/<?php echo $css_color; ?>">
   </head>
   <body style="background-color: <?php echo '#'.$theme_color; ?>">
      <div class="container-fluid">
         <div class="row">
            <div class="container under">
               <h1> <a href="<?php echo esc_url( home_url() ); ?>" title="<?php bloginfo( 'name' );?> | <?php bloginfo('description'); ?>" rel="home"> <img src="<?php global $data; echo $data['site_logo']; ?>" alt="<?php bloginfo( 'name' );?> | <?php bloginfo('description'); ?>" title="<?php bloginfo( 'name' );?> | <?php bloginfo('description'); ?>" class="img-logo"/></a>
               </h1>
               <h2>
                  <?php echo $data['under_title']; ?>
               </h2>
               <h3>
                  <?php echo $data['under_text']; ?>
               </h3>
            </div>
         </div>
      </div>
   </body>
</html>