putToItem("location","Zeitung"); // und natürlich den titel $tplMain->putToItem("title","- ONLINE - Schülerzeitung"); // CSS zeug der main style tag hinzufügen $tplMain->putToItem("csstag",join("",file("templates/zeitung/zeitung.css"))); // Template vom Bereich Homepage erstellen $tplSchule = new Template("templates/zeitung/zeitung.htm"); // und die paths erweitern $tplSchule->extendPaths("templates/zeitung"); switch(switchArg()) { case "titelseite": if(!$file = getArgStr()) $file = "index.htm"; $x = htmlTree("zeitung/titelseite",$file); // und natürlich den titel $tplMain->putToItem("title","- Titelseite"); $tplMain->putToItem("csstag",$x['style']); $tplSchule->putToItem("middle",$x['body']); break; case "aktuelles": if(!$file = getArgStr()) $file = "index.htm"; $x = htmlTree("zeitung/aktuelles",$file); // und natürlich den titel $tplMain->putToItem("title","- Aktuelles"); $tplMain->putToItem("csstag",$x['style']); $tplSchule->putToItem("middle",$x['body']); break; case "ags": if(!$file = getArgStr()) $file = "index.htm"; $x = htmlTree("zeitung/ags",$file); // und natürlich den titel $tplMain->putToItem("title","- AG's"); $tplMain->putToItem("csstag",$x['style']); $tplSchule->putToItem("middle",$x['body']); break; case "talente": if(!$file = getArgStr()) $file = "index.htm"; $x = htmlTree("zeitung/talente",$file); // und natürlich den titel $tplMain->putToItem("title","- Talente"); $tplMain->putToItem("csstag",$x['style']); $tplSchule->putToItem("middle",$x['body']); break; case "sport": if(!$file = getArgStr()) $file = "index.htm"; $x = htmlTree("zeitung/sport",$file); // und natürlich den titel $tplMain->putToItem("title","- Sport"); $tplMain->putToItem("csstag",$x['style']); $tplSchule->putToItem("middle",$x['body']); break; case "kino": if(!$file = getArgStr()) $file = "index.htm"; $x = htmlTree("zeitung/kino",$file); // und natürlich den titel $tplMain->putToItem("title","- Film & Musik"); $tplMain->putToItem("csstag",$x['style']); $tplSchule->putToItem("middle",$x['body']); break; case "leseratten": if(!$file = getArgStr()) $file = "index.htm"; $x = htmlTree("zeitung/leseratten",$file); // und natürlich den titel $tplMain->putToItem("title","- Leseratten"); $tplMain->putToItem("csstag",$x['style']); $tplSchule->putToItem("middle",$x['body']); break; case "gaestebuch": if(!$file = getArgStr()) $file = "index.htm"; $x = htmlTree("zeitung/gaestebuch",$file); // und natürlich den titel $tplMain->putToItem("title","- Gästebuch"); $tplMain->putToItem("csstag",$x['style']); $tplSchule->putToItem("middle",$x['body']); break; case "ueber_uns": if(!$file = getArgStr()) $file = "index.htm"; $x = htmlTree("zeitung/ueber_uns",$file); // und natürlich den titel $tplMain->putToItem("title","- Über uns"); $tplMain->putToItem("csstag",$x['style']); $tplSchule->putToItem("middle",$x['body']); break; case "archiv": if(!$file = getArgStr()) $file = "index.htm"; $x = htmlTree("zeitung/archiv",$file); // und natürlich den titel $tplMain->putToItem("title","- Archiv"); $tplMain->putToItem("csstag",$x['style']); $tplSchule->putToItem("middle",$x['body']); break; } $tplSchule->putToItem("left",""); $tplSchule->putToItem("middle",""); $tplSchule->parseBuffer(); $tplMain->putToItem("content",$tplSchule->buffer); ?> Gymnasium Engelsdorf <>title<>
 
aktualisiert: 18.04.2024 Homepage Schule Projekte GTA/AGs/Fördern Datum: Fri, 19.04.2024

Homepage
- Schule - Projekte - AG's - Impressum - Datenschutzerklärung - Haftungssauschluss

© Gymnasium Engelsdorf