<?php defined('C5_EXECUTE') or die("Access Denied."); use Concrete\Core\Permission\Access\Entity\Type as PermissionAccessEntityType; $type = PermissionAccessEntityType::getByHandle('group_set'); $url = $type->getAccessEntityTypeToolsURL(); $tp = new TaskPermission(); if (!$tp->canAccessGroupSearch()) { echo t("You have no access to groups."); } else { $gl = new GroupSetList(); ?> <div id="ccm-list-wrapper"> <?php if ($gl->getTotal() > 0) { foreach ($gl->get() as $gs) { ?> <div class="ccm-group"> <div style="background-image: url(<?php echo ASSETS_URL_IMAGES; ?> /icons/group.png)" class="ccm-group-inner-indiv"> <a class="ccm-group-inner-atag" id="g<?php echo $g['gID']; ?> " href="javascript:void(0)" onclick="ccm_selectGroupSet(<?php echo $gs->getGroupSetID(); ?> )"><?php