diff -r 6eea55374f5b -r 3f66ec435f08 decir/viewtopic.php --- a/decir/viewtopic.php Wed Oct 24 18:30:03 2007 -0400 +++ b/decir/viewtopic.php Tue Nov 13 19:39:50 2007 -0500 @@ -11,7 +11,7 @@ * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. */ - + require('common.php'); require('bbcode.php'); require('functions_viewtopic.php'); @@ -27,7 +27,8 @@ { $template->header(); echo '

Invalid topic ID

'; - $template->footer(); + decir_show_footers(); +$template->footer(); return; } @@ -48,7 +49,8 @@ { $template->header(); echo '

Invalid topic ID

'; - $template->footer(); + decir_show_footers(); +$template->footer(); return; } } @@ -192,6 +194,7 @@ $q = $db->sql_query('INSERT INTO '.table_prefix."decir_hits(user_id, topic_id, timestamp) VALUES($session->user_id, $tid, $time);"); $q = $db->sql_query('UPDATE '.table_prefix."decir_topics SET num_views = num_views + 1 WHERE topic_id = $tid;"); +decir_show_footers(); $template->footer(); ?>