⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edit.asp

📁 全球商务网站系统介绍 GLOBALEC.COM.CN[生成HTML版] 系统概述: 软件名称:全球商务网站系统 当前版本:V1.0 最新版本:V1.1 运行环境:WINNT+(IIS)
💻 ASP
📖 第 1 页 / 共 2 页
字号:
                    <TBODY>
                    <TR>
                      <TD>
<SELECT style="WIDTH: 90px" 
            onchange=javascript:changeCountry1(this); name=country1>
                    </SELECT> <SELECT style="WIDTH: 60px" 
            onchange=changeProvince(this); name=province>
                      <OPTION value="" 
              selected>省份</OPTION>
                    </SELECT> <SELECT name=city>
                      <OPTION value="" 
              selected>地级</OPTION>
                    </SELECT>
           <SCRIPT language=javascript src="../../js/area1.js"    
      purpose="INITIALIZER"></SCRIPT>
	  <SCRIPT language=javascript>
<!--
    //设置国家1的缺省值
    for (var i=0;i<5;i++){
	    if (country1form.options[i].value == '<%=rs("country")%>'){
		    country1form.options[i].selected=true;
		}
	}

    for (var i=0;i<catArr1.length;i++) {
		catform.options[i+1]=new Option(catArr1[i].title,catArr1[i].id);
		//设置省选择框的选择值
		if(catform.options[i+1].value == '<%=rs("sf")%>'){
	        	catform.options[i+1].selected=true;
	        }
	}
	changeProvince(catform);
	var len = boardform.options.length;
	for (var i=0;i<len;i++) {
		//设置城市选择框的选择值
		if(boardform.options[i].value == '<%=rs("city")%>') {
		    boardform.options[i].selected=true;
		}
	}
	
    if (country1form.options[country1form.selectedIndex].value!='中国') {
	    catform.style.display = 'none';
	    boardform.style.display = 'none';
		}

-->
</SCRIPT>
                    </TD></TR></TBODY></TABLE>
                <TR>
                <TD class=forumrowHighlight><B>街道地址:</B></TD>
                <TD class=forumrowHighlight colSpan=2>
                  <TABLE width="100%" border=0>
                    <TBODY>
                    <TR>
                      <TD><INPUT 
                        title=请补充后面的详细街道地址 maxLength=100 size=30 value="<%=rs("address")%>" 
                        name="address"></TD></TR>
                    <TR>
                      <TD><FONT class=note>请补充县(区)、街道、门牌号</FONT> 
                  </TD></TR></TBODY></TABLE></TD></TR>
      </TABLE></td>
    </tr>
    <tr>
      <th height=23 align=left>公司名称和主营业务</th>
    </tr>
    <tr>
      <td><TABLE cellSpacing=1 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD class=forumrowHighlight width="25%"><B>公司名称:</B></TD>
                <TD class=forumrowHighlight><INPUT 
                  maxLength=50 size=30 value="<%=rs("qymc")%>" name="qymc"> 
                  <BR>&nbsp;&nbsp;<FONT class=note>请提供在工商管理局注册的公司全称</FONT></TD></TR>
              <TR>
                <TD class=forumrowHighlight><B>我的职位:</B></TD>
                <TD class=forumrowHighlight colSpan=2><INPUT maxLength=16 size=30 value="<%=rs("zw")%>" 
                  name="zw"></TD></TR>
              <TR>
                <TD class=forumrowHighlight><B>主营行业:</B></TD>
                <TD class=forumrowHighlight><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=forumrowHighlight><B>网站地址:<BR>
                    <BR></B></TD>
                <TD class=forumrowHighlight><INPUT maxLength=50 size=30 value="<%=rs("web")%>"
                  name="web"> <BR>如果没有,可以不填</TD></TR>
				  
<TR>
                <TD class=forumrowHighlight><B>主营产品/服务:</B></TD>
                <TD class=forumrowHighlight>
				          <%
				if zycp<>"" then
				  if instr(zycp,",")>0 then
				        zcarry=split(rs("zycp"),",")
				        if ubound(zcarry)=1 then
				           response.write"<INPUT maxLength=10 size=10 value='"&zcarry(0)&"' name=productionService>, <INPUT maxLength=10 size=10 value='"&zcarry(1)&"' name=productionService2>, <INPUT maxLength=10 size=10 name=productionService3>"
				           elseif ubound(zcarry)=2 then
				           response.write"<INPUT maxLength=10 size=10 value='"&zcarry(0)&"' name=productionService>, <INPUT maxLength=10 size=10 value='"&zcarry(1)&"' name=productionService2>, <INPUT maxLength=10 size=10 value='"&zcarry(2)&"' name=productionService3>"
                           elseif ubound(zcarry)>2 then
				           response.write"<INPUT maxLength=10 size=10 value='"&zcarry(0)&"' name=productionService>, <INPUT maxLength=10 size=10 value='"&zcarry(1)&"' name=productionService2>, <INPUT maxLength=10 size=10 value='"&zcarry(2)&"' name=productionService3>"
                         end if
				  else
				  response.write"<INPUT maxLength=10 size=10 value='"&zycp&"' name=productionService>, <INPUT maxLength=10 size=10 name=productionService2>, <INPUT maxLength=10 size=10 name=productionService3>"
                  end if
				else
				response.write"<INPUT maxLength=10 size=10 name=productionService>, <INPUT maxLength=10 size=10 name=productionService2>, <INPUT maxLength=10 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=forumrowHighlight><FONT color=#ff0000>* </FONT><B>经营模式:</B></TD>
                <TD class=forumrowHighlight><INPUT type=radio value="生产型" <%if rs("qylb") ="生产型" then Response.Write "checked"%> name=qylb>生产型 <INPUT type=radio value="贸易型" <%if rs("qylb") ="贸易型" then Response.Write "checked"%> name=qylb>贸易型 <INPUT type=radio value="服务型" <%if rs("qylb") ="服务型" then Response.Write "checked"%> name=qylb>服务型 <INPUT  type=radio value="政府或其他机构" <%if rs("qylb") ="政府或其他机构" then Response.Write "checked"%> name=qylb>政府或其他机构 </TD></TR>
				<TR>
                <TD class=forumrowHighlight><B>法人代表:</B></TD>
                <TD class=forumrowHighlight><INPUT maxLength=50 size=30 
                  name="frdb" value="<%=rs("frdb")%>"> </TD></TR>
				  
<TR>
                <TD class=forumrowHighlight width="25%"><FONT color=#ff0000>* 
                  </FONT><B>公司介绍:</B><BR>
                          <SPAN 
                  class=note>(50-2000字)</SPAN></TD>
                <TD width="75%" class=forumrowHighlight><textarea name="qyjj" rows=10 cols=50><%=rs("qyjj")%></textarea>                  <BR>
                  <FONT 
                  class=note>
                    <LI>此处<FONT 
                  color=#ff0000>禁止填写联系人、电话、传真、地址、网址、email等信息</FONT>。这些信息需在下面的表格里填写。 
  
                  <LI>请用汉字描述公司优势(不要用英文),不要反复复制。 
              <LI>不要使用广告词或夸大性的语句,不要加图片及Html代码。 </LI></FONT></TD></TR>				  
		  </TBODY></TABLE>
				  <TABLE cellSpacing=1 cellPadding=2 width="100%" bgColor=#f9f9f9 
            border=0>
              <TBODY>
              <TR>
                <TD class=forumrowHighlight align=center><INPUT type=checkbox <%if rs("isournotify")=true then response.write"CHECKED"%> value="<%=rs("isournotify")%>"
                  name="isournotify">
                <FONT 
                  class=f2>愿意收到新产品/服务的通知信</FONT><BR>
                <INPUT type=checkbox 
                  <%if rs("isothernotify")=true then response.write"CHECKED"%> value="<%=rs("isothernotify")%>" name="isothernotify">
                <FONT 
                  class=f2>愿意收到感兴趣的其他公司新产品/服务的通知信</FONT> 
            </TD>
        </TR></TBODY></TABLE>
<TABLE width="100%" border=0 cellPadding=4 cellSpacing=0>
              <TBODY>
              <TR>
                
                <TD Align=center class="forumRow"><INPUT class=subbutton style="WIDTH: 160px" onclick="FormCheck()" type=button value=" 确定更新资料 " name=Post> 
        </TD></TR></TBODY></TABLE>
	  </td>
    </tr>
  </table>
</FORM>
<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>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<!--#include file="../copy.asp"-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -