<?php
$wo['setting_page'] = 'general-setting';
$pages_array = array(
   'general-setting',
   'privacy-setting',
   'delete-group',
   'avatar-setting',
   'requests',
   'group-members'
   );
if (!empty($_GET['tab3'])) {
   if (in_array($_GET['tab3'], $pages_array)) {
      $wo['setting_page'] = $_GET['tab3'];
   }
}
?>
<div class="page-margin">
   <div class="row setting-panel">
      <div class="col-md-8">
         <?php echo Wo_LoadPage("group-setting/" . $wo['setting_page']); ?>
      </div>
      <div class="col-md-4">
          <?php echo Wo_LoadPage('group-setting/group-setting-sidebar');?>
      </div>
   </div>
</div>