📄 insert_enter.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../include/config.asp" -->
<!--#include file="../include/ServerControl.asp" -->
<!--#include file="../include/check_session.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")
%>
<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="admin_enter.asp" method="post" enctype="multipart/form-data" name="frmEnter">
<table width="420" 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 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><input name="corporation" type="text" id="corporation"></td>
<td width="50"><a href="#" onClick="window.open('show_member.asp?id=<%= Session("rs")("id") %>','_blank')">联系人</a></td>
<td><input type="text" name="contact" value="<%= trim(Session("rs")("name")) %>"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="60">地址</td>
<td><input type="text" name="address"></td>
<td width="50">主页</td>
<td><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 width="60" >企业图片</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>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -