setPageTitle("Riptide Storyverse Stories"); $currBanner->addContent("Riptide Storyverse Stories"); ?> 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]

\n

$row[body]

\n
\n"; } // update the cache $currCache->updateCache($content); } // if we have a cached entry, lets say so else print("Note: This list is cached from " . number_format($currCache->age / 1440,0) . " hours ago."); print($currCache->contents); ?>