aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/views/pages/admin/guestbook.blade.php6
-rw-r--r--resources/views/pages/bookmarks.blade.php4
-rw-r--r--resources/views/pages/guestbook.blade.php6
3 files changed, 12 insertions, 4 deletions
diff --git a/resources/views/pages/admin/guestbook.blade.php b/resources/views/pages/admin/guestbook.blade.php
index 56323ef..ec870bb 100644
--- a/resources/views/pages/admin/guestbook.blade.php
+++ b/resources/views/pages/admin/guestbook.blade.php
@@ -2,7 +2,11 @@
@section('title', 'guestbook')
@section('content')
@php
- $entries = DB::select('SELECT id, name, timestamp, message FROM guestbook_entries ORDER BY id DESC');
+ $entries = DB::select('
+ SELECT id, name, timestamp, message
+ FROM guestbook__entries
+ ORDER BY id DESC
+ ');
@endphp
<h1>Entries <small>({{ count($entries) }} total)</small></h1>
@foreach ($entries as $entry)
diff --git a/resources/views/pages/bookmarks.blade.php b/resources/views/pages/bookmarks.blade.php
index 16d07cc..ee91334 100644
--- a/resources/views/pages/bookmarks.blade.php
+++ b/resources/views/pages/bookmarks.blade.php
@@ -5,7 +5,7 @@
@php
$categories = DB::select('
SELECT id, name
- FROM bookmark_categories
+ FROM bookmark__categories
ORDER BY priority ASC
');
@endphp
@@ -15,7 +15,7 @@
@php
$sites = DB::select('
SELECT name, url, description
- FROM bookmark_sites
+ FROM bookmark__sites
WHERE category_id = ? ORDER BY priority ASC
', array($category->id));
@endphp
diff --git a/resources/views/pages/guestbook.blade.php b/resources/views/pages/guestbook.blade.php
index 1690274..56991aa 100644
--- a/resources/views/pages/guestbook.blade.php
+++ b/resources/views/pages/guestbook.blade.php
@@ -43,7 +43,11 @@
</ul>
<hr/>
@php
- $entries = DB::select('SELECT name, timestamp, message FROM guestbook_entries ORDER BY id DESC');
+ $entries = DB::select('
+ SELECT name, timestamp, message
+ FROM guestbook__entries
+ ORDER BY id DES
+ ');
@endphp
<h1>Entries <small>({{ count($entries) }} total)</small></h1>
@foreach ($entries as $entry)