<?php
if (!defined('ROOT_PATH')) { exit('Access Denied'); }
require_once __DIR__ . '/_functions.php';
$productRoot = tpl_root_channel(2);
$newsRoot = tpl_root_channel(1);
$productChannels = $productRoot ? tpl_channels($productRoot['id'], 5) : array();
$newsChannels = $newsRoot ? tpl_channels($newsRoot['id'], 4) : array();
?>
<div class="abFoot">
    <div class="w1400 abFoot_Main">
        <div class="abFoot_ewm">
            <div class="abFoot_tit"><i></i><em></em>联系我们</div><div class="clear"></div>
            <div class="abFootewm_list">
                <div class="abFootewm_img"><div class="abFootewm_Part on"><!-- {$custom.title} --><img src="<?php echo tpl_e(tpl_qr_code()); ?>" alt="{$custom.title}"><i></i></div></div>
                <div class="abFootewm_tit"><span class="on"><i><img src="<?php echo tpl_e(tpl_asset('skin/images/ewm_ico1.png')); ?>" alt=""></i>移动端浏览</span></div>
            </div>
        </div>
        <div class="abFoot_nav"><ul>
            <li><div class="abFoot_tit"><i></i><em></em>产品中心</div><?php foreach ($productChannels as $channel): ?><p><a href="<?php echo tpl_e(getUrl('channel', $channel['id'], $channel['channel_dir'])); ?>"><?php echo tpl_e($channel['channel_name']); ?></a></p><?php endforeach; ?></li>
            <li><div class="abFoot_tit"><i></i><em></em>新闻资讯</div><?php if ($newsRoot): ?><p><a href="<?php echo tpl_e(getUrl('channel', $newsRoot['id'], $newsRoot['channel_dir'])); ?>"><?php echo tpl_e($newsRoot['channel_name']); ?></a></p><?php endif; ?><?php foreach ($newsChannels as $channel): ?><p><a href="<?php echo tpl_e(getUrl('channel', $channel['id'], $channel['channel_dir'])); ?>"><?php echo tpl_e($channel['channel_name']); ?></a></p><?php endforeach; ?></li>
            <li><div class="abFoot_tit"><i></i><em></em>关于我们</div><p><a href="<?php echo tpl_e(tpl_page_link('about')); ?>">关于我们</a></p><p><a href="<?php echo tpl_e(getUrl('guestbook')); ?>">在线留言</a></p><p><a href="<?php echo tpl_e(tpl_page_link('contact')); ?>">联系我们</a></p></li>
        </ul></div><div class="clear"></div>
    </div>
    <div class="abFoot_Copy"><div class="w1400"><div class="Copy_l">Copyright &copy; <?php echo date('Y'); ?> <?php echo tpl_e(tpl_site_name()); ?> <?php if (tpl_icp() !== ''): ?><a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank"><?php echo tpl_e(tpl_icp()); ?></a><?php endif; ?></div><div class="Copy_r"><a href="/sitemap.xml" target="_blank">XML</a></div></div></div>
</div>
<div class="kfView4">
    <div><a class="kefu-lx" title="有什么可以帮到您的呢？"></a></div>
    <ul class="list-unstyled"><li><a href="javascript:scroll(0,0)" class="kefu_top" title="回网页顶部"></a></li><li><a href="tel:<?php echo tpl_e(tpl_phone()); ?>" class="kefu-tel">电话咨询</a><p>服务热线：<br><?php echo tpl_e(tpl_phone()); ?></p></li><li class="kefu-wechat"><a class="kefu-wx">扫码加微信</a><p><img src="<?php echo tpl_e(tpl_qr_code()); ?>" width="120" alt="{$custom.title}"></p></li></ul>
</div>
<script src="<?php echo tpl_e($site['template_dir']); ?>skin/js/k620-cms.js?v=20260722-1"></script>
</body>
</html>
