 |
|
News Room
// #####################################################
// #
// # this part starts the dynamic part. No one is to make
// # changes without administrator knowing
// #
// #####################################################
if (!$id)
{
$fp = fopen("press.txt", "r");
if ($fp)
{
$arrnews = file("press.txt");
sort ($arrnews);
$i = count($arrnews);
$last = "00";
for ($a = $i - 1 ; $a >= 0 ; $a--)
{
$checkmonth = substr($arrnews[$a], 4, 2);
if ($checkmonth != $last)
{
print ("\n");
print (" \n");
getmonth($checkmonth);
print (" " . substr($arrnews[$a], 0, 4));
print ("\n");
$last = $checkmonth;
print (" \n");
print (" \n");
}
$text = explode("|", $arrnews[$a]);
print ("\n");
print (" " . substr($text[0],6,2) . " ");
getmonth(substr($text[0],4,2));
print (" " . substr($text[0],0,4));
print (" \n");
print ("" . $text[1] . " \n");
print " \n";
}
}
fclose($fp);
}
?>
|
|
Copyright © echo date("Y"); ?>. MediaRing Ltd. All Rights
Reserved. Terms & Conditions.
Site best viewed with browser versions Netscape 6.1, Microsoft IE
5.0 and Mozilla 1.2 and above and with screen resolution 1024x800.
|
Back To Top |
|
 |