@extends('admin::frame')

@section('pageTitle','后台首页')

@section('adminScript')
    @parent
    @include('soft::admin.dashboardVersion')
@endsection

@section('bodyContent')

    @include('soft::admin.dashboardDemo')

    <div class="uk-grid">
        <div class="uk-width-1-2">
            <div class="admin-block">
                <div class="head">帖子概况</div>
                <div class="body uk-text-center">
                    <div class="uk-grid">
                        <div class="uk-width-1-2">
                            <div><span class="uk-text-success uk-text-large">{{number_format(\TechOnline\Laravel\Dao\ModelUtil::count('forum_thread'))}}</span></div>
                            <div>主题总数</div>
                        </div>
                        <div class="uk-width-1-2">
                            <div><span class="uk-text-success uk-text-large">{{number_format(\TechOnline\Laravel\Dao\ModelUtil::count('forum_post'))}}</span></div>
                            <div>回复总数</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="uk-width-1-2">
            <div class="admin-block">
                <div class="head">会员概况</div>
                <div class="body uk-text-center">
                    <div class="uk-grid">
                        <div class="uk-width-1-1">
                            <div><span class="uk-text-success uk-text-large">{{number_format(\TechOnline\Laravel\Dao\ModelUtil::count('member_user'))}}</span></div>
                            <div>总数</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


    @include('soft::admin.dashboardCopyright')

@endsection
