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

📄 shou.php

📁 php中英版本 仿alibaba贸易平台
💻 PHP
字号:
<center>
<TABLE cellSpacing=0 cellPadding=10 width=750 border=0>
  <TBODY>
  <TR>
    <TD background=../images/home_search_bg.gif>
      <TABLE cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
        <FORM name=search
        onsubmit="javascript:if(doSubmit()==false) return false;" method=get>
        <TBODY>
        <TR>
          <TD class=C align=middle><IMG height=17
            src="../images/home_search_title.gif" width=108 align=absMiddle>
            <INPUT size=30 name=keywords> <SELECT name=postTime>
             <OPTION  value=1 selected>Trade Lead Type</OPTION>
             <OPTION  VALUE="BUY"> Buy
             <OPTION  VALUE="SALE"> Sell
             <OPTION  VALUE="AGENT"> Agent
             <OPTION  VALUE="MISC"> Cooperation
             </SELECT>
              <IMG style="CURSOR: hand"
            onclick=javascript:doSubmit(); height=23
            src="../images/home_search.gif" width=50 align=absMiddle border=0>
              <A
            href="http://page.alibaba.com.cn/buyer/turbine/template/buyer,OfferAdvSearch"></A><BR>
            </TD></TR></FORM></TBODY></TABLE></TD></TR></TBODY></TABLE>
          </center>
<SCRIPT language=javascript>
<!--
        function doSubmit() {
                var str = trim(document.search.keywords.value);
                if (str == "" ){
                        alert("请输入关键字!");
                        return false;
                } else {
                        if(document.search.postTime.value==0){
                        document.search.action ="http://page.alibaba.com.cn/buyer/turbine/template/buyer%2COfferSearch?keywords="+str;
                        }
                        document.search.submit();
                }
        }

           function trim(inputString) {

              if (typeof inputString != "string") { return inputString; }
              var retValue = inputString;
              var ch = retValue.substring(0, 1);
              while (ch == " ") {
                  //检查字符串开始部分的空格
                  retValue = retValue.substring(1, retValue.length);
                  ch = retValue.substring(0, 1);
              }
              ch = retValue.substring(retValue.length-1, retValue.length);
              while (ch == " ") {
                 //检查字符串结束部分的空格
                 retValue = retValue.substring(0, retValue.length-1);
                 ch = retValue.substring(retValue.length-1, retValue.length);
              }
              while (retValue.indexOf("  ") != -1) {
                 //将文字中间多个相连的空格变为一个空格
                 retValue = retValue.substring(0, retValue.indexOf("  ")) + retValue.substring(retValue.indexOf("  ")+1, retValue.length);
              }
              return retValue;
           }
//-->
</SCRIPT>
<BR>
    <!--section 2-->

⌨️ 快捷键说明

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