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

📄 edit_trade_info.asp

📁 ASP企业网络管理系统
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../include/config.asp" -->
<!--#include file="../include/ServerControl.asp" -->
<%
session("sqlString") = "select * from v_trade_info where id = " & Request.QueryString("id")
session("rs").open session("sqlString"),session("conn")
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../style/style.css" rel="stylesheet" type="text/css">
</head>

<body>
<form action="../trade/admin_trade_info.asp" method="post" enctype="multipart/form-data" name="form1">
  <table width="400" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#dddddd">
    <tr align="left" bgcolor="#FFFFFF"> 
      <td width="60">标题</td>
      <td colspan="2"> <input name="title" type="text" id="title" style="width:200;" value="<%= trim(session("rs")("title")) %>"></td>
      <td align="right" valign="middle">信息类型 
        <%
dim cmbtype
set cmbtype = new DBCombo
cmbtype.name = "type"
cmbtype.selected = session("rs")("type_id")
cmbtype.writehtml "select * from trade_type",session("conn")
			%></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="60">有效时间</td>
      <td width="140"> <input name="useful_life" type="text" id="useful_life2" value="<%= trim(session("rs")("useful_life")) %>"></td>
      <td width="60">联系人</td>
      <td width="140"> <input name="contact" type="text" id="contact" value="<%= trim(session("rs")("contact")) %>"></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="60">电话</td>
      <td width="140"> <input name="phone" type="text" id="phone" value="<%= trim(session("rs")("phone")) %>"></td>
      <td width="60">传真</td>
      <td width="140"> <input name="fax" type="text" id="fax" value="<%= trim(session("rs")("fax")) %>"> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="60">Email</td>
      <td width="140"> <input name="email" type="text" id="email" value="<%= trim(session("rs")("email")) %>"></td>
      <td width="60">地区</td>
      <td width="140"> <input name="region" type="text" id="region" value="<%= trim(session("rs")("region")) %>"></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td>相关图片</td>
      <td colspan="3" align="right"><a href="theTradeImg.asp?id=<%= trim(session("rs")("id")) %>" target="_blank">查看图片</a> </td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td height="17" colspan="4"><input name="trade_pic" type="file" id="trade_pic" style="width:400;"></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="17" colspan="4">详细内容</td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td colspan="4" valign="top"> <textarea name="content" id="content" style="width:400;height:100;"><%= trim(session("rs")("content")) %></textarea></td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF"> 
      <td colspan="4"> <input name="Submit" type="submit" value="修  改">
        <input name="action" type="hidden" value="edit">
        <input name="publisher" type="hidden" value="<%= trim(session("rs")("id")) %>"> 
        &nbsp;&nbsp;<input name="reset" type="reset" id="reset" value="重  置">&nbsp;&nbsp; <input name="cancel" type="button" value="取  消" onClick="history.back();"></td>
    </tr>
  </table>
</form>
</body>
</html>

⌨️ 快捷键说明

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