<?PHP
	$charset="utf-8";	
	header("Content-Type: text/xml; charset=$charset");
	echo "<"."?xml version=\"1.0\" encoding=\"$charset\"?".">";

	include("admin/consts.php");
	include("admin/function.php");

function Logger($note) {

  $ip1 = $_SERVER["REMOTE_ADDR"];
  $ip2 = $_SERVER["HTTP_X_FORWARDED_FOR"];

  $sql  = "insert into rss_log (dt,ip1,ip2,note) values(now(),'$ip1','$ip2','$note')";
  $vopr = @mysql_query($sql,$Link_ID);
}

Logger("blog");


?>

<rss version="2.0">
  <channel>
    <generator>RSS</generator>
    <title>Photo of the Day by Zunuzin</title>
    <link>http://www.zunuzin.com/blog/</link>
    <description />
    <language>en-us</language>
    <managingEditor>zunuzin@zunuzin.com</managingEditor>
    <webMaster>webmaster@zunuzin.com</webMaster>
    <copyright>(c) Zunuzin 1998-2007</copyright>

<?PHP
      Creat();
      myGetDate();
      echo PrintRSS();	
?>

  </channel>
</rss>
