-
Notifications
You must be signed in to change notification settings - Fork 0
/
applymodify.asp
181 lines (154 loc) · 6.69 KB
/
applymodify.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
<%@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" -->
<%
Set Command1 = Server.CreateObject ("ADODB.Command")
Command1.ActiveConnection = MM_mysql_STRING
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true
%>
<!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">
<p><%
Command1.CommandText = "update student.applythree set 学籍所在地 = '"&request.Form("xj")&"',提交 = 1,接受单位名称 = '"&request.Form("dw")&"',户口是否在校 = '"&request.Form("hk")&"',双选会 = '"&request.Form("sxh")&"',协议返回情况='"&request.Form("xy")&"' where 学号 = '"&request.Form("sno")&"'"
Command1.Execute()
%>处理成功,点击下方按钮返回。</p>
<p >
<a href="applyinf.asp?sno=<%=request.Form("sno")%>"><input type="button" name="get" id="get" value="返回" style="font-size: 16px;
font-weight: 300 !important;
position:relative;
color: #fff;
cursor: pointer;
outline: none;
padding: 10px 15px;
width: 20%;
border: none;
background: #00BBFF ;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-o-border-radius: 2px;
margin-top:10px;
text-transform: uppercase;margin-left:0%" onmouseover="this.style.background='#9900FF'" onmouseout="this.style.background='#00BBFF '" /></a>
</p>
</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>
<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>