
@markus67: Ich hatte keine andere möglichkeit die zeilen sonst darzustellen.
Link zum php script: http://home.arcor.de/sorcio/script22.zip
Also das war die neue Datei, eine alte liegt nicht bei mir mehr vor.

Code: Alles auswählen
// Format Timezone. We are unable to use array_pop here, because of PHP3 compatibility
$l_timezone = explode('.', $board_config['board_timezone']);
$l_timezone = (count($l_timezone) > 1 && $l_timezone[count($l_timezone)-1] != 0) ? $lang[sprintf('%.1f', $board_config['board_timezone'])] // Generate 'Schon Gewusst?'//$random_file = $phpbb_root_path . 'schon_gewusst.txt';$random = file($random_file);
srand();
$randomizer = rand(0, count($random) );
$znumber = rand(1, 2);
if( !isset($random[$randomizer]) )
{
$random[$randomizer] = 'Mehr Mods wie diesen gibts <a href="http://www.dseitz.de">hier</a>';
}
: $lang[number_format($board_config['board_timezone'])];
//
// The following assigns all _common_ variables that may be used at any point
// in a template.
//
Code: Alles auswählen
// Format Timezone. We are unable to use array_pop here, because of PHP3 compatibility
$l_timezone = explode('.', $board_config['board_timezone']);
$l_timezone = (count($l_timezone) > 1 && $l_timezone[count($l_timezone)-1] != 0) ? $lang[sprintf('%.1f', $board_config['board_timezone'])] : $lang[number_format($board_config['board_timezone'])];
// Generate 'Schon Gewusst?'
//
$random_file = $phpbb_root_path . 'schon_gewusst.txt';
$random = file($random_file);
srand();
$randomizer = rand(0, count($random) );
$znumber = rand(1, 2);
if( !isset($random[$randomizer]) )
{
$random[$randomizer] = 'Mehr Mods wie diesen gibts <a href="http://www.dseitz.de">hier</a>';
}
//
// The following assigns all _common_ variables that may be used at any point
// in a template.
//
Code: Alles auswählen
'PRIVMSG_IMG' => $icon_pm,'ZMESSAGE' => $random[$randomizer],
'ZNUMBER' => $znumber,
Code: Alles auswählen
'PRIVMSG_IMG' => $icon_pm,
'ZMESSAGE' => $random[$randomizer],
'ZNUMBER' => $znumber,
Code: Alles auswählen
Warning: Wrong parameter count for srand() in /var/www/sandro/sorcio.com/html/phpBB2-2.0.10-deutsch/includes/page_header.php on line 346
Warning: Cannot add header information - headers already sent by (output started at /var/www/sandro/sorcio.com/html/phpBB2-2.0.10-deutsch/includes/page_header.php:346) in /var/www/sandro/sorcio.com/html/phpBB2-2.0.10-deutsch/includes/page_header.php on line 491
Warning: Cannot add header information - headers already sent by (output started at /var/www/sandro/sorcio.com/html/phpBB2-2.0.10-deutsch/includes/page_header.php:346) in /var/www/sandro/sorcio.com/html/phpBB2-2.0.10-deutsch/includes/page_header.php on line 493
Warning: Cannot add header information - headers already sent by (output started at /var/www/sandro/sorcio.com/html/phpBB2-2.0.10-deutsch/includes/page_header.php:346) in /var/www/sandro/sorcio.com/html/phpBB2-2.0.10-deutsch/includes/page_header.php on line 494