"News - JW Games", 'cvsRevision' => jwLib_convertCVSRevision("\$Revision$") ); jwLib_openPage( $pageProperties ); $fpArtCri = array( 'keyword' => 'front page', 'status' => ArticleLib_ArtStatus_Approved, 'postedDate<' => 'NOW()', 'categories' => array(16,14,11,15) ); $totalToFetch = userLib_getCurrentUserInfo('numberOfLines','news'); $totalToFetch or $totalToFetch = 10; $fpArtCri['offset'] = (isset($_GET['nOffset'])?abs($_GET['nOffset']):0); if ($totalToFetch!='off') { $fpArtCri['limit'] = (int)max(1,$totalToFetch); // *0.41 jwLib_mark('Search News Start'); $fpArts = articleLib_searchArticles( $fpArtCri, $fpArtStats ); jwLib_mark('Search News Done'); } else $fpArts = array(); // Build news items nextLastData $newsNextLast = array( 'numItems' => $fpArtStats['count'], 'offset' => $fpArtStats['offset'], 'pageSize' => $fpArtStats['limit'], 'page' => '', 'varName' => 'offset' ); ?>
[] ', jwLib_getTemplate('articleHeader.html', array( 'info' => $item, 'cCatTag' => '

', 'cCatPrefix' => 'Filed Under: ' )), jwLib_getTemplate('articleBody.html', array('info' => $info, 'body' => $body )), '

'; $first = false; } ?>