?> <li><a href="Logout.php">Log Out</a></li> </ul> </div> <!-- end of button --> <!-- content --> <div id="content"> <?php echo $title; ?> <?php switch ($user->data()->GroupNo) { case 2: echo '<h1>' . 'List of Student' . '</h1>'; if (!$user->print_All(1)) { echo 'No student are in the database'; } echo '<h1>' . 'List of Warden ' . '</h1>'; if (!$user->print_All(2)) { echo 'No warden are in the database'; } echo '<h1>' . 'List of room by block' . '</h1>'; break; case 3: echo '<h1>' . 'List of Pending Student' . '</h1>'; //Assign Room for these students if (!$user->print_All(4)) { //Delete students echo 'No students are in the database'; }