<div class="alert alert-dismissable alert-danger">
							<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
							<h4>
								抱歉!
							</h4> ' . $data['msg'] . '!
						</div>
						';
        } else {
            echo '
						<div class="alert alert-dismissable alert-danger">
							<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
							<h4>
								抱歉!
							</h4> 未知错误!
						</div>
						';
        }
    }
} else {
    $student = new infoQuery($_SESSION['sid'], $_SESSION['password']);
    $student->getSmateResult($_POST);
}
?>
		</div>
	</div>
	<?php 
include 'footer.php';
?>
</div>
</body>
</html>
Exemple #2
0
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;
<?php

session_start();
if (isset($_SESSION['loginStatus']) && $_SESSION['loginStatus'] == 1) {
    //
} else {
    header('Location: login.php?error=1&bak=course');
    exit;
}
include 'config.php';
include 'lib/infoQuery.class.php';
$student = new infoQuery($_SESSION['sid'], $_SESSION['password']);
?>

<!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;
?>
</title>
	<link rel="shortcut icon" href="https://open.sky31.com/favicon.ico">
	<link href="https://open.sky31.com/cha.sky31.com/css/style.css" rel="stylesheet">
	<link href="https://open.sky31.com/bootstrap-3.0.1/css/bootstrap.min.css" rel="stylesheet">
<?php

session_start();
if (isset($_SESSION['loginStatus']) && $_SESSION['loginStatus'] == 1) {
    //
} else {
    header('Location: login.php?error=1&bak=grade');
    exit;
}
include 'config.php';
include 'lib/infoQuery.class.php';
$student = new infoQuery($_SESSION['sid'], $_SESSION['password']);
?>

<!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;
?>
</title>
	<link rel="shortcut icon" href="https://open.sky31.com/favicon.ico">
	<link href="https://open.sky31.com/cha.sky31.com/css/style.css" rel="stylesheet">
	<link href="https://open.sky31.com/bootstrap-3.0.1/css/bootstrap.min.css" rel="stylesheet">
<?php

session_start();
if (isset($_SESSION['loginStatus']) && $_SESSION['loginStatus'] == 1) {
    //
} else {
    header('Location: login.php?error=1&bak=rank');
    exit;
}
include 'config.php';
include 'lib/infoQuery.class.php';
$student = new infoQuery($_SESSION['sid'], $_SESSION['password']);
?>

<!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;
?>
</title>
	<link rel="shortcut icon" href="https://open.sky31.com/favicon.ico">
	<link href="https://open.sky31.com/cha.sky31.com/css/style.css" rel="stylesheet">
	<link href="https://open.sky31.com/bootstrap-3.0.1/css/bootstrap.min.css" rel="stylesheet">
<?php

session_start();
if (isset($_SESSION['loginStatus']) && $_SESSION['loginStatus'] == 1) {
    //
} else {
    header('Location: login.php?error=1&bak=course');
    exit;
}
include 'config.php';
include 'lib/infoQuery.class.php';
$student = new infoQuery($_SESSION['sid'], $_SESSION['password']);
?>
<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta charset="utf-8">
		<title>查课表 - 导出图片 - <?php 
echo $titleName;
?>
</title>
		<meta name="description" content="<?php 
echo $description;
?>
">
		<script src="https://open.sky31.com/cha.sky31.com/js/courseMaker.js"></script>
		<script src="https://open.sky31.com/cha.sky31.com/js/jquery-1.8.3.min.js"></script>
		<script>
		$(document).ready(function(){
			$('table').css({'display':'none'});
			var data=tableToJson();
<?php

session_start();
if (isset($_SESSION['loginStatus']) && $_SESSION['loginStatus'] == 1) {
    //
} else {
    header('Location: login.php?error=1&bak=grade');
    exit;
}
include 'config.php';
include 'lib/infoQuery.class.php';
$student = new infoQuery($_SESSION['sid'], $_SESSION['password']);
?>

<!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;
?>
</title>
	<link rel="shortcut icon" href="https://open.sky31.com/favicon.ico">
	<link href="https://open.sky31.com/cha.sky31.com/css/style.css" rel="stylesheet">
	<link href="https://open.sky31.com/bootstrap-3.0.1/css/bootstrap.min.css" rel="stylesheet">
Exemple #8
0
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=course');
    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']);
?>

<!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;
?>
<?php

session_start();
if (isset($_SESSION['loginStatus']) && $_SESSION['loginStatus'] == 1) {
    //
} else {
    header('Location: login.php?error=1&bak=smate');
    exit;
}
include 'config.php';
include 'lib/infoQuery.class.php';
$student = new infoQuery($_SESSION['sid'], $_SESSION['password']);
?>

<!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;
?>
</title>
	<link rel="shortcut icon" href="https://open.sky31.com/favicon.ico">
	<link href="https://open.sky31.com/cha.sky31.com/css/style.css" rel="stylesheet">
	<link href="https://open.sky31.com/bootstrap-3.0.1/css/bootstrap.min.css" rel="stylesheet">
Exemple #10
0
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=rank');
    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']);
?>

<!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;
?>
<?php 
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=homework');
    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']);
$course = $student->getOptionalCourseName();
$data = file_get_contents('http://www.sky31.com/elective/');
$arr = json_decode($data, true);
foreach ($arr['data'] as $key => $value) {
    if ($value['title'] == $course) {
        $courseHw = $value['content'];
        break;
    }
}
?>

<!DOCTYPE html>
<html lang="zh-cn">
<head>
	<meta charset="utf-8">