what's wrong with this switch:
switch($action)
{
case "Welcome":
$E="Welcome";
break;
case "News":
$E="News";
break;
case "Orga" || "Offizielles" || "Inoffizielles" || "Vorfeste" || "Treppenfest" || "Abizeitung" || "Homepage" || "Motto" || "Kleidung" || "Denkmal" || "Sponsoren" || "Band":
$E="Komitees";
break;
case "Allgemein" || "Was geht" || "Motto" || "Kleidung" || "Post":
$E="Forum";
break;
case "Gesamtliste" || "Suche" || "Profil editieren":
$E="Stufen-Datenbank";
break;
case "Umfrage" || "Bericht posten" || "Kommentar posten" || "Awards vorschlagen":
$E="Abizeitung";
break;
default:
$E="ERROR!";
}
It only works for the cases "News", "Welcome" and ("Gesamtliste" || "Suche" || "Profil editieren")
This prob drives me crazy