</div> <!-- END Your Account Block --> <!-- Most Viewed Courses Block --> <div class="block"> <!-- Most Viewed Courses Title --> <div class="block-title"> <h2><strong>Students'</strong> Grouping</h2> </div> <!-- END Most Viewed Courses Title --> <!-- Most Viewed Courses Content --> <table class="table table-striped table-vcenter"> <tbody> <?php foreach ($assignmentAPI->groupList($assignmentAPI->info['assignment_id']) as $group) { ?> <ul style="list-style: none"> <?php foreach ($group as $student) { ?> <li> <?php echo $student['name']; ?> </li> <?php } ?>