<div class="footer bg-dark text-light">
    <div class="container">
        <div class="row">
            {volist name="navigator" id="nav"}
            {if $nav['footer']}
            <div class="col">
                <dl>
                    <dt>{$nav['title']}</dt>
                    <dd>
                        {volist name="nav['subnav']" id="nav"}
                        <a href="{$nav['url']}">{$nav['title']}</a>
                        {/volist}
                    </dd>
                </dl>
            </div>
            {/if}
            {/volist}
            <div class="col">
                <dl>
                    <dt>友情链接</dt>
                    <dd>
                        {extendtag:links var="links" /}
                        {volist name="links" id="link"}
                        <a href="{$link.url}">{$link.title}</a>
                        {/volist}
                    </dd>
                </dl>
            </div>
            <div class="col qrcode">
                <img src="__STATIC__/images/qrcode.png" />
            </div>
            <div class="col telephone">
                <h2><span class="ion-md-call"></span>&nbsp;076088618161</h2>
                <p><span class="ion-md-navigate"></span>&nbsp;中山市西区</p>
                <p><span class="ion-logo-tux"></span>&nbsp;631380009</p>
            </div>
        </div>
        <hr class="my-4" />
        <div class="copyright-row text-center">
            <div class="mt-3">
                &copy;2014-2018 语辰软件&nbsp;<a href="https://beian.miit.gov.cn/"
                    target="_blank">{$config['site-icp']}</a>{$config['site-tongji']|raw}
            </div>
            {if !empty($config['gongan-icp'])}
            {php}$icpcode=preg_replace('/[^\d]+/','',$config['gongan-icp']){/php}
            <div class="mt-3"> <a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode={$icpcode}"
                    target="_blank"> <img src="__STATIC__/images/beianicon.png" style="vertical-align: middle;" />
                    {$config['gongan-icp']}</a></div>
            {/if}
        </div>
    </div>
</div>