rebook.asp

来自「关于手机销售的ASP网站程序,程序不太,但功能很全,很是实用!」· ASP 代码 · 共 74 行

ASP
74
字号
<%
if request.cookies("adminok")="" then
  response.redirect "shoplogin.htm"
end if
%>
<%
if request.cookies("adminok")="" then
  response.redirect "shoplogin.htm"
end if
%>
<!--#include file="conn.asp"-->
<%
if request.cookies("adminok")="" then
  response.redirect "shoplogin.htm"
end if
%>
<%
id=request.querystring("id")
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open "Select * From book where id="&id, conn,3,3
%>

<html>
<head>
<title>编辑更新记录</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../style.css" type="text/css">
</head>
<body  text="#000000">
<!--#include file="indextop.asp" -->
<form method="post" action="rebooksave.asp">
<input type=hidden name=id value=<%=id%>>
<div align="center">
   
  <p> </p>
  <center>
        <table width="600" border="0" cellspacing="1" height="340" bgcolor="#006699">
          <tr> 
            <td align="center" height="18" bgcolor="#006699"><font color="#FFFFFF">编辑 更新记录</font></td>        
          </tr>        
          <tr>         
            <td height="15" bgcolor="#FFFFFF">这是第<%=rs("id")%> 条记录</td>          
          </tr>          
          <tr>           
            <td height="23" bgcolor="#FFFFFF">被回复留言主题:<%=rs("title")%>              
              &nbsp;               
            </td>               
          </tr>               
          <tr>                
            <td height="18" bgcolor="#FFFFFF">&nbsp;</td>               
          </tr>               
          <tr>                
            <td height="217" bgcolor="#FFFFFF">                 
                <p align="center">                
                <textarea name="rebook" cols="60" rows="14" class="textarea"></textarea>              
                </p>      
            </td>              
          </tr>              
          <tr>               
            <td align="center" height="25" bgcolor="#FFFFFF">               
              <input type="submit" value="确定" class="inputbutten">              
              <input type="reset" value="从来" class="inputbutten">               
            </td>               
          </tr>               
          <tr>                
            <td align="center" bgcolor="#006699" height="10"> </td>               
          </tr>               
        </table>               
  </center>       
</div>       
</form>               
               
</body>               
</html>

⌨️ 快捷键说明

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