📄 ztype_edit.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'>您没有操作的权限</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='小类管理' >
<p>
<%
set rs=server.createobject("adodb.recordset")
sql="select * from ANclass where nclassID="&request("nclassID")
rs.open sql,conn,1,1
%>
所属:<%=classname%>
<br/><a href='ztype_del.asp?nclassid=<%=request("nclassID")%>'>删除小类</a>
<br/>修改小类:
<br/><input type='text' name='nclass<%=minute(now)%><%=second(now)%>' value='<%=trim(rs("Nclass"))%>' size='10' maxlength='20'/>
<br/>排序:
<br/><input type='text' name='nclasstop<%=minute(now)%><%=second(now)%>' value='<%=trim(rs("nclasstop"))%>' format='*N' emptyok='false' size='10' maxlength='2'/>
<br/>个性话语:
<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>[-保存-]
<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")%>'>[-取消-]</a></p>
<%
rs.close
set rs=nothing
%>
</card>
</wml>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -