summary refs log tree commit diff stats
path: root/pages/blog.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/blog.php')
-rwxr-xr-xpages/blog.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/pages/blog.php b/pages/blog.php index af5ddbf..ae10756 100755 --- a/pages/blog.php +++ b/pages/blog.php
@@ -54,7 +54,7 @@ if (isset($_GET['post']))
54 if (isset($getback3['title'])) 54 if (isset($getback3['title']))
55 { 55 {
56 $template->adds_block('BACK', array( 'CODED' => $getback3['slug'], 56 $template->adds_block('BACK', array( 'CODED' => $getback3['slug'],
57 'TITLE' => htmlentities(stripslashes($getback3['title'])))); 57 'TITLE' => doAprilFoolsDay(htmlentities(stripslashes($getback3['title'])))));
58 } 58 }
59 59
60 $getnext = "SELECT * FROM updates WHERE id > " . $getpost3['id'] . " ORDER BY id ASC LIMIT 0,1"; 60 $getnext = "SELECT * FROM updates WHERE id > " . $getpost3['id'] . " ORDER BY id ASC LIMIT 0,1";
@@ -63,7 +63,7 @@ if (isset($_GET['post']))
63 if (isset($getnext3['title'])) 63 if (isset($getnext3['title']))
64 { 64 {
65 $template->adds_block('NEXT', array( 'CODED' => $getnext3['slug'], 65 $template->adds_block('NEXT', array( 'CODED' => $getnext3['slug'],
66 'TITLE' => htmlentities(stripslashes($getnext3['title'])))); 66 'TITLE' => doAprilFoolsDay(htmlentities(stripslashes($getnext3['title'])))));
67 } 67 }
68 68
69 $template->add_ref(0, 'POST', array( 'ID' => $getpost3['id'], 69 $template->add_ref(0, 'POST', array( 'ID' => $getpost3['id'],
@@ -72,7 +72,7 @@ if (isset($_GET['post']))
72 'MONTH' => date('M',strtotime($getpost3['pubDate'])), 72 'MONTH' => date('M',strtotime($getpost3['pubDate'])),
73 'DAY' => date('d',strtotime($getpost3['pubDate'])), 73 'DAY' => date('d',strtotime($getpost3['pubDate'])),
74 'CODED' => $getpost3['slug'], 74 'CODED' => $getpost3['slug'],
75 'TITLE' => htmlentities(stripslashes($getpost3['title'])), 75 'TITLE' => doAprilFoolsDay(htmlentities(stripslashes($getpost3['title']))),
76 'AUTHOR' => $getpost3['author'], 76 'AUTHOR' => $getpost3['author'],
77 'RATING' => $getpost3['rating'], 77 'RATING' => $getpost3['rating'],
78 'TEXT' => parseText(stripslashes($getpost3['text'])))); 78 'TEXT' => parseText(stripslashes($getpost3['text']))));
@@ -171,7 +171,7 @@ if (isset($_GET['post']))
171 'MONTH' => date('M',strtotime($getpost3['pubDate'])), 171 'MONTH' => date('M',strtotime($getpost3['pubDate'])),
172 'DAY' => date('d',strtotime($getpost3['pubDate'])), 172 'DAY' => date('d',strtotime($getpost3['pubDate'])),
173 'CODED' => $getpost3['slug'], 173 'CODED' => $getpost3['slug'],
174 'TITLE' => htmlentities(stripslashes($getpost3['title'])), 174 'TITLE' => doAprilFoolsDay(htmlentities(stripslashes($getpost3['title']))),
175 'AUTHOR' => $getpost3['author'], 175 'AUTHOR' => $getpost3['author'],
176 'PLURALCOMMENT' => (isset($plural) ? $plural : ''), 176 'PLURALCOMMENT' => (isset($plural) ? $plural : ''),
177 'COMMENTS' => $comText, 177 'COMMENTS' => $comText,