<?php
/**
 * The header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="content">
 *
 * @package bbase_code
 */
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit; ?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>
<?php do_action( 'wp_body_open' ); ?>

<div id="content" class="landing-content">
    <?php the_content() ?>
</div><!-- #content -->

<!-- Modal -->
<div class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
    <div class="modal-dialog product-popup modal-dialog-centered">
        <div class="modal-content">
            <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            
            <div class="form-order product-box">
                <h4 class="subtitle"><?php _e( 'Thông tin nhận hàng', 'tbang_text' ) ?></h4>
                <?php echo do_shortcode( '[contact-form-7 id="349" title="LP - Form Order"]' ) ?>
            </div>
        </div>
    </div>
</div>

<?php $script = get_field('scripts', 'option');
if($script) echo $script;  ?>

<?php wp_footer(); ?>

</body>
</html>