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

📄 add_vipinfo.asp

📁 全球商务网站系统介绍 GLOBALEC.COM.CN[生成HTML版] 系统概述: 软件名称:全球商务网站系统 当前版本:V1.0 最新版本:V1.1 运行环境:WINNT+(IIS)
💻 ASP
📖 第 1 页 / 共 2 页
字号:
                            <td width="15%" valign="top" height="22" class=forumRow>联 系 人:</td> 
                            <td width="34%" valign="top" height="22" class=forumRow> <input name="linkman" type="text" class="f11" value="空" size="25"> 
                              <font color="#CC3300"> *</font></td> 
                            <td width="16%" valign="top" height="22" class=forumRow>联系电话:</td> 
                            <td width="35%" valign="top" height="22" class=forumRow> <input name="phone" type="text" value="空" size="25" > 
                              <font color="#CC3300"> *</font></td> 
                          </tr> 
                          <tr> 
                            <td width="15%" valign="top" height="19" class=forumRow>公司名称:</td> 
                            <td width="34%" valign="top" height="19" class=forumRow> <input name="company" type="text" value="空" size="25"></td> 
                            <td width="16%" valign="top" height="19" class=forumRow>联系地址:</td> 
                            <td width="35%" valign="top" height="19" class=forumRow> <input name="address" type="text" value="空" size="25"> 
                              <font color="#CC3300"> *</font></td> 
                          </tr> 
                          <tr> 
                            <td width="15%" valign="top" height="22" class=forumRow>所在区域:</td> 
                            <td width="34%" valign="top" height="22" class=forumRow> <input name="country" type="text" value="未填" size="25"> 
                              <font color="#CC3300"> *</font></td> 
                            <td width="16%" valign="top" height="22" class=forumRow>所属城镇:</td> 
                            <td width="35%" valign="top" height="22" class=forumRow> <input name="city" type="text" value="空" size="25"> 
                              <font color="#CC3300"> *</font></td> 
                          </tr> 
                          <tr> 
                            <td width="15%" valign="top" height="19" class=forumRow>电子邮件:</td> 
                            <td width="34%" valign="top" height="19" class=forumRow> <input name="email" type="text" value="空" size="25"> 
                              <font color="#CC3300"> *</font></td> 
                            <td width="16%" valign="top" height="19" class=forumRow>邮政编码:</td> 
                            <td width="35%" valign="top" height="19" class=forumRow><input name="postcode" type="text" value="空" size="25"> 
                              <font color="#CC3300">&nbsp; </font></td> 
                          </tr> 
                          <tr> 
                            <td width="15%" valign="top" height="19" class=forumRow>公司传真:</td> 
                            <td width="34%" valign="top" height="19" class=forumRow> <input name="fax" type="text" value="空" size="25"></td> 
                            <td width="16%" valign="top" height="19" class=forumRow>公司网址:</td> 
                            <td width="35%" valign="top" height="19" class=forumRow> <input name="web" type="text" value="空" size="25" ></td> 
                          </tr> 
      </table></td>
	</tr>
	<tr>
      <td class="forumRow">
	  <TABLE width="100%" border=0 cellPadding=0 cellSpacing=0>
              <TBODY>
              <TR>
                <TD height="30" align=center noWrap><INPUT class=subbutton style="WIDTH: 160px" onclick=javascript:setSubjectText() 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("","");
</script>
<%
set rs1=nothing
conn.close
set conn=nothing
%>
<!--#include file="../copy.asp" -->

⌨️ 快捷键说明

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