⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qzlx.asp

📁 实现一个用JSP、Servlet技术实现的小型物流网站系统。实现功能如下:管理员通过登录该系统
💻 ASP
字号:
<%dbdns="../../"%>
<!--#include file="../../inc/conn.asp"-->
<!--#include file="../cook.asp"-->
<%if fla2<>1 then
response.write "<script>alert('操作权限出错,您没有权限操作些功能');history.go(-1);</Script>"
Response.End 
end if%>
<%
if request("action")="save" then
'--------------------取数据-----------------------------
key1=request("key1")
if key1="" then key1=0
key2=request("key2")
if key2="" then key2=1
key3=request("key3")
if key3="" then key3=0
'--------------------存数据-----------------------------
set rs=Server.CreateObject("Adodb.Recordset")
sql="select * from SMT_job_qz where SMT_id="&request("id")
rs.open sql,conn,1,3
rs("SMT_key1")=key1
rs("SMT_key2")=key2
rs("SMT_key3")=key3
rs.update
rs.close

rs.open sql,conn,1,3
rs("SMT_key1")=key1
rs("SMT_key2")=key2
rs("SMT_key3")=key3
rs.update
rs.close

set rs=nothing

response.write"<script>parent.mm.rows='20,0,10,*';</script>"
response.write"<script>parent.main.document.location.reload();</script>"

end if
%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<%=citycss%>
<body style="margin:5">
<%set rs=Server.CreateObject("Adodb.Recordset")
sql="select * from SMT_job_qz where SMT_id="&request("id")
rs.open sql,conn,1,1
key1=rs("SMT_key1")
key2=rs("SMT_key2")
key3=rs("SMT_key3")%>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
<!--================-->
<table width="500" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#cccccc" bordercolordark="#FFFFFF">
<form name="form1" method="post" action="qzlx.asp">
<input name="id" type="hidden" value="<%=request("id")%>">
<input name="action" type="hidden" value="save">
<tr bgcolor=#efefef><td height=25 colspan="2">&nbsp;求职管理 - <strong><%=rs("SMT_iname")%></strong></td></tr>
<tr>
    <td height=25 width=50%>  <input name="key1" type="checkbox" style="border:0" value=1<%if key1=1 then%> checked<%end if%>> 审核(选择则通过)</td>
    <td width=50%>  <input name="key2" type="checkbox" style="border:0" value=0<%if key2=0 then%> checked<%end if%>> 控制开关(选择则关闭)</td>
</tr>
<tr>
    <td height=25 width=50%>  <input name="key3" type="checkbox" style="border:0" value=1<%if key3=1 then%> checked<%end if%>> 推荐(选择则推荐)</td>
    <td width=50%>  </td>
</tr>
<tr align=center><td height=25 colspan="2"><input type="submit" name="Submit" value=" 提 交 "></td></tr>
</form>
</table>
<!--================-->	
	</td>
  </tr>
</table>
<%rs.close
set rs=nothing%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -