Forum

Be sure to read the Forum Rules! All posting is anonymous, no registration is necessary and no IPs are kept.
data as $category) { if($category['Posts'] > 0) { $posttime = date("F j, Y H:i:s", strtotime($category['LastPostTime'])); $lasttopic = utf8entities($category['LastPostTopic']); $lastpost = "Last post: {$lasttopic} @ {$posttime}"; } else { $lastpost = "There are no posts in this category yet."; } echo(""); } ?>
Category Threads Posts
{$category['Name']}
{$lastpost}
{$category['Threads']} {$category['Posts']}