diff --git a/main/forum/index.php b/main/forum/index.php index 76d6103477..5d759711e0 100755 --- a/main/forum/index.php +++ b/main/forum/index.php @@ -208,7 +208,7 @@ if (isset($_GET['action']) && $_GET['action'] == 'notify' AND isset($_GET['conte $session_displayed = ''; } echo ''; - echo ''; + echo ''; echo ''.prepare4display($forum_category['cat_title']).$session_displayed.''. $session_img .'
'; if ($forum_category['cat_comment']<>'' AND trim($forum_category['cat_comment'])<>' ') { @@ -232,7 +232,9 @@ if (isset($_GET['action']) && $_GET['action'] == 'notify' AND isset($_GET['conte // step 4: the interim headers (for the forum) echo ''; - echo "".get_lang('Forum').""; + echo ""; + echo ""; + echo "".get_lang('Forum').""; echo "".get_lang('Topics').""; echo "".get_lang('Posts').""; echo "".get_lang('LastPosts').""; @@ -313,8 +315,8 @@ if (isset($_GET['action']) && $_GET['action'] == 'notify' AND isset($_GET['conte if ($show_forum) { $form_count++; $mywhatsnew_post_info=isset($whatsnew_post_info[$forum['forum_id']]) ? $whatsnew_post_info[$forum['forum_id']]: null; - echo ''; - + + $forum_image = ''; // Showing the image if(!empty($forum['forum_image'])) { @@ -327,11 +329,16 @@ if (isset($_GET['action']) && $_GET['action'] == 'notify' AND isset($_GET['conte //limit display width and height to 100px $img_attributes = 'width="100" height="100"'; } - echo ""; - } - } + $forum_image = ""; + } else { + $forum_image = ''; + } + } + echo ""; + echo $forum_image; echo ""; - echo ""; + + echo ""; if ($forum['forum_of_group']!=='0') { if (is_array($mywhatsnew_post_info) and !empty($mywhatsnew_post_info)) { @@ -345,7 +352,7 @@ if (isset($_GET['action']) && $_GET['action'] == 'notify' AND isset($_GET['conte } else { echo icon('../img/forum.gif'); } - } + } echo ""; //validacion when belongs to a session