verifyPackage( 'articles' ); // Now check permissions to access this page $gBitSystem->verifyPermission( 'p_articles_read' ); if( !empty( $_REQUEST['article_id'] ) ) { header( "location: ".ARTICLES_PKG_URL."read.php?article_id=".( ( int )$_REQUEST['article_id'] ) ); } // Display the template $gDefaultCenter = 'bitpackage:articles/center_list_articles.tpl'; $gBitSmarty->assign_by_ref( 'gDefaultCenter', $gDefaultCenter ); // Display the template $gBitSystem->display( 'bitpackage:kernel/dynamic.tpl', tra( 'Articles' ) , array( 'display_mode' => 'display' )); ?>