$newsDir = "news";
function GetNewsContent($newsDir, $filename)
{
$filelines = file($newsDir.'/'.$filename);
$title = substr($filelines[0],0,-1);
$datum = substr($filelines[1],0,-1);
$filelines[0] = "";
$filelines[1] = "";
$content = implode("", $filelines);
$content = ereg_replace( "\n", "
", $content );
$content = ereg_replace( " ", " ", $content );
return (array($title, $datum, $content));
}
?>
![]() ![]() |
![]() |
![]() |
|
Púpavová 33 841 04 Bratislava |
Tel./Fax: 07 - 654 110 85 E-mail: csnet@csnet.sk |
||
![]()
![]() |
![]() ![]() ![]() ![]() ![]() ![]()
|
![]() |
![]() |
![]()
|
![]() |
|
(c) 2000 CSNet Všetky práva vyhradené Web design by Brko |
|||||
![]() |