-
Notifications
You must be signed in to change notification settings - Fork 0
/
applyinf.asp
237 lines (209 loc) · 8.88 KB
/
applyinf.asp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001" %>
<%
' *** Logout the current user.
MM_Logout = CStr(Request.ServerVariables("URL")) & "?MM_Logoutnow=1"
If (CStr(Request("MM_Logoutnow")) = "1") Then
Session.Contents.Remove("MM_Admin")
Session.Contents.Remove("MM_AdminAuthorization")
MM_logoutRedirectPage = "index.asp"
' redirect with URL parameters (remove the "MM_Logoutnow" query param).
if (MM_logoutRedirectPage = "") Then MM_logoutRedirectPage = CStr(Request.ServerVariables("URL"))
If (InStr(1, UC_redirectPage, "?", vbTextCompare) = 0 And Request.QueryString <> "") Then
MM_newQS = "?"
For Each Item In Request.QueryString
If (Item <> "MM_Logoutnow") Then
If (Len(MM_newQS) > 1) Then MM_newQS = MM_newQS & "&"
MM_newQS = MM_newQS & Item & "=" & Server.URLencode(Request.QueryString(Item))
End If
Next
if (Len(MM_newQS) > 1) Then MM_logoutRedirectPage = MM_logoutRedirectPage & MM_newQS
End If
Response.Redirect(MM_logoutRedirectPage)
End If
%>
<!--#include file="Connections/mysql.asp" -->
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
If (Request.QueryString("sno") <> "") Then
Recordset1__MMColParam = Request.QueryString("sno")
End If
%>
<%
Dim Recordset1
Dim Recordset1_cmd
Dim Recordset1_numRows
Set Recordset1_cmd = Server.CreateObject ("ADODB.Command")
Recordset1_cmd.ActiveConnection = MM_mysql_STRING
Recordset1_cmd.CommandText = "SELECT * FROM student.applythree WHERE 学号 = ?"
Recordset1_cmd.Prepared = true
Recordset1_cmd.Parameters.Append Recordset1_cmd.CreateParameter("param1", 200, 1, 255, Recordset1__MMColParam) ' adVarChar
Set Recordset1 = Recordset1_cmd.Execute
Recordset1_numRows = 0
%>
<!DOCTYPE HTML>
<html>
<head>
<title>三思·项目处理</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Wed Day Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="applijewelleryion/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<link href="css/bootstrap.css" rel='stylesheet' type='text/css' />
<!-- Custom Theme files -->
<link href="css/style4.css" rel='stylesheet' type='text/css' />
<link href="css/notice.css" rel='stylesheet' type='text/css' />
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<style>
p {
font-size:17px;
}
a{color: #0162f4;}
a:hover{text-decoration:underline;color:#60F;}
.atable.hovertable {
font-family: verdana,arial,sans-serif;
font-size:11px;
color:#333333;
border-width: 1px;
border-color: #999999;
border-collapse: collapse;
}
.atable.hovertable th {
background-color:#c3dde0;
border-width: 1px;
padding: 8px;
border-style: solid;
border-color: #a9c6c9;
}
.atable.hovertable tr {
background-color:#d4e3e5;
}
.atable.hovertable td {
border-width: 1px;
padding: 8px;
border-style: solid;
border-color: #a9c6c9;
}
</style>
<!--webfonts-->
<link href='http://fonts.useso.com/css?family=Lora:400,400italic|Niconne' rel='stylesheet' type='text/css'>
<!--//webfonts-->
</head>
<body style="color:#000">
<!--start-home-->
<!-- header --><!-- //header -->
<!-- banner -->
<div class="banner two">
<div class="container" >
<div class="banner-navigation" style="padding:1% 1% 1% 1%">
<a href="http://www.three-thinking.com" target="_blank">
<img src="images\logo1.png" style="background-position:center;position:relative;background-size:cover; min-height:50px; min-width:200px; width:15%;height:15%" alt=""/></a>
<a href="http://www.xidian.edu.cn" target="_blank"><img class="xd" src="images/scorelogowhite.png" style="position:relative; left:60%; background-position:left;background-size:cover; width:20%;height:20%" alt=""/></a>
<!--script-for-menu-->
<div class="clearfix"></div>
</div>
</div>
</div>
<!--typography-->
<div class="typrography">
<div class="container">
<p align="center" class = "tzxx" style="display:none; font-size:30px ">项目信息</p>
<img class="tzxx" src="images/textadmin.png" style="background-position:center;left:30%;position:relative;background-size:cover; min-height:50px; min-width:200px; width:40%;height:30%" longdesc="news.asp">
<div class="clearfix"> </div>
</div>
<div class="container" style="width:1200px">
<div class="grid_3 grid_5" >
<div id="wz" ><b>尊敬的管理员,欢迎您!</b><a href="<%= MM_Logout %>">注销</a> <%
if Session("MM_Admin") = false or Session("MM_Admin") = "" then
%>
<script>
alert("Please log in before use this function.");
</script>
<%
Response.end()
end if
%></div>
</div>
<div id="list_wrap"><!--新闻内容-->
<div id="list_main">
<div class="maindiv">
<div class="atshowa">
<div class="atshowname" style="text-align:center;color:#009;font-size:23px;font-weight:bold;line-height:1.5em; font-family:'微软雅黑';margin-bottom:10px;height:auto!important">信息查看/修改</div>
<div align="center" style="font-family:'微软雅黑'; color:#000">
<% If Recordset1.EOF And Recordset1.BOF Then %>
<p>无此学号学生,请核对!</p>
<!--
<p><span style="min-height:2em">
<a href="applyfind.asp"><input type="button" name="122" id="122" value="返回" style="font-size: 18px;
font-weight: 300 !important;
position:relative;
color: #fff;
cursor: pointer;
outline: none;
padding: 10px 15px;
width: 25%;
border: none;
background: #00BBFF ;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-o-border-radius: 2px;
text-transform: uppercase;" onmouseover="this.style.background='#9900FF'" onmouseout="this.style.background='#00BBFF '" /></a>
</span></p>
-->
<% else ' end Recordset1.EOF And Recordset1.BOF %>
<p>学号:<%=(Recordset1.Fields.Item("学号").Value)%></p>
<p>姓名:<%=(Recordset1.Fields.Item("姓名").Value)%></p>
<form action="applymodify.asp" method="post" onSubmit="return check();">
<input type="hidden" id="sno" name="sno" value="<%=(Recordset1.Fields.Item("学号").Value)%>"></p>
<p style="min-height:2em">学籍所在地:
<input type="text" name="xj" id="xj" style="width:40%" value="<%=(Recordset1.Fields.Item("学籍所在地").Value)%>">
</p>
<p style="min-height:2em">接收单位名称:<input type="text" name="dw" id="dw" style="width:40%" value="<%=(Recordset1.Fields.Item("接受单位名称").Value)%>"></p>
<p style="min-height:2em">户口是否在校:<input type="text" name="hk" id="hk" style="width:40%" value="<%=(Recordset1.Fields.Item("户口是否在校").Value)%>"></p>
<p style="min-height:2em">协议返回情况:<input type="text" name="xy" id="xy" style="width:40%" value="<%=(Recordset1.Fields.Item("协议返回情况").Value)%>"></p>
<p style="min-height:2em">是否为双选会所签单位:<input type="text" name="sxh" id="sxh" style="width:40%" value="<%=(Recordset1.Fields.Item("双选会").Value)%>"></p>
<p style="min-height:2em">
<input type="submit" name="12" id="12" value="修改" style="font-size: 18px;
font-weight: 300 !important;
position:relative;
color: #fff;
cursor: pointer;
outline: none;
padding: 10px 15px;
width: 25%;
border: none;
background: #00BBFF ;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-o-border-radius: 2px;
text-transform: uppercase;" onmouseover="this.style.background='#9900FF'" onmouseout="this.style.background='#00BBFF '" />
</p>
</form>
<p > </p>
<%end if%>
</div>
<div class="atshowb">
<div class="atshowmessage" style="text-align:center;"></div>
</div>
<hr style="height:1px;border:none;border-top:1px solid #555555;" />
</div>
<script>
function check()
{
if(confirm("确认要修改信息吗?"))
return true;
return false;
}
</script>
<div align="center"class="copy_layout login" style="margin-bottom:2%"> <p>Copyright 2016 <a href="http://www.three-thinking.com" target="_blank" title="三思" style="color:#000000">三思</a> 版权所有||<a href="about.asp" target="_blank" title="三思" style="color:#000000">关于三思</a>||@<a href="http://www.xidian.edu.cn/" style="color:#000000" target="_blank">西安电子科技大学 </a>threethinking版权所有|陕ICP备16002727号|<a href="http://www.miitbeian.gov.cn/" style="color:#000000" target="_blank" title="三思">工信部主页</a> </p></div>
<hr style="height:1px;border:none;border-top:1px solid #555555;" />
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>