<?php
/**
 * 页面底部信息
 */
defined('EM_ROOT') || exit('access denied!');
?>
<?php doAction('page_footer') ?>

<footer class="bg-white py-3" style="margin-top: 15px;">
    <div class="container">
        <div class="row">
            <!-- 版权信息 -->
            <div class="col-md-6 text-center text-md-left">
                <small><?= $footer_info ?></small>
                <br>
                <small class="text-muted">
                    <?php
                    if (!empty($icp)) {
                        echo '<a href="https://beian.miit.gov.cn/" target="_blank">' . $icp . '</a>';
                    }
                    ?>
                </small>
                <?php doAction('index_footer') ?>
            </div>
        </div>
    </div>
</footer>

<!-- 底部导航 -->
<footer class="footer-nav tel-footer">
    <a href="<?= EM_URL ?>" class="nav-item active">
        <i class="fa fa-home nav-icon"></i>
        <span>首页</span>
    </a>
    <a href="/user/visitors.php" class="nav-item">
        <i class="fa fa-search nav-icon"></i>
        <span>游客查单</span>
    </a>
    <?php if(Option::get('login_switch') == 'y' && Option::get('register_switch') == 'y'): ?>
    <a href="/user/balance.php" class="nav-item">
        <i class="fa fa-user nav-icon"></i>
        <span>个人中心</span>
    </a>
    <?php endif; ?>
</footer>

<!--<div class="tel-footer">
    <div class="layui-row layui-col-space1">
        <a href="/" class="layui-col-xs6">
            <i class="fa fa-home footer-icon"></i>
            <div class="nav-item-text">首页</div>
        </a>
        <a href="/user/visitors.php" class="layui-col-xs6 ">
            <i class="fa fa-search footer-icon"></i>
            <div class="nav-item-text">查询订单</div>
        </a>
    </div>
</div>-->

<style>

</style>

<script>
    let tipsMsg = {
        least_one    : '',
        exceeds      : '',
        exceeds_limit: '',
        mobile_order : ''
    };
</script>

<script src="<?= TEMPLATE_URL ?>/js/main.js"></script>
<script src="../../content/common/js/home.js"></script>
</body>
</html>