query("SELECT topic_id, topic_name, topic_content FROM " . DB_PREFIX . "content_pages WHERE " . $addl_query . " ORDER BY topic_order ASC, reg_date DESC"); $template->set('box_top', box_top('Privacy Policy')); $template->set('box_bottom', box_bottom()); $message_content = ''; while ($content_page = $db->fetch_array($sql_select_pages)) { $message_content .= '
' . $db->add_special_chars($content_page['topic_content']) . '
'; } $template->set('message_content', $message_content); $template_output .= $template->process('single_message.tpl.php'); include_once ('global_footer.php'); echo $template_output; ?>