<?php
echo "Hi";
if (count($forums) || count($parents)) {
$output = '<div id="forum">';
$output .= '<ul>';
if (
user_access('create forum topics')) {
$output .= '<li>'. l(t('Post new forum topic. '), "node/add/forum/$tid") .'</li>';
}
else if ($user->uid) {
$output .= '<li>'. t('You are not allowed to post a new forum topic.') .'</li>';
}
?>