topic_id ) || !bb_is_user_logged_in()) return; $post_id = get_post_id(); $last_page = get_page_number( $topic->topic_posts + $add ); echo ''.__('Quote').''; } function bb_quote_message() { global $bbdb, $topic; $post_id = (int)$_GET['quote']; if ($post_id) { $row = $bbdb->get_row("SELECT * FROM $bbdb->posts WHERE post_id={$post_id} AND topic_id={$topic->topic_id} AND post_status=0"); if ($row) echo htmlentities('
'.$row->post_text.'
'); } } ?>