<? global $vis_language;  ?>
<div id="main_div">
<section  class="container m-t-md">
<div class="row">
      <div class="col-md-12">
         <section class="panel shadow-none">
		<? if($forumTopic!=-1) { 
			?>		
			<form  method="post" id="vis_forum_topic_list_form" name="vis_forum_topic_list_form">
            <div class="panel-heading b-b">		  
		       <div class="btn-group m-b-xs"> 
			       <a class="btn btn-xs btn-rounded <?php echo ($operation['vis_forum_activites'] == 'approved_topics' || $operation['vis_forum_activites'] == '')?' btn-primary ':'btn-default'; ?>" onclick="topic_list('approved_topics');"><? echo $vis_language['TXTAPPROVEDTOPICS']; ?></a>  
			   </div>
			    <div class="btn-group m-b-xs"> 
			       <a class="btn btn-xs btn-rounded <?php echo ($operation['vis_forum_activites'] == 'pending_topics')?' btn-primary ':'btn-default'; ?>" onclick="topic_list('pending_topics');"><? echo $vis_language['TXTPENDINGTOPICS']; ?></a>  
			   </div>
			   <div class="btn-group m-b-xs">
			       <a class="btn btn-xs btn-rounded <?php echo ($operation['vis_forum_activites'] == 'followers')?' btn-primary ':'btn-default'; ?>" onclick="topic_list('followers');"><? echo $vis_language['TXTFOLLOWEDTOPICS']; ?></a>  
			   </div>		
		       </div>
		       <? include(VIS_PATH_TEMPLATE . 'topic_list.php');?>
              </form><? } ?>         
		</section>
	</div>
  </div>
</section>  
</div>

