Ich erhalte eine fehlermeldung beim klicken auf Toplist und in der Administation unter "User Administration":
Toplist:
Parse error: parse error, unexpected T_CASE in /home/www/htdocs/flaming-bytes.de/forum/toplist.php on line 516
User Administration:
Parse error: parse error, unexpected T_CASE in /home/www/htdocs/flaming-bytes.de/forum/toplist.php on line 516
Template->loadfile(): No file specified for handle body
An der angegeben stelle liegt volgender Code:
Code: Alles auswählen
case "toplistnew":
$template->assign_block_vars('new', array(
'ACTION' => append_sid((($in_admin) ? "admin_toplist.php?mode=toplist" : "toplist.php")),
'SPACERT' => " ")
);
$template->assign_block_vars('new.stuff', array(
'X' => $lang['Cb'])
);
if ($dir = @opendir((($in_admin) ? "../" : "")."mods/toplist_mod/images"))
{
while (($file = readdir($dir)) !== false)
{
if($file!="index.htm" && $file!="." && $file!="..")
{
$template->assign_block_vars('new.stuff.image', array(
'FILENAME' => $file,
'SELECTED' => (($file==$row['imgfile']) ? "CHECKED " : ""))
);
}
}
@closedir($dir);
}
break;
Danke im vorraus!
Ice-Tea