Просмотр файла resources/views/widgets/_classic.blade.php

Размер файла: 3.81Kb
<div class="section mb-3 shadow">
    <div class="section-title">
        <i class="far fa-circle fa-lg text-muted"></i>
        <a href="/news" class="">{{ __('index.news') }}</a>
        <span class="badge bg-light text-dark">{{ statsNewsDate() }}</span>
    </div>
    {{ lastNews() }}
</div>

<div class="section mb-3 shadow">
    <div class="section-title">
        <i class="fa fa-comment fa-lg text-muted"></i>
        <a href="/pages/recent">{{ __('index.communication') }}</a>
    </div>
    <div class="section-body">
        <i class="far fa-circle fa-lg text-muted"></i> <a class="index" href="/guestbook">{{ __('index.guestbook') }}</a> ({{ statsGuestbook() }})<br>
        <i class="far fa-circle fa-lg text-muted"></i> <a href="/photos">{{ __('index.photos') }}</a> ({{ statsPhotos() }})<br>
        <i class="far fa-circle fa-lg text-muted"></i> <a href="/votes">{{ __('index.votes') }}</a> ({{ statVotes()}})<br>
        <i class="far fa-circle fa-lg text-muted"></i> <a href="/offers">{{ __('index.offers') }}</a> ({{ statsOffers() }})<br>
    </div>
</div>

<div class="section mb-3 shadow">
    <div class="section-title">
        <i class="fab fa-forumbee fa-lg text-muted"></i>
        <a href="/forums">{{ __('index.forums') }}</a>
        <span class="badge bg-light text-dark">{{ statsForum() }}</span>
    </div>
    {{ recentTopics() }}
</div>

<div class="section mb-3 shadow">
    <div class="section-title">
        <i class="fa fa-download fa-lg text-muted"></i>
        <a href="/loads">{{ __('index.loads') }}</a>
        <span class="badge bg-light text-dark">{{ statsLoad() }}</span>
    </div>
    {{ recentDowns() }}
</div>

<div class="section mb-3 shadow">
    <div class="section-title">
        <i class="fa fa-globe fa-lg text-muted"></i>
        <a href="/blogs">{{ __('index.blogs') }}</a>
        <span class="badge bg-light text-dark">{{ statsBlog() }}</span>
    </div>
    {{ recentArticles() }}
</div>

<div class="section mb-3 shadow">
    <div class="section-title">
        <i class="fa fa-list-alt fa-lg text-muted"></i>
        <a href="/boards">{{ __('index.boards') }}</a>
        <span class="badge bg-light text-dark">{{ statsBoard() }}</span>
    </div>
    {{ recentBoards() }}
</div>

<div class="section mb-3 shadow">
    <div class="section-title">
        <i class="fa fa-cog fa-lg text-muted"></i>
        <a href="/pages">{{ __('index.pages') }}</a>
    </div>
    <div class="section-body">
        <i class="far fa-circle fa-lg text-muted"></i> <a href="/files/docs">{{ __('index.docs') }}</a><br>
        <i class="far fa-circle fa-lg text-muted"></i> <a href="/search">{{ __('index.search') }}</a><br>
        <i class="far fa-circle fa-lg text-muted"></i> <a href="/mails">{{ __('index.mails') }}</a><br>
        <i class="far fa-circle fa-lg text-muted"></i> <a href="/users">{{ __('index.users') }}</a> ({{  statsUsers() }})<br>
    </div>
</div>

<div class="row">
    <div class="col-md-6">
        <div class="section mb-3 shadow">
            <div class="section-title">
                <i class="fa fa-chart-line fa-lg text-muted"></i>
                {{ __('index.courses') }}
            </div>
            <div class="section-body">
                {{ getCourses() }}
            </div>
        </div>
    </div>
    <div class="col-md-6">
        <div class="section mb-3 shadow">
            <div class="section-title">
                <i class="fa fa-calendar-alt fa-lg text-muted"></i>
                {{ __('index.calendar') }}
            </div>
            <div class="section-body">
                {{ getCalendar() }}
            </div>
        </div>
    </div>
</div>

<div class="section mb-3 shadow">
    <div class="section-title">
        <i class="fa fa-users fa-lg text-muted"></i>
        {{ __('main.who_online') }}
    </div>
    <div class="section-body">
        {{ onlineWidget() }}
    </div>
</div>