$offset = ($this->page-1) * PROFILES_PER_PAGE;
$limit = PROFILES_PER_PAGE + 1;
+ $cnt = 0;
+
$members = $this->group->getMembers($offset, $limit);
if ($members) {
$member_list = new ProfileList($members, null, $this);
- $member_list->show();
+ $cnt = $member_list->show();
}
$members->free();
function showContent()
{
+ parent::showContent();
+
$offset = ($this->page-1) * PROFILES_PER_PAGE;
$limit = PROFILES_PER_PAGE + 1;
+ $cnt = 0;
+
if ($this->tag) {
$subscribers = $this->user->getTaggedSubscribers($this->tag, $offset, $limit);
} else {
if ($subscribers) {
$subscribers_list = new SubscribersList($subscribers, $this->user, $this);
- $subscribers_list->show();
+ $cnt = $subscribers_list->show();
}
$subscribers->free();
$offset = ($this->page-1) * PROFILES_PER_PAGE;
$limit = PROFILES_PER_PAGE + 1;
+ $cnt = 0;
+
if ($this->tag) {
$subscriptions = $this->user->getTaggedSubscriptions($this->tag, $offset, $limit);
} else {
if ($subscriptions) {
$subscriptions_list = new SubscriptionsList($subscriptions, $this->user, $this);
- $subscriptions_list->show();
+ $cnt = $subscriptions_list->show();
}
$subscriptions->free();