
<div class="well">

      <ul class="tabs"> 
        <li><a href="gateway.php?act=view_news">News</a></li>
        <li><a href="#view1">Events</a></li>
      </ul> 
      <div class="tabcontents"> 
        <div id="view1">
                       
              <?php echo view_events(); ?>
              

        
        </div> 
         
 
      </div>
</div>

</form>