Code: Alles auswählen
Parse error: syntax error, unexpected T_ELSE in /usr/export/www/vhosts/funnetwork/hosting/viruskiller/viewforum.php on line 510
Hier ist die Datei, die schon von mir editiert wurde-> viewforum.php
Kann mir jemand weiterhelfen?
Code: Alles auswählen
Parse error: syntax error, unexpected T_ELSE in /usr/export/www/vhosts/funnetwork/hosting/viruskiller/viewforum.php on line 510
Code: Alles auswählen
#-----[ FIND ]------------------------------------------------
#
if( $topic_rowset[$i]['topic_type'] == POST_ANNOUNCE )
{
$folder = $images['folder_announce'];
#
#-----[ AFTER, ADD ]-----------------------------------------
#
else if( $topic_rowset[$i]['topic_type'] == POST_GLOBAL_TOPIC && $topic_rowset[$i]['topic_status'] != TOPIC_LOCKED )
{
$folder = $images['folder_global_topic'];
$folder_new = $images['folder_global_topic_new'];
}
Code: Alles auswählen
if( $topic_rowset[$i]['topic_status'] == TOPIC_MOVED )
{
$topic_type = $lang['Topic_Moved'] . ' ';
$topic_id = $topic_rowset[$i]['topic_moved_id'];
$folder_image = $images['folder'];
$folder_alt = $lang['Topics_Moved'];
$newest_post_img = '';
}
else
{
if( $topic_rowset[$i]['topic_type'] == POST_ANNOUNCE )
{
$folder = $images['folder_announce'];
$folder_new = $images['folder_announce_new'];
}
else if( $topic_rowset[$i]['topic_type'] == POST_STICKY )
{
$folder = $images['folder_sticky'];
$folder_new = $images['folder_sticky_new'];
}
Code: Alles auswählen
if( $topic_rowset[$i]['topic_status'] == TOPIC_MOVED )
{
$topic_type = $lang['Topic_Moved'] . ' ';
$topic_id = $topic_rowset[$i]['topic_moved_id'];
$folder_image = $images['folder'];
$folder_alt = $lang['Topics_Moved'];
$newest_post_img = '';
}
else
{
if( $topic_rowset[$i]['topic_type'] == POST_ANNOUNCE )
{
$folder = $images['folder_announce'];
else if( $topic_rowset[$i]['topic_type'] == POST_GLOBAL_TOPIC && $topic_rowset[$i]['topic_status'] != TOPIC_LOCKED )
{
$folder = $images['folder_global_topic'];
$folder_new = $images['folder_global_topic_new'];
}
$folder_new = $images['folder_announce_new'];
}
Code: Alles auswählen
#
#-----[ FIND ]------------------------------------------------
#
if( $topic_rowset[$i]['topic_type'] == POST_ANNOUNCE )
{
$folder = $images['folder_announce'];
$folder_new = $images['folder_announce_new'];
}
#
#-----[ AFTER, ADD ]-----------------------------------------
#
else if( $topic_rowset[$i]['topic_type'] == POST_GLOBAL_TOPIC && $topic_rowset[$i]['topic_status'] != TOPIC_LOCKED )
{
$folder = $images['folder_global_topic'];
$folder_new = $images['folder_global_topic_new'];
}