getPermission(); //$result['no_visible_elements'] = 'FALSE'; //$result['username'] = $_SESSION['user']; //global $SITEBASE; //require($SITEBASE . '/inc/sgroup_list.php'); //$result= array_merge($result, sgroup_list()); //return helpers :: loadtemplate( 'sgroup_list', $result, true); if (Helpers::check_if_game_client()) { header("Location: ".$INGAME_WEBPATH."?page=sgroup_list"); }else{ header("Location: ".$WEBPATH."?page=sgroup_list"); } exit; }else{ //ERROR: No access! $_SESSION['error_code'] = "403"; header("Location: index.php?page=error"); exit; } }else{ //ERROR: not logged in! header("Location: index.php"); exit; } }