示例#1
0
文件: User.php 项目: daerduoCarey/oj
 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;
 }
示例#2
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