📄 insert_enter.0.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../include/config.asp" -->
<!--#include file="../include/ServerControl.asp" -->
<%
session("sqlString") = "select id,name from member where login_name = '" & session("login_name") & "'"
'Response.Write(session("sqlString"))
session("rs").open session("sqlString"),session("conn")
'session("mode") = "admin"
%>
<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="../enterprise/admin_enter.asp" method="post" enctype="multipart/form-data" name="frmEnter">
<table width="400" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#dddddd">
<tr bgcolor="#FFFFFF">
<td width="60">企业名称</td>
<td colspan="2"><input name="name" type="text" id="name" style="width:200;"></td>
<td width="140" align="right"> 企业类型 <%
dim cmbtype
set cmbtype = new DBCombo
cmbtype.name = "type"
cmbtype.writehtml "select * from enterprise_type",session("conn")
%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="60">法人代表</td>
<td width="140"><input name="corporation" type="text" id="corporation"></td>
<td width="60">联系人</td>
<td width="140"><a href="javascript:window.open('#','_blank')"><input type="text" name="contact" value="<%= trim(session("rs")("name")) %>" readonly="true" style="cursor:hand;"></a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="60">地址</td>
<td width="140"><input type="text" name="address"></td>
<td width="60">主页</td>
<td width="140"><input type="text" name="homepage"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="60">主营业务</td>
<td colspan="3"><input type="text" name="main_business" style="width:346;"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td >企业图片</td>
<td colspan="3" align="right"> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="4"><input type="file" name="enter_pic" style="width:400;"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="4">企业介绍</td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="4" valign="top"><textarea name="intro" style="width:400;height:150;"></textarea></td>
</tr>
<tr align="center" bgcolor="#FFFFFF">
<td colspan="4"><input type="submit" name="Submit" value="添 加">
<input name="member_id" type="hidden" value="<%= session("rs")("id") %>">
<input name="action" type="hidden" id="action" value="insert">
<input name="reset" type="button" id="reset" value="重 置"></td>
</tr>
</table>
</form>
<%
session("rs").close
if session("mode") = "admin" then
session("sqlString") = "select id,name from v_enter" '& Request.QueryString("id")
Server.Execute("../enterprise/list_enter.asp")
end if
session("sqlString") = ""
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -