Вход Регистрация
Файл: resources/views/admin/users/index.blade.php
Строк: 101
<?php
@extends('layout')

@
section('title'__('index.users'))

@
section('breadcrumb')
    <
nav>
        <
ol class="breadcrumb">
            <
li class="breadcrumb-item"><a href="/"><class="fas fa-home"></i></a></li>
            <
li class="breadcrumb-item"><a href="/admin">{{ __('index.panel') }}</a></li>
            <
li class="breadcrumb-item active">{{ __('index.users') }}</li>
        </
ol>
    </
nav>
@
stop

@section('content')
    <
div class="section-form mb-3 shadow">
        <
form action="/admin/users/edit" method="get">
            <
div class="input-group{{ hasError('user') }}">
                <
input type="text" class="form-control" id="user" name="user" maxlength="20" value="{{ getInput('user') }}" placeholder="{{ __('main.user_login') }}" required>
                <
button class="btn btn-primary">{{ __('main.edit') }}</button>
            </
div>
            <
div class="invalid-feedback">{{ textError('user') }}</div>
        </
form>
    </
div>

    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=1">0-9</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=a">A</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=b">B</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=c">C</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=d">D</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=e">E</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=f">F</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=g">G</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=h">H</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=i">I</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=j">J</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=k">K</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=l">L</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=m">M</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=n">N</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=o">O</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=p">P</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=q">Q</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=r">R</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=s">S</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=t">T</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=u">U</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=v">V</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=w">W</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=x">X</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=y">Y</a>
    <
class="badge rounded-pill bg-success" href="/admin/users/search?q=z">Z</a>
    <
br><br>

    <
h3>{{ __('users.last_registered') }}</h3>

    @if (
$users->isNotEmpty())
        @foreach (
$users as $user)
            <
div class="section mb-3 shadow">
                <
div class="user-avatar">
                    {{ 
$user->getAvatar() }}
                    {{ 
$user->getOnline() }}
                </
div>

                <
div class="section-content">
                    <
b><a href="/admin/users/edit?user={{ $user->login }}">{{ $user->getName() }}</a></b>
                    ({{ 
plural($user->pointsetting('scorename')) }})<br>

                    {{ 
__('users.email') }}: {{ $user->email }}<br>
                    {{ 
__('users.registered') }}: {{ dateFixed($user->created_at'd.m.Y') }}
                </
div>
            </
div>
        @endforeach

        {{ 
$users->links() }}
    @else
        {{ 
showError(__('main.empty_users')) }}
    @endif
@
stop
?>
Онлайн: 0
Реклама