require("$_SERVER[DOCUMENT_ROOT]/lib/header.inc.php"); $currHeader->setPageTitle("Riptide Storyverse Stories"); $currBanner->addContent("Riptide Storyverse Stories"); ?> // try to pull this content from the page cache (try to cache for four weeks) 604800 * 4 $currCache = new HG_PageCache("riptideStoryverseStories",2419200); if (!$currCache->haveCached) { $content = ""; $query = "SELECT username, date, subject, body FROM riptide_users, riptide_posts WHERE riptide_users.userindex = riptide_posts.posterid AND posttype = 5 ORDER BY postindex ASC"; $result = mysql_query($query); while ($row = mysql_fetch_array($result)) { $content .= "
Subject: $row[subject]
Author: $row[username]
Date: $row[date]
$row[body]
\n