Kalendarz Kibica http://www.kalendarz-kibica.pl Kalendarz Kibica - terminarz imprez sportowych. Dzisiejsze wydarzenia: pl Copyright 2007, kalendarz-kibica.pl. admin@kalendarz-kibica.pl'; echo "\n".date("D, d M Y")." 00:00:01 GMT\n"; $query = "select id,category, title, description,link from dane where day(data)=".$day." and month(data)=".$month." and year(data)=".$year; //echo $query; $res = mysql_query($query); while ($rekord = mysql_fetch_array($res)) { echo "\n"; echo "\t".$rekord['title']."\n"; echo "\thttp://www.kalendarz-kibica.pl/".$rekord['id']."/".$rekord['link'].".html?utm_source=rss&utm_campaign=rss\n"; $lt = @strlen($rekord['description']); if (@strlen($rekord['description'])>200) { $space = @strpos($rekord['description']," ",200); $tag = "[...]"; } else { $tag = ""; $space=200; } echo "\t",$rekord['description']), 0, $space).$tag."]]>\n"; echo "\r\n"; } echo "\n"; echo "\r"; ?>