diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2009-11-28 13:57:16 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2009-11-28 13:57:16 -0500 |
commit | 41ac5bc9d034338acf12ab21ef95b5189223b4de (patch) | |
tree | 642cd0bb19d70a0bf8d2ef1f94dc48c221ff2931 /pages | |
parent | e7e54aa96806d55204812f9e6ca5fa06e2943fa2 (diff) | |
download | fourisland-41ac5bc9d034338acf12ab21ef95b5189223b4de.tar.gz fourisland-41ac5bc9d034338acf12ab21ef95b5189223b4de.tar.bz2 fourisland-41ac5bc9d034338acf12ab21ef95b5189223b4de.zip |
Fixed home blog links
Diffstat (limited to 'pages')
-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'] . "\""; |