public static function hasEmailVerified($username = NULL) { if ($username === NULL) { $username = fAuthorization::getUserToken(); } $email = UserEmail::fetch($username); if ($email === NULL) { return FALSE; } return strlen($email) > 0; }
?> </td> <td><?php echo $profile->getMajor(); ?> </td> <td><?php echo $profile->getGrade(); ?> </td> <td><?php echo $profile->getPhoneNumber(); ?> </td> <td><?php echo UserEmail::fetch($profile->getUsername()); ?> </td> <td><?php echo $profile->getQq(); ?> </td> <td><?php echo $profile->getClassName(); ?> </td> <td> <?php foreach (array('A', 'B', 'C', 'D') as $category) { ?> <?php