/* ----------------------------------------------------------------------------- Returns HTML document content from content database Input: The current page id (string) Output: HTML text (string) ----------------------------------------------------------------------------- */ function return_content($pageid) { $sql = "SELECT title, content, parent FROM pages WHERE pageid = '".$pageid."'"; $content = run_query($sql)->fetch_assoc(); return '