groups->inviteStudentsToGroup($_POST['classmates_id'], $group_id); } ?>

Manage group

groups->getGroupParticipants($group_id)) { foreach($group_mates as $group_mate) { echo ''; } } else { echo ''; } ?>
Name Blog
'.$group_mate->firstname.' '.$group_mate->lastname.''.$group_mate->blog_url.'
No participants

Invite classmates

subscriptions->getClassmatesByGroup($group_id)) { $no_mates = true; foreach($mates as $mate) { $status = $this->groups->getClassmateGroupStatus($mate->mate_id, $group_id); if($status != 1) { $no_mates = false; $status_txt = ''; if($status == 0 && !is_null($status)) { $status_txt = "Waiting for response"; } echo ''; echo ''; } } } if($no_mates) { echo ''; } else { echo ''; } ?>
Name Blog Status
'.$mate->firstname.' '.$mate->lastname.''.$mate->blog_url.''.$status_txt.'
No classmates to invite