3
0
Fork 0
This repository has been archived on 2024-11-14. You can view files and clone it, but cannot push or open issues or pull requests.
ThemeParkPlus-Panel/resources/views/ridecount.blade.php

33 lines
1.2 KiB
PHP
Raw Normal View History

2021-06-27 19:01:43 +00:00
@extends('layouts.main')
@section('content')
<div class="wrapper">
<div class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2">
<div class="panel panel-theme news">
<div class="panel-heading">
<h3 class="panel-title">{{ \App\Color\MinecraftColor::stripColor($name) }}</h3>
</div>
<div class="panel-body">
<div class="col-lg-6 col-xs-12 col-md-6 col-sm-12">
<p>Personal: {{ $personal }}</p>
<p>Total: {{ $total }}</p>
</div>
<div class="col-lg-6 col-xs-12 col-md-6 col-sm-12">
@if(!empty($top10))
2021-06-27 19:01:43 +00:00
@php($i = 1)
@foreach($top10 as $row)
2021-06-27 19:01:43 +00:00
@php($username = \App\Cache\Cache::getUsername($row->uuid))
@if($username !== $row->uuid)
<p><b>{{ $i++ }}#</b> {{ $username }}<b>:</b> {{ $row->count }}</p>
@endif
@endforeach
@else
<p>Nobody has ridden this attraction this week</p>
@endif
</div>
</div>
</div>
</div>
</div>
@endsection