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/home.blade.php

23 lines
847 B
PHP
Raw Normal View History

2021-06-27 19:01:43 +00:00
@extends('layouts.main')
2020-02-26 13:59:58 +00:00
@section('content')
<div class="container-fluid" style="margin-top: 75px">
<div class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2">
@php($message = \App\Message::orderByDesc('id')->first())
@if(!empty($message))
<div class="panel panel-theme news">
<div class="panel-heading">
@php($time = strtotime($message->created_at))
<h3 class="panel-title">{{ \App\Cache\Cache::getUsername($message->uuid) }}<span style="float: right">{{ date('d-m-Y', $time) }} at {{ date('H:m', $time) }}</span></h3>
</div>
<div class="panel-body">
<div class="container-fluid">
{!! $message->content !!}
</div>
</div>
</div>
@endif
</div>
</div>
@endsection