|
|
chooseLang($lang);
?>
|
|
|
if (file_exists("newinfo-$lang.txt"))
{
$file = fopen("newinfo-$lang.txt", "r");
$fcontents = fread($file, filesize("newinfo-$lang.txt"));
$fday = date("w",filemtime("newinfo-$lang.txt"));
switch ($fday)
{
case "0":
$fday=$langSonntag;
break;
case "1":
$fday=$langMontag;
break;
case "2":
$fday=$langDienstag;
break;
case "3":
$fday=$langMittwoch;
break;
case "4":
$fday=$langDonnerstag;
break;
case "5":
$fday=$langFreitag;
break;
case "6":
$fday=$langSamstag;
break;
}
$fdate = date($datumsFormat,filemtime("newinfo-$lang.txt"));
$ftext = nl2br($fcontents);
makeBox("70%", "", "$langNews $fday, $langTrenner $fdate", "", "top", $ftext);
}
?>
|
|