<div id="selForums" class="clsForums">
  <div class="clsClearfix clsProfilePageDetails">
     <div class="clsForumTitleHeading clsFloatleft">
      <h2 id="selForumTitle">{$LANG.forums_alltitles}
	  </h2>
	  </div>
	  <div class="clsFloatright">
	  		{if $myobj->isShowPageBlock('form_show_forums') AND $CFG.admin.forums.add_title}
				  <div id="selGroupForumPost">

		<div id="selQuickLinks" class="clsQuestionsLink clsFloatright">
			<ul class="clsFloatright">
				<li class="{$myobj->displaytabs.allForumsLI}"><span><a href="{$myobj->allforums_link}">{$LANG.forums_allforums}</a></span></li>
				{if isMember()}
					<li class="{$myobj->displaytabs.myForumsLI}"><span><a href="{$myobj->myforums_link}">{$LANG.forums_mytitles}</a></span></li>
					<li class="{$myobj->displaytabs.postForumsLI}"><span><a href="{$myobj->forumsAddTitle_url}">{$LANG.forumslinks_post_title}</a></span></li>
				{else}
					<li class="{$myobj->displaytabs.myForumsLI}"><span><a id="selmyforums" href="{$myobj->login_myforums_url}" onclick="{$myobj->getBrowser('selmyforums')}">{$LANG.forums_mytitles}</a></span></li>
					<li class="{$myobj->displaytabs.postForumsLI}"><a id="posttitle" href="{$myobj->login_url}" onclick="{$myobj->getBrowser('posttitle')}">{$LANG.forumslinks_post_title}</a></span></li>
				{/if}
			</ul>
		  </div>
	  </div>
 			 {/if}
	  </div>
    </div>


  {if $myobj->isShowPageBlock('form_show_forums')}


            <div class="clsForumMainContainer">
  <!--rounded corners-->
     <div class="clsShadedBg">
  <div class="lbtopanalyst">
    <div class="rbtopanalyst">
      <div class="bbtopanalyst">
        <div class="blctopanalyst">
          <div class="brctopanalyst">
            <div class="tbtopanalyst">
              <div class="tlctopanalyst">
                <div class="trctopanalyst">
				  {include file='../general/information.tpl'}
					 {if $myobj->isResultsFound()}
		  {if $CFG.admin.navigation.top}
			 {if $myobj->isPagingRequired()}
			  <div class="clsPaginationForumTop">{include file='../general/pagination.tpl'}</div>
			  {/if}
		  {/if}
		  <table summary="{$LANG.forums_tbl_summary}">
			<tr>
			  <th>{$LANG.forums_title}</th>
			  <th>{$LANG.forums_posts}</th>
			  <th>{$LANG.forums_responses}</th>
			  <th class="clsLastPost clsNoBorders">{$LANG.forums_last_post}</th>
			</tr>
			{foreach key=fsfkey item=fsfvalue from=$myobj->form_show_forums_arr}
			<tr>
			  <td id="selForumTopicList"><h3><a href="{$fsfvalue.forumTopics.url}"> {$fsfvalue.forumTopics.title} </a></h3>
				<p>{$fsfvalue.forum_description_manual}</p>
				 {if $fsfvalue.record.forum_userid == $CFG.user.user_id and $myobj->getFormField('my')}
				 	<p> {$fsfvalue.forums_unpublished_topics.content}</p>
				  {/if} </td>
			  <td class="clsTopicRes clsCenter"><p>{$fsfvalue.record.total_topics}</p></td>
			  <td class="clsTopicRes clsCenter"><p>{$fsfvalue.record.total_response}</p></td>
			  <td class="clsNoBorders clsClearfix">
			  <div class="clsFloatleft">
			  	{if isUserImageAllowed()}
              		{$myobj->displayForumUserSmallImage($fsfvalue.record.userDetails, 'true', 'true', 'true')}
				{/if}
				</div>
				<div class="clsFloatleft">
				<span class="clsFormUserName"><a href="{$fsfvalue.myanswers.url}">{$fsfvalue.display_name}</a></span>
				</div>
                </td>
			</tr>
			{/foreach}
		  </table>
		    {if $CFG.admin.navigation.bottom}
			  {if $myobj->isPagingRequired()}
			  <div class="clsPaginationForumBottom">{include file='../general/pagination.tpl'}</div>
			  {/if}
		  {/if}
	  {else}
		  <div id="selMsgAlert">
			<p>{$LANG.forums_no_titles}</p>
		  </div>
	  {/if}
                      </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  </div>
  <!--end of rounded corners-->
</div>

   {/if}
 </div>
