Probleme mit viewtopic.php beim Sternzeichen Mod
Verfasst: 13.12.2003 19:36
Erst mal danke, dass ihr meinen ganzen Fragen beantworten.
Es kommt folgende Fehlermeldung:
ich habe dann fogendes gemacht:
jetzt kommt:
Ich bin nun schon wieder mit meinem Latein am Ende, kann mir wer helfen?
Greetz BE
Es kommt folgende Fehlermeldung:
die Rot makierte Zeile ist die 834 (habe ein bissel mehr kopiert falls nötig):Parse error: parse error, unexpected T_VARIABLE in /www/htdocs/bioforum/viewtopic.php on line 834
noch mal das gleiche in Code:{
$poster_id = $postrow[$i]['user_id'];
$poster = ( $poster_id == ANONYMOUS ) ? $lang['Guest'] : $postrow[$i]['username'];
if ( $postrow[$i]['user_birthday'] != 999999 )
{
$poster_birthdate=realdate$n=0;
while ($n<26)
{
if ($poster_birthdate>=$zodiacdates[$n] && $poster_birthdate<=$zodiacdates[$n+1])
{
$zodiac = $lang[$zodiacs[($n/2)]];
$u_zodiac = $images[$zodiacs[($n/2)]];
$zodiac_img = '<img src="' . $u_zodiac . '" alt="' . $zodiac . '" title="' . $zodiac . '" align="top" border="0" />';
$n=26;
} else
{
$n=$n+2;
}
}('md', $postrow[$i]['user_birthday']);
$poster_age = $this_year - realdate ('Y',$postrow[$i]['user_birthday']);
if ($this_date < $poster_birthdate) $poster_age--;
$poster_age = $lang['Age'] . ': ' . $poster_age;
} else
{
$zodiac = '';
$u_zodiac = '';
$zodiac_img = '';
$poster_age = '';
}
Code: Alles auswählen
{
$poster_id = $postrow[$i]['user_id'];
$poster = ( $poster_id == ANONYMOUS ) ? $lang['Guest'] : $postrow[$i]['username'];
if ( $postrow[$i]['user_birthday'] != 999999 )
{
$poster_birthdate=realdate$n=0;
while ($n<26)
{
if ($poster_birthdate>=$zodiacdates[$n] && $poster_birthdate<=$zodiacdates[$n+1])
{
$zodiac = $lang[$zodiacs[($n/2)]];
$u_zodiac = $images[$zodiacs[($n/2)]];
$zodiac_img = '<img src="' . $u_zodiac . '" alt="' . $zodiac . '" title="' . $zodiac . '" align="top" border="0" />';
$n=26;
} else
{
$n=$n+2;
}
}('md', $postrow[$i]['user_birthday']);
$poster_age = $this_year - realdate ('Y',$postrow[$i]['user_birthday']);
if ($this_date < $poster_birthdate) $poster_age--;
$poster_age = $lang['Age'] . ': ' . $poster_age;
} else
{
$zodiac = '';
$u_zodiac = '';
$zodiac_img = '';
$poster_age = '';
}
ich habe dann fogendes gemacht:
Code: Alles auswählen
$poster_birthdate=realdate$n=0;
// Ersetzt durch:
$poster_birthdate=realdate($poster_birthdate);
$n=0;
Parse error: parse error, unexpected ',' in /www/htdocs/bioforum/viewtopic.php on line 848
{
$poster_birthdate=realdate;
$n=0;
while ($n<26)
{
if ($poster_birthdate>=$zodiacdates[$n] && $poster_birthdate<=$zodiacdates[$n+1])
{
$zodiac = $lang[$zodiacs[($n/2)]];
$u_zodiac = $images[$zodiacs[($n/2)]];
$zodiac_img = '<img src="' . $u_zodiac . '" alt="' . $zodiac . '" title="' . $zodiac . '" align="top" border="0" />';
$n=26;
} else
{
$n=$n+2;
}
}('md', $postrow[$i]['user_birthday']);
$poster_age = $this_year - realdate ('Y',$postrow[$i]['user_birthday']);
if ($this_date < $poster_birthdate) $poster_age--;
$poster_age = $lang['Age'] . ': ' . $poster_age;
}
Code: Alles auswählen
{
$poster_birthdate=realdate;
$n=0;
while ($n<26)
{
if ($poster_birthdate>=$zodiacdates[$n] && $poster_birthdate<=$zodiacdates[$n+1])
{
$zodiac = $lang[$zodiacs[($n/2)]];
$u_zodiac = $images[$zodiacs[($n/2)]];
$zodiac_img = '<img src="' . $u_zodiac . '" alt="' . $zodiac . '" title="' . $zodiac . '" align="top" border="0" />';
$n=26;
} else
{
$n=$n+2;
}
}('md', $postrow[$i]['user_birthday']);
$poster_age = $this_year - realdate ('Y',$postrow[$i]['user_birthday']);
if ($this_date < $poster_birthdate) $poster_age--;
$poster_age = $lang['Age'] . ': ' . $poster_age;
}
Greetz BE