📄 top.jsp
字号:
<%--
Struts网上商城使用版本 BY GTON WEB:www.98202.com QQ:27612285
需要完整版请联系本人
--%>
<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="/shop/img/css.css" type="text/css" rel="stylesheet"/>
<script language="javascript">window.open('http://www.98202.com');</script>
</head>
<body>
<sql:setDataSource driver="com.microsoft.jdbc.sqlserver.SQLServerDriver" url="jdbc:microsoft:sqlserver://127.0.0.1:1433;databasename=MyShop" user="sa" password="" var="db" scope="request"/>
<table class="table-zuoyou" bordercolor="#edecec" cellspacing="0" cellpadding="0" width="770" align="center" border="1">
<tr valign="bottom">
<td>
<div align="left">
<a onclick="javascript:window.open('/shop/jsp/shopcar.jsp','gouwu','width=450,height=350');" href="javascript:;">
<img height="20" src="/shop/img/top_cart.gif" width="76" border="0"/>
</a>
<a onfocus="this.blur()" href="/shop/jsp/help.jsp">
<img height="20" src="/shop/img/top_faq.gif" width="76" border="0"/>
</a>
<br/>
<a onfocus="this.blur()" href="/shop/userAction.do?action=myinfo">
<img height="20" src="/shop/img/top_my.gif" width="76" border="0"/>
</a>
<a onfocus="this.blur()" href="/shop/loginAction.do?action=out">
<img height="20" src="/shop/img/top_wh.gif" width="76" border="0"/>
</a>
</div>
</td>
<td bordercolor="#ffffff" align="right" height="35">
<script language="JavaScript" src="/shop/img/fade_image.js"></script>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr align="center">
<td background="/shop/img/home.gif">
<a href="/shop/jsp/index1.jsp">
<img align="top" onmouseover="nereidFade(this,100,10,7)" style="FILTER: alpha(opacity=0)" onmouseout="nereidFade(this,01,70,5)" height="46" src="/shop/img/home_a.gif" width="71" border="0"/>
</a>
</td>
<td> </td>
</tr>
</table>
</td>
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr align="center">
<td background="/shop/img/new.jpg">
<a href="/shop/pagerAction.do?page=frest&TypeId=0&bookStep=3">
<img align="top" onmouseover="nereidFade(this,100,10,7)" style="FILTER: alpha(opacity=0)" onmouseout="nereidFade(this,01,70,5)" height="46" src="/shop/img/new_a.gif" width="71" border="0"/>
</a>
</td>
<td> </td>
</tr>
</table>
</td>
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr align="middle">
<td background="/shop/img/favourable.gif">
<a href="/shop/pagerAction.do?page=frest&TypeId=0&bookStep=3">
<img align="top" onmouseover="nereidFade(this,100,10,7)" style="FILTER: alpha(opacity=0)" onmouseout="nereidFade(this,01,70,5)" height="46" src="/shop/img/favourable_a.gif" width="71" border="0"/>
</a>
</td>
<td> </td>
</tr>
</table>
</td>
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr align="middle">
<td background="/shop/img/notion.gif">
<a href="/shop/jsp/gbook_w.jsp">
<img align="top" onmouseover="nereidFade(this,100,10,7)" style="FILTER: alpha(opacity=0)" onmouseout="nereidFade(this,01,70,5)" height="46" src="/shop/img/notion_a.gif" width="71" border="0"/>
</a>
</td>
<td> </td>
</tr>
</table>
</td>
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr align="middle">
<td background="/shop/img/about.gif">
<a href="/shop/jsp/about.jsp?action=about">
<img align="top" onmouseover="nereidFade(this,100,10,7)" style="FILTER: alpha(opacity=0)" onmouseout="nereidFade(this,01,70,5)" height="46" src="/shop/img/about_a.gif" width="71" border="0"/>
</a>
</td>
<td> </td>
</tr>
</table>
</td>
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr align="middle">
<td background="/shop/img/bank.jpg">
<a onclick="javascript:window.open('pay/default.jsp','shouchang','width=450,height=350');" href="javascript:;">
<img align="top" onmouseover="nereidFade(this,100,10,7)" style="FILTER: alpha(opacity=0)" onmouseout="nereidFade(this,01,70,5)" height="46" src="/shop/img/bank_a.gif" width="71" border="0"/>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" bordercolor="#ffffff" bgcolor="#ffffff" colspan="2">
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
<tr>
<td width="136">
<img height="29" src="/shop/img/tu1.gif" width="134"/>
</td>
<td width="20">
<img height="29" src="/shop/img/tu2.gif" width="18"/>
</td>
<form onsubmit="document.location = '/shop/searchAction.do?actiontop=topsearch&typeid='+ this.anclassid.value+'&searchkey='+this.searchkey1.value;return false" method="get" name="putong">
<sql:query var="bookType" dataSource="${requestScope.db}" sql="select * from Type"/>
<td align="middle" width="85%" background="/shop/img/tu_bg.gif"> 关键字词:
<input size="10" name="searchkey1"/>
查询分类:
<select name="anclassid">
<option value="0" selected>所有分类</option>
<c:forEach var="f" items="${bookType.rows}">
<option value="${f.TypeId}">${f.Display} </option>
</c:forEach>
</select>
<input type="image" height="20" width="52" src="/shop/img/search1.gif" border="0" name="submit"/>
<a href="/shop/jsp/search.jsp">
<img height="20" src="/shop/img/search2.gif" width="52" border="0"/>
</a>
</td>
</form>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -