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

📄 webtop.asp

📁 超市管理系统数据库脚本和数据库备份超市管理系统数据库脚本和数据库备份
💻 ASP
字号:
<link href="webedit.css" rel="stylesheet" type="text/css">
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="mt_style.css" type=text/css rel=stylesheet>
<META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
<BODY leftMargin=0 topMargin=0 onload=init();>
<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>
<table width="780" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td background="images/bj.gif">
<table cellspacing=0 cellpadding=0 width=748 border=0 align="center">
          <tr> 
            
          <td align=center height="25" bgcolor="efefef" background="images/bjtop.gif" valign="middle" ><span style="font-size:12px"></span> 
            <table width="97%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  
                <td width="57%"><span style="font-size:12px"><font color=#333333><font color="#FF0000"> 
                  <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="43%"> 
                  <table border="0" align="center" cellpadding="0" cellspacing="0" width="100%">
                      <tr> 
                        <form name="searchform" method="post" action="research.asp" >
                          
                        <td valign="middle"> 
                          <div align="right">
                            <select name="action"style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px  BORDER-LEFT: #ffffff 1px groove; WIDTH: 80px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff" id="action">
                              <option value="1" selected>图片名称</option>
                              <option value="2">类别</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: 18px; BACKGROUND-COLOR: #ffffff"onFocus="this.value=''">
                            &nbsp; 
                            <input type="image" border="0" name="submit" src="images/ljcx.gif" width="54" height="18">
                            &nbsp;<a href="search.asp"><img src="images/gjcx.gif" width="54" height="18" border="0"></a></div>
                        </td>
                        </form>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            
          </td>
          </tr>
        </table>
        <table width="748" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr> 
            <td width="196" height="86"> 
              <div align="center"><a href="http://www.fjshop.com" target="_blank"">
                <img src="<%=weblogo%>" width="180" height="60" border="0"></a></div>
            </td>
            <td width="438" height="86"><img src="<%=webbanner%>" height="60" width="468"></td>
            <td width="114" height="86">
            <table width="91%" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr> 
                  <td height="20"> 
                    
                  <div align="center"><img src="images/jian.gif" width="9" height="9">&nbsp;<a href="#" onClick="this.style.behavior='url(#default#homepage)';this.sethomepage('HTTP://<%=weburl%>');return false;">设为首页</a></div>
                  </td>
                </tr>
                <tr> 
                  <td height="20"> 
                    <div align="center"><img src="images/jian.gif" width="9" height="9">&nbsp;<a href="#" onClick="window.external.AddFavorite('http://<%=weburl%>','<%=webname%>');return false">加入收藏</a></div>
                  </td>
                </tr>
                
              </table>
            </td>
          </tr>
        </table>
<tr> 
<td background="images/bj.gif" bgcolor="#CCCCCC" > 
<table width="720" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>      
          <td height="23" bgcolor="#CCCCCC"> <a href="index.asp"><font color=red>首页</font></a> <A href="class.asp"><font color=red>最新图片</font></a> <A href="class.asp"><A href="fk.asp"><font color=red>意见反馈</font></a><BR><BR><%
		  '//大类查讯
		  'dim ii,jj
		  'ii=1
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select anclass,anclassid from shop_anclass",conn,1,1
		  'jj=rs.recordcount
		  do while not rs.eof
		  response.write "<A href=javascript:turnX('r"&rs("anclassid")&"')>"&trim(rs("anclass"))&"</A> | "
		  'if ii=jj then
			'response.Write "<br>"
			'end if
		  rs.movenext
		  loop
		  rs.close
		  set rs=nothing
		  response.write "<BR>"
		  '二次查讯大类
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select anclass,anclassid from shop_anclass",conn,1,1
		  do while not rs.eof
		   response.write "<DIV id=r"&rs("anclassid")&" style='DISPLAY: none'>&nbsp;&nbsp;&nbsp;<font color=red>"&trim(rs("anclass"))&"</font>&nbsp;&nbsp;"
			'//查讯小类
			dim rs2
			set rs2=server.CreateObject("adodb.recordset")
			rs2.open "select nclass,nclassid from shop_nclass where anclassid="&rs("anclassid")&" order by nclassidorder",conn,1,1
			do while not rs2.eof
			response.write "<A href=class.asp?aid="&rs("anclassid")&"&nid="&rs2("nclassid")&">"&trim(rs2("nclass"))&"</A> | " 
             rs2.movenext
			 loop
			 rs2.close
			 set rs2=nothing
			 response.write "</DIV><DIV id=r0101 style='DISPLAY: none'></DIV>"
			rs.movenext
			'ii=ii+1
			loop
				rs.close
				set rs=nothing%>
            <div id=currentLocation></div>
                  </td>
                </tr>
              </table>
            
    </td>
  </tr>
</table>
<SCRIPT language=JavaScript>
	var currentCategory =new String("");
	
	//方法turnX的参数说明:
	//cate:当前分类的分类号
	function turnX(cate)
	{
		document.all("currentLocation").style.display="none";
		if(currentCategory != "")
		{
			document.all(currentCategory).style.display="none";
		}
		currentCategory = cate;
		document.all(currentCategory).style.display="";
		return;
	}
</SCRIPT>

⌨️ 快捷键说明

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