📄 modify_info.asp
字号:
-->
</SCRIPT>
</TD></TR></TBODY></TABLE>
<TR>
<TD class=C bgColor=#eff7ff><B>街道地址:</B></TD>
<TD bgColor=#ffffde colSpan=2>
<TABLE width="100%" border=0>
<TBODY>
<TR>
<TD width=10><FONT color=#ff0000 size=3>*</FONT></TD>
<TD><SPAN id=PreAddress></SPAN><BR>
<INPUT
title=请补充后面的详细街道地址 maxLength=100 size=30 value="<%=rs("address")%>"
name="address"></TD></TR>
<TR>
<TD> </TD>
<TD><FONT class=note>请补充县(区)、街道、门牌号</FONT>
</TD></TR></TBODY></TABLE></TD></TR>
</TABLE>
<TABLE class=fbg1 width="100%">
<TBODY>
<TR>
<TD>公司名称和主营业务 </TD></TR></TBODY></TABLE>
<TABLE cellSpacing=2 cellPadding=3 width="100%" border=0>
<COLGROUP>
<COL class=formtop></COLGROUP>
<TBODY>
<TR>
<TD class=C width="25%" bgColor=#eff7ff><B>公司名称:</B></TD>
<TD bgColor=#ffffde><FONT color=#ff0000 size=3>*</FONT> <INPUT
maxLength=50 size=30 value="<%=rs("qymc")%>" name="qymc">
<BR> <FONT class=note>请提供在工商管理局注册的公司全称</FONT></TD></TR>
<TR>
<TD class=C bgColor=#eff7ff><B>我的职位:</B></TD>
<TD bgColor=#ffffde colSpan=2><FONT color=#ff0000
size=3>*</FONT> <INPUT maxLength=16 size=30 value="<%=rs("zw")%>"
name="zw"></TD></TR>
<TR>
<TD class=C bgColor=#eff7ff>
<B>主营产品/服务:</B></TD>
<TD bgColor=#ffffde>
<FONT color=#ff0000>*</FONT>
<%
if zycp<>"" then
if instr(zycp,",")>0 then
zcarry=split(rs("zycp"),",")
if ubound(zcarry)=1 then
response.write"<INPUT maxLength=20 size=10 value='"&zcarry(0)&"' name=productionService>, <INPUT maxLength=20 size=10 value='"&zcarry(1)&"' name=productionService2>, <INPUT maxLength=20 size=10 name=productionService3>"
elseif ubound(zcarry)=2 then
response.write"<INPUT maxLength=20 size=10 value='"&zcarry(0)&"' name=productionService>, <INPUT maxLength=20 size=10 value='"&zcarry(1)&"' name=productionService2>, <INPUT maxLength=20 size=10 value='"&zcarry(2)&"' name=productionService3>"
elseif ubound(zcarry)>2 then
response.write"<INPUT maxLength=20 size=10 value='"&zcarry(0)&"' name=productionService>, <INPUT maxLength=20 size=10 value='"&zcarry(1)&"' name=productionService2>, <INPUT maxLength=20 size=10 value='"&zcarry(2)&"' name=productionService3>"
end if
else
response.write"<INPUT maxLength=20 size=10 value='"&zycp&"' name=productionService>, <INPUT maxLength=20 size=10 name=productionService2>, <INPUT maxLength=20 size=10 name=productionService3>"
end if
else
response.write"<INPUT maxLength=20 size=10 name=productionService>, <INPUT maxLength=20 size=10 name=productionService2>, <INPUT maxLength=20 size=10 name=productionService3>"
end if%>
<INPUT type=hidden
name=p_z_Z_productionService> <BR>
<SPAN class=note>3个主要相关产品名/服务名,最少要填一个</SPAN></TD>
</TR>
<TR>
<TD class=C bgColor=#eff7ff><B>主营行业:</B></TD>
<TD bgColor=#ffffde><FONT color=#ff0000 size=3>*</FONT>
<select name="p_z_Z_RootCategory" onchange="changeCategory(this)" >
<option selected>--请选择行业大类--</option>
</select> <select name="p_z_Z_CategoryId1" maxlength="80">
<option value="" selected>--请选择行业子类--</option>
</select>
</TD></TR>
<TR>
<TD class=C bgColor=#eff7ff><B>网页地址:<BR><BR></B></TD>
<TD bgColor=#ffffde> <INPUT maxLength=50 size=30 value="<%=rs("web")%>"
name="web"> <BR> <FONT class=note
color=#595959>如果没有,可以不填</FONT></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=6 cellPadding=3 width="100%" bgColor=#f9f9f9
border=0>
<TBODY>
<TR>
<TD class=note><div align="center">
<INPUT type=checkbox <%if rs("isournotify")=true then response.write"CHECKED"%> value="<%=rs("isournotify")%>"
name="isournotify">
<FONT
class=f2>我愿意收到<%=webname%>新产品/服务的通知信</FONT><BR>
<INPUT type=checkbox
<%if rs("isothernotify")=true then response.write"CHECKED"%> value="<%=rs("isothernotify")%>" name="isothernotify">
<FONT
class=f2>我愿意收到我感兴趣的其他公司新产品/服务的通知信</FONT>
</div></TD></TR></TBODY></TABLE>
<BR>
<BR>
<TABLE cellSpacing=0 cellPadding=4 border=0>
<TBODY>
<TR>
<TD vAlign=top noWrap><INPUT class=subbutton style="WIDTH: 160px" onclick="FormCheck()" type=button value=" 填好了,提交! " name=Post>
</TD></TR></TBODY></TABLE>
<BR>
</FORM></TD></TR>
</TABLE></TD>
</TR>
</TABLE><IMG
height=10 src="../images/bottom.gif" width=778><BR>
<script>
//category methods
function Category(id,title) {
this.id = id;
this.title=title;
this.boardlist=new Array();
this.addBoard=addBoard;
this.getOptions = getOptions;
}
function addBoard(board) {
this.boardlist = this.boardlist.concat(board);
}
function getOptions() {
var tmp = new Array();
for(var i=0; i < this.boardlist.length;i++) {
var b = this.boardlist[i];
tmp[i]= b.getOption();
}
return tmp;
}
//board methods
function Board(catid,id,title,total) {
this.catid=catid;
this.id=id;
this.title=title;
this.getOption=getOption;
}
function getOption() {
return new Option(this.title,this.id);
}
function changeCategory(list) {
if (list.selectedIndex<=0) {
catForm.options[0].selected=true;
var len = boardForm.options.length;
for (var i=len-1;i>0;i--){
boardForm.options[i]=null;
}
}
else {
var boards = catArr[list.selectedIndex-1].getOptions();
var len = boardForm.options.length;
for (var i=len-1;i>0;i--){
boardForm.options[i]=null;
}
for (var i=0;i<boards.length;i++) {
boardForm.options[i+1]=boards[i];
}
}
boardForm.options[0].selected=true;
}
function selectBoard(catid,bid,list) {
var isExist = false; //是否是叶子类目
for(var i=0;i<catForm.length;i++) {
if (catForm.options[i].value==catid) {
//alert("get Category");
catForm.options[i].selected=true;
changeCategory(catForm);
break;
}
}
for(var i=0;i<boardForm.length;i++) {
if (boardForm.options[i].value==bid) {
//alert("get Board");
boardForm.options[i].selected=true;
isExist = true;
break;
}
}
if (!isExist) {//如果是二级类目,则下拉框只显示该二级类目下所有类目
var boards = catArr[catForm.selectedIndex-1].getOptions();
var len = boardForm.options.length;
for (var i=len-1;i>0;i--){
boardForm.options[i]=null;
}
var locate = 1;
for (var i=0;i<boards.length;i++) {
if(boards[i].text.indexOf(bid) == 0){
boardForm.options[locate]=boards[i];
locate++;
}
}
boardForm.options[0].selected=true;
}
}
//static methods
var catArr = new Array();
var cur;
//init catform
var catForm = document.form.p_z_Z_RootCategory;
var boardForm = document.form.p_z_Z_CategoryId1;
function showCategorys() {
var catId = catForm.value
if(boardForm.value){
catId = boardForm.value
}else if(catForm.value){
catId = catForm.value
}
window.open('/tradeinfo/smalllist.asp?sortid='+catId,'newwin','toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=600,height=500')
}
for (var i=0;i<catArr.length;i++) {
catForm.options[i+1]=new Option(catArr[i].title,catArr[i].id);
}
function initRootCategorys(){
for (var i=0;i<catArr.length;i++) {
catForm.options[i+1]=new Option(catArr[i].title,catArr[i].id);
}
}
//init
</script>
<script src="/js/allCategorys.js"></script>
<script>
initRootCategorys();
</script>
<script>
selectBoard("<%=sid%>","<%=tid%>,<%=tid2%>");
</script>
<!--#include file="../end.asp"-->
<%
end if
rs.close
set rs=nothing
rsc.close
set rsc=nothing
conn.close
set conn=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -