if ($head['blogcreated'] != 0) {
if ($head['blogenabled'] == '0' && (AllowedTo('admin_forum') || $head['userid'] == $ID_MEMBER)) || $head['blogenabled'] != '0') {
if ($context['FelBlog']['action'][0] == 'list') {
echo ''. $txt['fb_viewblog'] .'';
}
else {
if ($context['FelBlog']['pagemode'] != '' || $context['FelBlog']['action'][0] == 'singlepage') {
echo ''. $txt['fb_listblogs'] .'';
}
else {
echo ''.$txt['fb_showall'].'';
}
}
}
}