Wichtige Lehrerinfos

"; #} $rss_text = file_get_contents('http://jbg-portal.de/iserv/public/news/rss/lehrer_wichtig?pwd=sommer'); if ($rss = @simplexml_load_string(utf8_encode($rss_text)) ) { foreach ( $rss->channel->item as $item ) { $time = time() - (60 * 60 * 24 * 7); if(strtotime($item->pubDate) > $time){ $output .= "

{$item->title}

"; $replaced = str_replace($replace, $replacer, $item->description); $output .= $replaced; $output .= "

".date("d.m.Y H:i", strtotime($item->pubDate))."

"; echo utf8_decode ("
{$output}
"); $output = ""; } } }else{ echo ""; } ?>

Lehrerinfos

channel->item as $item ) { $time = time() - (60 * 60 * 24 * 7); if(strtotime($item->pubDate) > $time){ $output .= "

{$item->title}

"; $replaced = str_replace($replace, $replacer, $item->description); $output .= $replaced; $output .= "

".date("d.m.Y H:i", strtotime($item->pubDate))."

"; echo utf8_decode ("
{$output}
"); $output = ""; } } }else{ echo ""; } ?>

Wichtige Infos für alle

channel->item as $item ) { $time = time() - (60 * 60 * 24 * 7); if(strtotime($item->pubDate) > $time){ $output .= "

{$item->title}

"; $replaced = str_replace($replace, $replacer, $item->description); $output .= $replaced; $output .= "

".date("d.m.Y H:i", strtotime($item->pubDate))."

"; echo utf8_decode ("
{$output}
"); $output = ""; } } }else{ echo ""; } ?>

Infos für alle

channel->item as $item ) { $time = time() - (60 * 60 * 24 * 7); if(strtotime($item->pubDate) > $time){ $output .= "

{$item->title}

"; $replaced = str_replace($replace, $replacer, $item->description); $output .= $replaced; $output .= "

".date("d.m.Y H:i", strtotime($item->pubDate))."

"; echo utf8_decode ("
{$output}
"); $output = ""; } } }else{ echo ""; } ?>