if (Input::get('deleting')) { $user->delete_User(Input::get('deleting')); echo 'Done'; } if (Input::get('verify')) { $user->Verify_Student(Input::get('verify')); echo 'Done'; } } if ($GroupNo == 2 || $GroupNo == 3) { if (Input::get('profile')) { } } } require_once 'functions/MessageBox.php'; $options = getNavBar($user->data()->GroupNo); ?> <!DOCTYPE HTML> <html manifest="MMC.appcahce" lang="en"> <head> <meta charset="utf-8"> <title><?php echo $title; ?> </title> <link rel="stylesheet" type="text/css" href="css/hostelRegistration.css"> </head> <body> <!-- container --> <div id="container">
<li><a href="EditForm.php">Edit Profile</a></li> <?php echo $options; ?> <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)) {