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

📄 ad_bookzj.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">
			<%
	             set rs=server.createobject("adodb.recordset")
				 sql="select * from type where id="&request("id")
				 rs.open sql,conn,1,1
				 if rs.eof and rs.bof then
				 response.write "Item is not found"
				 response.end
				 else
		    %><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_bookzjsave.asp">

  <p><b><%=trim(rs("typename"))%></b>Add Content</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">
      </td>
    </tr>
  </table>
    <table width="500" border="0" cellspacing="0" cellpadding="0">
      <tr> 
      <td width="100">Item:</td>
        <td width="150">

          <select name="type">
            <%
			  do while not rs.eof
	        %>
			<option selected value="<%=trim(rs("typename"))%>"><%=trim(rs("typename"))%></option>
			<% rs.movenext
			loop
			end if
			rs.close
			set rs=nothing
			conn.close
			set conn=nothing
			%>
          </select>
        </td>
      <td width="100">KeyWord:</td>
      <td width="150">
        <input type="text" name="key1" size="15" value="NO">
      </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="freedown.net">
      </td>
      <td width="100">Author:</td>
        <td width="149"> 
          <input type="text" name="author" size="15" value="freedown.net">
      </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">
        </td>
        <td width="100">Photo two:</td>
        <td width="149"> 
          <input type="text" name="img2" size="15">
        </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"></textarea>
      </td>
    </tr>
  </table>
  <input type="submit" name="yes" value="确定">
  <input type="submit" name="no" value="重写">
</form>
</td>
  </tr>
</table>
  </center>
</div>
</body>
</html>

⌨️ 快捷键说明

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