func->validate_title_name($url); $G[blog_id] = $blog_id; $content_html = $detailsObj->get_details_page( $G ); $tags = $detailsObj->meta_tags; if (isset($tags['meta_title']) && !empty($tags['meta_title']) ) { $pageTitle = $tags['meta_title']; } //echo '
';print_r($tags);die;
        }
        else {
            $url = preg_replace('/(^\/|\/$)/', "", $G['page']);
            if($blog_category_id = $userObj->func->validate_blog_category_name($G['page'])) {  
                $G[blog_category_id] = $blog_category_id;
                $content_html = $userObj->get_home_page( $G );
            }
            else {
                $userObj->func->redirecturl("/");
            }
        }
    }
    else {
        $userObj->func->redirecturl("/");
    }
}
else{
	 $content_html = $userObj->get_home_page( $G );
}

$pageObj->show_page( array('TITLE' => $pageTitle, 'HTML' => $content_html, 'SESSION' => 0, 'TAGS' => $tags ) );
?>