'; /* get all news */ $infos = $articleinfos; $news = catArticleSearch('ISNULL', null, 0, 0, CAT_FETCH_ALL, $infos, 0x7FFFFFFF, 0); /* get last publication-date */ $pubstamp = 0; $oldstamp = time() - (3 * 28 * 24 * 60 * 60); if (count($news) > 0) foreach ($news as $n) if ($n->created > $oldstamp) $pubstamp = max($pubstamp, $n->created); 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->created > $oldstamp) { ?> <?= $n->textlist[TEXT_NAME]->content ?> http://dunnoid ?> textlist[TEXT_CONTENT]->content) ?> created) ?> &type=article&id=id ?> Admin (admin@dunno)