diff --git a/resources/views/pages/admin/guestbook.blade.php b/resources/views/pages/admin/guestbook.blade.php index ec870bb..1480ea9 100644 --- a/resources/views/pages/admin/guestbook.blade.php +++ b/resources/views/pages/admin/guestbook.blade.php @@ -3,7 +3,7 @@ @section('content') @php $entries = DB::select(' - SELECT id, name, timestamp, message + SELECT id, name, timestamp, message, ip_address FROM guestbook__entries ORDER BY id DESC '); @@ -14,6 +14,7 @@ Name: {{ $entry->name }}
+ IP:   {{ $entry->ip_address }}
Date: {{ gmdate("H:i:s - Y-m-d", $entry->timestamp) }}