groups->addGroup($_POST['course-id'],$_POST['group-name']); } if(isSet($_GET['remove'])) { $this->groups->removeGroup($_GET['remove']); } if(isSet($_GET['manage'])) { require_once('manage-group.php'); } else { ?>

My groups

groups->getGroups()) { foreach($groups as $group) { $count = $this->groups->getGroupParticipantsCount($group->id); echo ''; echo ''; } } else { echo ''; } ?>
Name Course Participants Actions
Course: Group name:
'.$group->group_name.''.$group->course_name.''.$count.'Delete
No groups.

I belong to groups

groups->getGroups($owner = false)) { foreach($groups as $group) { $count = $this->groups->getGroupParticipantsCount($group->id); echo ''; echo ''; } } else { echo ''; } ?>
Name Course Participants Actions
'.$group->group_name.'kursus'.$count.'Delete
No groups.