<?php /*a:2:{s:64:"D:\phpstudy\WWW\12xz\app\index\view/default\franchise\index.html";i:1784082503;s:64:"D:\phpstudy\WWW\12xz\app\index\view/default\aapublic\header.html";i:1784339598;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="<?php echo MyConfig('shopxo.default_charset', 'utf-8'); ?>" />
    <title><?php echo htmlentities((string) $home_seo_site_title); ?></title>
    <meta name="keywords" content="<?php echo htmlentities((string) $home_seo_site_keywords); ?>" />
    <meta name="description" content="<?php echo htmlentities((string) $home_seo_site_description); ?>" />
    <meta name="generator" content="<?php echo htmlentities((string) $my_url); ?>" />
    <meta name="application-name" content="<?php echo htmlentities((string) $home_seo_site_title); ?>" />
    <meta name="msapplication-tooltip" content="<?php echo htmlentities((string) $home_seo_site_title); ?>" />
    <meta name="msapplication-starturl" content="<?php echo htmlentities((string) $my_url); ?>" />
    <link rel="shortcut icon" type="image/x-icon" href="<?php echo htmlentities((string) $public_host); ?>favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-title" content="<?php echo Mylang('common.webname_home_title'); ?>">
    <link rel="apple-touch-icon" href="<?php echo htmlentities((string) $public_host); ?><?php echo Mylang('common.web_logo_icon'); ?>">
    <link rel="apple-touch-icon-precomposed" href="<?php echo htmlentities((string) $public_host); ?><?php echo Mylang('common.web_logo_icon'); ?>">
    <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/common/fontawesome/css/all.min.css?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/common/lib/assets/css/amazeui.css?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/common/lib/amazeui-switch/amazeui.switch.css?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/common/lib/amazeui-chosen/amazeui.chosen.css?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/common/lib/cropper/cropper.min.css?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/common/lib/amazeui-tagsinput/amazeui.tagsinput.css?v=<?php echo htmlentities((string) $static_cache_version); ?>" />

    <!-- 轮播插件 -->
    <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/common/lib/swiper/swiper.min.css?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/common/lib/swiper/swiper-bundle.min.css?v=<?php echo htmlentities((string) $static_cache_version); ?>" />

    <!-- highlight代码高亮 -->
    <link rel="stylesheet" href="<?php echo htmlentities((string) $public_host); ?>static/common/lib/highlight/monokai_sublime.min.css?v=<?php echo htmlentities((string) $static_cache_version); ?>" />

    <!-- 公共css -->
    <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/common/css/common.css?v=<?php echo time(); ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/common/css/forminput.css?v=<?php echo htmlentities((string) $static_cache_version); ?>" />

    <!-- 模块公共css -->
    <?php if(!empty($static_path_data['common_css'])): ?>
        <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/<?php echo htmlentities((string) $static_path_data['common_css']); ?>?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
    <?php endif; if(!empty($static_path_data['theme_import_css']) and is_array($static_path_data['theme_import_css'])): foreach($static_path_data['theme_import_css'] as $v): ?>
            <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/<?php echo htmlentities((string) $v); ?>?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
        <?php endforeach; ?>
    <?php endif; if(!empty($static_path_data['module_css'])): ?>
        <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/<?php echo htmlentities((string) $static_path_data['module_css']); ?>?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
    <?php endif; if(!empty($static_path_data['other_css'])): ?>
        <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/<?php echo htmlentities((string) $static_path_data['other_css']); ?>?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
    <?php endif; ?>
    
    <!-- ckplayer播放器 -->
    <?php if(isset($is_load_ckplayer) and $is_load_ckplayer == 1): ?>
        <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/common/lib/ckplayer/css/ckplayer.css?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
    <?php endif; ?>

    <!-- 范围滑条 -->
    <?php if(isset($is_load_jrange) and $is_load_jrange == 1): ?>
        <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/common/lib/jRange/jquery.range.css?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
    <?php endif; ?>

    <!-- 插件 -->
    <?php if(!empty($static_path_data['plugins_css'])): ?>
        <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/<?php echo htmlentities((string) $static_path_data['plugins_css']); ?>?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
    <?php endif; if(isset($is_load_layout_admin) and $is_load_layout_admin == 1): ?>
        <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/common/css/layout.admin.css?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
    <?php endif; ?>
    <!-- 页面样式 -->
    <?php if(!empty($static_path_data['page_css'])): ?>
        <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?>static/<?php echo htmlentities((string) $static_path_data['page_css']); ?>?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
    <?php endif; ?>

    <!-- css钩子 -->
    <?php if(!empty($plugins_css_data) and is_array($plugins_css_data)): foreach($plugins_css_data as $hook): if(!empty($hook) and is_string($hook)): if(substr($hook, 0, 4) == 'http'): ?>
                    <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $hook); ?>?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
                <?php else: ?>
                    <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?><?php echo htmlentities((string) $hook); ?>?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
                <?php endif; elseif(is_array($hook)): foreach($hook as $hook_css): if(!empty($hook_css) and is_string($hook_css)): if(substr($hook_css, 0, 4) == 'http'): ?>
                            <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $hook_css); ?>?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
                        <?php else: ?>
                            <link rel="stylesheet" type="text/css" href="<?php echo htmlentities((string) $public_host); ?><?php echo htmlentities((string) $hook_css); ?>?v=<?php echo htmlentities((string) $static_cache_version); ?>" />
                        <?php endif; ?>
                    <?php endif; ?>
                <?php endforeach; ?>
            <?php endif; ?>
        <?php endforeach; ?>
    <?php endif; ?>

    <!-- 公共header内钩子 -->
    <?php if(!empty($plugins_common_header_data) and is_array($plugins_common_header_data)): foreach($plugins_common_header_data as $hook): if(is_string($hook) or is_int($hook)): ?>
                <?php echo $hook; ?>
            <?php endif; ?>
        <?php endforeach; ?>
    <?php endif; ?>

    <!-- 主题配色 -->
    <style type="text/css">
        :root {
            <?php if(!empty($theme_style_data) and is_array($theme_style_data)): foreach($theme_style_data as $k=>$v): ?>
                    --<?php echo str_replace('_', '-', $k);; ?>: <?php echo htmlentities((string) $v); if($k == 'html_body_size'): ?>px<?php elseif(in_array($k, ['border_radius', 'border_radius_sm', 'border_radius_lg'])): ?>rem<?php endif; ?>;
                <?php endforeach; else: ?>
                <?php echo ModuleInclude('aapublic/header_style_root'); ?>
            <?php endif; ?>
        }
        /* 公共header内js钩子 */
        <?php if(!empty($plugins_common_header_css_data) and is_array($plugins_common_header_css_data)): foreach($plugins_common_header_css_data as $hook): if(is_string($hook) or is_int($hook)): ?>
                    <?php echo $hook; ?>
                <?php endif; ?>
            <?php endforeach; ?>
        <?php endif; ?>
    </style>
    <script type="text/javascript">
        // 基础配置
        var __system_type__ = '<?php echo htmlentities((string) $system_type); ?>';
        var __root__ = '<?php echo htmlentities((string) $public_host); ?>';
        var __my_http__ = '<?php echo htmlentities((string) $my_http); ?>';
        var __my_host__ = '<?php echo htmlentities((string) $my_host); ?>';
        var __my_url__ = '<?php echo htmlentities((string) $my_url); ?>';
        var __my_view_url__ = '<?php echo htmlentities((string) $my_view_url); ?>';
        var __my_public_url__ = '<?php echo htmlentities((string) $my_public_url); ?>';
        var __public__ = '<?php echo htmlentities((string) $public_host); ?>';
        var __default_theme__ = '<?php echo htmlentities((string) $default_theme); ?>';
        var __modal_login_url__ = '<?php echo MyUrl("index/user/modallogininfo"); ?>';
        var __attachment_host__ = '<?php echo htmlentities((string) $attachment_host); ?>';
        var __seo_url_suffix__ = '<?php echo MyC("home_seo_url_html_suffix", "html", true); ?>';
        var __user_id__ = <?php if(empty($user['id'])): ?>0<?php else: ?><?php echo htmlentities((string) $user['id']); ?><?php endif; ?>;
        var __currency_symbol__ = '<?php echo htmlentities((string) $currency_symbol); ?>';
        var __is_mobile__ = '<?php if(IsMobile()): ?>1<?php else: ?>0<?php endif; ?>';
        var __env_max_input_vars_count__ = '<?php echo htmlentities((string) $env_max_input_vars_count); ?>';
        var __map_view_url__ = '<?php echo MyUrl("index/map/index"); ?>';
        var __load_map_type__ = '<?php echo htmlentities((string) $load_map_type); ?>';
        var __user_login_info_url__ = '<?php echo MyUrl("index/user/logininfo"); ?>';
        var __user_register_info_url__ = '<?php echo MyUrl("index/user/reginfo"); ?>';
        var __user_forget_info_url__ = '<?php echo MyUrl("index/user/forgetpwdinfo"); ?>';
        var __goods_spec_type_url__ = '<?php echo MyUrl("index/goods/spectype"); ?>';
        var __goods_spec_detail_url__ = '<?php echo MyUrl("index/goods/specdetail"); ?>';
        var __goods_stock_url__ = '<?php echo MyUrl("index/goods/stock"); ?>';
        var __goods_cart_save_url__ = '<?php echo MyUrl("index/cart/save"); ?>';
        var __goods_cart_info_url__ = '<?php echo MyUrl("index/goods/cartinfo"); ?>';
        var __goods_favor_url__ = '<?php echo MyUrl("index/goods/favor"); ?>';
        var __web_number_trend__ = '<?php echo MyLang("common.web_number_trend"); ?>';
        <?php if(!empty($theme_data_admin_data) and isset($theme_data_admin_data['status']) and $theme_data_admin_data['status'] == 1 and !empty($theme_data_admin_data['admin_url_data']) and is_array($theme_data_admin_data['admin_url_data'])): foreach($theme_data_admin_data['admin_url_data'] as $k=>$v): ?>
                var __theme_data_admin_<?php echo htmlentities((string) $k); ?>_url__ = '<?php echo htmlentities((string) $v); ?>';
            <?php endforeach; ?>
        <?php endif; ?>
        // 语言定义（用于js调用、模板引擎直接使用$lang_data.xxx获取对应语言即可）
        <?php if(!empty($lang_data)): foreach($lang_data as $k=>$v): if(!empty($k) and isset($v) and !is_array($v)): ?>
                    var lang_<?php echo htmlentities((string) $k); ?> = '<?php echo htmlentities((string) $v); ?>';
                <?php endif; ?>
            <?php endforeach; ?>
        <?php endif; ?>
        // 公共header内js钩子
        <?php if(!empty($plugins_common_header_javascript_data) and is_array($plugins_common_header_javascript_data)): foreach($plugins_common_header_javascript_data as $v): if(is_array($v)): if(isset($v['var']) and isset($v['value'])): if(is_string($v['value']) or is_int($v['value'])): ?>
                            var plugins_<?php echo htmlentities((string) $v['var']); ?> = '<?php echo htmlentities((string) $v['value']); ?>';
                        <?php endif; else: foreach($v as $vs): if(isset($vs['var']) and isset($vs['value']) and (is_string($vs['value']) or is_int($vs['value']))): ?>
                                var plugins_<?php echo htmlentities((string) $vs['var']); ?> = '<?php echo htmlentities((string) $vs['value']); ?>';
                            <?php endif; ?>
                        <?php endforeach; ?>
                    <?php endif; ?>
                <?php endif; ?>
            <?php endforeach; ?>
        <?php endif; ?>
    </script>
</head>
<body class="<?php echo htmlentities((string) $page_unique_mark); if(in_array(MiniAppEnv(), MyConfig('shopxo.mini_app_type_list'))): ?> mini-app-env<?php endif; ?>">
<div class="body-content-container">
    <div class="body-content-formal-container">
        <!-- 页面加载层 -->
        <?php if(isset($is_page_loading) and $is_page_loading == 1): ?>
            <?php echo ModuleInclude('public/page_loading'); ?>
        <?php endif; ?>

        <!-- css钩子 -->
        <?php if((!isset($page_pure) or $page_pure != 1) and (!isset($is_header) or $is_header == 1)): if(isset($shopxo_is_develop) and $shopxo_is_develop == true): ?>
                <div class="plugins-tag">
                    <span>plugins_css</span>
                </div>
            <?php endif; ?>
        <?php endif; ?>

        <!-- 公共header内钩子 -->
        <?php if((!isset($page_pure) or $page_pure != 1) and (!isset($is_header) or $is_header == 1)): if(isset($shopxo_is_develop) and $shopxo_is_develop == true): ?>
                <div class="plugins-tag">
                    <span>plugins_common_header</span>
                </div>
            <?php endif; ?>
        <?php endif; if(empty($module_data) or !isset($module_data['is_header_hook']) or $module_data['is_header_hook'] == 1): ?>
            <!-- 公共顶部钩子 -->
            <?php if(!isset($page_pure) or $page_pure != 1): if(isset($shopxo_is_develop) and $shopxo_is_develop == true): ?>
                    <div class="plugins-tag">
                        <span>plugins_view_common_top</span>
                    </div>
                <?php endif; if(!empty($plugins_view_common_top_data) and is_array($plugins_view_common_top_data)): foreach($plugins_view_common_top_data as $hook): if(is_string($hook) or is_int($hook)): ?>
                            <?php echo $hook; ?>
                        <?php endif; ?>
                    <?php endforeach; ?>
                <?php endif; ?>
            <?php endif; ?>

            <!-- header公共顶部钩子 -->
            <?php if(!isset($is_header) or $is_header == 1): if(isset($shopxo_is_develop) and $shopxo_is_develop == true): ?>
                    <div class="plugins-tag">
                        <span>plugins_view_common_top_header</span>
                    </div>
                <?php endif; if(!empty($plugins_view_common_top_header_data) and is_array($plugins_view_common_top_header_data)): foreach($plugins_view_common_top_header_data as $hook): if(is_string($hook) or is_int($hook)): ?>
                            <?php echo $hook; ?>
                        <?php endif; ?>
                    <?php endforeach; ?>
                <?php endif; ?>
            <?php endif; ?>
        <?php endif; ?>