$_SESSION['viewthread'] = $viewthread; if (isset($_REQUEST['reply']) && $_REQUEST['reply'] == 'success') { $messageproblem = l_t("Reply posted sucessfully."); $new['message'] = ""; $new['subject'] = ""; $new['sendtothread'] = $viewthread; } libHTML::starthtml(); if ($User->type['Guest']) { print libHTML::pageTitle(l_t('Forum'), l_t('A place to discuss topics/games with other webDiplomacy players.')); } else { print '<div class="content">'; } if (isset($messageproblem) and !$new['sendtothread']) { print '<p class="notice"><a name="postbox"></a>' . $messageproblem . '</p>'; libHTML::pagebreak(); } print '<div class="forum"><a name="forum"></a>'; print ' <div id="forumPostbox" style="' . ($postboxopen ? '' : libHTML::$hideStyle) . '" class="thread threadalternate1 threadborder1"> <div style="margin:0;padding:0"> <div class="message-head"> <strong>' . l_t('Start a new discussion in the public forum') . '</strong> </div> <div class="message-subject"><strong>' . l_t('Post a new thread') . '</strong></div> <div style="clear:both;"></div> </div> <div class="hr"></div> '; if ($User->isSilenced()) { print '<div class="message-body postbox" style="padding-top:0; padding-left:auto; padding-right:auto">';