Bei mir steht z.b. "1131828751 von mixmax"
Hoffe mir kann einer helfen.
Meine index =
index
$last_post_time = create_date($board_config['default_dateformat'], $forum_data[$j]['post_time'], $board_config['board_timezone']);
$last_post .= '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '" title="' . $topic_title2 . '">' . $topic_title . '</a><br>';// Begin Simple Subforums MOD
$last_post_sub = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . ($unread_topics ? $images['icon_newest_reply'] : $images['icon_latest_reply']) . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';
$last_post_time = $forum_data[$j]['post_time'];
// End Simple Subforums MOD
$last_post .= $last_post_time . ' <a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '"></a>' . von . ' ';
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $forum_data[$j]['user_id']) . '">' . $forum_data[$j]['username'] . '</a> ';
}
Timestamp: Timestamps (Zeitwerte) werden in phpBB als UNIX-Zeitstempel gespeichert. Der UNIX-Zeitstempel gibt dabei die seit dem Beginn der UNIX-Epoche (Januar 1970 00:00:00 GMT) vergangenen Sekunden an. Der 24.12.2003 18:00:00 entspricht dabei z.B. einem Zeitstempel von 1072288800. Das höchste so zu speichernde Datum ist übrigens der 19.01.2038 03:14:07 - es reicht also noch ein paar Jahre. Zur Umwandlung des Timestamps in ein gültiges Datumsformat wird bei phpBB die Funktion create_date() genutzt.
Code: Alles auswählen
$last_post_time = create_date($board_config['default_dateformat'], $forum_data[$j]['post_time'], $board_config['board_timezone']);