📄 web_company_update.asp
字号:
<!--#include file="../Include/Class_Conn.asp" -->
<!--#include file="../Include/Class_Main.asp" -->
<!--#include file="../Include/Class_Pass.asp" -->
<!--#include file="Web_Session.asp" -->
<%
Dim Action,Comid,PageNo
Dim TypeId,TypeName,News
'//检测是否跨站
Call Check_url()
'//检测管理员是否有权限操作该页面
If Instr(1,Session("Web_Power"),"110") <= 0 Then
Call CloseDB()
Response.write "对不起!您没有访问该页面的权限..."
Response.End()
End If
Action = Request.QueryString("action")
If Action = "submit" Then Call Submit() '//调用保存数据的函数
Comid = Replace_Text(Request.QueryString("Comid"))
'//调用存储过程
Set Cmd = Server.CreateObject("ADODB.Command")
Cmd.ActiveConnection = Conn
Cmd.CommandText = "Com_BasicInfo"
Cmd.CommandType = 4
Cmd.Parameters.Append Cmd.CreateParameter("@Comid",200,1,30)
Cmd.Parameters("@Comid") = Comid
Set Rs = Cmd.Execute
If Rs.Eof Then
CloseRs
Set Cmd = Nothing
CloseDB
Response.write "没有找到会员资料!"
Response.End()
End if
Tmp = Rs.GetRows() '//将数据填充到数组
'//0企业名称,1营业执照,2行业,3企业性质,4成立年份,5月,6日,7员工人数,8注册资金,9资金类型,10企业简介,11联系人,12电话,13电话保密,14传真,15邮件,16邮件保密,17企业所在省,18城市,19地址,20邮政编码,21企业网址
'//如 Tmp(0,0) 表示企业名称
'//关闭数据库连接
CloseRs
Set Cmd = Nothing
'//功能代码
Industry = Tmp(2,0)
Properity = Tmp(3,0)
Locus_Area = Tmp(17,0)
Locus_City = Tmp(18,0)
Company_Memo = Tmp(10,0)
PhoneKeep = Tmp(13,0)
EmailKeep = Tmp(16,0)
If Company_Memo <> "" Then Company_Memo = Replace(Company_Memo,"<br>",Chr(13))
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script language="JavaScript" src="../js/Company_Basicinfo.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<link href="../CSS/css.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="5"></td>
</tr>
<tr>
<td height="25" bgcolor="fb7a03"> <font color="#FFFFFF">::<strong>编辑企业会员</strong></font></td>
</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="5"></td>
</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td align="left"><table width="80%" border="0" cellspacing="0" cellpadding="0">
<form action="?action=submit" name="edit" method="post" onSubmit="return form_check();">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#f1b5a1">
<tr>
<td bgcolor="#FFFFFF"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="2"></td>
</tr>
</table>
<TABLE cellSpacing=0 cellPadding=0 width=99% align=center
border=0>
<TBODY>
<TR>
<TD class=font-14 height=2></TD>
</TR>
<TR>
<TD class=font-14 bgColor=#ff7800 height=21> <FONT style="MARGIN-TOP: 2px; MARGIN-LEFT: 10px" color=#ffffff><strong>基本资料</strong></FONT></TD>
</TR>
<TR>
<TD bgColor=#e2e2e2 height=2></TD>
</TR>
</TBODY>
</TABLE>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="18%" height="25" align="right"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 企业名称: </td>
<td height="25"><input name="companyname" type="text" id="companyname" size="50" maxlength="50" style="width:200px;" value="<%= Tmp(0,0) %>">
如:<%= Cls_WebName %></td>
</tr>
<tr>
<td width="18%" height="25" align="right" bgcolor="#fff7f0">证件号码:</td>
<td height="25" bgcolor="#fff7f0"><input name="licence" type="text" size="25" maxlength="25" style="width:200px;" value="<%= Tmp(1,0) %>">
<font color="#50463d">企业的营业执照等</font> </td>
</tr>
<tr>
<td height="25" align="right"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 所属行业:</td>
<td height="25">
<!--#include file="../Include/Class_Industry.asp" -->
</td>
</tr>
<tr>
<td height="25" align="right" bgcolor="#fff7f0"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 企业性质:</td>
<td height="25" bgcolor="#fff7f0">
<!--#include file="../Include/Class_Properity.asp" -->
</td>
</tr>
<tr>
<td height="25" align="right"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 成立日期:</td>
<td height="25"><input name="set_year" type="text" size="4" maxlength="4" value="<%= Tmp(4,0) %>">
年
<select name="set_month">
<%for i=1 to 12%>
<option value="<%=i%>" <% If i= Tmp(5,0) Then Response.write "Selected" %>><%=i%></option>
<%next%>
</select>
月
<select name="set_day">
<%for i=1 to 31%>
<option value="<%=i%>" <% If i= Tmp(6,0) Then Response.write "Selected" %>><%=i%></option>
<%next%>
</select>
日 </td>
</tr>
<tr>
<td height="25" align="right" bgcolor="#fff7f0"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 注册资金:</td>
<td height="25" bgcolor="#fff7f0"><input name="reg_currency" type="text" size="25" maxlength="25" style="width:100px;" value="<%= Tmp(8,0) %>">
万元
<select name="currencytype" id="currencytype" style="width:80px;">
<option value="1" <% If Tmp(9,0) = 1 Then Response.write "Selected" %>>人民币</option>
<option value="2" <% If Tmp(9,0) = 2 Then Response.write "Selected" %>>美元</option>
<option value="3" <% If Tmp(9,0) = 3 Then Response.write "Selected" %>>欧元</option>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -