📄 index.jsp
字号:
<%@page contentType="text/html"%>
<%@page pageEncoding="gb2312"%>
<%@ page import="com.iss.dataBase.SQLParser" %>
<%@ page import="java.sql.*" %>
<%
String check=(String) session.getAttribute("check");
if(check==null)
session.setAttribute("check","0");
session.setAttribute("sql","have");
%>
<html>
<head>
<title>999</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.STYLE1 {
font-size: 36px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}
.STYLE5 {
font-size: 18px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.STYLE6 {font-family: Verdana, Arial, Helvetica, sans-serif}
.STYLE8 {font-size: 18px; font-family: Geneva, Arial, Helvetica, sans-serif; }
.STYLE9 {font-size: 18px}
.STYLE10 {
font-size: 16px;
font-family: "Courier New", Courier, monospace;
}
.STYLE11 {font-family: "Courier New", Courier, monospace}
.STYLE12 {
font-size: 16px;
font-weight: bold;
}
.STYLE14 {
font-size: 14px;
font-family: Arial, Helvetica, sans-serif;
}
.STYLE15 {
font-size: 16px;
font-family: Arial, Helvetica, sans-serif;
}
-->
</style>
</head>
<jsp:useBean id="shopcart" class="com.iss.bean.ShopCart" scope="session" />
<%
Statement stmt=SQLParser.getInstance().getStmt();
String sql="select * from book";
ResultSet rs=stmt.executeQuery(sql);
%>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (999.jpg) -->
<table id="Table_01" width="1201" height="1697" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="11">
<img src="images/999_01.gif" width="1200" height="13" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="13" alt=""></td>
</tr>
<tr>
<td colspan="6" align="center" valign="middle">
<span class="STYLE1">E-BOOKSTORE</span></td>
<td colspan="5">
<img src="images/999_03.gif" width="600" height="56" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="56" alt=""></td>
</tr>
<tr>
<td colspan="5">
<img src="images/999_04.gif" width="470" height="19" alt=""></td>
<td colspan="5" rowspan="3" background="images/999_05.gif" width="601" height="69">
<table width="601" height="40" border="0">
<tr height="39">
<td width="120" align="center" valign="middle" background="images/771.gif"><a href="index.jsp" style="text-decoration: none" class="STYLE5">首页</a></td>
<td width="120" align="center" valign="middle" background="images/771.gif"><a href="comment.jsp" style="text-decoration: none" class="STYLE5">点评空间</a></td>
<td width="120" align="center" valign="middle" background="images/771.gif"><a href="shopcart.jsp" style="text-decoration: none" class="STYLE5">购物车</a></td>
<td width="120" align="center" valign="middle" background="images/771.gif"><a href="managerLogin.html" style="text-decoration: none" class="STYLE5">管理员登陆</a></td>
<td width="120" align="center" valign="middle" background="images/771.gif"><a href="bangzhu.html" style="text-decoration: none" class="STYLE5">帮助中心</a></td>
</tr>
</table> </td>
<td rowspan="3">
<img src="images/999_06.gif" width="129" height="69" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="19" alt=""></td>
</tr>
<tr>
<td rowspan="2">
<img src="images/999_07.gif" width="95" height="50" alt=""></td>
<td width="246" height="33" colspan="2" align="center" valign="middle" background="images/999_08.gif">
<span class="STYLE5">WELCOME TO ISS</span></td>
<td colspan="2" rowspan="2">
<img src="images/999_09.gif" width="129" height="50" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="33" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img src="images/999_10.gif" width="246" height="17" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="17" alt=""></td>
</tr>
<tr>
<td background="images/999_08.gif" colspan="3" width="341" height="34"> </td>
<td width="259" height="34" colspan="3" align="right" valign="middle" background="images/999_08.gif"><span class="STYLE14">您好,欢迎光临博库书城网购买图书.</span> </td>
<td background="images/999_08.gif" colspan="4" width="471" height="34"> <span class="STYLE14">个人购书、书店批发、单位团购三位一体的综合电子商务平台. </span></td>
<td background="images/999_08.gif" width="129" height="34"> </td>
<td>
<img src="images/spacer.gif" width="1" height="34" alt=""></td>
</tr>
<tr>
<td colspan="2" rowspan="3" width="231" height="234">
<form action='login.do' method='get'>
<table width="230" height="230">
<tr height="60"><td width="20%" align="right" valign="middle"><span class="STYLE8">ID:</span></td>
<td width="80%"><input type="text" name="username" size="20"></td></tr>
<tr height="70"><td width="20%" align="right" valign="middle"><span class="STYLE8">PW:</span></td>
<td width="80%"><input type="password" name="password" size="20"></td></tr>
<tr height="100"><td colspan="2" align="center" valign="middle">
<input name="submit" type='submit' value="submit" size="15"><br>
Attach here <a href="register.html">register</a> to Regieter.</td>
</tr>
</table>
</form>
</td>
<td width="840" height="45" colspan="8" align="center" valign="middle" background="images/999_16.gif">
<span class="STYLE6">
<form action='showSelectBooks.jsp' method='get'>
<input type=text name='target' vaule='search' size="25" height="20">
by
<select name='method1' >
<option selected value='title'>title</option>
<option value='publisher'>publisher</option>
<option value='author'>author</option>
</select>
<input type=submit name=submit value="submit"></form>
</span></td>
<td>
<img src="images/999_17.gif" width="129" height="45" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="45" alt=""></td>
</tr>
<tr>
<td width="840" height="35" colspan="8" align="center" valign="middle" background="images/999_08.gif" alt=""><span class="STYLE15">春风又绿 谊比天长 ISS万卷书册任你阅 </span></td>
<td rowspan="3">
<img src="images/999_19.gif" width="129" height="372" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="35" alt=""></td>
</tr>
<tr>
<td background="images/08.gif" colspan="6" rowspan="2" width="560" height="337"> </td>
<td background="images/999_22.gif" colspan="2" rowspan="2" width="280" height="337">
<table width="280" height="337">
<tr height="37"><td align="center" valign="middle"><span class="STYLE9">关于我们:</span></td>
</tr>
<tr height="300"><td>
<span class="STYLE12">我们是一个平等的团队</span><br>
<br>
在这里,我们没有老板和员工的分别<br>
有的只是不同位置不同的责任<br><br>
<span class="STYLE12">我们是一个快乐的团队</span><br>
<br>
我们会一起工作、游戏和娱乐<br>
我们会一起努力、进步和探讨<br><br>
<span class="STYLE12">我们是一个强大的团队</span><br>
<br>
因为我们知道<br>
ISS的每一步<br>
都凝聚了所有人的汗水和努力<br>
</td></tr>
</table> </td>
<td>
<img src="images/spacer.gif" width="1" height="154" alt=""></td>
</tr>
<tr>
<td background="images/999_22.gif" colspan="2" rowspan="3" width="231" height="333">
<table width="230" height="330">
<tr height="25"><td background="images/999_08.gif"> </td></tr>
<tr height="45"><td align="center" valign="middle"><span class="STYLE9">图书分类:</span></td>
</tr>
<tr height="30"><td> 动漫 艺术 传记 历史</td></tr>
<tr height="30"><td>文化 哲学 宗教 法律</td></tr>
<tr height="30"><td>古籍 经济 管理 孕产妇</td></tr>
<tr height="30"><td> 家庭教育 少儿 个人理财 炒股</td></tr>
<tr height="30"><td>求职 瑜伽 保健 旅游</td></tr>
<tr height="30"><td>地图 体育 游戏 美食</td></tr>
<tr height="30"><td>收藏 美丽装扮 装潢 家居</td></tr>
</table> </td>
<td>
<img src="images/spacer.gif" width="1" height="183" alt=""></td>
</tr>
<tr>
<td width="840" height="42" colspan="8" valign="middle" background="images/999_08.gif">
<span class="STYLE11"> 新书热书</span></td>
<td>
<td>
<img src="images/999_24.gif" width="129" height="42" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="42" alt=""></td>
</tr>
<tr>
<td colspan="2" rowspan="2" width="216" height="258">
<form action="showdetail.jsp" method="post">
<table width="216" height="258" >
<% rs.next(); %>
<tr height="180"><td width="216"><div align="center"><img src="<% out.print(rs.getString("path")); %>"></div></td>
</tr>
<tr 35><td align="center" valign="middle" >TITLE:<%out.print(rs.getString("title")); %><br>
¥<%out.print(rs.getDouble("price")); %> <input type="hidden" name="ISBN" value="<%out.print(rs.getString("ISBN")); %>"><input type=submit value="detail"></td></tr>
</table></form> </td>
<td colspan="3" rowspan="2" width="225" height="258">
<form action="showdetail.jsp" method="post">
<table width="225" height="258">
<% rs.next(); %>
<tr height="180"><td width="225"><div align="center"><img src="<% out.print(rs.getString("path")); %>"></div></td>
</tr>
<tr><td align="center" valign="middle">TITLE:<%out.print(rs.getString("title")); %><br>
¥<%out.print(rs.getDouble("price")); %> <input type="hidden" name="ISBN" value="<%out.print(rs.getString("ISBN")); %>"><input type=submit value="detail"></td></tr>
</table></form> </td>
<td colspan="2" rowspan="2" width="206" height="258">
<form action="showdetail.jsp" method="post">
<table width="206" height="258">
<% rs.next(); %>
<tr height="180"><td width="206"><div align="center"><img src="<% out.print(rs.getString("path")); %>"></div></td>
</tr>
<tr><td>TITLE:<%out.print(rs.getString("title")); %><br>
¥<%out.print(rs.getDouble("price")); %> <input type="hidden" name="ISBN" value="<%out.print(rs.getString("ISBN")); %>"><input type=submit value="detail"></td></tr>
</table></form> </td>
<td rowspan="2" width="193" height="258">
<form action="showdetail.jsp" method="post">
<table width="193" height="258">
<% rs.next(); %>
<tr height="180"><td width="193"><div align="center"><img src="<% out.print(rs.getString("path")); %>"></div></td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -