<?php

if ($userInfo["id"] !== 15)
	die(header("Location: https://www.$domain/home"));

$groupId = $_GET["gid"] ?? 0;

$stmt = $pdo->prepare("SELECT * FROM groups WHERE id = :groupId");
$stmt->bindParam(':groupId', $groupId, PDO::PARAM_INT);
$stmt->execute();

if ($stmt->rowCount() == 0)
	die(header("Location: https://www.$domain/request-error?code=400"));

$group = $stmt->fetch(PDO::FETCH_ASSOC);

$stmt = $pdo->prepare("SELECT * FROM groupmembers WHERE groupId = :groupId");
$stmt->bindParam(':groupId', $groupId, PDO::PARAM_INT);
$stmt->execute();
$membercount = $stmt->rowCount();

$stmt = $pdo->prepare("SELECT * FROM grouproles WHERE groupId = :groupId ORDER BY groupRankId ASC");
$stmt->bindParam(':groupId', $groupId, PDO::PARAM_INT);
$stmt->execute();
$groupRoles = $stmt->fetchAll(PDO::FETCH_ASSOC);

$username = htmlspecialchars(UserAuthentication::lookupNameById($group["creatorId"]));

if (isset($_POST["page"])){
	die(require_once("GroupMembers.php"));
}
?>



<!DOCTYPE html>
<html xmlns:fb="http://www.facebook.com/2008/fbml">
<!-- MachineID: WEB353 -->
<head id="ctl00_Head1"><title>
	<?= htmlspecialchars($group["name"]) ?> - ROBLOX
</title>

<link rel='stylesheet' href='https://static.idk18.xyz/css/MainCSS___58dd044044005dc0e887c80110c9a567_m.css/fetch' />

<link rel='stylesheet' href='https://static.idk18.xyz/css/page___600daafe241d1e853b9e96a24ba72cde_m.css/fetch' />

            <link href="https://images.idk18.xyz/7aee41db80c1071f60377c3575a0ed87.ico" rel="icon" />
        <link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico" /><meta http-equiv="X-UA-Compatible" content="IE=edge,requiresActiveX=true" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="ROBLOX Corporation" />
<meta name="description" content="<?= htmlspecialchars($group["name"]) ?> is a group on ROBLOX owned by <?= $username ?> with <?= $membercount ?> members. <?= htmlspecialchars($group["description"]) ?>" />
<meta name="keywords" content="free games, online games, building games, virtual worlds, free mmo, gaming cloud, physics engine" />
<meta name="apple-itunes-app" content="app-id=431946152" />
<meta name="google-site-verification" content="KjufnQUaDv5nXJogvDMey4G-Kb7ceUVxTdzcMaP9pCY" />
    <meta property="og:site_name" content="ROBLOX" />
    <meta property="og:title" content="<?= htmlspecialchars($group["name"]) ?>" />
    <meta property="og:type" content="website" />
    <meta property="og:url" content="<?= $requestUrl ?>" />
    <meta property="og:description" content="<?= htmlspecialchars($group["name"]) ?> is a group on ROBLOX owned by <?= $username ?> with <?= $membercount ?> members. <?= htmlspecialchars($group["description"]) ?>"/>
    <meta property="og:image" content="" />
    <meta property="fb:app_id" content="190191627665278">
    <meta name="twitter:card" content="summary">
    <meta name="twitter:site" content="@ROBLOX">
    <meta name="twitter:title" content="<?= htmlspecialchars($group["name"]) ?>">
    <meta name="twitter:description" content="<?= htmlspecialchars($group["name"]) ?> is a group on ROBLOX owned by <?= $username ?> with <?= $membercount ?> members. <?= htmlspecialchars($group["description"]) ?>">
    <meta name="twitter:creator">
    <meta name=twitter:image1 content="" />
    <meta name="twitter:app:country" content="US">
    <meta name="twitter:app:name:iphone" content="ROBLOX Mobile">
    <meta name="twitter:app:id:iphone" content="431946152">
    <meta name="twitter:app:url:iphone">
    <meta name="twitter:app:name:ipad" content="ROBLOX Mobile">
    <meta name="twitter:app:id:ipad" content="431946152">
    <meta name="twitter:app:url:ipad">
    <meta name="twitter:app:name:googleplay" content="ROBLOX">
    <meta name="twitter:app:id:googleplay" content="com.roblox.client">
    <meta name="twitter:app:url:googleplay"/>
<script type='text/javascript' src='//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.1.min.js'></script>
<script type='text/javascript'>window.jQuery || document.write("<script type='text/javascript' src='/js/jquery/jquery-1.11.1.js'><\/script>")</script>
<script type='text/javascript' src='//ajax.aspnetcdn.com/ajax/jquery.migrate/jquery-migrate-1.2.1.min.js'></script>
<script type='text/javascript'>window.jQuery || document.write("<script type='text/javascript' src='/js/jquery/jquery-migrate-1.2.1.js'><\/script>")</script>

 <?php require_once( $_SERVER["DOCUMENT_ROOT"] . "/includes/googleanalytics.php" ); ?>

<script type='text/javascript' src='https://js.idk18.xyz/37c8aab8fa1734925842c16675a6f7fd.js'></script>

<?php require_once( $_SERVER["DOCUMENT_ROOT"] . "/includes/eventstreaminit.php" ); ?>


<script type="text/javascript">
    if (Roblox && Roblox.PageHeartbeatEvent) {
        Roblox.PageHeartbeatEvent.Init([2,8,20,60]);
    }
</script>        <?php require_once( $_SERVER["DOCUMENT_ROOT"] . "/includes/configPaths.php"); ?><script type="text/javascript">
    $(function () {
        Roblox.JSErrorTracker.initialize({ 'suppressConsoleError': true});
    });
</script><script type='text/javascript' src='https://js.idk18.xyz/450b88c78d27e45b81c9e59189b8ec49.js'></script>


        <link rel="canonical" href="<?= $requestUrl ?>" />
        <script type="text/javascript">
if (typeof(Roblox) === "undefined") { Roblox = {}; }
Roblox.Endpoints = Roblox.Endpoints || {};
Roblox.Endpoints.Urls = Roblox.Endpoints.Urls || {};
Roblox.Endpoints.Urls['/api/item.ashx'] = 'https://www.<?= $domain ?>/api/item.ashx';
Roblox.Endpoints.Urls['/asset/'] = 'https://assetgame.<?= $domain ?>/asset/';
Roblox.Endpoints.Urls['/client-status/set'] = 'https://www.<?= $domain ?>/client-status/set';
Roblox.Endpoints.Urls['/client-status'] = 'https://www.<?= $domain ?>/client-status';
Roblox.Endpoints.Urls['/game/'] = 'https://assetgame.<?= $domain ?>/game/';
Roblox.Endpoints.Urls['/game-auth/getauthticket'] = 'https://www.<?= $domain ?>/game-auth/getauthticket';
Roblox.Endpoints.Urls['/game/edit.ashx'] = 'https://assetgame.<?= $domain ?>/game/edit.ashx';
Roblox.Endpoints.Urls['/game/getauthticket'] = 'https://assetgame.<?= $domain ?>/game/getauthticket';
Roblox.Endpoints.Urls['/game/placelauncher.ashx'] = 'https://assetgame.<?= $domain ?>/game/placelauncher.ashx';
Roblox.Endpoints.Urls['/game/preloader'] = 'https://assetgame.<?= $domain ?>/game/preloader';
Roblox.Endpoints.Urls['/game/report-stats'] = 'https://assetgame.<?= $domain ?>/game/report-stats';
Roblox.Endpoints.Urls['/game/report-event'] = 'https://assetgame.<?= $domain ?>/game/report-event';
Roblox.Endpoints.Urls['/game/updateprerollcount'] = 'https://assetgame.<?= $domain ?>/game/updateprerollcount';
Roblox.Endpoints.Urls['/login/default.aspx'] = 'https://www.<?= $domain ?>/login/default.aspx';
Roblox.Endpoints.Urls['/my/character.aspx'] = 'https://www.<?= $domain ?>/my/character.aspx';
Roblox.Endpoints.Urls['/my/money.aspx'] = 'https://www.<?= $domain ?>/my/money.aspx';
Roblox.Endpoints.Urls['/chat/chat'] = 'https://www.<?= $domain ?>/chat/chat';
Roblox.Endpoints.Urls['/presence/users'] = 'https://www.<?= $domain ?>/presence/users';
Roblox.Endpoints.Urls['/presence/user'] = 'https://www.<?= $domain ?>/presence/user';
Roblox.Endpoints.Urls['/friends/list'] = 'https://www.<?= $domain ?>/friends/list';
Roblox.Endpoints.Urls['/navigation/getCount'] = 'https://www.<?= $domain ?>/navigation/getCount';
Roblox.Endpoints.Urls['/catalog/browse.aspx'] = 'https://www.<?= $domain ?>/catalog/browse.aspx';
Roblox.Endpoints.Urls['/catalog/html'] = 'https://search.<?= $domain ?>/catalog/html';
Roblox.Endpoints.Urls['/catalog/json'] = 'https://search.<?= $domain ?>/catalog/json';
Roblox.Endpoints.Urls['/catalog/contents'] = 'https://search.<?= $domain ?>/catalog/contents';
Roblox.Endpoints.Urls['/catalog/lists.aspx'] = 'https://search.<?= $domain ?>/catalog/lists.aspx';
Roblox.Endpoints.Urls['/asset-hash-thumbnail/image'] = 'https://assetgame.<?= $domain ?>/asset-hash-thumbnail/image';
Roblox.Endpoints.Urls['/asset-hash-thumbnail/json'] = 'https://assetgame.<?= $domain ?>/asset-hash-thumbnail/json';
Roblox.Endpoints.Urls['/asset-thumbnail-3d/json'] = 'https://assetgame.<?= $domain ?>/asset-thumbnail-3d/json';
Roblox.Endpoints.Urls['/asset-thumbnail/image'] = 'https://assetgame.<?= $domain ?>/asset-thumbnail/image';
Roblox.Endpoints.Urls['/asset-thumbnail/json'] = 'https://assetgame.<?= $domain ?>/asset-thumbnail/json';
Roblox.Endpoints.Urls['/asset-thumbnail/url'] = 'https://assetgame.<?= $domain ?>/asset-thumbnail/url';
Roblox.Endpoints.Urls['/asset/request-thumbnail-fix'] = 'https://assetgame.<?= $domain ?>/asset/request-thumbnail-fix';
Roblox.Endpoints.Urls['/avatar-thumbnail-3d/json'] = 'https://www.<?= $domain ?>/avatar-thumbnail-3d/json';
Roblox.Endpoints.Urls['/avatar-thumbnail/image'] = 'https://www.<?= $domain ?>/avatar-thumbnail/image';
Roblox.Endpoints.Urls['/avatar-thumbnail/json'] = 'https://www.<?= $domain ?>/avatar-thumbnail/json';
Roblox.Endpoints.Urls['/avatar-thumbnails'] = 'https://www.<?= $domain ?>/avatar-thumbnails';
Roblox.Endpoints.Urls['/avatar/request-thumbnail-fix'] = 'https://www.<?= $domain ?>/avatar/request-thumbnail-fix';
Roblox.Endpoints.Urls['/bust-thumbnail/json'] = 'https://www.<?= $domain ?>/bust-thumbnail/json';
Roblox.Endpoints.Urls['/group-thumbnails'] = 'https://www.<?= $domain ?>/group-thumbnails';
Roblox.Endpoints.Urls['/groups/getprimarygroupinfo.ashx'] = 'https://www.<?= $domain ?>/groups/getprimarygroupinfo.ashx';
Roblox.Endpoints.Urls['/headshot-thumbnail/json'] = 'https://www.<?= $domain ?>/headshot-thumbnail/json';
Roblox.Endpoints.Urls['/item-thumbnails'] = 'https://www.<?= $domain ?>/item-thumbnails';
Roblox.Endpoints.Urls['/outfit-thumbnail/json'] = 'https://www.<?= $domain ?>/outfit-thumbnail/json';
Roblox.Endpoints.Urls['/place-thumbnails'] = 'https://www.<?= $domain ?>/place-thumbnails';
Roblox.Endpoints.Urls['/thumbnail/asset/'] = 'https://www.<?= $domain ?>/thumbnail/asset/';
Roblox.Endpoints.Urls['/thumbnail/avatar-headshot'] = 'https://www.<?= $domain ?>/thumbnail/avatar-headshot';
Roblox.Endpoints.Urls['/thumbnail/avatar-headshots'] = 'https://www.<?= $domain ?>/thumbnail/avatar-headshots';
Roblox.Endpoints.Urls['/thumbnail/user-avatar'] = 'https://www.<?= $domain ?>/thumbnail/user-avatar';
Roblox.Endpoints.Urls['/thumbnail/resolve-hash'] = 'https://www.<?= $domain ?>/thumbnail/resolve-hash';
Roblox.Endpoints.Urls['/thumbnail/place'] = 'https://www.<?= $domain ?>/thumbnail/place';
Roblox.Endpoints.Urls['/thumbnail/get-asset-media'] = 'https://www.<?= $domain ?>/thumbnail/get-asset-media';
Roblox.Endpoints.Urls['/thumbnail/remove-asset-media'] = 'https://www.<?= $domain ?>/thumbnail/remove-asset-media';
Roblox.Endpoints.Urls['/thumbnail/set-asset-media-sort-order'] = 'https://www.<?= $domain ?>/thumbnail/set-asset-media-sort-order';
Roblox.Endpoints.Urls['/thumbnail/place-thumbnails'] = 'https://www.<?= $domain ?>/thumbnail/place-thumbnails';
Roblox.Endpoints.Urls['/thumbnail/place-thumbnails-partial'] = 'https://www.<?= $domain ?>/thumbnail/place-thumbnails-partial';
Roblox.Endpoints.Urls['/thumbnail_holder/g'] = 'https://www.<?= $domain ?>/thumbnail_holder/g';
Roblox.Endpoints.Urls['/users/{id}/profile'] = 'https://www.<?= $domain ?>/users/{id}/profile';
Roblox.Endpoints.Urls['/service-workers/push-notifications'] = 'https://www.<?= $domain ?>/service-workers/push-notifications';
Roblox.Endpoints.Urls['/notification-stream/notification-stream-data'] = 'https://www.<?= $domain ?>/notification-stream/notification-stream-data';
Roblox.Endpoints.Urls['/api/friends/acceptfriendrequest'] = 'https://www.<?= $domain ?>/api/friends/acceptfriendrequest';
Roblox.Endpoints.Urls['/api/friends/declinefriendrequest'] = 'https://www.<?= $domain ?>/api/friends/declinefriendrequest';
Roblox.Endpoints.addCrossDomainOptionsToAllRequests = true;
</script>
<script type="text/javascript">
if (typeof(Roblox) === "undefined") { Roblox = {}; }
Roblox.Endpoints = Roblox.Endpoints || {};
Roblox.Endpoints.Urls = Roblox.Endpoints.Urls || {};
</script>
</head>
<body id="rbx-body"
    class=""
    data-performance-relative-value="0.005"
    data-internal-page-name="GroupDetailsLegacy"
    data-send-event-percentage="0.01">
    <div id="roblox-linkify" data-enabled="true" data-regex="(https?\:\/\/)?(?:www\.)?([a-z0-9\-]{2,}\.)*(((m|de|www|web|api|blog|wiki|help|corp|polls|bloxcon|developer|devforum|forum)\.roblox\.com|robloxlabs\.com)|(www\.shoproblox\.com))((\/[A-Za-z0-9-+&amp;@#\/%?=~_|!:,.;]*)|(\b|\s))" data-regex-flags="gm" data-as-http-regex=""></div>
<div id="image-retry-data"
     data-image-retry-max-times="10"
     data-image-retry-timer="1500">
</div>
<div id="http-retry-data"
     data-http-retry-max-timeout="0"
     data-http-retry-base-timeout="0">
</div>
    <script type="text/javascript">Roblox.XsrfToken.setToken('FEV1GmM1QJXQ');</script>
 
    <script type="text/javascript">
        if (top.location != self.location) {
            top.location = self.location.href;
        }
    </script>
  
<style type="text/css">
    
</style>
<form name="aspnetForm" method="post" action="<?= $_SERVER["REQUEST_URI"] ?>" id="aspnetForm" class="nav-container no-gutter-ads">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value=" " />
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
}
//]]>
</script>


<script src="https://ajax.aspnetcdn.com/ajax/4.5.1/1/WebForms.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
window.WebForm_PostBackOptions||document.write('<script type="text/javascript" src="/WebResource.axd?d=pynGkmcFUV13He1Qd6_TZH6GgOgBQtqMPCPjRUnhj_pzNesAXKuAdu2pj-Sq-3JDJIgwEw2&amp;t=635792847671809273"><\/script>');//]]>
</script>



<script src="https://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjax.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
(window.Sys && Sys._Application && Sys.Observer)||document.write('<script type="text/javascript" src="/ScriptResource.axd?d=uHIkleVeDJf4xS50Krz-yA3kt4iEPLwQOcXDJXuiLb543xmSxgoBWyWb-0CTRrqRXPsCyYHFJoMX6TPqspOUhmvwRxW7JGKByJCuSKPDJkedBK4vZ68d-hQEQYwPVMjKP6tsCULlkgnx_6P0HwSsu1ZPvc01&t=72e85ccd"><\/script>');//]]>
</script>

<script src="https://ajax.aspnetcdn.com/ajax/4.5.1/1/MicrosoftAjaxWebForms.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
(window.Sys && Sys.WebForms)||document.write('<script type="text/javascript" src="/ScriptResource.axd?d=Jw6tUGWnA15YEa3ai3FadCEDqusVaOyrhfy39auVd1FmNPcggz_w8ujNbCmSe3d-g1mfv3ai8xe7-2Ze2qr2BxMVxfFYswV1Y4rdnmWJF2uUrOEaDJiBEGKAzXrJcfxb_Yfc2xbZMZu9pLQP2d6b-KwvlK01&t=72e85ccd"><\/script>');//]]>
</script>

<script src="/ScriptResource.axd?d=cIhd8jIoRKA_xNLU-QcGhf0aQ_SkgLzc8LbA9dmSQZ1lzRDbx9N3kIgQiLr4ouC9qM0xxGPZbMqfoiK5xtQJ0_jTsCLJaUB3nq2wSWQf8x79uthNSuFmAOP6fDoZAcB6DU-8l0Y_ut3oO7KOh1sgUGPGmKW8-c3LQgFqOhitqzCkuiXM-SJVtC-IMnTKWy-xXIEB-RW1HkDt4V1s9nzn7-INmcY1" type="text/javascript"></script>
<div>

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="3D1CCC47" />
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="XtbjPXGm7hJaBHc9OK8NK53rvo1JWR48+oe7ktd2z8ThxlPQ3vVIk/ThnM2yWtyXe5TkH8Gj3SiSh778nOHfMJVBjoCyyCfHGUIn3Xk0Yx554wXjT782FyNgtFVBkH7HNlzHrorgdEaQE+d6BkZyukMy8c7DbCx2Dcrdho9oVaSIufUwUu8GDvG31W2OVI1YeCJHU3c6CpRMvHAnLFwxoiVhBxcMtus6gyAvSaHruXqI3PMB07S+NJqBIZvlErYVosYhz4//eYszbhDRoJx/gB5s05t2ygPY90A40rhpxFy9pHybAJRDWa0gYlq/q0NepFKlm+/XxoVx1fmuqqeSP9wBZHGJSKllCNL4mcTeGNkE5CPhWbZ1yTwKU7WKsZbmfjfz8LuoVwInKneIOlYVjcx0Hj5L8W7SYN5qJ+t6hHnhkgC87YOk+i9q/Mg9i+dYPxExg8E4iz1R688cuWssXveXJ5H0ZTHyqwvsPnRmyzaFupeyE03RYf8Pqjby8mlaNhl18ysVcwhpzBaMCOcDqyHY3cie/+sDHMcaGnaCjRMDjrhkvaQDytrSizQj424B8smW5hr5MiYGJ9KzOhbf6Wo6r5+GvZkFaqlrKYcvou2XdsNvKGDdhXqk2++LUWyTIKrJrP1PLAkRMKCXSfLSV7wTWiI=" />
</div>
    <div id="fb-root">
    </div>
    <script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ctl00$ScriptManager', 'aspnetForm', ['tctl00$cphRoblox$rbxGroupRoleSetMembersPane$GroupMembersUpdatePanel','','tctl00$cphRoblox$rbxGroupAlliesPane$RelationshipsUpdatePanel',''], ['ctl00$cphRoblox$rbxGroupRoleSetMembersPane$dlUsers_Footer',''], [], 90, 'ctl00');
//]]>
</script>

    
<?php require_once("../includes/header.php"); ?>

<script type="text/javascript">
    var Roblox = Roblox || {};
    (function() {
        if (Roblox && Roblox.Performance) {
            Roblox.Performance.setPerformanceMark("navigation_end");
        }
    })();
</script>


        <div id="navContent" class="nav-content logged-out"><div class="nav-content-inner">
    <div id="MasterContainer" >
        

<?php require_once( $_SERVER["DOCUMENT_ROOT"] . "/includes/eventmanager.php"); ?>
    



        <script type="text/javascript">Roblox.FixedUI.gutterAdsEnabled=false;</script>

        

        <div id="Container">
            
            
        </div>

		
        
        <noscript><div class="alert-info"><h5>Please enable Javascript to use all the features on this site.</h5></div></noscript>
        
        
        
        
        
        
            <div id="AdvertisingLeaderboard">
                

<iframe name="Roblox_Default_Top_728x90" 
        allowtransparency="true"
        frameborder="0"
        height="110"
        scrolling="no"
        src="https://www.<?= $domain ?>/user-sponsorship/1"
        width="728"
        data-js-adtype="iframead"></iframe>

            </div>
        
        
        <div id="BodyWrapper">
            
            <div id="RepositionBody">
                <div id="Body" class="body-width">
                    
    <style type="text/css">
        #Body {
            padding: 10px;
            width: 970px;
        }
    </style>
    <div class="MyRobloxContainer">
        <div id="mid-column" class="GroupsPage">
            
<div id="SearchControls">
    
    <div class="content">
        <input name="ctl00$cphRoblox$GroupSearchBar$SearchKeyword" type="text" id="ctl00_cphRoblox_GroupSearchBar_SearchKeyword" onclick="if(this.value == &#39;Search all groups&#39;){ this.value = &#39;&#39;};$(this).removeClass(&#39;default&#39;);" class="SearchKeyword default translate" maxlength="100" value="Search all groups" />
        <!--<select name="ctl00$cphRoblox$GroupSearchBar$SearchFiltersDropdown2" id="ctl00_cphRoblox_GroupSearchBar_SearchFiltersDropdown2">

</select>-->
        <input type="submit" name="ctl00$cphRoblox$GroupSearchBar$SearchButton" value="Search" onclick="javascript:if ($get(SearchKeywordText).value == &#39;&#39; || $get(SearchKeywordText).value == &#39;Search all groups&#39;) return false;" id="ctl00_cphRoblox_GroupSearchBar_SearchButton" class="group-search-button translate" />
        <input type="text" style="visibility: hidden; position: absolute">
        <!-- Enter key submission hack - IE -->
    </div>
</div>

<script type="text/javascript">
    var SearchKeywordText = 'ctl00_cphRoblox_GroupSearchBar_SearchKeyword';       
</script>


            <div id="description">
                <div class="GroupPanelContainer">
                    <div class="left-col">
                        <div class="GroupThumbnail">
                            <a id="ctl00_cphRoblox_GroupDescriptionEmblem" title="<?= htmlspecialchars($group["name"]) ?>" onclick="__doPostBack(&#39;ctl00$cphRoblox$GroupDescriptionEmblem&#39;,&#39;&#39;)" style="display:inline-block;cursor:pointer;"><img src="<?= ThumbnailService::requestAssetThumbnail( $group["iconImageAssetId"], 150, 150, 1) ?>" height="150" width="150" border="0" alt="<?= htmlspecialchars($group["name"]) ?>" /></a>
                        </div>
                        <script type="text/javascript">
                            (function() {
                                $("#ctl00_cphRoblox_GroupDescriptionEmblem img").on('load', function () {
                                    if (Roblox && Roblox.Performance) {
                                        Roblox.Performance.setPerformanceMark("group_image");
                                    }
                                });
                            })();
                        </script>
                        <div class="GroupOwner">
                            <div id="ctl00_cphRoblox_OwnershipPanel">
	Owned By:<br />
                                <a style="font-style: italic;" href="https://www.<?= $domain ?>/users/<?= $group["creatorId"] ?>/profile" onclick=""><?= $username ?></a>
</div>
                            <div id="MemberCount">Members: <?= $membercount ?></div>
                            
                        </div>
                        <div id="ctl00_cphRoblox_JoinGroup" class="btn-neutral btn-large" OnClick="__doPostBack(&#39;JoinGroupDiv&#39;, &#39;Click&#39;);" style="margin-top: 10px;">
	Join Group
</div>
                        
                        <div>
                            
                        </div>
                        
                    </div>
                    <div class="right-col">
                        <h2 class="notranslate"><?= htmlspecialchars($group["name"]) ?></h2>
                        <div id="GroupDescP" class="linkify">
                            <pre class="notranslate"><?= htmlspecialchars($group["description"]) ?></pre>
                        </div>
                        <div id="ctl00_cphRoblox_AbuseReportButton_AbuseReportPanel" class="ReportAbuse">
	
    <span class="AbuseIcon"><a id="ctl00_cphRoblox_AbuseReportButton_ReportAbuseIconHyperLink" href="https://www.<?= $domain ?>/abusereport/group?id=<?= $group["id"] ?>&amp;RedirectUrl=<?= urlencode("https" . "://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]) ?>"><img src="https://static.idk18.xyz/images/abuse.png" alt="Report Abuse" style="border-width:0px;" /></a></span>
    <span class="AbuseButton"><a id="ctl00_cphRoblox_AbuseReportButton_ReportAbuseTextHyperLink" href="https://www.<?= $domain ?>/abusereport/group?id=<?= $group["id"] ?>&amp;RedirectUrl=<?= urlencode("https" . "://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]) ?>">Report Abuse</a></span>

</div>
                        <br />
                        
                        
                    </div>
                    <div style="clear: both;"></div>
                </div>

                <div id="GroupsPeopleContainer">
                    <div>
                    
                        <div id="GroupsPeople_Members" class="tab active">Members</div>
                        <div id="GroupsPeople_Allies" class="tab">Allies</div>
                        <div id="GroupsPeople_Enemies" class="tab">Enemies</div>
                        <div id="GroupsPeople_Items" class="tab">Store</div>
                        <div style="clear: both;"></div>
                    </div>
                    <div id="GroupsPeople_Pane">
                        
                        <div id="GroupsPeoplePane_Members" class="tab-content" style="display: block">
                            
<script>
function changePage(customPage = 0, ){
	var page = (customPage !== 0) ? customPage : document.getElementById('ctl00_cphRoblox_rbxGroupRoleSetMembersPane_dlUsers_Footer_ctl01_PageTextBox').value;
	var currentRole = document.getElementById('ctl00_cphRoblox_rbxGroupRoleSetMembersPane_currentRoleSetID').value;
	var changedRole = document.getElementById('ctl00_cphRoblox_rbxGroupRoleSetMembersPane_dlRolesetList').value; 
	
    $.ajax({
        url: '<?= $_SERVER["REQUEST_URI"] ?>', 
        type: 'POST',
        data: {
            page: page,
			current_role: currentRole,
			changed_role: changedRole
        },
        success: function(response) {
            $('#GroupRoleSetsMembersPane').html(response);
        },
        error: function() {
        }
	});
}
</script>


<div id="GroupRoleSetsMembersPane" >
    <?php require_once("GroupMembers.php"); ?>
</div>

                        </div>
                        <div id="GroupsPeoplePane_Allies" class="tab-content">

                        </div>
                        <div id="GroupsPeoplePane_Enemies" class="tab-content">
                            
                        </div>
                        <div id="GroupsPeoplePane_Items" class="tab-content">
                            
<div id="GroupItemPaneInstructions">
    <p>Groups have the ability to create and sell official shirts, pants, and t-shirts! All revenue goes to group funds.</p>
    
</div>
<div id="GroupItemContent">
    <div id="GroupItemPaneContent"></div>
    <div style="clear:both;text-align: center;padding-top:25px;">
        <a href="https://www.<?= $domain ?>/catalog/browse.aspx?CatalogContext=1&IncludeNotForSale=false&SortType=3&CreatorID=<?= $group["creatorId"] ?>">See more items for sale by this group</a>
        
    </div>
</div>
<script type="text/javascript">
    
    $(function () {
        var url = '/catalog/html?CreatorId=<?= $group["creatorId"] ?>&ResultsPerPage=3&IncludeNotForSale=false&SortType=3&' + new Date().getTime();
     $.ajax({
            method: "GET",
            url: url,
            crossDomain: true,
            xhrFields: {
                withCredentials: true
            }
        }).done(function (data) {
            if (data.indexOf("CatalogItem") == -1) {
                $('#GroupItemPaneContent').html('<p>This group has no items.</p>');
                return;
            }
            $('#GroupItemPaneContent').html(data);
            Roblox.require('Widgets.ItemImage', function (itemImage) {
                itemImage.populate();
            });
        }, "text");
        });
    
</script>
                        </div>
                    </div>
                </div>

                

<script type="text/javascript">
    Roblox.ExileModal.InitializeGlobalVars(7885720, 1196433);
</script>



            </div>
        </div>
        <div id="right-column">
            
            <div id="Div2" style="height: 600px">
                

<iframe name="Roblox_Default_Right_160x600" 
        allowtransparency="true"
        frameborder="0"
        height="612"
        scrolling="no"
        src="https://www.<?= $domain ?>/user-sponsorship/2"
        width="160"
        data-js-adtype="iframead"></iframe>

            </div>
        </div>
        <div style="clear: both;"></div>
        <script type="text/javascript">
            if (typeof Roblox === "undefined") {
                Roblox = {};
            }
            if (typeof Roblox.Resources === "undefined") {
                Roblox.Resources = {};
            }
            Roblox.Resources.more = "More";
            Roblox.Resources.less = "Less";
        </script>
    </div>

                    <div style="clear:both"></div>
                </div>
            </div>
        </div> 
        </div>
        
            
<?php require_once( $_SERVER["DOCUMENT_ROOT"] . "/includes/footer.php"); ?>




        
        </div></div>
    </div>
    
        <script type="text/javascript">
            function urchinTracker() { };
            GoogleAnalyticsReplaceUrchinWithGAJS = true;
        </script>
    
    <?php require_once( $_SERVER["DOCUMENT_ROOT"] . "/includes/placelauncher.php"); ?>


<?php require_once( $_SERVER["DOCUMENT_ROOT"] . "/includes/modals/upsellAdModal.php"); ?>


<?php require_once( $_SERVER["DOCUMENT_ROOT"] . "/includes/modals/legacygenericconfirmationmodal.php"); ?>

    
        <script>
            $(function () {
                Roblox.DeveloperConsoleWarning.showWarning();
            });
        </script>
    

<?php require_once( $_SERVER["DOCUMENT_ROOT"] . "/includes/cookieupgrader.php"); ?>


</body>                
</html>
