📄 pub_trade_info.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../include/config.asp" -->
<!--#include file="../include/ServerControl.asp" -->
<%
'session("login_name") = "blackhu"
session("sqlString") = "select * from v_member where id = " & session("member_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>
<h3 align="center">发布信息</h3>
<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;"></td>
<td align="right" valign="middle">信息类型 <%
dim cmbtype
set cmbtype = new DBCombo
cmbtype.name = "type"
cmbtype.selected = "1"
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"></td>
<td width="60">联系人</td>
<td width="140"> <input name="contact" type="text" id="contact" value="<%= trim(session("rs")("name")) %>"></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"><input name="trade_pic" type="file" id="trade_pic" style="width:348;">
</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;"></textarea></td>
</tr>
<tr align="center" bgcolor="#FFFFFF">
<td colspan="4"> <input type="submit" name="Submit" value="发 布"><input name="action" type="hidden" value="insert"><input name="publisher" type="hidden" value="<%= trim(session("rs")("id")) %>">
<input name="reset" type="reset" id="reset" value="重 置">
<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 + -