📄 367gxedit.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp"-->
<!--#include file="jl.asp" -->
<%
'ASP彩票系统
'制作:子渊
'由左眼失明残疾人子渊制作
'手机:13556590001
'E:MAIL:ziyzo2008@yahoo.com.cn
'演示:http://www.gy16.com/cp/
'以上信息不影响资源,请保留版权信息
%>
<%
id=replace(trim(request("id")),"'","")
if id="" or IsNull(id) then
response.write "<script>alert('非法参数!');location.href='367gx.asp';</script>"
response.End
end if
stemp="select * from hao where id="&id
set rs=conn.execute(stemp)
if rs.eof then
response.write "<script>alert('参数传递错误!');location.href='367gx.asp';</script>"
response.End
end if
qs=rs("id")
%>
<html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" border="0">
<tr>
<td valign="top">
<p align="center"><a href="367gx.asp">添加数据</a> <a href="367gl.asp">修改/删除数据</a>
<a href="admin_admin.asp?action=modpass" target="_blank">修改管理员密码</a> <a href="http://www.gy16.com">返回首页</a>
</p>
</td>
</tr>
</table>
<p align="center"> </p>
<form name="form1" method="post" action="save.asp?action=edit&id=<%=id%>">
<table width="100%" border="0">
<tr>
<td width="8%">时间</td>
<td width="92%">
<input type="text" name="sj" size="10" value="<%=rs("sj")%>">
</td>
</tr>
<tr>
<td width="8%">期数</td>
<td width="92%">
<input type="text" name="qs" size="10" value="<%=rs("qs")%>">
</td>
</tr>
<tr>
<td width="8%">平码1</td>
<td width="92%">
<input type="text" name="p1" size="3" value="<%=rs("p1")%>">
</td>
</tr>
<tr>
<td width="8%">平码2</td>
<td width="92%">
<input type="text" name="p2" size="3" value="<%=rs("p2")%>">
</td>
</tr>
<tr>
<td width="8%">平码3</td>
<td width="92%">
<input type="text" name="p3" size="3" value="<%=rs("p3")%>">
</td>
</tr>
<tr>
<td width="8%">平码4</td>
<td width="92%">
<input type="text" name="p4" size="3" value="<%=rs("p4")%>">
</td>
</tr>
<tr>
<td width="8%">平码5</td>
<td width="92%">
<input type="text" name="p5" size="3" value="<%=rs("p5")%>">
</td>
</tr>
<tr>
<td width="8%">平码6</td>
<td width="92%">
<input type="text" name="p6" size="3" value="<%=rs("p6")%>">
</td>
</tr>
<tr>
<td width="8%">特别码</td>
<td width="92%">
<input type="text" name="tm" size="3" value="<%=rs("tm")%>">
</td>
</tr>
<tr>
<td width="8%"> </td>
<td width="92%">
<textarea name="show" cols="45" rows="5"><%
content=rs("show")
if content<>"" then
content=replace(content,"<br>",chr(13))
content=replace(content," ","")
response.write content
end if%></textarea>
</td>
</tr>
</table>
<input type="submit" name="Submit" value="提交">
</form>
</body>
</html>
<%
rs.close
set rs=nothing
connclose
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -