*/ /** * Initialization */ require_once( NEWSLETTERS_PKG_CLASS_PATH.'BitNewsletterEdition.php' ); if( empty( $gContent ) || !is_object( $gContent ) || !$gContent->isValid() ) { $editionId = !empty( $_REQUEST['edition_id'] ) ? $_REQUEST['edition_id'] : NULL; $conId = !empty( $_REQUEST['content_id'] ) ? $_REQUEST['content_id'] : NULL; $nlId = !empty( $_REQUEST['nl_id'] ) ? $_REQUEST['nl_id'] : NULL; $gContent = new BitNewsletterEdition( $editionId, $conId, $nlId ); $gContent->load(); $gBitSmarty->assign( 'gContent', $gContent ); }