<?php /*a:1:{s:66:"D:\phpstudy\WWW\12xz\app\index\view/default\public\footer_nav.html";i:1782629701;}*/ ?>
<!-- is footer hook -->
<?php if(empty($module_data) or !isset($module_data['is_footer_hook']) or $module_data['is_footer_hook'] == 1): ?>
    <!-- 底部导航上面钩子 -->
    <?php if(isset($shopxo_is_develop) and $shopxo_is_develop == true): ?>
        <div class="plugins-tag">
            <span>plugins_view_common_footer_top</span>
        </div>
    <?php endif; if(!empty($plugins_view_common_footer_top_data) and is_array($plugins_view_common_footer_top_data)): foreach($plugins_view_common_footer_top_data as $hook): if(is_string($hook) or is_int($hook)): ?>
                <?php echo $hook; ?>
            <?php endif; ?>
        <?php endforeach; ?>
    <?php endif; ?>
<?php endif; ?>

<!-- 底部内容及页脚 -->
<?php if(MyC('home_main_footer_content_status', 1) == 1 and (!IsMobile() or (IsMobile() and MyC('common_is_mobile_concise_model') != 1))): ?>
    <footer data-am-widget="footer" class="am-footer am-footer-default" data-am-footer="{}">
        <?php if(empty($module_data) or !isset($module_data['is_footer_nav_content']) or $module_data['is_footer_nav_content'] == 1): ?>
            <div class="am-container footer-nav-content">
                <!-- 底部导航 -->
                <?php if(!empty($nav_footer)): ?>
                    <ul data-am-widget="gallery" class="am-gallery am-avg-sm-2 am-avg-md-4 am-avg-lg-4 am-gallery-overlay am-no-layout am-u-md-8 am-u-lg-9 footer-nav-list theme-data-edit-event" data-module="navigation_footer" data-am-gallery="{}">
                        <?php foreach($nav_footer as $k=>$v): if($k < 4): ?>
                                <li>
                                    <div class="am-gallery-item">
                                        <p class="footer-nav-title am-text-truncate"><?php echo htmlentities((string) $v['name']); ?></p>
                                        <?php if(!empty($v['items'])): foreach($v['items'] as $vs): ?>
                                                <p class="am-text-truncate">
                                                    <a href="<?php echo htmlentities((string) $vs['url']); ?>" <?php if(isset($vs['is_new_window_open']) and $vs['is_new_window_open'] == 1): ?>target="_blank" rel="noopener noreferrer"<?php endif; ?>><?php echo htmlentities((string) $vs['name']); ?></a>
                                                </p>
                                            <?php endforeach; ?>
                                        <?php endif; ?>
                                    </div>
                                </li>
                            <?php endif; ?>
                        <?php endforeach; ?>
                    </ul>
                <?php endif; ?>

                <!-- 商店信息 -->
                <?php if(!empty($site_info_data) and is_array($site_info_data)): ?>
                    <ul class="footer-about am-u-md-4 am-u-lg-3 theme-data-edit-event" data-module="store_config">
                        <!-- 客服信息 -->
                        <?php if(!empty($site_info_data['chat']['data']['text']) and is_array($site_info_data['chat']['data']['text'])): foreach($site_info_data['chat']['data']['text'] as $v): if(!empty($v['key']) and (!empty($v['value']) or !empty($v['image_url']))): ?>
                                    <li class="am-text-left">
                                        <i class="iconfont <?php echo htmlentities((string) $v['icon']); ?> am-vertical-align-middle"></i>
                                        <?php switch($v['key']): case "tel": if(!empty($v['image_url'])): ?>
                                                    <img src="<?php echo htmlentities((string) $v['image_url']); ?>" alt="<?php echo htmlentities((string) $v['name']); ?>" class="am-vertical-align-middle customer-sensitive-contact-img" />
                                                <?php else: ?>
                                                    <a href="tel:<?php echo htmlentities((string) $v['value']); ?>" class="am-vertical-align-middle"><?php echo htmlentities((string) $v['value']); ?></a>
                                                <?php endif; break; case "email": if(!empty($v['image_url'])): ?>
                                                    <img src="<?php echo htmlentities((string) $v['image_url']); ?>" alt="<?php echo htmlentities((string) $v['name']); ?>" class="am-vertical-align-middle customer-sensitive-contact-img" />
                                                <?php else: ?>
                                                    <a href="mailto:<?php echo htmlentities((string) $v['value']); ?>" class="am-vertical-align-middle"><?php echo htmlentities((string) $v['value']); ?></a>
                                                <?php endif; break; case "qq": if(!empty($v['image_url'])): ?>
                                                    <img src="<?php echo htmlentities((string) $v['image_url']); ?>" alt="<?php echo htmlentities((string) $v['name']); ?>" class="am-vertical-align-middle customer-sensitive-contact-img" />
                                                <?php else: ?>
                                                    <a href="https://wpa.qq.com/msgrd?v=3&uin=<?php echo htmlentities((string) $v['value']); ?>&site=qq&menu=yes" target="_blank" rel="noopener noreferrer" class="am-vertical-align-middle"><?php echo htmlentities((string) $v['value']); ?></a>
                                                <?php endif; break; case "url": ?>
                                                <a href="<?php echo htmlentities((string) $v['value']); ?>" target="_blank" rel="noopener noreferrer" class="am-vertical-align-middle"><?php echo htmlentities((string) $v['name']); ?></a>
                                            <?php break; default: ?>
                                                <span class="am-vertical-align-middle"><?php echo htmlentities((string) $v['value']); ?></span>
                                        <?php endswitch; ?>
                                    </li>
                                <?php endif; ?>
                            <?php endforeach; ?>
                        <?php endif; ?>

                        <!-- 基础信息 -->
                        <?php if(!empty($site_info_data['base']['data']['text']) and is_array($site_info_data['base']['data']['text'])): foreach($site_info_data['base']['data']['text'] as $v): if(!empty($v['value']) and !empty($v['key'])): ?>
                                    <li class="am-text-left">
                                        <i class="iconfont <?php echo htmlentities((string) $v['icon']); ?> am-vertical-align-middle"></i>
                                        <span class="am-vertical-align-middle"><?php echo htmlentities((string) $v['value']); ?></span>
                                    </li>
                                <?php endif; ?>
                            <?php endforeach; ?>
                        <?php endif; ?>

                        <!-- 图片信息 -->
                        <?php if((!empty($site_info_data['chat']['data']['images']) and is_array($site_info_data['chat']['data']['images'])) or (!empty($site_info_data['base']['data']['images']) and is_array($site_info_data['base']['data']['images'])) or (!empty($site_info_data['client']['data']['images']) and is_array($site_info_data['client']['data']['images']))): ?>
                            <li class="am-padding-right-0">
                                <ul class=" am-avg-sm-3 am-avg-md-3 am-text-center am-margin-top-xs am-margin-bottom-0">
                                    <!-- 客服图片 -->
                                    <?php if(!empty($site_info_data['chat']['data']['images']) and is_array($site_info_data['chat']['data']['images'])): foreach($site_info_data['chat']['data']['images'] as $v): if(!empty($v['value']) and !empty($v['name'])): ?>
                                                <li class="am-padding-bottom-xs am-padding-right-sm">
                                                    <img src="<?php echo htmlentities((string) $v['value']); ?>" class="am-radius am-max-wh-auto common-annex-view-event" data-title="<?php echo htmlentities((string) $v['name']); ?>" alt="<?php echo htmlentities((string) $v['name']); ?>" />
                                                    <p class="am-text-xs"><?php echo htmlentities((string) $v['name']); ?></p>
                                                </li>
                                            <?php endif; ?>
                                        <?php endforeach; ?>
                                    <?php endif; ?>
                                    <!-- 基础图片 -->
                                    <?php if(!empty($site_info_data['base']['data']['images']) and is_array($site_info_data['base']['data']['images'])): foreach($site_info_data['base']['data']['images'] as $v): if(!empty($v['value']) and !empty($v['name'])): ?>
                                                <li class="am-padding-bottom-xs am-padding-right-sm">
                                                    <img src="<?php echo htmlentities((string) $v['value']); ?>" class="am-radius am-max-wh-auto common-annex-view-event" data-title="<?php echo htmlentities((string) $v['name']); ?>" alt="<?php echo htmlentities((string) $v['name']); ?>" />
                                                    <p class="am-text-xs"><?php echo htmlentities((string) $v['name']); ?></p>
                                                </li>
                                            <?php endif; ?>
                                        <?php endforeach; ?>
                                    <?php endif; ?>
                                    <!-- 平台客户端图片 -->
                                    <?php if(!empty($site_info_data['client']['data']['images']) and is_array($site_info_data['client']['data']['images'])): foreach($site_info_data['client']['data']['images'] as $v): if(!empty($v['value']) and !empty($v['name'])): ?>
                                                <li class="am-padding-bottom-xs am-padding-right-sm">
                                                    <img src="<?php echo htmlentities((string) $v['value']); ?>" class="am-radius am-max-wh-auto common-annex-view-event" data-title="<?php echo htmlentities((string) $v['name']); ?>" alt="<?php echo htmlentities((string) $v['name']); ?>" />
                                                    <p class="am-text-xs"><?php echo htmlentities((string) $v['name']); ?></p>
                                                </li>
                                            <?php endif; ?>
                                        <?php endforeach; ?>
                                    <?php endif; ?>
                                </ul>
                            </li>
                        <?php endif; ?>
                    </ul>
                <?php endif; ?>
            </div>

            <!-- 页脚 -->
            <div class="am-footer-miscs">
                <div class="am-container">
                    <!-- 友情链接 -->
                    <?php if(!empty($link_list)): ?>
                        <div class="friendship-list theme-data-edit-event" data-module="link_list">
                            <ul class="am-cf am-margin-bottom-sm">
                                <li class="am-fl am-text-center title">友情链接</li>
                                <?php foreach($link_list as $v): ?>
                                    <li class="am-fl am-text-center">
                                        <a href="<?php echo htmlentities((string) $v['url']); ?>" <?php if(isset($v['is_new_window_open']) and $v['is_new_window_open'] == 1): ?> target="_blank" rel="noopener noreferrer"<?php endif; ?>><?php echo htmlentities((string) $v['name']); ?></a>
                                    </li>
                                <?php endforeach; ?>
                            </ul>
                        </div>
                    <?php endif; ?>

                    <!-- 页脚信息 -->
                    <?php echo ModuleInclude('public/footer_filing'); ?>
                </div>
            </div>
        <?php else: ?>
            <div class="am-footer-miscs">
                <?php echo ModuleInclude('public/footer_filing'); ?>
            </div>
        <?php endif; ?>
    </footer>
<?php else: ?>
    <!-- 页脚 -->
    <footer class="am-footer am-footer am-footer-default footer-base-content">
        <div class="am-footer-miscs">
            <?php echo ModuleInclude('public/footer_filing'); ?>
        </div>
    </footer>
<?php endif; ?>