","")?>

',"")?> ','')?>

','')?>

','')?>

','')?> ',"")?>



".date("Y-m-d", $row['TS'])." - ".$row['short']."

\n"; if($row['story'] != "") echo "

[ "._("Full Story")." ]

\n"; } if(mysql_num_rows(mysql_query("select * from `news`")) > 2) echo "

[ "._("More News Items")." ]

"; */ $rss = ""; $open = $items = 0; $fp = @fopen("/www/pages/index/feed.rss", "r"); if($fp) { echo '

'._('Latest News').'

'; while(!feof($fp)) $rss .= trim(fgets($fp, 4096)); fclose($fp); $rss = str_replace("><", ">\n<", $rss); $lines = explode("\n", $rss); foreach($lines as $line) { $line = trim($line); if($line != "" && $open == 0) continue; if($line == "" && $open == 0) { $open = 1; continue; } if($line == "" && $open == 1) { $items++; if($items >= 3) break; $open == 0; continue; } if(substr($line, 0, 7) == "") echo "<h3>".str_replace("&#", "&#", recode_string("UTF8..html", str_replace("&", "", trim(substr($line, 7, -8)))))."</h3>\n"; if(substr($line, 0, 13) == "<description>") echo "<p>".str_replace("&#", "&#", recode_string("UTF8..html", str_replace("&", "", trim(substr($line, 13, -14)))))."</p>\n"; if(substr($line, 0, 6) == "<link>") echo "<p>[ <a href='".trim(substr($line, 6, -7))."'>"._("Full Story")."</a> ]</p>\n"; } } ?> [ <a href="http://blog.CAcert.org/"><?=_('More News Items')?></a> ] </div>