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

📄 ztype_edit.asp

📁 admin/admin.asp是WAP的后台管理登陆页面
💻 ASP
字号:
<% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %>
<%
'=================================================
' Copyright 2007-05 jinqiu. All Rights Reserved.
' Last Update: 2007-05-15   HTTP://www.wapfs.net
'=================================================
%>
<%
  if session("admin")="" then
  response.redirect "admin.asp"
  else
	if session("flag")>1 then
		response.write "<br/><p align='center'>&#x60A8;&#x6CA1;&#x6709;&#x64CD;&#x4F5C;&#x7684;&#x6743;&#x9650;</p>"
		response.end
	end if
  end if

%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<!-- #include file="conn.asp" -->
<%
classid=request("classid")
set rs = server.createobject("adodb.recordset")
sql="select * from Aclass where id="&request("classid")
rs.open sql,conn,1,1
if not rs.eof then
classname=rs("class")
end if
%>
<wml> 
<head>
<meta http-equiv='Cache-Control' content='no-Cache'/>
<meta http-equiv='Cache-Control' content='max-age=0'/>
</head>
<card id='main' title='&#x5C0F;&#x7C7B;&#x7BA1;&#x7406;' > 
<p>
<%
  set rs=server.createobject("adodb.recordset")
  sql="select * from ANclass where nclassID="&request("nclassID")
  rs.open sql,conn,1,1
  %>
&#x6240;&#x5C5E;:<%=classname%>
<br/><a href='ztype_del.asp?nclassid=<%=request("nclassID")%>'>&#x5220;&#x9664;&#x5C0F;&#x7C7B;</a>
<br/>&#x4FEE;&#x6539;&#x5C0F;&#x7C7B;:
<br/><input type='text' name='nclass<%=minute(now)%><%=second(now)%>' value='<%=trim(rs("Nclass"))%>'  size='10' maxlength='20'/>
<br/>&#x6392;&#x5E8F;:
<br/><input type='text' name='nclasstop<%=minute(now)%><%=second(now)%>' value='<%=trim(rs("nclasstop"))%>' format='*N' emptyok='false' size='10' maxlength='2'/>
<br/>&#x4E2A;&#x6027;&#x8BDD;&#x8BED;:
<br/><input type='text' name='nclassurl<%=minute(now)%><%=second(now)%>' value='<%=rs("nclassurl")%>'  size='10' maxlength='300'/>
<br/>上传限制:
<br/><select name='nclassup'>
<%if rs("nclassup")=1 then%>
<option value='1'>允许上传</option>
<option value='2'>禁止上传</option><%end if%>
<%if rs("nclassup")=2 then%>
<option value='2'>禁止上传</option>
<option value='1'>允许上传</option><%end if%></select>
<br/>换行方式:
<br/><select name='nclassbr'>
<%if rs("nclassbr")=1 then%>
<option value='1'>使用 换行</option>
<option value='2'>使用|符号</option>
<option value='3'>使用 空格</option><%end if%>
<%if rs("nclassbr")=2 then%>
<option value='2'>使用|符号</option>
<option value='3'>使用 空格</option>
<option value='1'>使用 换行</option><%end if%>
<%if rs("nclassbr")=3 then%>
<option value='3'>使用 空格</option>
<option value='2'>使用|符号</option>
<option value='1'>使用 换行</option><%end if%></select>
<br/><anchor>[-&#x4FDD;&#x5B58;-]
<go href='ztypesave.asp' method='post' accept-charset='utf-8'>
<postfield name='nclass' value='$(nclass<%=minute(now)%><%=second(now)%>)'/>
<postfield name='nclasstop' value='$(nclasstop<%=minute(now)%><%=second(now)%>)'/>
<postfield name='nclassurl' value='$(nclassurl<%=minute(now)%><%=second(now)%>)'/>
<postfield name='nclassbr' value='$(nclassbr)'/>
<postfield name='nclassup' value='$(nclassup)'/>
<postfield name='nclassid' value='<%=request("nclassid")%>'/>
<postfield name='xid' value='<%=session("1")%>'/>
<postfield name='types' value='mod'/>
</go>
</anchor>
<br/><a href='ztype.asp?id=<%=session("1")%>'>[-&#x53D6;&#x6D88;-]</a></p>
 <%
  rs.close
  set rs=nothing
  %>
</card>
</wml> 

⌨️ 快捷键说明

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