<?php /* Smarty version Smarty-3.1.19, created on 2018-10-13 14:37:19
         compiled from "/home/tnsmborg/public_html/templates/_common/members.tpl" */ ?>
<?php /*%%SmartyHeaderCode:3204128095bc23b5f994ac8-90680094%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd548bf1475466432670cabe0a020d8001022f364' => 
    array (
      0 => '/home/tnsmborg/public_html/templates/_common/members.tpl',
      1 => 1528949094,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3204128095bc23b5f994ac8-90680094',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'activeGroup' => 0,
    'usergroups' => 0,
    'entryId' => 0,
    'name' => 0,
    'letters' => 0,
    'letter' => 0,
    'members' => 0,
    'pagination' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.19',
  'unifunc' => 'content_5bc23b5f9e9ba7_94368053',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5bc23b5f9e9ba7_94368053')) {function content_5bc23b5f9e9ba7_94368053($_smarty_tpl) {?><ul class="nav nav-tabs m-b">
    <li><span><?php echo iaSmarty::lang(array('key'=>'sort_by'),$_smarty_tpl);?>
</span></li>
    <li<?php if (!$_smarty_tpl->tpl_vars['activeGroup']->value) {?> class="active"<?php }?>><a href="<?php echo @constant('IA_SELF');?>
?group=all"><?php echo iaSmarty::lang(array('key'=>'all'),$_smarty_tpl);?>
</a></li>

    <?php if (!empty($_smarty_tpl->tpl_vars['usergroups']->value)) {?>
        <?php  $_smarty_tpl->tpl_vars['name'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['name']->_loop = false;
 $_smarty_tpl->tpl_vars['entryId'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['usergroups']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['name']->key => $_smarty_tpl->tpl_vars['name']->value) {
$_smarty_tpl->tpl_vars['name']->_loop = true;
 $_smarty_tpl->tpl_vars['entryId']->value = $_smarty_tpl->tpl_vars['name']->key;
?>
            <li<?php if ($_smarty_tpl->tpl_vars['activeGroup']->value&&$_smarty_tpl->tpl_vars['entryId']->value==$_smarty_tpl->tpl_vars['activeGroup']->value) {?> class="active"<?php }?>><a href="<?php echo @constant('IA_SELF');?>
?group=<?php echo $_smarty_tpl->tpl_vars['entryId']->value;?>
" rel="nofollow"><?php echo iaSmarty::lang(array('key'=>"usergroup_".((string)$_smarty_tpl->tpl_vars['name']->value)),$_smarty_tpl);?>
</a></li>
        <?php } ?>
    <?php }?>
</ul>

<div class="tab-content">
    <div id="tab-all" class="tab-pane<?php if (!$_smarty_tpl->tpl_vars['activeGroup']->value) {?> active<?php }?>">
        <?php if (!$_smarty_tpl->tpl_vars['activeGroup']->value&&!empty($_smarty_tpl->tpl_vars['letters']->value)) {?>
            <ul class="nav nav-pills nav-pills-sm m-b">
                <?php  $_smarty_tpl->tpl_vars['letter'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['letter']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['letters']->value['all']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['letter']->key => $_smarty_tpl->tpl_vars['letter']->value) {
$_smarty_tpl->tpl_vars['letter']->_loop = true;
?>
                    <?php if ($_smarty_tpl->tpl_vars['letter']->value==$_smarty_tpl->tpl_vars['letters']->value['active']||!in_array($_smarty_tpl->tpl_vars['letter']->value,$_smarty_tpl->tpl_vars['letters']->value['existing'])) {?>
                        <li<?php if ($_smarty_tpl->tpl_vars['letter']->value==$_smarty_tpl->tpl_vars['letters']->value['active']) {?> class="active"<?php }?>><a href="<?php echo @constant('IA_URL');?>
members/<?php echo $_smarty_tpl->tpl_vars['letter']->value;?>
/"><?php echo $_smarty_tpl->tpl_vars['letter']->value;?>
</a></li>
                    <?php } else { ?>
                        <li><a href="<?php echo @constant('IA_URL');?>
members/<?php echo $_smarty_tpl->tpl_vars['letter']->value;?>
/"><?php echo $_smarty_tpl->tpl_vars['letter']->value;?>
</a></li>
                    <?php }?>
                <?php } ?>
            </ul>
        <?php }?>
    </div>

    <?php if (!empty($_smarty_tpl->tpl_vars['usergroups']->value)) {?>
        <?php  $_smarty_tpl->tpl_vars['name'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['name']->_loop = false;
 $_smarty_tpl->tpl_vars['entryId'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['usergroups']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['name']->key => $_smarty_tpl->tpl_vars['name']->value) {
$_smarty_tpl->tpl_vars['name']->_loop = true;
 $_smarty_tpl->tpl_vars['entryId']->value = $_smarty_tpl->tpl_vars['name']->key;
?>
            <div id="tab-usergroups" class="tab-pane<?php if ($_smarty_tpl->tpl_vars['entryId']->value==$_smarty_tpl->tpl_vars['activeGroup']->value) {?> active<?php }?>">
                <?php if ($_smarty_tpl->tpl_vars['entryId']->value==$_smarty_tpl->tpl_vars['activeGroup']->value&&isset($_smarty_tpl->tpl_vars['letters']->value)&&$_smarty_tpl->tpl_vars['letters']->value) {?>
                    <ul class="nav nav-pills nav-pills-sm m-b">
                        <?php  $_smarty_tpl->tpl_vars['letter'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['letter']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['letters']->value['all']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['letter']->key => $_smarty_tpl->tpl_vars['letter']->value) {
$_smarty_tpl->tpl_vars['letter']->_loop = true;
?>
                            <?php if ($_smarty_tpl->tpl_vars['letter']->value==$_smarty_tpl->tpl_vars['letters']->value['active']||!in_array($_smarty_tpl->tpl_vars['letter']->value,$_smarty_tpl->tpl_vars['letters']->value['existing'])) {?>
                                <li<?php if ($_smarty_tpl->tpl_vars['letter']->value==$_smarty_tpl->tpl_vars['letters']->value['active']) {?> class="active"<?php }?>><a href="<?php echo @constant('IA_URL');?>
members/<?php echo $_smarty_tpl->tpl_vars['letter']->value;?>
/"><?php echo $_smarty_tpl->tpl_vars['letter']->value;?>
</a></li>
                            <?php } else { ?>
                                <li><a href="<?php echo @constant('IA_URL');?>
members/<?php echo $_smarty_tpl->tpl_vars['letter']->value;?>
/"><?php echo $_smarty_tpl->tpl_vars['letter']->value;?>
</a></li>
                            <?php }?>
                        <?php } ?>
                    </ul>
                <?php }?>
            </div>
        <?php } ?>
    <?php }?>
</div>

<div id="js-search-results-container">
    <div class="ia-items">
        <?php  $_smarty_tpl->tpl_vars['listing'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['listing']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['members']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['listing']->key => $_smarty_tpl->tpl_vars['listing']->value) {
$_smarty_tpl->tpl_vars['listing']->_loop = true;
?>
            <?php echo $_smarty_tpl->getSubTemplate ('list-members.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

        <?php }
if (!$_smarty_tpl->tpl_vars['listing']->_loop) {
?>
            <div class="alert alert-info"><?php echo iaSmarty::lang(array('key'=>'no_members'),$_smarty_tpl);?>
</div>
        <?php } ?>
    </div>
</div>

<?php echo iaSmarty::pagination(array('aTotal'=>$_smarty_tpl->tpl_vars['pagination']->value['total'],'aTemplate'=>$_smarty_tpl->tpl_vars['pagination']->value['url'],'aItemsPerPage'=>$_smarty_tpl->tpl_vars['pagination']->value['limit'],'aNumPageItems'=>5,'aTruncateParam'=>1),$_smarty_tpl);?>

<?php }} ?>
