diff options
-rwxr-xr-x | pages/blog.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pages/blog.php b/pages/blog.php index d4e95c1..59af93d 100755 --- a/pages/blog.php +++ b/pages/blog.php | |||
@@ -30,13 +30,14 @@ $hatNav = array( array( 'title' => 'Archive', | |||
30 | 'icon' => '16-file-archive')); | 30 | 'icon' => '16-file-archive')); |
31 | 31 | ||
32 | $template = new FITemplate('post'); | 32 | $template = new FITemplate('post'); |
33 | $template->adds_block('INTERNAL',array('exi'=>1)); | ||
34 | $template->add('IFXAMP', $xhtml ? '&' : '&'); | 33 | $template->add('IFXAMP', $xhtml ? '&' : '&'); |
35 | $template->add('IFXLT', $xhtml ? '<' : '<'); | 34 | $template->add('IFXLT', $xhtml ? '<' : '<'); |
36 | $template->add('IFXGT', $xhtml ? '>' : '>'); | 35 | $template->add('IFXGT', $xhtml ? '>' : '>'); |
37 | 36 | ||
38 | if (isset($_GET['post'])) | 37 | if (isset($_GET['post'])) |
39 | { | 38 | { |
39 | $template->adds_block('INTERNAL',array('exi'=>1)); | ||
40 | |||
40 | $getpost = "SELECT * FROM updates WHERE slug = \"" . urldecode($_GET['post']) . "\""; | 41 | $getpost = "SELECT * FROM updates WHERE slug = \"" . urldecode($_GET['post']) . "\""; |
41 | $getpost2 = mysql_query($getpost); | 42 | $getpost2 = mysql_query($getpost); |
42 | $getpost3 = mysql_fetch_array($getpost2); | 43 | $getpost3 = mysql_fetch_array($getpost2); |
@@ -126,6 +127,8 @@ if (isset($_GET['post'])) | |||
126 | generateError('404'); | 127 | generateError('404'); |
127 | } | 128 | } |
128 | } else { | 129 | } else { |
130 | $template->adds_block('EXTERNAL',array('exi'=>1)); | ||
131 | |||
129 | $curID = 0; | 132 | $curID = 0; |
130 | 133 | ||
131 | $gettrack = "SELECT * FROM tracking WHERE ip = \"" . $_SERVER['REMOTE_ADDR'] . "\""; | 134 | $gettrack = "SELECT * FROM tracking WHERE ip = \"" . $_SERVER['REMOTE_ADDR'] . "\""; |