header("Content-type: text/html; charset=utf-8"); session_start(); if (isset($_SESSION['loginStatus']) && $_SESSION['loginStatus'] == 1) { // } else { header('Location: login.php?error=1&bak=grade'); exit; } if (isset($_SESSION['type']) && ($_SESSION['type'] == '研究生' || $_SESSION['type'] == '教师')) { echo '<script>alert("抱歉!此功能暂不支持' . $_SESSION['type'] . '使用!");document.location = "./";</script>'; exit; } include 'config.php'; include 'lib/infoQuery.class.php'; $student = new infoQuery($_SESSION['sid'], $_SESSION['password']); $termNum = $student->getTermNum(); ?> <!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="<?php echo $description; ?> "> <title>查成绩 - <?php echo $titleName; ?>