⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ad_edit.asp

📁 商品订单管理:商品分类管理 添加与修改商品 管理订单 投诉订单 反馈信息 商品留言管理 管理网站用户:管理用户 管理后台管理员 新闻公告管理:新闻添加(支持图片新闻) 修改删除 首页公告设置 网站常规
💻 ASP
字号:
<!-- #include file="conn.asp" -->
<%
if session("admin_name")="" then
    response.redirect "ad_login.asp"
end if
%>
<html>
<head>
<link rel="stylesheet" href="img/css.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" text="#000000" background="blue.gif" link="#000080">
<%
set rs1=server.createobject("adodb.recordset")
sql1="select * from book where id="&request.querystring("id")
rs1.open sql1,conn,3,3
%>


<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="600" bgcolor="#F5EFE7">
    <tr>
      <td align="center"><form name="form1" method="post" action="ad_editsave.asp?id=<%=request.querystring("id")%>">
  <p>Modify</p>
    <table width="500" border="0" height="10" cellspacing="0" cellpadding="0">
      <tr>
      <td height="2" width="100">Title:</td>
      <td height="2" width="400"> 
          <input type="text" name="title" size="50" value="<%=trim(rs1("title"))%>">
      </td>
    </tr>
  </table>
    <table width="500" border="0" cellspacing="0" cellpadding="0">
      <tr> 
      <td width="100">Item:</td>
        <td width="150">

        </td>
      <td width="100">keyWord:</td>
      <td width="150">
          <input type="text" name="key1" size="15" value="<%=trim(rs1("key1"))%>">
      </td>
    </tr>
  </table>
    <table width="499" border="0" cellspacing="0" cellpadding="0">
      <tr> 
      <td width="100">Company:</td>
      <td width="150">
          <input type="text" name="from1" size="15" value="<%=trim(rs1("from1"))%>">
      </td>
      <td width="100">Author:</td>
        <td width="149"> 
          <input type="text" name="author" size="15" value="<%=trim(rs1("author"))%>">
      </td>
    </tr>
  </table>
    <table width="499" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="100">Photo one:</td>
        <td width="150"> 
          <input type="text" name="img1" size="15" value="<%=trim(rs1("img1"))%>">
        </td>
        <td width="100">Photo two:</td>
        <td width="149"> 
          <input type="text" name="img2" size="15" value="<%=trim(rs1("img2"))%>">
        </td>
      </tr>
      <tr> 
        <td width="100"> </td>
        <td width="150"> 
			<a target="_blank" href="upfile.asp">
            <font color="#FF0000">Upfile</font></a></td>
        <td width="100"> </td>
        <td width="149"> 
           </td>
      </tr>
    </table>
    <table width="500" border="0" cellspacing="0" cellpadding="0">
      <tr> 
        <td width="250">Content: </td>
        <td width="250"> 
          <input type="checkbox" name="html" value="on">
          HTML</td>
      </tr>
    </table>
    <table width="500" border="0" cellspacing="0" cellpadding="0">
      <tr>
      <td height="11"> 
          <textarea name="nr" cols="65" rows="15"><%
                content=replace(rs1("nr"),"<br>",chr(13))
                content=replace(content,"&nbsp;"," ")    
            response.write content%></textarea>
      </td>
    </tr>
  </table>
  <input type="submit" name="yes" value="Submit">
  <input type="submit" name="no" value="Reset">
</form></td>
    </tr>
  </table>
  </center>
</div>
<%rs1.close
set rs1=nothing
conn.close
set conn=nothing
%>
</body>
</html>

⌨️ 快捷键说明

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