<?php $footerPartial = $this->shopHelper()->helperPartial('footerHelper');?>
<div class="site-footer">
    <?php echo $this->partial($footerPartial[1]['partialFile'], $footerPartial[1]['partialArg']); ?>
    <div class="container">
        <div class="footer-links clearfix">
            <dl class="col-links col-links-first">
                <dt><?php echo $this->translate('帮助中心'); ?></dt>
                <?php echo $this->partial($footerPartial[2]['partialFile'], $footerPartial[2]['partialArg']); ?>
            </dl>
            <dl class="col-links">
                <dt><?php echo $this->translate('服务支持'); ?></dt>
                <?php echo $this->partial($footerPartial[3]['partialFile'], $footerPartial[3]['partialArg']); ?>
            </dl>
            <dl class="col-links">
                <dt><?php echo $this->translate('支付方式'); ?></dt>
                <?php echo $this->partial($footerPartial[4]['partialFile'], $footerPartial[4]['partialArg']); ?>
            </dl>
            <dl class="col-links">
                <dt><?php echo $this->translate('关于我们'); ?></dt>
                <?php echo $this->partial($footerPartial[5]['partialFile'], $footerPartial[5]['partialArg']); ?>
            </dl>
            <dl class="col-links">
                <dt><?php echo $this->translate('客服中心'); ?></dt>
                <?php echo $this->partial($footerPartial[6]['partialFile'], $footerPartial[6]['partialArg']); ?>
            </dl>
            <div class="col-contact">
                <?php echo $this->partial($footerPartial[7]['partialFile'], $footerPartial[7]['partialArg']); ?>
            </div>
        </div>
        <div class="footer-info clearfix">
            <div style="position:relative;" class="info-text">
                <?php
                $shopFooterMenu = $this->shopHelper()->shopNavigationMenu(3);
                if($shopFooterMenu) {
                    echo '<p>';
                    $footerCount = count($shopFooterMenu)-1;
                    foreach($shopFooterMenu as $footerKey => $footerValue) { ?>
                        <a href="<?php echo $footerValue->getNavigationUrl(); ?>" <?php if($footerValue->getNewWindow() == 1) echo 'target="_blank"'; ?>><?php echo $this->escapeHtml($footerValue->getNavigationTitle()); ?></a><?php if($footerCount != $footerKey) echo '<span class="sep">|</span>';
                    }
                    echo '</p>';
                } ?>
                <p>Copyright &copy; <b>DBShop商城系统</b> <?php echo $this->translate('版权所有'); ?>
                <br><a href="https://www.dbshop.net/" target="_blank"><?php echo $this->translate('北京珑大钜商科技有限公司 提供技术支持'); ?></a>
                    <?php if ($this->shopHelper()->shop('website_icp')) echo '<br /><a href="https://beian.miit.gov.cn/" target="_blank" style="color: #fff;">'.$this->shopHelper()->shop('website_icp').'</a>';
                    echo '<br />'.$this->shopHelper()->shop('statistics_code', 'statistics');
                    ?>
                </p>
            </div>
        </div>
    </div>
</div>
