EOF; return $return; } function pageFooter() { return << - futaba + futallaby + tinyib - EOF; } function buildPost($post, $res) { $return = ""; $threadid = ($post['parent'] == TINYIB_NEWTHREAD) ? $post['id'] : $post['parent']; $postlink = ($res == TINYIB_RESPAGE) ? ($threadid . '.html#' . $post['id']) : ('res/' . $threadid . '.html#' . $post['id']); if (!isset($post["omitted"])) { $post["omitted"] = 0; } if ($post["parent"] != TINYIB_NEWTHREAD) { $return .= << ¨ EOF; } elseif ($post["file"] != "") { $return .= <<File: ${post["file"]}–(${post["file_size_formatted"]}, ${post["image_width"]}x${post["image_height"]}, ${post["file_original"]})
${post[ EOF; } $return .= <<