<?php
//用户中心概览页面
$user_id = get_current_user_id();

?>

<div class="dash-center user-dash-box">
    <div class="vip-lv-block uk-grid-small" uk-grid>
        <div class="uk-width-2-5@m">
            <div class="user-vip-block">
                <?php echo user_vip_block($user_id); ?>
            </div>
        </div>

        <div class="uk-width-2-5@m">
            <div class="user-lv-block">
                    <?php echo user_lv_block($user_id); ?>
            </div>
        </div>

        <div class="uk-width-1-5@m">
            <div class="user-checkin-block">
            <?php echo user_sign_block($user_id); ?>
            </div>
            <div id="checkin-modal-here"></div>
        </div>

    </div>

    <div class="user-stats-block">
        <div class="stats-title">
            <i class="ri-wallet-line"></i>钱包与额度
        </div>
        <div class="user-wallet-block uk-grid-small" uk-grid>
            <div class="uk-width-1-3@m">
                <?php echo user_balance_block($user_id); ?>
            </div>
            <div class="uk-width-1-3@m">
                <?php echo user_credit_block($user_id); ?>
            </div>
            <div class="uk-width-1-3@m">
                <?php echo user_downnum_block($user_id); ?>
            </div>
        </div>
    </div>

    <?php echo user_stats_block($user_id); ?>

</div>