<?php 
$current_folder_level=0;
include('inc/config.inc.php');
dbreq();
nakinclude(array('sqleasy.fnc','paging.class','allvalid.fnc'));

echo'<?xml version="1.0"?>'; ?>



<rss version="2.0">
<channel>
	<title>Early Childhood Education - Bulletin</title>
	<link>http://guamkids.org/news.html</link>
	<description>News Feed from Guamkids.org | Education Department, Guam Community College</description>
	<language>en-us</language>
	<copyright>Early Childhood Education</copyright>
	
	
	
	<?php
   $result=selectdynamic("news","*",array("status"),array("="),array("A"),0,"ORDER BY  `date` DESC,`dateadded` DESC","rs","ex");
  	while($row=mysql_fetch_array($result))
	{
	
	
	
	echo "\n";
					echo '<item>';
					echo "\n\t";
					echo '<title>'.htmlspecialchars($row['title']).'</title>';
					echo "\n\t";
					echo '<description>'.htmlspecialchars($row['description']).'</description>';
					echo "\n\t";
					//echo '<link>'.SITE_URL.'news.html?news_id='.$row['id'].'</link>';
					//echo "\n\t";
					echo '<pubDate>'.date('D, d M Y H:i:s',$row['date']).'</pubDate>';
					echo "\n";
					echo '</item>';
  
  	}
  
  ?> 		
	</channel>
</rss>  
