'Onyx - JW Games', 'noAutoIncludes' => true, ); jwLib_openPage( $pageProperties ); /**************************************************************************/ $newsCri = array(); $newsCri['categories'] = array(16); $newsCri['limit'] = 30000; $newsCri['fetchBody'] = true; $newsItems = newsLib_searchNewsItems( $newsCri, $newsItemCount, $errors ); $onyxData['title'] = 'Onyx News'; echo jwLib_getTemplate('header.html',$onyxData,Onyx_TemplatePath); echo jwLib_getTemplate('bodyOpen.html',$onyxData,Onyx_TemplatePath); foreach ($newsItems as $k=>$item) { $item['meta']['summaryOnly'] = true; echo '

'.jwLib_getTemplate( 'newsItem.html', array('item'=>$item), Onyx_TemplatePath ).'

'; } echo jwLib_getTemplate('bodyClose.html',$onyxData,Onyx_TemplatePath); echo jwLib_getTemplate('footer.html',$onyxData,Onyx_TemplatePath); /**************************************************************************/ jwLib_closePage($pageProperties);