
<SCRIPT LANGUAGE="JavaScript">
<!--
function check()
{
   if(checkspace(document.searchform.searchkey.value !='请输入关键字'))  {
	document.searchform.searchkey.focus();
	alert("请输入查讯关键字！");
	return false;
  }
  if(checkspace(document.searchform.searchkey.value))  {
	document.searchform.searchkey.focus();
	alert("请输入查讯关键字！");
	return false;
  }
   document.searchform.submit();
}
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}
//-->
</script>
<style>
td{font-size:9pt;line-height:120%;color:#353535} 
body{font-size:9pt;line-height:120%} 

a:link          { color: #000000; text-decoration: none }
a:visited       { color: #000000; text-decoration: none }
a:active        { color: #000000; text-decoration: none }
a:hover         { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
<script language="JavaScript">
function about()
{
window.showModalDialog("about.htm","","dialogWidth:420px;dialogHeight:240px;scroll:no;status:no;help:no");
}
</script>

<body bgcolor="#FFFFFF">
<div align="center">
    <table width="770" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td bgcolor="#336699"><img src="<%=weblogo%>" width="180" height="60" ></td>
      </tr>
    </table>
    <table cellspacing=0 cellpadding=0 width=770 background="images/index1.gif" border=0 height="102">
      <tr> 
        <td bgcolor="#efefef" align=center height="79"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td> 
                <div align="center"></div>
                <div align="center"><img src="<%=webbanner%>" height="120" width="770"></div>
                </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
    <%dim gg1,gg2,gg3,gg4,gg1url,gg2url,gg3url,gg4url
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_gg",conn,1,1
gg1=trim(rs("1601"))
gg1url=trim(rs("1601url"))
gg2=trim(rs("1602"))
gg2url=trim(rs("1602url"))
gg3=trim(rs("1603"))
gg3url=trim(rs("1603url"))
gg4=trim(rs("1604"))
gg4url=trim(rs("1604url"))
rs.close
set rs=nothing
%>
    <table cellspacing=1 cellpadding=2 width=770 background="images/index1.gif" border=0>
      <tr bgcolor="#336699"> 
        <td align=center width="8%" height="2"><font color=#333333><a href="index.asp">首页</a></font></td>
        <td align=center height="2" width="8%"><font color=#333333><a href="reg.asp" class="a2">注册</a></font><span style="font-size:12px"><font color=#333333></font></span></td>
        <td align=center height="2" width="8%"><span style="font-size:12px"><font color=#333333><a href="myuser.asp?action=savepass" class="a2">修改密码</a></font></span></td>
        <td align=center height="2" width="8%"><span style="font-size:12px"><font color=#333333><a href="myuser.asp?action=repass" class="a2">取回密码</a></font></span></td>
        <td align=center height="2" width="8%"><a href="myuser.asp?action=shoucang">收藏夹</a></td>
        <td align=center height="2" width="8%"><font color="#FFFFFF"><a href="newshop.asp" class="a1">新品上架</a></font></td>
        <td align=center height="2" width="8%"><font color="#FFFFFF"><a href="class.asp" class="a1">商品分类</a></font></td>
        <td align=center height="2" width="8%"><font color="#FFFFFF"><a href="bookorder.asp" class="a1">商品排行</a></font></td>
        <td align=center height="2" width="8%"><font color="#FFFFFF"><a href="tejia.asp" class="a1">特价商品</a></font></td>
        <td align=center height="2" width="8%"><font color="#FFFFFF"><a href="fk.asp" class="a1">留言本</a></font></td>
        <td align=center height="2" width="8%"><span style="font-size:12px"><a href="logout.asp" class="a2">注销</a></span><font color="#FFFFFF"><span style="font-size:12px"></span></font></td>
        <td align=center height="2" width="8%"><font color="#FFFFFF"><a href="javascript:about()" class="a1">关于系统</a></font></td>
      </tr>
    </table>
    <table cellspacing=0 cellpadding=0 width=770 background="images/index1.gif" border=0>
      <tr> 
        
      <td bgcolor="#C5D8EB" align=center height="25" ><span style="font-size:12px"></span> 
        <table width="97%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="56%"><span style="font-size:12px"><font color=#333333><font color="#FFFFFF"> 
              <script src="http://202.106.184.142/cgi-bin/time/gettime.pl"></script>
              </font></font><font color="#FF6600"><font color="#000000">欢迎你的到来 
              请使用域名: <%=weburl%> 访问本站</font> </font> <font color=#333333>&nbsp;&nbsp;</font> 
              <font color=#333333> <font color="#FFFFFF"> </font></font></span></td>
            <td width="44%"> 
              <table border="0" align="center" cellpadding="0" cellspacing="0" width="100%">
                <tr> 
                  <form name="searchform" method="post" action="research.asp" >
                    <td> 
                      <div align="center"> 
                        <select name="action"style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 80px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #336699" id="action">
                          <option value="1" selected>商品名称</option>
                          <option value="2">商品名称</option>
                          <option value="3">商品简介</option>
                          <option value="4">商品厂商</option>
                        </select>
                        <input name="searchkey" type="text" size="16" value="关键字" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 70px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 19px; BACKGROUND-COLOR: #336699"onFocus="this.value=''">
                        <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #336699" type="submit" name="Submit" value="立即查询" onClick="return check();" >
                        <input style="height:20; font:9pt; BORDER-BOTTOM: #cccccc 1px groove; BORDER-RIGHT: #cccccc 1px groove; BACKGROUND-COLOR: #336699" type="button" name="Submit2" value="高级查询" onClick="location.href='search.asp'">
                      </div>
                      <div align="center"></div>
                    </td>
                  </form>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
      </tr>
    </table>
  
</div>
