summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xpages/blog.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/blog.php b/pages/blog.php index 31978f2..a96edea 100755 --- a/pages/blog.php +++ b/pages/blog.php
@@ -49,7 +49,7 @@ if (isset($_GET['post']))
49 if (isset($getback3['title'])) 49 if (isset($getback3['title']))
50 { 50 {
51 $template->adds_block('BACK', array( 'CODED' => $getback3['slug'], 51 $template->adds_block('BACK', array( 'CODED' => $getback3['slug'],
52 'TITLE' => htmlentities($getback3['title']))); 52 'TITLE' => htmlentities(stripslashes($getback3['title']))));
53 } 53 }
54 54
55 $getnext = "SELECT * FROM updates WHERE id > " . $getpost3['id'] . " ORDER BY id ASC LIMIT 0,1"; 55 $getnext = "SELECT * FROM updates WHERE id > " . $getpost3['id'] . " ORDER BY id ASC LIMIT 0,1";
@@ -58,7 +58,7 @@ if (isset($_GET['post']))
58 if (isset($getnext3['title'])) 58 if (isset($getnext3['title']))
59 { 59 {
60 $template->adds_block('NEXT', array( 'CODED' => $getnext3['slug'], 60 $template->adds_block('NEXT', array( 'CODED' => $getnext3['slug'],
61 'TITLE' => htmlentities($getnext3['title']))); 61 'TITLE' => htmlentities(stripslashes($getnext3['title']))));
62 } 62 }
63 63
64 $template->add_ref(0, 'POST', array( 'ID' => $getpost3['id'], 64 $template->add_ref(0, 'POST', array( 'ID' => $getpost3['id'],