include("menu.php"); ?> |
|
News from Israel - archive |
$file = $arr[$startURI+1];
$dir = "rss_files/archive/";
if(is_file($dir.$file))
{
$arr_file = explode(".",$file);
$time = $arr_file[0];
echo "Israel news for ".date("m/d/Y",$time)." Back to list
";
include($dir.$file);
}
else
{
echo "Dates: |
| ";
$filename = $dir."list.txt";
$arr_file = file($filename);
krsort($arr_file);
$current_month = 0;
foreach($arr_file as $key => $value)
{
$tmp_month = date("m",$value);
if($current_month!=$tmp_month)
{
echo "".date("F, Y",$value)." | | ";
$current_month = $tmp_month;
}
echo " ".date("m/d/Y",$value)." | ";
}
echo " ";
}
?>
|
|
|
|