<?php
namespace core_next;
global $core_next_set;
?>
<!doctype html>
<html lang="zh">
<?php get_template_part('template/views/header'); ?>
<body>
<div id="core-next-app">
    <app-header id="app-header"></app-header>
    <div class="body-warp">
        <main class="container">
            <div class="main-warp">
                <?php
                $bind_type = $_SESSION['core_next_bind_type'];
                if ($bind_type == 'qq') {
                    ?>
                    <app-other-bind id="app-other-bind"></app-other-bind>
                    <?php
                }
                ?>
            </div>
            <aside>
                <?php dynamic_sidebar('index_sidebar'); ?>
            </aside>
        </main>
    </div>
</div>
<?php get_template_part('template/module/body-end'); ?>
</body>
<?php wp_footer(); ?>
</html>