'; /* get all news */ $infos = $eventinfos; $news = catEventSearch('ISNULL', null, 0, 0, CAT_FETCH_ALL, $infos, 0x7FFFFFFF, 0); /* get last publication-date */ $pubstamp = 0; if (count($news) > 0) foreach ($news as $n) if ($n->stop > time()) $pubstamp = max($pubstamp, $n->start); if ($pubstamp == 0) $pubstamp = time(); /* make the date-stamp */ $pubdate = date('r', $pubstamp); ?> <?= $news_title ?> http://dunno/ admin@dunno webmaster@dunno http://dunno/newsfeed/icon.png <?= $meta_title ?> http://dunno/ 0) foreach ($news as $n) if ($n->stop > time()) { ?> <?= $n->textlist[TEXT_NAME]->content ?> http://dunnoid ?> textlist[TEXT_EVENT]->content) ?> start) ?> &type=event&id=id ?> Admin (admin@dunno)