aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-05-02 00:50:27 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-05-02 00:50:27 +0000
commit3ffd49782cf578d7af722a1f1054d1ef8f048eb8 (patch)
tree231003a3f9f34e39342ea613a31e84ad2b9ebb30 /phpBB/index.php
parent65bf7081c1ace138cd5ad1231bf62fc87f94529e (diff)
downloadforums-3ffd49782cf578d7af722a1f1054d1ef8f048eb8.tar
forums-3ffd49782cf578d7af722a1f1054d1ef8f048eb8.tar.gz
forums-3ffd49782cf578d7af722a1f1054d1ef8f048eb8.tar.bz2
forums-3ffd49782cf578d7af722a1f1054d1ef8f048eb8.tar.xz
forums-3ffd49782cf578d7af722a1f1054d1ef8f048eb8.zip
Updated to use create_date rather than date
git-svn-id: file:///svn/phpbb/trunk@227 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index b2dbe59c58..adfd585707 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -127,16 +127,15 @@ if($total_categories)
$topics = $forum_rows[$j]["forum_topics"];
if($forum_rows[$j]["username"] != "" && $forum_rows[$j]["post_time"] > 0)
{
- $last_post_time = date($date_format, $forum_rows[$j]["post_time"]);
- $last_post = $last_post_time."<br>by ";
- $last_post .= "<a href=\"profile.$phpEx?mode=viewprofile&".POST_USERS_URL."=".$forum_rows[$j]["user_id"];
- $last_post .= "\">".$forum_rows[$j]["username"]."</a>";
- $last_post .= "&nbsp;<a href=\"viewtopic.".$phpEx."?t=".$forum_rows[$j]['topic_id']."\">";
- $last_post .= "<img src=\"images/last_post_icon.gif\" width=\"15\" height=\"10\" border=\"0\" alt=\"View Latest Post\"></a>";
+ $last_post_time = create_date($date_format, $forum_rows[$j]["post_time"], $sys_timezone);
+ $last_post = $last_post_time."<br>by ";
+ $last_post .= "<a href=\"profile.$phpEx?mode=viewprofile&".POST_USERS_URL."=".$forum_rows[$j]["user_id"];
+ $last_post .= "\">".$forum_rows[$j]["username"]."</a>&nbsp;<a href=\"viewtopic.".$phpEx."?t=".$forum_rows[$j]['topic_id']."\"><img src=\"images/latest_reply.gif\" width=\"20\" height=\"11\" border=\"0\" alt=\"View Latest Post\"></a>";
}
else
{
$last_post = "No Posts";
+ $forum_rows[$j]["forum_name"] = stripslashes($forum_rows[$j]["forum_name"]);
}
if($row_color == "#DDDDDD")