Brauche mal Hilfe
Verfasst: 29.08.2003 10:14
was muss ich da eintragen ich benutze die deutsche lang ....
# Change 'Never' on the end of the $last_visit_time = (!empty....
# line to your desired language.
#
$visit_time_sql = "SELECT user_lastvisit
FROM " . USERS_TABLE . "
WHERE user_id = " . $user_id . "
LIMIT 1";
if (!$visit_time_result = $db->sql_query($visit_time_sql))
{
message_die(GENERAL_ERROR, 'Error getting user last visit time', '', __LINE__, __FILE__, $visit_time_sql);
}
$visit_time_row = $db->sql_fetchrow($visit_time_result);
$last_visit_time = (!empty($visit_time_row['user_lastvisit'])) ? create_date($lang['DATE_FORMAT'], $visit_time_row['user_lastvisit'], $board_config['board_timezone']) : 'Never';
# Change 'Never' on the end of the $last_visit_time = (!empty....
# line to your desired language.
#
$visit_time_sql = "SELECT user_lastvisit
FROM " . USERS_TABLE . "
WHERE user_id = " . $user_id . "
LIMIT 1";
if (!$visit_time_result = $db->sql_query($visit_time_sql))
{
message_die(GENERAL_ERROR, 'Error getting user last visit time', '', __LINE__, __FILE__, $visit_time_sql);
}
$visit_time_row = $db->sql_fetchrow($visit_time_result);
$last_visit_time = (!empty($visit_time_row['user_lastvisit'])) ? create_date($lang['DATE_FORMAT'], $visit_time_row['user_lastvisit'], $board_config['board_timezone']) : 'Never';