summary refs log tree commit diff stats
path: root/includes/footer.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/footer.php')
-rwxr-xr-xincludes/footer.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/includes/footer.php b/includes/footer.php index 09be74f..8cb0f2d 100755 --- a/includes/footer.php +++ b/includes/footer.php
@@ -111,7 +111,8 @@ if (!isset($noRightbar))
111 $getpost2 = mysql_query($getpost); 111 $getpost2 = mysql_query($getpost);
112 $getpost3 = mysql_fetch_array($getpost2); 112 $getpost3 = mysql_fetch_array($getpost2);
113 113
114 $template->adds_block('COMMENTS', array( 'AREA' => 'blog', 114 $template->adds_block('COMMENTS', array( 'ID' => $getcomments3[$i]['id'],
115 'AREA' => 'blog',
115 'CODED' => $getpost3['slug'], 116 'CODED' => $getpost3['slug'],
116 'ENDING' => '/', 117 'ENDING' => '/',
117 'TITLE' => stripslashes($getpost3['title']), 118 'TITLE' => stripslashes($getpost3['title']),
@@ -121,7 +122,8 @@ if (!isset($noRightbar))
121 { 122 {
122 $num = substr($getcomments3[$i]['page_id'],strpos($getcomments3[$i]['page_id'],'-')+1); 123 $num = substr($getcomments3[$i]['page_id'],strpos($getcomments3[$i]['page_id'],'-')+1);
123 124
124 $template->adds_block('COMMENTS', array( 'AREA' => 'quotes', 125 $template->adds_block('COMMENTS', array( 'ID' => $getcomments3[$i]['id'],
126 'AREA' => 'quotes',
125 'CODED' => $num, 127 'CODED' => $num,
126 'ENDING' => '.php', 128 'ENDING' => '.php',
127 'TITLE' => 'Quote #' . $num, 129 'TITLE' => 'Quote #' . $num,
@@ -208,6 +210,9 @@ if (!isset($noRightbar))
208 } 210 }
209} 211}
210 212
213$template->add('REDIRPAGE',rawurlencode($_SERVER['REQUEST_URI']));
214$template->add('LOGDATA',echoLogData());
215
211$template->display(); 216$template->display();
212 217
213?> 218?>