📄 updatecompanyinfo.asp
字号:
<!--#include file=../conn.asp-->
<!--#include file=cookies.asp-->
<!--#include file=top.asp-->
<%
dim sql
dim rs
dim username
dim comid,i
username=request.cookies("ijob")("username")
comid=request.cookies("ijob")("comid")
set rs=server.createobject("adodb.recordset")
sql="select * from [company] where comid='"&comid&"' and UserName='"&UserName&"'"
rs.open sql,conn,1,1
if rs.eof or rs.bof then
response.write "错误,该用户不存在!<br> "
response.end
end if
%>
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改资料</title>
<link rel="stylesheet" type="text/css" href="../1.css">
</head>
<body topmargin="0" leftmargin="0">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="770">
<tr>
<td width="100%">
<div align="center">
<form method="POST" action="UpdateCompanyInfochk.asp" name="shengshi">
<center>
<table border="0" borderColor="#111111" cellPadding="4" cellSpacing="0" height="733" style="border-collapse: collapse" width="600">
<tr>
<td colSpan="2" width="579" style="border-bottom-style: none; border-bottom-width: medium" height="20">
<p align="center"><a href="index.asp">
<img border="0" src="../img/fanhui.gif"></a></td>
</tr>
<tr>
<td colSpan="2" width="579" style="border-bottom-style: none; border-bottom-width: medium" height="16" background="../img/bj.gif"><b>基本信息</b></td>
</tr>
<tr>
<td align="left" bgColor="#FFFFFF" height="20" width="80" style="border-top-style: none; border-top-width: medium">
<span style="font-family: 宋体; font-size: 12px">
<font color="#d84d45">*</font><font class="Truetext">公司名称:</font></span></td>
<td align="middle" bgColor="#FFFFFF" height="20" width="503" style="border-top-style: none; border-top-width: medium">
<p align="left">
<span style="font-family: 宋体; font-size: 12px">
<font color="#000000">
<input class="fieldtext" maxLength="200" name="companyName" size="38" value="<%=rs("companyName")%>">
</font></span></td>
</tr>
<tr>
<td align="left" bgColor="#f6f6f6" height="21" width="80">
<span style="font-family: 宋体; font-size: 12px">
<font color="#d84d45">*</font></span>所属行业:</td>
<td align="middle" bgColor="#f6f6f6" height="21" width="503">
<p align="left">
<%dim Industry
Industry=rs("Industry")
%>
<select name="Industry" size="1" style="font-family: 宋体; font-size: 12px; width: 240px">
<option <%if Industry=1 then%>selected<%end if%> value="1">互联网、电子商务</option>
<option <%if Industry=2 then%>selected<%end if%> value="2">计算机业(软件、数据库、系统集成)</option>
<option <%if Industry=3 then%>selected<%end if%> value="3">计算机业(硬件、网络设备)</option>
<option <%if Industry=4 then%>selected<%end if%> value="4">电子、微电子技术</option>
<option <%if Industry=5 then%>selected<%end if%> value="5">通讯、电信业</option>
<option <%if Industry=6 then%>selected<%end if%> value="6">家电业</option>
<option <%if Industry=7 then%>selected<%end if%> value="7">批发零售(百货、超市、购物中心、专卖店…)</option>
<option <%if Industry=8 then%>selected<%end if%> value="8">贸易、商务、进出口</option>
<option <%if Industry=9 then%>selected<%end if%> value="9">电气</option>
<option <%if Industry=10 then%>selected<%end if%> value="10">电力、能源、矿产业</option>
<option <%if Industry=11 then%>selected<%end if%> value="11">石油、化工业</option>
<option <%if Industry=12 then%>selected<%end if%> value="12">生物工程、制药、环保</option>
<option <%if Industry=13 then%>selected<%end if%> value="13">机械制造、机电设备、重工业</option>
<option <%if Industry=14 then%>selected<%end if%> value="14">汽车、摩托车</option>
<option <%if Industry=15 then%>selected<%end if%> value="15">仪器仪表、电工设备</option>
<option <%if Industry=16 then%>selected<%end if%> value="16">广告、公关、设计</option>
<option <%if Industry=17 then%>selected<%end if%> value="17">媒体、影视制作、新闻出版</option>
<option <%if Industry=18 then%>selected<%end if%> value="18">艺术、文化传播</option>
<option <%if Industry=19 then%>selected<%end if%> value="19">快速消费品(食品、饮料、粮油、化妆品、烟酒…)</option>
<option <%if Industry=20 then%>selected<%end if%> value="20">纺织品业(服饰、鞋类、家纺用品、皮具…)</option>
<option <%if Industry=21 then%>selected<%end if%> value="21">咨询业(顾问、会计师、审计师、法律)</option>
<option <%if Industry=22 then%>selected<%end if%> value="22">金融业(投资、保险、证券、银行、基金)</option>
<option <%if Industry=23 then%>selected<%end if%> value="23">建筑、房地产、物业管理、装潢</option>
<option <%if Industry=24 then%>selected<%end if%> value="24">餐饮、娱乐、酒店</option>
<option <%if Industry=25 then%>selected<%end if%> value="25">运输、物流、快递</option>
<option <%if Industry=26 then%>selected<%end if%> value="26">旅游业</option>
<option <%if Industry=27 then%>selected<%end if%> value="27">办公设备、文化体育休闲用品、家居用品</option>
<option <%if Industry=28 then%>selected<%end if%> value="28">印刷、包装、造纸</option>
<option <%if Industry=29 then%>selected<%end if%> value="29">生产、制造、加工</option>
<option <%if Industry=30 then%>selected<%end if%> value="30">教育、培训、科研院所</option>
<option <%if Industry=31 then%>selected<%end if%> value="31">医疗、保健、卫生服务</option>
<option <%if Industry=32 then%>selected<%end if%> value="32">人才交流、中介</option>
<option <%if Industry=33 then%>selected<%end if%> value="33">协会、社团、政府公用事业、社区服务</option>
<option <%if Industry=34 then%>selected<%end if%> value="34">农、林、牧、副、渔业</option>
<option <%if Industry=35 then%>selected<%end if%> value="35">其他</option>
</select> </td>
</tr>
<tr>
<td align="left" bgColor="#ffffff" height="21" width="80">
<span style="font-family: 宋体; font-size: 12px">
<font color="#d84d45">*</font></span>公司性质:</td>
<td align="middle" bgColor="#ffffff" height="21" width="503">
<p align="left">
<%dim companyProperity
companyProperity=rs("companyProperity")
%>
<select class="fieldtext" name="companyProperity" size="1" tabIndex="2">
<option <%if companyProperity=0 then%>selected<%end if%> value="0">国有企业</option>
<option <%if companyProperity=1 then%>selected<%end if%> value="1">外资企业</option>
<option <%if companyProperity=2 then%>selected<%end if%> value="2">合资企业</option>
<option <%if companyProperity=3 then%>selected<%end if%> value="3">私营企业</option>
<option <%if companyProperity=4 then%>selected<%end if%> value="4">民营企业</option>
<option <%if companyProperity=5 then%>selected<%end if%> value="5">股份制企业</option>
<option <%if companyProperity=6 then%>selected<%end if%> value="6">集体企业</option>
<option <%if companyProperity=7 then%>selected<%end if%> value="7">集体事业</option>
<option <%if companyProperity=8 then%>selected<%end if%> value="8">乡镇企业</option>
<option <%if companyProperity=9 then%>selected<%end if%> value="9">行政机关</option>
<option <%if companyProperity=10 then%>selected<%end if%> value="10">社会团体</option>
<option <%if companyProperity=11 then%>selected<%end if%> value="11">事业单位</option>
<option <%if companyProperity=12 then%>selected<%end if%> value="12">跨国公司(集团)</option>
<option <%if companyProperity=13 then%>selected<%end if%> value="13">其他</option>
</select> </td>
</tr>
<tr>
<td align="left" bgColor="#f6f6f6" height="21" width="80">
<span style="font-family: 宋体; font-size: 12px">
<font color="#d84d45">*</font></span>成立日期:</td>
<td align="middle" bgColor="#f6f6f6" height="21" width="503">
<p align="left">
<font>
<select name=y_FoundDate>
<%for i=1901 to 2003%>
<option <%if i=rs("y_FoundDate") then%>selected<%end if%> value="<%=i%>"><%=i%></option>
<%next%>
</select></font>
年 <font>
<select name=m_FoundDate>
<%for i=1 to 12%>
<option <%if i=rs("m_FoundDate") then%>selected<%end if%> value="<%=i%>"><%=i%></option>
<%next%>
</select></font> 月 <font>
<select name=d_FoundDate>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -