{%include concat(template.path, '/links.html')%} {%include concat(template.path, '/header.html')%}
{{widgetRender('community', '

Сообщества

')}}
{##} {% set sitePkids = ioCallAction('io.model.cms20.clusterlinks.getClusterPkidsDown', {}).site_pkids %} {% set start = 0 %} {% set limit = 12 %} {% set filter = { 'parent_pkid': sitePkids, 'type': {0: 3, 1: 6}, 'isDeleted': false, 'isHide': false, } %} {% set text = xget('text') %} {% if text != '' %} {% set filter = xadd(filter, '%name', text) %} {% endif %} {% set res = cmsGetSites({ 'filter':filter, 'start':start, 'limit':limit, }) %} {% set list = res.data %} {% for item in list %} {% set href = link('http://'~item.domain~'/') %}
{% set list2 = socialCommunityGetMembers({pkid:item.pkid}) %} {% set membercont=0 %} {% for u in list2 %} {% set membercont= membercont+1 %} {% endfor %}
{% if not user.isGuest %} {% set checkMe = socialCommunityCheckSelf({pkid:item.pkid}) %} {% endif %}
{% endfor %} {% if not user.isGuest %} {% endif %}
{%include concat(template.path, '/footer.html')%}