Source for file lookup_post_inc.php
Documentation is available at lookup_post_inc.php
require_once( BLOGS_PKG_PATH. 'BitBlogPost.php');
require_once( LIBERTY_PKG_PATH. 'lookup_content_inc.php' );
if( empty( $gContent ) || !is_object( $gContent ) || !$gContent->isValid() ) {
// if blog_id supplied, use that
if( @BitBase::verifyId( $_REQUEST['post_id'] ) ) {
} elseif( @BitBase::verifyId( $_REQUEST['content_id'] ) ) {
$gContent = new BitBlogPost( NULL, $_REQUEST['content_id'] );
$gBitSmarty->assign_by_ref( 'gContent', $gContent );
|