';
echo '
';
echo get_lang('User Online').'120';
echo '
';
echo '
';
echo 'myinfo';
echo '
';
echo '
';
echo '
';
echo '
';
echo '
';
echo '
';
echo '
';
echo '
';
$results = GroupPortalManager::get_groups_by_age(1);
$groups = array();
foreach ($results as $result) {
$id = $result['id'];
$url_open = '
';
$url_close = '';
$groups[]= array($url_open.$result['picture_uri'].$url_close, $url_open.$result['name'].$url_close, cut($result['description'],180,true));
}
if (count($groups) > 0) {
echo '
'.get_lang('Popular').'
';
Display::display_sortable_grid('home_group', array(), $groups, array('hide_navigation'=>true, 'per_page' => 100), $query_vars, false, array(true, true, true,false));
}
$results = GroupPortalManager::get_groups_by_popularity(1);
$groups = array();
foreach ($results as $result) {
$id = $result['id'];
$url_open = '
';
$url_close = '';
if ($result['count'] == 1 ) {
$result['count'] = $result['count'].' '.get_lang('Member');
} else {
$result['count'] = $result['count'].' '.get_lang('Members');
}
$groups[]= array($url_open.$result['picture_uri'].$url_close, $url_open.$result['name'].$url_close,$result['count'],cut($result['description'],120,true));
}
if (count($groups) > 0) {
echo '
'.get_lang('Popular').'
';
Display::display_sortable_grid('home_group', array(), $groups, array('hide_navigation'=>true, 'per_page' => 100), $query_vars, false, array(true, true, true,true,true));
}
echo '
';
echo '
'.get_lang('Popular').'
'; Display::display_sortable_grid('home_group', array(), $groups, array('hide_navigation'=>true, 'per_page' => 100), $query_vars, false, array(true, true, true,false)); } $results = GroupPortalManager::get_groups_by_popularity(1); $groups = array(); foreach ($results as $result) { $id = $result['id']; $url_open = ''; $url_close = ''; if ($result['count'] == 1 ) { $result['count'] = $result['count'].' '.get_lang('Member'); } else { $result['count'] = $result['count'].' '.get_lang('Members'); } $groups[]= array($url_open.$result['picture_uri'].$url_close, $url_open.$result['name'].$url_close,$result['count'],cut($result['description'],120,true)); } if (count($groups) > 0) { echo ''.get_lang('Popular').'
'; Display::display_sortable_grid('home_group', array(), $groups, array('hide_navigation'=>true, 'per_page' => 100), $query_vars, false, array(true, true, true,true,true)); } echo '