admin_csedit.asp

来自「能进行网上购物的需求」· ASP 代码 · 共 81 行

ASP
81
字号
<!--#include file="conn.asp"-->
<%
if session("admin_name")="" then
        response.redirect "default.asp"
end if
%>
<%
if request("action")="modi" then
Response.Write("<script>alert("" 很抱歉,程序版本为试用版 \n\n 您无法对数据库进行操作,如您需要请您购买商业版本 \n\n *****感谢您对我们的支持,我们会继续努力***** \n\n QQ:88464758 联系电话:0451-89575990 \n\n为中国电子商务发展助力!-- 56770.com"");history.back();</script>")
Response.end
end if
%>
<%
id=request("id")
set rs=server.createobject("ADODB.Recordset")
sql="select * from search where id=" & id
rs.open sql, conn, 1, 1
%>
<html>
<head>
<title>后台管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css" type="text/css">
</head>
<body bgcolor="#FFFFCC" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="1" cellpadding="2" vspace="0" hspace="0" bgcolor="#FFFFFF">
<tr bgcolor="#FFCC33">
<td height="27" bgcolor="#FFCC33" background="images/admin_bg_1.gif">.:: 56770网络制作 http://www.56770.com</td>
</tr>
</table>
<table border="0" cellspacing="1" cellpadding="3" width="100%" align="center" background="images/admin_bg_1.gif">
<form action="admin_csedit.asp" method="post" name="editgjc" >
<tr>
<td bgcolor="#BBD1E8" width="25%" >简体
</td>
<td bgcolor="#BBD1E8" width="21%" >
<input type="text" name="gjc" size="26"  value="<%=rs("gjc")%>">
</td>
</tr>
<tr>
<td bgcolor="#BBD1E8" width="25%" >繁体
</td>
<td bgcolor="#BBD1E8" width="21%" >
<input type="text" name="fname" size="26"  value="<%=rs("fname")%>">
</td>
</tr>
<tr>
<td bgcolor="#BBD1E8" width="25%" >英文
</td>
<td bgcolor="#BBD1E8" width="21%" >
<input type="text" name="ename" size="26"  value="<%=rs("ename")%>">
</td>
</tr>
<tr>
<td bgcolor="#BBD1E8" width="25%" >搜索次数
</td>
<td bgcolor="#BBD1E8" width="21%" >
<input type="text" name="cs" size="26"  value="<%=rs("cs")%>">
</td>
</tr>
<tr bgcolor="#D6DFF7">
<td height="35" colspan="4">
<div align="center">
<input type="submit" name="Submit" value="修改" class="Submit">
&nbsp; &nbsp; 
<input type="reset" name="Submit" value="重填" class="Submit">
<input type="hidden" name="action" value="modi">
<input type="hidden" name="id" value="<%=rs("id")%>">
<input type="hidden" name="gjc1" value="<%=rs("gjc")%>">
</div>
</td>
</tr>
</form>
</table>
<%
rs.close
set rs=nothing
%>
<p>&nbsp; </p></body>
</html>

⌨️ 快捷键说明

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