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.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/pages/blog.php b/pages/blog.php index 1024ebb..ef147d5 100755 --- a/pages/blog.php +++ b/pages/blog.php
@@ -26,7 +26,7 @@ $pageCategory = 'blog';
26$pageAID = 'archive'; 26$pageAID = 'archive';
27 27
28$hatNav = array( array( 'title' => 'Archive', 28$hatNav = array( array( 'title' => 'Archive',
29 'url' => 'http://fourisland.com/blog/', 29 'url' => '/blog/',
30 'icon' => '16-file-archive')); 30 'icon' => '16-file-archive'));
31 31
32$template = new FITemplate('post'); 32$template = new FITemplate('post');
@@ -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']))));
@@ -137,7 +137,7 @@ if (isset($_GET['post']))
137 137
138 $trackArr = explode(',',$gettrack3['rating']); 138 $trackArr = explode(',',$gettrack3['rating']);
139 139
140 $getpost = "SELECT * FROM updates ORDER BY id DESC LIMIT 0,4"; 140 $getpost = "SELECT * FROM updates ORDER BY id DESC LIMIT 0,10";
141 $getpost2 = mysql_query($getpost); 141 $getpost2 = mysql_query($getpost);
142 while ($getpost3 = mysql_fetch_array($getpost2)) 142 while ($getpost3 = mysql_fetch_array($getpost2))
143 { 143 {
@@ -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,