bj_you.asp
资源名称:wap.rar [点击查看]
上传用户:sking1122
上传日期:2020-09-24
资源大小:1005k
文件大小:3k
源码类别:
手机WAP编程
开发平台:
ASP/ASPX
- <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%><?xml version="1.0" encoding="utf-8"?>
- <%response.buffer=true%>
- <%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
- <!--#include file="conn.inc"-->
- <!--#include file="cnscu_sb.asp"-->
- <wml><%
- '====================================================================
- ' 请你保留这段说明,这并不会影响你的速度. 电脑交流:http://www.cnscu.cn
- ' 程序制作:横云 掌上校园收倾心整理收集于互联网,感谢你的支持!
- ' 升级时间: 2008-2-5 主页地址:HTTP://wap.cnscu.cn
- ' E-Mail: cnscu@126.com 客服QQ:554904632 QQ群:30493504 QQ群2:46659883
- '====================================================================
- %> <head>
- <meta http-equiv="Cache-Control" content="no-Cache"/>
- <meta http-equiv="Cache-Control" content="max-age=0"/>
- </head>
- <%
- Function c2u(sGBStr)
- Dim i,c
- if sGBStr<> "" then
- For i = 1 to Len(sGBStr)
- c = Mid(sGBStr,i,1)
- if c=chr(13) then
- c2u = c2u & "<br/>"
- else
- c2u = c2u & "&#x" & Hex(AscW(c)) & ";"
- end if
- Next
- end if
- End Function
- id=request.QueryString("id")
- page=request.QueryString("page")
- set rs=Server.CreateObject("ADODB.Recordset")
- rsstr="select * from [cnscu_yl] where [ID]="& id
- rs.open rsstr,conn,1,2
- if rs.recordcount =1 then
- %>
- <card title="编辑友链">
- <p>
- 首链名称(必填):<br/>
- <input name="syname<%=minute(now)%><%=second(now)%>" title="名称" type="text" format="*M" emptyok="true" maxlength="10" value="<%=rs("syname")%>"/><br/>
- 友链名称(必填):<br/>
- <input name="name<%=minute(now)%><%=second(now)%>" title="名称" type="text" format="*M" emptyok="true" maxlength="10" value="<%=rs("name")%>"/><br/>
- 地址(必填):<br/>
- <input name="title<%=minute(now)%><%=second(now)%>" title="地址" type="text" format="*M" emptyok="true" value="<%=rs("url")%>"/><br/>
- 链入(必填):<br/>
- <input name="text<%=minute(now)%><%=second(now)%>" title="链入" type="text" format="*N" emptyok="true" value="<%=rs("lc")%>"/><br/>
- 连出(必添):<br/>
- <input name="lianxi<%=minute(now)%><%=second(now)%>" title="连出" type="text" format="*N" emptyok="true" value="<%=rs("lr")%>"/><br/>
- 状态:<br/>
- <select title="性质" name="open<%=minute(now)%><%=second(now)%>" value="<%=rs("zt")%>">
- <option title="待审" value="0">待审</option>
- <option title="正常" value="1">正常</option>
- <option title="封锁" value="2">封锁</option>
- </select><br/>
- <anchor>[-提交修改-]
- <go href="bj_youcl.asp?page=<%=page%>&sb=<%=sb%>" method="post" accept-charset="utf-8">
- <postfield name="id" value="<%=id%>"/>
- <postfield name="syname" value="$(syname<%=minute(now)%><%=second(now)%>)"/>
- <postfield name="name" value="$(name<%=minute(now)%><%=second(now)%>)"/>
- <postfield name="title" value="$(title<%=minute(now)%><%=second(now)%>)"/>
- <postfield name="text" value="$(text<%=minute(now)%><%=second(now)%>)"/>
- <postfield name="lianxi" value="$(lianxi<%=minute(now)%><%=second(now)%>)"/>
- <postfield name="open" value="$(open<%=minute(now)%><%=second(now)%>)"/>
- </go>
- </anchor><br/>
- ----------<br/>
- <a href="wap_you.asp?sb=<%=sb%>">返回友链管理</a><br/>
- <a href="admin_index.asp?sb=<%=sb%>">返回管理首页</a><br/>
- <a href="../index.asp?sb=<%=sb%>">返回网站首页</a><br/>
- <!--#include file="bq.gif"-->
- <%
- conn.close
- set conn=nothing
- %>
- <%end if%>
- </p>
- </card>
- </wml>