diff options
author | Frankie B <git@diskfloppy.me> | 2023-07-20 03:33:04 +0100 |
---|---|---|
committer | Frankie B <git@diskfloppy.me> | 2023-07-20 03:33:04 +0100 |
commit | 690ea377fe20512e06a78a93fde72ac372769a85 (patch) | |
tree | 3d3096e922b259f282cbbe16787d6ca0956106a9 /resources/views/pages/admin | |
parent | 50a8b45625b7d27a498abfb22cc0c9e16b262bd6 (diff) |
Add IP to guestbook admin page
Diffstat (limited to 'resources/views/pages/admin')
-rw-r--r-- | resources/views/pages/admin/guestbook.blade.php | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ <tr> <td> Name: {{ $entry->name }}<br/> + IP: {{ $entry->ip_address }}<br/> Date: {{ gmdate("H:i:s - Y-m-d", $entry->timestamp) }} </td> <td class="gb_del"> |