Re(4): Fehlermeldung phpBB-Forum
Geizhals » Forum » Programmierung » Fehlermeldung phpBB-Forum (18 Beiträge, 279 Mal gelesen) Top-100 | Fresh-100
Du bist nicht angemeldet. [ Login/Registrieren ]
.  Re: Fehlermeldung phpBB-Forum  (error-is.org am 18.09.2006, 09:40:32)
..  Re(2): Fehlermeldung phpBB-Forum  (Carisma am 18.09.2006, 10:21:23)
...  Re(3): Fehlermeldung phpBB-Forum  (error-is.org am 18.09.2006, 11:02:46)
.  Re: Fehlermeldung phpBB-Forum  (Undying am 18.09.2006, 10:49:56)
.  Re: Fehlermeldung phpBB-Forum  (ChrisS am 18.09.2006, 12:49:41)
..  Re(2): Fehlermeldung phpBB-Forum  (Carisma am 18.09.2006, 13:14:02)
...  Re(3): Fehlermeldung phpBB-Forum  (Carisma am 18.09.2006, 13:19:30)
....
Re(4): Fehlermeldung phpBB-Forum
18.09.2006, 13:20:17
if ( $enable_wwd_counter ) {
if ( $board_config['wwd_counter_date'] != $heute ){
$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '$heute'
WHERE config_name = 'wwd_counter_date'";
   if ( !$db->sql_query($sql) )
   {
message_die(GENERAL_ERROR, 'Could not update CONFIG_TABLE wwd_counter_date', '', __LINE__, __FILE__, $sql);
   }
$sql = "DELETE FROM `" . $table_prefix . "wwd_counter_ips`";
   if ( !$db->sql_query($sql) )
   {
message_die(GENERAL_ERROR, 'Could not delete ips from PREFIX_wwd_counter_ips table', '', __LINE__, __FILE__, $sql);
   }
}

$sql = "DELETE FROM `" . $table_prefix . "wwd_counter_ips`
WHERE `ip` = '$ip'";
   if ( !$db->sql_query($sql) )
   {
message_die(GENERAL_ERROR, 'Could not delete your ip from PREFIX_wwd_counter_ips table', '', __LINE__, __FILE__, $sql);
   }

if ( $userdata['session_logged_in'] ) {
} else {
$sql = "INSERT INTO `" . $table_prefix . "wwd_counter_ips`
(ip) VALUES ('$ip')";
   if ( !$db->sql_query($sql) )
   {
message_die(GENERAL_ERROR, 'Could not delete your ip from PREFIX_wwd_counter_ips table', '', __LINE__, __FILE__, $sql);
   }
}

}

if ( $userdata['user_level'] == ADMIN )
{
$sql_add = ", user_allow_viewonline";
}
else
{
$sql_add2 = "AND user_allow_viewonline = '1'";
}


$sql = "SELECT user_id, username, user_session_time, user_level $sql_add
FROM " . USERS_TABLE . "
        WHERE user_session_time > $mitternacht $sql_add2
ORDER BY user_session_time DESC";

$result = $db->sql_query($sql);

while( $row = $db->sql_fetchrow($result) )
{
$user_today .= ($count_user_today > 0) ? ', ' : '';
if ( $row['user_allow_viewonline'] == 0 )
{
$user_today .= '';
}
$user_today .= '' . $row['username'].'';

Antworten PM Alle Chronologisch Zum Vorgänger
 
Melden nicht möglich
.....  Re(5): Fehlermeldung phpBB-Forum  (Carisma am 18.09.2006, 13:21:08)
......  Re(6): Fehlermeldung phpBB-Forum  (juwb am 18.09.2006, 13:33:15)
.......  Re(7): Fehlermeldung phpBB-Forum  (Carisma am 18.09.2006, 13:40:14)
........  Re(8): Fehlermeldung phpBB-Forum  (juwb am 18.09.2006, 14:28:06)
........  Re(8): Fehlermeldung phpBB-Forum  (ChrisS am 18.09.2006, 14:47:08)
.  Re: Fehlermeldung phpBB-Forum  (Dr. Watson am 18.09.2006, 17:58:49)
 

Dieses Forum ist eine frei zugängliche Diskussionsplattform.
Der Betreiber übernimmt keine Verantwortung für den Inhalt der Beiträge und behält sich das Recht vor, Beiträge mit rechtswidrigem oder anstößigem Inhalt zu löschen.
Datenschutzerklärung