Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3 提交实验代码 #208

Merged
merged 1 commit into from
Oct 19, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion labs/1414080902226/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
{"validateMessagesShowId:"_validatorMessage","status":true,"httpstatus":200,"data":{"datas":[{"train_no":"330000K5980R","station_train_code":"K599","start_station_telecode":"BTC","start_station_name":"包头","end_station_telecode":"GZQ","end_station_name":"广州","from_station_telecode":"BXP","from_station_name":"北京西","to_station_telecode":"GZQ","to_station_name":"广州","start_time":"05:14","arrive_time":"11:12","day_difference":"1","train_class_name":"","lishi":"29:58","canWebBuy":"Y","lishiValue":"1798","yp_info":"1025103000407500000210251000003042600000","control_train_day":"20301231","start_train_date":"20160923","seat_feature":"W3431333","yp_ex":"10401030","train_seat_feature":"3","seat_types":"1413","location_code":"C1","from_station_no":"09","to_station_no":"36","control_day":59,"sale_time":"0800","is_support_card":"0","note":"","controlled_train_flag":"0","controlled_train_message":"正常车次,不受控","gg_num":"--","gr_num":"--","qt_num":"--","rw_num":"2","rz_num":"--","tz_num":"--","wz_num":"无","yb_num":"--","yw_num":"无","yz_num":"无","ze_num":"--","zy_num":"--","swz_num":"--"},{"train_no":"2400000G710A","station_train_code":"G71","start_station_telecode":"BXP","start_station_name":"北京西","end_station_telecode":"IOQ","end_station_name":"深圳北","from_station_telecode":"BXP","from_station_name":"北京西","to_station_telecode":"IZQ","to_station_name":"广州南","start_time":"07:40","arrive_time":"17:14","day_difference":"0","train_class_name":"","lishi":"09:34","canWebBuy":"Y","lishiValue":"574","yp_info":"O086200356M1380000859272400023","control_train_day":"20301231","start_train_date":"20160924","seat_feature":"O3M393","yp_ex":"O0M090","train_seat_feature":"3","seat_types":"OM9","location_code":"P2","from_station_no":"01","to_station_no":"16","control_day":59,"sale_time":"0800","is_support_card":"1","note":"","controlled_train_flag":"0","controlled_train_message":"正常车次,不受控","gg_num":"--","gr_num":"--","qt_num":"--","rw_num":"--","rz_num":"--","tz_num":"--","wz_num":"--","yb_num":"--","yw_num":"--","yz_num":"--","ze_num":"356","zy_num":"85","swz_num":"23"},{"train_no":"2400000G790B","station_train_code":"G79","start_station_telecode":"BXP","start_station_name":"北京西","end_station_telecode":"IOQ","end_station_name":"深圳北","from_station_telecode":"BXP","from_station_name":"北京西","to_station_telecode":"IZQ","to_station_name":"广州南","start_time":"10:00","arrive_time":"18:03","day_difference":"0","train_class_name":"","lishi":"08:03","canWebBuy":"Y","lishiValue":"483","yp_info":"O086200126M1380000169272400000","control_train_day":"20301231","start_train_date":"20160924","seat_feature":"O3M393","yp_ex":"O0M090","train_seat_feature":"3","seat_types":"OM9","location_code":"P4","from_station_no":"01","to_station_no":"06","control_day":59,"sale_time":"0800","is_support_card":"1","note":"","controlled_train_flag":"0","controlled_train_message":"正常车次,不受控","gg_num":"--","gr_num":"--","qt_num":"--","rw_num":"--","rz_num":"--","tz_num":"--","wz_num":"--","yb_num":"--","yw_num":"--","yz_num":"--","ze_num":"126","zy_num":"16","swz_num":"无"},{"train_no":"2400000G650B","station_train_code":"G65","start_station_telecode":"BXP","start_station_name":"北京西","end_station_telecode":"IZQ","end_station_name":"广州南","from_station_telecode":"BXP","from_station_name":"北京西","to_station_telecode":"IZQ","to_station_name":"广州南","start_time":"10:33","arrive_time":"20:16","day_difference":"0","train_class_name":"","lishi":"09:43","canWebBuy":"Y","lishiValue":"583","yp_info":"O086200534M1380001029272400021","control_train_day":"20301231","start_train_date":"20160924","seat_feature":"O3M393","yp_ex":"O0M090","train_seat_feature":"3","seat_types":"OM9","location_code":"P4","from_station_no":"01","to_station_no":"17","control_day":59,"sale_time":"0800","is_support_card":"1","note":"","controlled_train_flag":"0","controlled_train_message":"正常车次,不受控","gg_num":"--","gr_num":"--","qt_num":"--","rw_num":"--","rz_num":"--","tz_num":"--","wz_num":"--","yb_num":"--","yw_num":"--","yz_num":"--","ze_num":"534","zy_num":"102","swz_num":"21"},{"train_no":"2400000Z3501","station_train_code":"Z35","start_station_telecode":"BXP","start_station_name":"北京西","end_station_telecode":"GZQ","end_station_name":"广州","from_station_telecode":"BXP","from_station_name":"北京西","to_station_telecode":"GZQ","to_station_name":"广州","start_time":"11:49","arrive_time":"09:10","day_difference":"1","train_class_name":"","lishi":"21:21","canWebBuy":"Y","lishiValue":"1281","yp_info":"10251031824075000005102510028961383000143042600367","control_train_day":"20301231","start_train_date":"20160924","seat_feature":"W343136333","yp_ex":"1040106030","train_seat_feature":"3","seat_types":"14163","location_code":"P4","from_station_no":"01","to_station_no":"05","control_day":59,"sale_time":"0800","is_support_card":"0","note":"","controlled_train_flag":"0","controlled_train_message":"正常车次,不受控","gg_num":"--","gr_num":"14","qt_num":"--","rw_num":"5","rz_num":"--","tz_num":"--","wz_num":"182","yb_num":"--","yw_num":"367","yz_num":"289","ze_num":"--","zy_num":"--","swz_num":"--"},{"train_no":"2400000G670A","station_train_code":"G67","start_station_telecode":"BXP","start_station_name":"北京西","end_station_telecode":"IZQ","end_station_name":"广州南","from_station_telecode":"BXP","from_station_name":"北京西","to_station_telecode":"IZQ","to_station_name":"广州南","start_time":"12:13","arrive_time":"22:18","day_difference":"0","train_class_name":"","lishi":"10:05","canWebBuy":"Y","lishiValue":"605","yp_info":"O086200747M1380001199272400024","control_train_day":"20301231","start_train_date":"20160924","seat_feature":"O3M393","yp_ex":"O0M090","train_seat_feature":"3","seat_types":"OM9","location_code":"P3","from_station_no":"01","to_station_no":"18","control_day":59,"sale_time":"0800","is_support_card":"1","note":"","controlled_train_flag":"0","controlled_train_message":"正常车次,不受控","gg_num":"--","gr_num":"--","qt_num":"--","rw_num":"--","rz_num":"--","tz_num":"--","wz_num":"--","yb_num":"--","yw_num":"--","yz_num":"--","ze_num":"747","zy_num":"119","swz_num":"24"},{"train_no":"2400000Z9702","station_train_code":"Z97","start_station_telecode":"BXP","start_station_name":"北京西","end_station_telecode":"GGQ","end_station_name":"广州东","from_station_telecode":"BXP","from_station_name":"北京西","to_station_telecode":"GGQ","to_station_name":"广州东","start_time":"12:40","arrive_time":"10:01","day_difference":"1","train_class_name":"","lishi":"21:21","canWebBuy":"Y","lishiValue":"1281","yp_info":"10251030994075000057304260028810251001566138300016","control_train_day":"20301231","start_train_date":"20160924","seat_feature":"W343631333","yp_ex":"1040301060","train_seat_feature":"3","seat_types":"14316","location_code":"P3","from_station_no":"01","to_station_no":"05","control_day":59,"sale_time":"0800","is_support_card":"0","note":"","controlled_train_flag":"0","controlled_train_message":"正常车次,不受控","gg_num":"--","gr_num":"16","qt_num":"--","rw_num":"57","rz_num":"--","tz_num":"--","wz_num":"99","yb_num":"--","yw_num":"288","yz_num":"156","ze_num":"--","zy_num":"--","swz_num":"--"},{"train_no":"2400000G6906","station_train_code":"G69","start_station_telecode":"BXP","start_station_name":"北京西","end_station_telecode":"IZQ","end_station_name":"广州南","from_station_telecode":"BXP","from_station_name":"北京西","to_station_telecode":"IZQ","to_station_name":"广州南","start_time":"13:05","arrive_time":"22:23","day_difference":"0","train_class_name":"","lishi":"09:18","canWebBuy":"Y","lishiValue":"558","yp_info":"O086200500M1380001149272400026","control_train_day":"20301231","start_train_date":"20160924","seat_feature":"O3M393","yp_ex":"O0M090","train_seat_feature":"3","seat_types":"OM9","location_code":"P4","from_station_no":"01","to_station_no":"13","control_day":59,"sale_time":"0800","is_support_card":"1","note":"","controlled_train_flag":"0","controlled_train_message":"正常车次,不受控","gg_num":"--","gr_num":"--","qt_num":"--","rw_num":"--","rz_num":"--","tz_num":"--","wz_num":"--","yb_num":"--","yw_num":"--","yz_num":"--","ze_num":"500","zy_num":"114","swz_num":"26"},{"train_no":"240000Z2010A","station_train_code":"Z201","start_station_telecode":"BXP","start_station_name":"北京西","end_station_telecode":"SEQ","end_station_name":"三亚","from_station_telecode":"BXP","from_station_name":"北京西","to_station_telecode":"GZQ","to_station_name":"广州","start_time":"17:54","arrive_time":"15:42","day_difference":"1","train_class_name":"","lishi":"21:48","canWebBuy":"Y","lishiValue":"1308","yp_info":"10251030504075000000102510030061383000103042600232","control_train_day":"20301231","start_train_date":"20160924","seat_feature":"W343136333","yp_ex":"1040106030","train_seat_feature":"3","seat_types":"14163","location_code":"P2","from_station_no":"01","to_station_no":"09","control_day":59,"sale_time":"0800","is_support_card":"0","note":"","controlled_train_flag":"0","controlled_train_message":"正常车次,不受控","gg_num":"--","gr_num":"10","qt_num":"--","rw_num":"无","rz_num":"--","tz_num":"--","wz_num":"50","yb_num":"--","yw_num":"232","yz_num":"300","ze_num":"--","zy_num":"--","swz_num":"--"},{"train_no":"240000D9010F","station_train_code":"D901","start_station_telecode":"BXP","start_station_name":"北京西","end_station_telecode":"IOQ","end_station_name":"深圳北","from_station_telecode":"BXP","from_station_name":"北京西","to_station_telecode":"IZQ","to_station_name":"广州南","start_time":"20:10","arrive_time":"06:28","day_difference":"1","train_class_name":"动车","lishi":"10:18","canWebBuy":"Y","lishiValue":"618","yp_info":"O070900080F088000369","control_train_day":"20301231","start_train_date":"20160924","seat_feature":"O3F3","yp_ex":"O0F0","train_seat_feature":"3","seat_types":"OF","location_code":"P2","from_station_no":"01","to_station_no":"04","control_day":29,"sale_time":"0800","is_support_card":"1","note":"","controlled_train_flag":"0","controlled_train_message":"正常车次,不受控","gg_num":"--","gr_num":"--","qt_num":"--","rw_num":"有","rz_num":"--","tz_num":"--","wz_num":"--","yb_num":"--","yw_num":"--","yz_num":"--","ze_num":"有","zy_num":"--","swz_num":"--"},{"train_no":"240000D90305","station_train_code":"D903","start_station_telecode":"BXP","start_station_name":"北京西","end_station_telecode":"IOQ","end_station_name":"深圳北","from_station_telecode":"BXP","from_station_name":"北京西","to_station_telecode":"IZQ","to_station_name":"广州南","start_time":"20:15","arrive_time":"06:33","day_difference":"1","train_class_name":"动车","lishi":"10:18","canWebBuy":"Y","lishiValue":"618","yp_info":"F088000432O070900072","control_train_day":"20301231","start_train_date":"20160924","seat_feature":"F3O3","yp_ex":"F0O0","train_seat_feature":"3","seat_types":"FO","location_code":"P3","from_station_no":"01","to_station_no":"05","control_day":29,"sale_time":"0800","is_support_card":"1","note":"","controlled_train_flag":"0","controlled_train_message":"正常车次,不受控","gg_num":"--","gr_num":"--","qt_num":"--","rw_num":"有","rz_num":"--","tz_num":"--","wz_num":"--","yb_num":"--","yw_num":"--","yz_num":"--","ze_num":"有","zy_num":"--","swz_num":"--"},{"train_no":"240000D90900","station_train_code":"D909","start_station_telecode":"BXP","start_station_name":"北京西","end_station_telecode":"IOQ","end_station_name":"深圳北","from_station_telecode":"BXP","from_station_name":"北京西","to_station_telecode":"IZQ","to_station_name":"广州南","start_time":"20:20","arrive_time":"06:38","day_difference":"1","train_class_name":"动车","lishi":"10:18","canWebBuy":"Y","lishiValue":"618","yp_info":"O070900079F088000392","control_train_day":"20250323","start_train_date":"20160924","seat_feature":"O3F3","yp_ex":"O0F0","train_seat_feature":"3","seat_types":"OF","location_code":"P4","from_station_no":"01","to_station_no":"05","control_day":29,"sale_time":"0800","is_support_card":"1","note":"","controlled_train_flag":"0","controlled_train_message":"正常车次,不受控","gg_num":"--","gr_num":"--","qt_num":"--","rw_num":"有","rz_num":"--","tz_num":"--","wz_num":"--","yb_num":"--","yw_num":"--","yz_num":"--","ze_num":"有","zy_num":"--","swz_num":"--"},{"train_no":"240000D92707","station_train_code":"D927","start_station_telecode":"BXP","start_station_name":"北京西","end_station_telecode":"IOQ","end_station_name":"深圳北","from_station_telecode":"BXP","from_station_name":"北京西","to_station_telecode":"IZQ","to_station_name":"广州南","start_time":"20:25","arrive_time":"06:48","day_difference":"1","train_class_name":"动车","lishi":"10:23","canWebBuy":"Y","lishiValue":"623","yp_info":"F088000338O070900074","control_train_day":"20250415","start_train_date":"20160924","seat_feature":"O3F3","yp_ex":"F0O0","train_seat_feature":"3","seat_types":"FO","location_code":"P3","from_station_no":"01","to_station_no":"05","control_day":29,"sale_time":"0800","is_support_card":"1","note":"","controlled_train_flag":"0","controlled_train_message":"正常车次,不受控","gg_num":"--","gr_num":"--","qt_num":"--","rw_num":"有","rz_num":"--","tz_num":"--","wz_num":"--","yb_num":"--","yw_num":"--","yz_num":"--","ze_num":"有","zy_num":"--","swz_num":"--"},{"train_no":"240000D92310","station_train_code":"D923","start_station_telecode":"BXP","start_station_name":"北京西","end_station_telecode":"ZHQ","end_station_name":"珠海","from_station_telecode":"BXP","from_station_name":"北京西","to_station_telecode":"IZQ","to_station_name":"广州南","start_time":"20:35","arrive_time":"06:43","day_difference":"1","train_class_name":"动车","lishi":"10:08","canWebBuy":"Y","lishiValue":"608","yp_info":"O070900086F088000000","control_train_day":"20301231","start_train_date":"20160924","seat_feature":"O3F3","yp_ex":"O0F0","train_seat_feature":"3","seat_types":"OF","location_code":"P3","from_station_no":"01","to_station_no":"05","control_day":29,"sale_time":"0800","is_support_card":"1","note":"","controlled_train_flag":"0","controlled_train_message":"正常车次,不受控","gg_num":"--","gr_num":"--","qt_num":"--","rw_num":"无","rz_num":"--","tz_num":"--","wz_num":"--","yb_num":"--","yw_num":"--","yz_num":"--","ze_num":"有","zy_num":"--","swz_num":"--"}],"flag":true,"searchDate":"2016年09月24号  周六"},"messages":[],"validateMessages":{}}";

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->

</head>
<body >
签到成功。
</body>
</html>
35 changes: 0 additions & 35 deletions labs/1414080902226/login.html

This file was deleted.

69 changes: 69 additions & 0 deletions labs/1414080902226/qiandao.jsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body >
现在时间是:<%=new Date() %>
<img src="timg.jpg"width=100% height=100% >
<div style="position:absolute; left:0; top:0; width:100%; height:100%">
<script type='text/javascript'>

function submitform(form){
if(form.count.value=='') {
alert("请输入学号!");
form.count.focus();
return false;
}
if(form.password.value==''){
alert("请输入班级!");
form.password.focus();
return false;
}
form.action="index.html";
form.submit();
}
function test(){
alert("test");
}
</script>
<br>
<br>
<form id="login_form" method="post" >
<div style="width:100%;text-align:center">
<p ><font color="#F00" ><font size="4">上课签到系统</font></font></p> </div>
<div style="width:100%;text-align:center">
<label class="t"><font color="#F00" >学 号:</font></label>
<input id="count" value="" name="count" type="text">
</div>

<div style="width:100%;text-align:center">
<label class="t"><font color="#F00" >班 级:</font></label>
<input id="password" value="" name="password" type="password" >
</div>
<div style="width:100%;text-align:center">
<label class="t"></label>   
<input type="submit" onclick="submitform(this.form)" value="&nbsp;签&nbsp;到&nbsp;">
<input type="reset" value="&nbsp;重&nbsp;置&nbsp;">
</div>
</form>
</div>

</body>
</html>