📄 system2.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>系统功能|毕业设计选题系统</title>
<link href="../css/Style.css" rel="stylesheet" type="text/css" />
</head>
<BODY leftMargin=0 topMargin=0 marginwidth="0">
<!--#include file=../top.asp-->
<!--#include file=top.asp-->
<div align="center"><td><table width="768" border="0" bgcolor="#FFFFFF"><tr><td><div align="left">
<%
Dim OPE
OPE = Request.Form("checkbox1")
Dim UPL
UPL = Request.Form("checkbox2")
Dim ADD
ADD = Request.Form("checkbox3")
Dim REV
REV = Request.Form("checkbox4")
Dim CHO
CHO = Request.Form("checkbox5")
Dim REG
REG = Request.Form("checkbox6")
Dim conn1
Set conn1=Server.CreateObject("ADODB.RecordSet")
conn1.ActiveConnection = "DSN=hw;User ID=sa"
conn1.Source = "update dbo.system set sys_state='"&OPE&"' where sys_config='open'"
conn1.CursorType = 1
conn1.LockType = 3
conn1.Open()
set conn1=Nothing
Dim conn2
Set conn2=Server.CreateObject("ADODB.RecordSet")
conn2.ActiveConnection = "DSN=hw;User ID=sa"
conn2.Source = "update dbo.system set sys_state='"&UPL&"' where sys_config='upload'"
conn2.CursorType = 1
conn2.LockType = 3
conn2.Open()
set conn2=Nothing
Dim conn3
Set conn3=Server.CreateObject("ADODB.RecordSet")
conn3.ActiveConnection = "DSN=hw;User ID=sa"
conn3.Source = "update dbo.system set sys_state='"&ADD&"' where sys_config='addtitle'"
conn3.CursorType = 1
conn3.LockType = 3
conn3.Open()
set conn3=Nothing
Dim conn4
Set conn4=Server.CreateObject("ADODB.RecordSet")
conn4.ActiveConnection = "DSN=hw;User ID=sa"
conn4.Source = "update dbo.system set sys_state='"&REV&"' where sys_config='review'"
conn4.CursorType = 1
conn4.LockType = 3
conn4.Open()
set conn4=Nothing
Dim conn5
Set conn5=Server.CreateObject("ADODB.RecordSet")
conn5.ActiveConnection = "DSN=hw;User ID=sa"
conn5.Source = "update dbo.system set sys_state='"&CHO&"' where sys_config='choice'"
conn5.CursorType = 1
conn5.LockType = 3
conn5.Open()
set conn5=Nothing
Dim conn6
Set conn6=Server.CreateObject("ADODB.RecordSet")
conn6.ActiveConnection = "DSN=hw;User ID=sa"
conn6.Source = "update dbo.system set sys_state='"®&"' where sys_config='studentreg'"
conn6.CursorType = 1
conn6.LockType = 3
conn6.Open()
set conn6=Nothing
%>
成功修改系统功能设定,点击返回<a href="system.asp"> <img src="../image/cc.jpg" width="11" height="11" border="0" /> 系统功能选项</a>
</div></td></tr></table></td></div>
<!--#include file=botton.asp-->
<!--#include file=../botton.asp-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -