$date = "";
$kol++;
$t_is=preg_match("#<title>(.*?)</title>#is",$one_item,$title);
$l_is=preg_match("#<link>(.*?)</link>#is",$one_item,$link);
// $d_is=preg_match("#<description>(.*?)</description>#is",$one_item,$description);
$date_is=preg_match("#<pubDate>(.*?)</pubDate>#is",$one_item,$date_t);
if ($t_is && $l_is)
{
$title[1]=preg_replace("#<\!\[CDATA\[(.*?)\]\]>#eis","'\\1'",$title[1]);
$link[1]=preg_replace("#<\!\[CDATA\[(.*?)\]\]>#eis","'\\1'",$link[1]);
// $description[1]=preg_replace("#<\!\[CDATA\[(.*?)\]\]>#eis","'\\1'",$description[1]);
if ( $date_is )
$date = strtotime($date_t[1]);
$t.="<div><a href='".$link[1]."' target='_blank'>".$title[1]."</a>
<br>"
.$description[1]
.( $date ? "<br>".date("d.n.Y",$date) : "" )
."</div>";