</head> <body> <div class="middle"> <div class="group"> <table border="0" class="group1" cellpadding="0" cellspacing="0"> <tr style="color: #fcd15a"> <td colspan="1"> Current Group </td> <?php $count = 0; include 'classes.php'; $user = $_SESSION['username']; $studentTemp = new student($user); $temp = $studentTemp->getGroups(); if (count($temp) == 0) { echo " <tr style='background-color: #c4d9e1 ; ' height=100><td>"; echo "no current group"; echo "</td></tr>"; } else { for ($i = 0; $i < count($temp); $i++) { if ($count % 2 == 0) { echo " <tr style='background-color: #fff ; '>"; } else { echo " <tr style='background-color: #c4d9e1 ; '>"; } echo "<td width='100' height='30' colspan='2'>"; $groupselect = $temp[$i]->groupId; if ($temp[$i]->adminName == $user) { echo "<a href='grouphomeadmin.php?id={$groupselect}'>";