parent
8eb9301716
commit
f8357cfc1b
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="con" path="melibrary.com.genuitec.eclipse.j2eedt.core.MYECLIPSE_JAVAEE_5_CONTAINER"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
|
||||
<classpathentry kind="output" path="WebRoot/WEB-INF/classes"/>
|
||||
</classpath>
|
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-module
|
||||
type="WEB"
|
||||
name="goods"
|
||||
id="myeclipse.1393226796645"
|
||||
context-root="/goods"
|
||||
j2ee-spec="5.0"
|
||||
archive="goods.war">
|
||||
<attributes>
|
||||
<attribute name="webrootdir" value="WebRoot" />
|
||||
</attributes>
|
||||
</project-module>
|
||||
|
@ -1,58 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>goods</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.common.project.facet.core.builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
|
||||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
|
||||
<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
|
||||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="WebRoot"/>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
|
||||
<attributes>
|
||||
<attribute name="hide" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
|
||||
<classpathentry kind="output" path=""/>
|
||||
</classpath>
|
@ -1,4 +0,0 @@
|
||||
#Tue Feb 25 08:50:43 CST 2014
|
||||
eclipse.preferences.version=1
|
||||
validator.Checked=WebRoot
|
||||
validator.Unchecked=
|
@ -1,8 +0,0 @@
|
||||
#Mon Feb 24 15:26:36 CST 2014
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
|
||||
org.eclipse.jdt.core.compiler.compliance=1.5
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.5
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-modules id="moduleCoreId" project-version="1.5.0">
|
||||
<wb-module deploy-name="goods">
|
||||
<wb-resource deploy-path="/" source-path="/WebRoot"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
|
||||
<property name="context-root" value="/goods"/>
|
||||
<property name="java-output-path" value="/goods/WebRoot/WEB-INF/classes"/>
|
||||
</wb-module>
|
||||
</project-modules>
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<fixed facet="wst.jsdt.web"/>
|
||||
<installed facet="java" version="1.5"/>
|
||||
<installed facet="jst.web" version="2.5"/>
|
||||
<installed facet="wst.jsdt.web" version="1.0"/>
|
||||
</faceted-project>
|
@ -1 +0,0 @@
|
||||
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
|
@ -1 +0,0 @@
|
||||
Window
|
@ -1,3 +0,0 @@
|
||||
Manifest-Version: 1.0
|
||||
Class-Path:
|
||||
|
@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<c3p0-config>
|
||||
<default-config>
|
||||
<property name="jdbcUrl">
|
||||
<![CDATA[
|
||||
jdbc:mysql://localhost:3306/goods?useUnicode=true&characterEncoding=UTF8&useServerPrepStmts=true&prepStmtCacheSqlLimit=256&cachePrepStmts=true&prepStmtCacheSize=256&rewriteBatchedStatements=true
|
||||
]]>
|
||||
</property>
|
||||
<property name="driverClass">com.mysql.jdbc.Driver</property>
|
||||
<property name="user">root</property>
|
||||
<property name="password">123</property>
|
||||
|
||||
<property name="acquireIncrement">3</property>
|
||||
<property name="initialPoolSize">10</property>
|
||||
<property name="minPoolSize">2</property>
|
||||
<property name="maxPoolSize">10</property>
|
||||
</default-config>
|
||||
</c3p0-config>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,6 +0,0 @@
|
||||
subject=\u6765\u81EA\u4F20\u667A\u64AD\u5BA2\u7F51\u4E0A\u4E66\u57CE\u7684\u6FC0\u6D3B\u90AE\u4EF6
|
||||
content=\u606D\u559C\uFF0C\u60A8\u5DF2\u6CE8\u518C\u6210\u529F\uFF0C\u8BF7\u70B9\u51FB<a href\="http\://localhost\:8080/goods/UserServlet?method\=activation&activationCode\={0}">\u8FD9\u91CC</a>\u5B8C\u6210\u6FC0\u6D3B\u3002
|
||||
from=itcast_cxf@163.com
|
||||
host=smtp.163.com
|
||||
username=itcast_cxf
|
||||
password=itcastitcast
|
@ -1,3 +0,0 @@
|
||||
p1_MerId=10001126856
|
||||
keyValue=69cl522AV6q613Ii4W6u8K6XuW8vM1N6bFgyv769220IuYe9u37N4y7rI4Pl
|
||||
p8_Url=http\://localhost\:8080/goods/OrderServlet?method\=back
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,130 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
|
||||
<filter>
|
||||
<filter-name>EncodingFilter</filter-name>
|
||||
<filter-class>cn.itcast.filter.EncodingFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>EncodingFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<servlet>
|
||||
<servlet-name>UserServlet</servlet-name>
|
||||
<servlet-class>cn.itcast.goods.user.web.servlet.UserServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>UserServlet</servlet-name>
|
||||
<url-pattern>/UserServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet>
|
||||
<servlet-name>VerifyCodeServlet</servlet-name>
|
||||
<servlet-class>cn.itcast.vcode.servlet.VerifyCodeServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>CategoryServlet</servlet-name>
|
||||
<servlet-class>cn.itcast.goods.category.web.servlet.CategoryServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>BookServlet</servlet-name>
|
||||
<servlet-class>cn.itcast.goods.book.web.servlet.BookServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>CartItemServlet</servlet-name>
|
||||
<servlet-class>cn.itcast.goods.cart.web.servlet.CartItemServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>OrderServlet</servlet-name>
|
||||
<servlet-class>cn.itcast.goods.order.web.servlet.OrderServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>AdminServlet</servlet-name>
|
||||
<servlet-class>cn.itcast.goods.admin.admin.web.servlet.AdminServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>AdminCategoryServlet</servlet-name>
|
||||
<servlet-class>cn.itcast.goods.admin.category.web.servlet.AdminCategoryServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>AdminBookServlet</servlet-name>
|
||||
<servlet-class>cn.itcast.goods.admin.book.web.servlet.AdminBookServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>AdminAddBookServlet</servlet-name>
|
||||
<servlet-class>cn.itcast.goods.admin.book.web.servlet.AdminAddBookServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>AdminOrderServlet</servlet-name>
|
||||
<servlet-class>cn.itcast.goods.admin.web.servlet.AdminOrderServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>VerifyCodeServlet</servlet-name>
|
||||
<url-pattern>/VerifyCodeServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>CategoryServlet</servlet-name>
|
||||
<url-pattern>/CategoryServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>BookServlet</servlet-name>
|
||||
<url-pattern>/BookServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>CartItemServlet</servlet-name>
|
||||
<url-pattern>/CartItemServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>OrderServlet</servlet-name>
|
||||
<url-pattern>/OrderServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>AdminServlet</servlet-name>
|
||||
<url-pattern>/AdminServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>AdminCategoryServlet</servlet-name>
|
||||
<url-pattern>/admin/AdminCategoryServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>AdminBookServlet</servlet-name>
|
||||
<url-pattern>/admin/AdminBookServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>AdminAddBookServlet</servlet-name>
|
||||
<url-pattern>/admin/AdminAddBookServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>AdminOrderServlet</servlet-name>
|
||||
<url-pattern>/admin/AdminOrderServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
<filter>
|
||||
<display-name>LoginFilter</display-name>
|
||||
<filter-name>LoginFilter</filter-name>
|
||||
<filter-class>cn.itcast.goods.web.filter.LoginFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>LoginFilter</filter-name>
|
||||
<url-pattern>/jsps/cart/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter-mapping>
|
||||
<filter-name>LoginFilter</filter-name>
|
||||
<servlet-name>CartItemServlet</servlet-name>
|
||||
</filter-mapping>
|
||||
<filter-mapping>
|
||||
<filter-name>LoginFilter</filter-name>
|
||||
<url-pattern>/jsps/order/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter-mapping>
|
||||
<filter-name>LoginFilter</filter-name>
|
||||
<servlet-name>OrderServlet</servlet-name>
|
||||
</filter-mapping>
|
||||
<filter>
|
||||
<display-name>AdminLoginFilter</display-name>
|
||||
<filter-name>AdminLoginFilter</filter-name>
|
||||
<filter-class>cn.itcast.goods.admin.web.filter.AdminLoginFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>AdminLoginFilter</filter-name>
|
||||
<url-pattern>/adminjsps/admin/*</url-pattern>
|
||||
<url-pattern>/admin/*</url-pattern>
|
||||
</filter-mapping>
|
||||
</web-app>
|
@ -1,23 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>body.jsp</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
|
||||
</head>
|
||||
|
||||
<body style="margin: 0px;">
|
||||
<img src="<c:url value='/images/welcome.jpg'/>" width="100%" height="100%"/>
|
||||
</body>
|
||||
</html>
|
@ -1,28 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>My JSP 'body.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1 align="center">图书管理</h1>
|
||||
<p align="center">
|
||||
<a href="<c:url value='/admin/AdminBookServlet?method=addPre'/>" style="margin: 20px; font-size: 20px;">添加图书</a>
|
||||
<a href="<c:url value='/adminjsps/admin/book/gj.jsp'/>" style="margin: 20px; font-size: 20px;">高级搜索</a>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
@ -1,52 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>boo_gj.jsp</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
<style type="text/css">
|
||||
table {
|
||||
color: #404040;
|
||||
font-size: 10pt;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form action="<c:url value='/admin/AdminBookServlet'/>" method="get">
|
||||
<input type="hidden" name="method" value="findByCombination"/>
|
||||
<table align="center">
|
||||
<tr>
|
||||
<td>书名:</td>
|
||||
<td><input type="text" name="bname"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>作者:</td>
|
||||
<td><input type="text" name="author"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>出版社:</td>
|
||||
<td><input type="text" name="press"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<input type="submit" value="搜 索"/>
|
||||
<input type="reset" value="重新填写"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
@ -1,73 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>图书分类</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="<c:url value='/adminjsps/admin/css/book/list.css'/>">
|
||||
<script type="text/javascript" src="<c:url value='/jquery/jquery-1.5.1.js'/>"></script>
|
||||
<link rel="stylesheet" type="text/css" href="<c:url value='/jsps/pager/pager.css'/>" />
|
||||
<script type="text/javascript" src="<c:url value='/jsps/pager/pager.js'/>"></script>
|
||||
|
||||
<script type="text/javascript" src="<c:url value='/adminjsps/admin/js/book/list.js'/>"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="divBook">
|
||||
<ul>
|
||||
|
||||
|
||||
<c:forEach items="${pb.beanList }" var="book">
|
||||
<li>
|
||||
<div class="inner">
|
||||
<a class="pic" href="<c:url value='/admin/AdminBookServlet?method=load&bid=${book.bid }'/>"><img src="<c:url value='/${book.image_b }'/>" border="0"/></a>
|
||||
<p class="price" >
|
||||
<span class="price_n">¥${book.currPrice }</span>
|
||||
<span class="price_r">¥${book.price }</span>
|
||||
(<span class="price_s">${book.discount }折</span>)
|
||||
</p>
|
||||
<c:url value="/admin/AdminBookServlet" var="authorUrl">
|
||||
<c:param name="method" value="findByAuthor"/>
|
||||
<c:param name="author" value="${book.author }"/>
|
||||
</c:url>
|
||||
<c:url value="/admin/AdminBookServlet" var="pressUrl">
|
||||
<c:param name="method" value="findByPress"/>
|
||||
<c:param name="press" value="${book.press }"/>
|
||||
</c:url>
|
||||
<p><a id="bookname" title="${book.bname }" href="<c:url value='/admin/AdminBookServlet?method=load&bid=${book.bid }'/>">${book.bname }</a></p>
|
||||
<p><a href="${authorUrl }" name='P_zz' title='${book.author }'>${book.author }</a></p>
|
||||
<p class="publishing">
|
||||
<span>出版社:</span><a href="${pressUrl }">${book.press }</a>
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
</c:forEach>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div style="float:left; width: 100%; text-align: center;">
|
||||
<hr/>
|
||||
<br/>
|
||||
<%@include file="/jsps/pager/pager.jsp" %>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@ -1,33 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>book_main.jsp</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
<link rel="stylesheet" type="text/css" href="<c:url value='/adminjsps/admin/css/book/main.css'/>">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table class="table" align="center" width="100%" height="100%" border="0">
|
||||
<tr style="height: 120px; ">
|
||||
<td align="center" width="200px;">
|
||||
<iframe frameborder="0" src="<c:url value='/admin/AdminBookServlet?method=findCategoryAll'/>" name="left"></iframe>
|
||||
</td>
|
||||
<td>
|
||||
<iframe frameborder="0" src="<c:url value='/adminjsps/admin/book/body.jsp'/>" name="body"></iframe>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -1,48 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>添加分类</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
<script type="text/javascript" src="<c:url value='/jquery/jquery-1.5.1.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
function checkForm() {
|
||||
if(!$("#cname").val()) {
|
||||
alert("分类名不能为空!");
|
||||
return false;
|
||||
}
|
||||
if(!$("#desc").val()) {
|
||||
alert("分类描述不能为空!");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<style type="text/css">
|
||||
body {background: rgb(254,238,189);}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h3>添加1级分类</h3>
|
||||
<h1></h1>
|
||||
<p style="font-weight: 900; color: red">${msg }</p>
|
||||
<form action="<c:url value='/admin/AdminCategoryServlet'/>" method="post" onsubmit="return checkForm()">
|
||||
<input type="hidden" name="method" value="addParent"/>
|
||||
分类名称:<input type="text" name="cname" id="cname"/><br/>
|
||||
分类描述:<textarea rows="5" cols="50" name="desc" id="desc"></textarea><br/>
|
||||
<input type="submit" value="添加一级分类"/>
|
||||
<input type="button" value="返回" onclick="history.go(-1)"/>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
@ -1,58 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>添加分类</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
<script type="text/javascript" src="<c:url value='/jquery/jquery-1.5.1.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
function checkForm() {
|
||||
if(!$("#cname").val()) {
|
||||
alert("分类名不能为空!");
|
||||
return false;
|
||||
}
|
||||
if(!$("#pid").val()) {
|
||||
alert("一级分类不能为空!");
|
||||
return false;
|
||||
}
|
||||
if(!$("#desc").val()) {
|
||||
alert("分类描述不能为空!");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<style type="text/css">
|
||||
body {background: rgb(254,238,189);}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h3>添加2级分类</h3>
|
||||
<h1></h1>
|
||||
<p style="font-weight: 900; color: red">${msg }</p>
|
||||
<form action="<c:url value='/admin/AdminCategoryServlet'/>" method="post" onsubmit="return checkForm()">
|
||||
<input type="hidden" name="method" value='addChild'/>
|
||||
分类名称:<input type="text" name="cname" id="cname"/><br/>
|
||||
一级分类:<select name="pid" id="pid">
|
||||
<option value="">===选择1级分类===</option>
|
||||
<c:forEach items="${parents }" var="parent">
|
||||
<option value="${parent.cid }" <c:if test="${parent.cid eq pid }">selected="selected"</c:if> >${parent.cname }</option>
|
||||
</c:forEach>
|
||||
</select><br/>
|
||||
分类描述:<textarea rows="5" cols="50" name="desc" id="desc"></textarea><br/>
|
||||
<input type="submit" value="添加二级分类"/>
|
||||
<input type="button" value="返回" onclick="history.go(-1)"/>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
@ -1,49 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>添加分类</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
<script type="text/javascript" src="<c:url value='/jquery/jquery-1.5.1.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
function checkForm() {
|
||||
if(!$("#cname").val()) {
|
||||
alert("分类名不能为空!");
|
||||
return false;
|
||||
}
|
||||
if(!$("#desc").val()) {
|
||||
alert("分类描述不能为空!");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<style type="text/css">
|
||||
body {background: rgb(254,238,189);}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h3>修改1级分类</h3>
|
||||
<h1></h1>
|
||||
<p style="font-weight: 900; color: red">${msg }</p>
|
||||
<form action="<c:url value='/admin/AdminCategoryServlet'/>" method="post" onsubmit="return checkForm()">
|
||||
<input type="hidden" name="cid" value="${parent.cid }"/>
|
||||
<input type="hidden" name="method" value="editParent"/>
|
||||
分类名称:<input type="text" name="cname" id="cname" value="${parent.cname }"/><br/>
|
||||
分类描述:<textarea rows="5" cols="50" id="desc" name="desc">${parent.desc }</textarea><br/>
|
||||
<input type="submit" value="修改分类"/>
|
||||
<input type="button" value="返回" onclick="history.go(-1)"/>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
@ -1,59 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>修改分类</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
<script type="text/javascript" src="<c:url value='/jquery/jquery-1.5.1.js'/>"></script>
|
||||
<script type="text/javascript">
|
||||
function checkForm() {
|
||||
if(!$("#cname").val()) {
|
||||
alert("分类名不能为空!");
|
||||
return false;
|
||||
}
|
||||
if(!$("#pid").val()) {
|
||||
alert("一级分类不能为空!");
|
||||
return false;
|
||||
}
|
||||
if(!$("#desc").val()) {
|
||||
alert("分类描述不能为空!");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<style type="text/css">
|
||||
body {background: rgb(254,238,189);}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h3>修改2级分类</h3>
|
||||
<h1></h1>
|
||||
<p style="font-weight: 900; color: red">${msg }</p>
|
||||
<form action="<c:url value='/admin/AdminCategoryServlet'/>" method="post" onsubmit="return checkForm()">
|
||||
<input type="hidden" name="method" value="editChild"/>
|
||||
<input type="hidden" name="cid" value="${child.cid }"/>
|
||||
分类名称:<input type="text" name="cname" value="${child.cname }" id="cname"/><br/>
|
||||
一级分类:<select name="pid" id="pid">
|
||||
<option value="">===选择1级分类===</option>
|
||||
<c:forEach items="${parents }" var="parent">
|
||||
<option value="${parent.cid }" <c:if test="${parent.cid eq child.parent.cid }">selected="selected"</c:if> >${parent.cname }</option>
|
||||
</c:forEach>
|
||||
</select><br/>
|
||||
分类描述:<textarea rows="5" cols="50" name="desc" id="desc">${child.desc }</textarea><br/>
|
||||
<input type="submit" value="修改二级分类"/>
|
||||
<input type="button" value="返回" onclick="history.go(-1)"/>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
@ -1,58 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>分类列表</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
<link rel="stylesheet" type="text/css" href="<c:url value='/adminjsps/admin/css/category/list.css'/>">
|
||||
<link rel="stylesheet" type="text/css" href="<c:url value='/css/css.css'/>">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h2 style="text-align: center;">分类列表</h2>
|
||||
<table align="center" border="1" cellpadding="0" cellspacing="0">
|
||||
<caption class="captionAddOneLevel">
|
||||
<a href="<c:url value='/adminjsps/admin/category/add.jsp'/>">添加一级分类</a>
|
||||
</caption>
|
||||
<tr class="trTitle">
|
||||
<th>分类名称</th>
|
||||
<th>描述</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
|
||||
<c:forEach items="${parents }" var="parent">
|
||||
<tr class="trOneLevel">
|
||||
<td width="200px;">${parent.cname }</td>
|
||||
<td>${parent.desc }</td>
|
||||
<td width="200px;">
|
||||
<a href="<c:url value='/admin/AdminCategoryServlet?method=addChildPre&pid=${parent.cid }'/>">添加二级分类</a>
|
||||
<a href="<c:url value='/admin/AdminCategoryServlet?method=editParentPre&cid=${parent.cid }'/>">修改</a>
|
||||
<a onclick="return confirm('您是否真要删除该一级分类?')" href="<c:url value='/admin/AdminCategoryServlet?method=deleteParent&cid=${parent.cid }'/>">删除</a>
|
||||
</td>
|
||||
</tr>
|
||||
<c:forEach items="${parent.children }" var="child">
|
||||
<tr class="trTwoLevel">
|
||||
<td>${child.cname }</td>
|
||||
<td>${child.desc }</td>
|
||||
<td width="200px;" align="right">
|
||||
<a href="<c:url value='/admin/AdminCategoryServlet?method=editChildPre&cid=${child.cid }'/>">修改</a>
|
||||
<a onclick="return confirm('您是否真要删除该二级分类?')" href="<c:url value='/admin/AdminCategoryServlet?method=deleteChild&cid=${child.cid }'/>">删除</a>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</c:forEach>
|
||||
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -1,53 +0,0 @@
|
||||
body {
|
||||
font-size: 10pt;
|
||||
color: #404040;
|
||||
font-family: SimSun;
|
||||
}
|
||||
|
||||
table {
|
||||
font-size: 10pt;
|
||||
margin-top: 15px;
|
||||
margin-left: 50px;
|
||||
width: 680px;
|
||||
}
|
||||
|
||||
td {
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
.tp {
|
||||
border: 1px solid #dcdcdc;
|
||||
float: left;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
li {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
border: 0;
|
||||
width: 142px;
|
||||
height: 33px;
|
||||
margin-top: 10px;
|
||||
font-size: 18px;
|
||||
font-weight: 900;
|
||||
text-align: left;
|
||||
padding-top: 1px;
|
||||
padding-left: 32px;
|
||||
color: #fff;
|
||||
font-family: 黑体;
|
||||
}
|
||||
|
||||
.btn1 {
|
||||
background: url(/goods/images/hong_2_btn.jpg) left top
|
||||
no-repeat;
|
||||
}
|
||||
|
||||
.btn2 {
|
||||
background: url(/goods/images/hong_1_btn.jpg) left top
|
||||
no-repeat;
|
||||
}
|
@ -1,92 +0,0 @@
|
||||
body {
|
||||
font-size: 10pt;
|
||||
color: #404040;
|
||||
font-family: SimSun;
|
||||
}
|
||||
|
||||
.tab {
|
||||
margin-top: 15px;
|
||||
margin-left: 50px;
|
||||
width: 680px;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
.tab td {
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
.tp {
|
||||
border: 1px solid #dcdcdc;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.sm {
|
||||
font-size: 13pt;
|
||||
font-weight: 900;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.bd {
|
||||
border: 1px solid #dcdcdc;
|
||||
background-color: #f5f5f5;
|
||||
margin-top: 15px;
|
||||
margin-left: 15px;
|
||||
margin-left: 50px;
|
||||
padding-left: 20px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
li {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #018BD3;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #FF6600;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.btn {
|
||||
border: 0;
|
||||
width: 142px;
|
||||
height: 33px;
|
||||
margin-top: 10px;
|
||||
font-size: 18px;
|
||||
font-weight: 900;
|
||||
text-align: left;
|
||||
padding-top: 1px;
|
||||
padding-left: 32px;
|
||||
color: #fff;
|
||||
font-family: 黑体;
|
||||
}
|
||||
|
||||
.editBtn1 {
|
||||
background: url(/goods/images/huang_2_btn.jpg) left top
|
||||
no-repeat;
|
||||
}
|
||||
|
||||
.editBtn2 {
|
||||
background: url(/goods/images/huang_1_btn.jpg) left top
|
||||
no-repeat;
|
||||
}
|
||||
|
||||
.delBtn1 {
|
||||
background: url(/goods/images/hong_2_btn.jpg) left top
|
||||
no-repeat;
|
||||
}
|
||||
|
||||
.delBtn2 {
|
||||
background: url(/goods/images/hong_1_btn.jpg) left top
|
||||
no-repeat;
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
* {
|
||||
font-size: 10pt;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 1px;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: gray;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
color: gray;
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
.pic { display: block; position: relative; margin-bottom: 3px; width: 200px; height: 200px; }
|
||||
.inner {overflow:hidden;text-overflow:ellipsis;word-break:keep-all;white-space:nowrap; border: solid 3px #fff; padding: 16px 16px 0; position: absolute; }
|
||||
li {float: left; width: 240px; height: 319px; line-height: 18px; position: relative; border-bottom: solid 1px #e5e5e5; }
|
||||
li div {margin-bottom:1px;margin-left: 10px;}
|
||||
|
||||
body,ul, li, p,img, div { margin: 0; padding: 0; list-style-type: none; font-size: 12px;}
|
||||
.price {padding-bottom: 3px; color: #878787; }
|
||||
.price_n {color: #c30; font-weight: bold; padding-right: 10px; font-family: Arial; }
|
||||
.price_s {color: #c30; font-family: Arial; }
|
||||
.price_r {color: #878787; text-decoration: line-through; padding-right: 10px; font-family: Arial; }
|
||||
#bookname {text-decoration:underline; color:#555555; display: block; overflow: hidden; width: 200px; font-family: Arial; }
|
||||
#bookname:hover {color:#FF6600; }
|
||||
.inner a {color: #018BD3;}
|
||||
.inner a:hover {color:#FF6600; }
|
||||
.inner a:VISITED {color:#018BD3;}
|
||||
.divBook{float:left;}
|
@ -1,23 +0,0 @@
|
||||
* {
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
body {
|
||||
text-align: center;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-collapse: collapse; /*单线的列表边框*/
|
||||
}
|
||||
|
||||
.table td {
|
||||
border: 1px solid gray; /*固定边框,1像素*/
|
||||
}
|
||||
|
||||
iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
body {
|
||||
background: rgb(254, 238, 189);
|
||||
}
|
||||
|
||||
table {
|
||||
font-family: 宋体;
|
||||
font-size: 11pt;
|
||||
border-color: rgb(78, 78, 78);
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.trTitle {
|
||||
background: rgb(78, 78, 78);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.trOneLevel {
|
||||
background-color: #fff;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.captionAddOneLevel {
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.trTwoLevel {
|
||||
text-align: right;
|
||||
font-size: 10pt;
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
* {
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
body {
|
||||
text-align: center;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 1px solid gray; /*固定边框,1像素*/
|
||||
border-collapse: collapse; /*单线的列表边框*/
|
||||
}
|
||||
|
||||
.table td {
|
||||
border: 1px solid gray; /*固定边框,1像素*/
|
||||
}
|
||||
|
||||
iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
@ -1,187 +0,0 @@
|
||||
table {
|
||||
font-size: 10pt;
|
||||
width: 900px;
|
||||
}
|
||||
|
||||
.tt {
|
||||
border-top: 1px solid #e1ddd4;
|
||||
border-bottom: 1px solid #e1ddd4;
|
||||
height: 30px;
|
||||
background-color: #f9f8f3;
|
||||
}
|
||||
|
||||
.td {
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 10pt;
|
||||
color: #404040;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #018BD3;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #FF6600;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.divOrder {
|
||||
width: 90%;
|
||||
font-weight: 900;
|
||||
font-size: 15px;
|
||||
padding: 20px;
|
||||
margin-left: 100px;
|
||||
}
|
||||
|
||||
.divRow {
|
||||
width: 1100px;
|
||||
margin-left: 100px;
|
||||
border: 2px solid #e9c9b2;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.divContent {
|
||||
border-bottom: 1px solid #f2e2d4;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: 900;
|
||||
font-size: 15px;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.title {
|
||||
border: 1px solid #d0d0d0;
|
||||
background: url(/goods/images/bg_btns.png) repeat-x;
|
||||
background-position: 0 -132px;
|
||||
margin-left: 2px;
|
||||
height: 30px;
|
||||
width: 99.8%;
|
||||
}
|
||||
|
||||
td .bookname {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: keep-all;
|
||||
white-space: nowrap;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.pay {
|
||||
background: url(/goods/images/sprites_orderdetails.gif)
|
||||
no-repeat;
|
||||
display: inline-block;
|
||||
background-position: 0 -200px;
|
||||
height: 34px;
|
||||
width: 142px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.price_t {
|
||||
font-size: 15px;
|
||||
color: #c30;
|
||||
font-weight: bold;
|
||||
padding-right: 10px;
|
||||
font-family: Arial;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tab a:visited {
|
||||
color: #018BD3;
|
||||
}
|
||||
|
||||
.tab a:hover {
|
||||
color: #FF6600;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#confirm {
|
||||
background: url(/goods/images/confirm.jpg) no-repeat;
|
||||
display: inline-block;
|
||||
height: 34px;
|
||||
width: 142px;
|
||||
font-size: 20px;
|
||||
font-weight: 900;
|
||||
color: #fff;
|
||||
text-align: left;
|
||||
padding-top: 6px;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
#cancel {
|
||||
background: url(/goods/images/huang_2_btn.jpg)
|
||||
no-repeat;
|
||||
display: inline-block;
|
||||
height: 34px;
|
||||
width: 142px;
|
||||
font-size: 20px;
|
||||
font-weight: 900;
|
||||
color: #fff;
|
||||
text-align: left;
|
||||
padding-top: 6px;
|
||||
padding-left: 30px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#cancel:hover {
|
||||
background: url(/goods/images/huang_1_btn.jpg)
|
||||
no-repeat;
|
||||
display: inline-block;
|
||||
height: 34px;
|
||||
width: 142px;
|
||||
font-size: 20px;
|
||||
font-weight: 900;
|
||||
color: #fff;
|
||||
text-align: left;
|
||||
padding-top: 6px;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
#deliver {
|
||||
background: url(/goods/images/hong_2_btn.jpg) no-repeat;
|
||||
display: inline-block;
|
||||
height: 34px;
|
||||
width: 142px;
|
||||
font-size: 20px;
|
||||
font-weight: 900;
|
||||
color: #fff;
|
||||
text-align: left;
|
||||
padding-top: 6px;
|
||||
padding-left: 30px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#deliver:hover {
|
||||
background: url(/goods/images/hong_1_btn.jpg) no-repeat;
|
||||
display: inline-block;
|
||||
height: 34px;
|
||||
width: 142px;
|
||||
font-size: 20px;
|
||||
font-weight: 900;
|
||||
color: #fff;
|
||||
text-align: left;
|
||||
padding-top: 6px;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
.spanTotal {
|
||||
font-weight: 900;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.divBtn {
|
||||
margin: 10px 10px 10px 900px;
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
table {
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
td {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 10pt;
|
||||
color: #404040;
|
||||
}
|
||||
|
||||
.divMain {
|
||||
width: 1000px;
|
||||
margin-left: 150px;
|
||||
}
|
||||
|
||||
.pLink {
|
||||
margin-left: 150px;
|
||||
}
|
||||
|
||||
.title {
|
||||
border: 1px solid #d0d0d0;
|
||||
background: url(/goods/images/bg_btns.png) repeat-x;
|
||||
background-position: 0 -132px;
|
||||
margin-left: 2px;
|
||||
height: 30px;
|
||||
width: 99.8%;
|
||||
}
|
||||
|
||||
.price_t {
|
||||
color: #c30;
|
||||
font-weight: bold;
|
||||
padding-right: 10px;
|
||||
font-family: Arial;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
.tt {
|
||||
background-color: #efeae5;
|
||||
height: 25px;
|
||||
font-family: Arial;
|
||||
color: #878787;
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<jsp:forward page="/adminjsps/admin/main.jsp"></jsp:forward>
|
@ -1,7 +0,0 @@
|
||||
$(function() {
|
||||
$(".inner").hover(function() {
|
||||
$(this).css("border", "3px solid #FFCFB1");
|
||||
}, function() {
|
||||
$(this).css("border", "3px solid #ffffff");
|
||||
});
|
||||
});
|
@ -1,37 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<title>main.jsp</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
<link rel="stylesheet" type="text/css" href="<c:url value='/adminjsps/admin/css/main.css'/>">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table class="table" align="center">
|
||||
<tr>
|
||||
<td colspan="2" align="center" height="100px;">
|
||||
<iframe frameborder="0" src="<c:url value='/adminjsps/admin/top.jsp'/>" name="top"></iframe>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<iframe frameborder="0" src="<c:url value='/adminjsps/admin/body.jsp'/>" name="body"></iframe>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -1,30 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>My JSP 'mgs.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
|
||||
</head>
|
||||
<style type="text/css">
|
||||
body {background: rgb(254,238,189);}
|
||||
</style>
|
||||
<body>
|
||||
<h2>${msg }</h2>
|
||||
<ul>
|
||||
<c:forEach items="${links }" var="link">
|
||||
<li>${link }</li>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
@ -1,98 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>订单详细</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
<link rel="stylesheet" type="text/css" href="<c:url value='/adminjsps/admin/css/order/desc.css'/>">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="divOrder">
|
||||
<span>订单号:${oder.oid }
|
||||
<c:choose>
|
||||
<c:when test="${order.status eq 1 }">(等待付款)</c:when>
|
||||
<c:when test="${order.status eq 2 }">(准备发货)</c:when>
|
||||
<c:when test="${order.status eq 3 }">(等待确认)</c:when>
|
||||
<c:when test="${order.status eq 4 }">(交易成功)</c:when>
|
||||
<c:when test="${order.status eq 5 }">(已取消)</c:when>
|
||||
</c:choose>
|
||||
下单时间:${order.ordertime }
|
||||
</span>
|
||||
</div>
|
||||
<div class="divRow">
|
||||
<div class="divContent">
|
||||
<dl>
|
||||
<dt>收货人信息</dt>
|
||||
<dd>${order.address }</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div class="divContent">
|
||||
<dl>
|
||||
<dt>商品清单</dt>
|
||||
<dd>
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<th class="tt">商品名称</th>
|
||||
<th class="tt" align="left">单价</th>
|
||||
<th class="tt" align="left">数量</th>
|
||||
<th class="tt" align="left">小计</th>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
<c:forEach items="${order.orderItemList }" var="orderItem">
|
||||
<tr style="padding-top: 20px; padding-bottom: 20px;">
|
||||
<td class="td" width="400px">
|
||||
<div class="bookname">
|
||||
<img align="middle" width="70" src="<c:url value='/${orderItem.book.image_b }'/>"/>
|
||||
${orderItem.book.bname }
|
||||
</div>
|
||||
</td>
|
||||
<td class="td" >
|
||||
<span>¥${orderItem.book.currPrice }</span>
|
||||
</td>
|
||||
<td class="td">
|
||||
<span>${orderItem.quantity }</span>
|
||||
</td>
|
||||
<td class="td">
|
||||
<span>¥${orderItem.subtotal }</span>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div class="divBtn">
|
||||
<span class="spanTotal">合 计:</span>
|
||||
<span class="price_t">¥${order.total }</span><br/>
|
||||
|
||||
<c:if test="${order.status eq 2 and btn eq 'deliver' }">
|
||||
<a id="deliver" href="<c:url value='/admin/AdminOrderServlet?method=deliver&oid=${order.oid }'/>">发 货</a>
|
||||
</c:if>
|
||||
<c:if test="${order.status eq 1 and btn eq 'cancel' }">
|
||||
<a id="cancel" href="<c:url value='/admin/AdminOrderServlet?method=cancel&oid=${order.oid }'/>">取 消</a>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,95 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>订单列表</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
<link rel="stylesheet" type="text/css" href="<c:url value='/jsps/pager/pager.css'/>" />
|
||||
<script type="text/javascript" src="<c:url value='/jsps/pager/pager.js'/>"></script>
|
||||
<link rel="stylesheet" type="text/css" href="<c:url value='/adminjsps/admin/css/order/list.css'/>" />
|
||||
<link rel="stylesheet" type="text/css" href="<c:url value='/css/css.css'/>" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p class="pLink">
|
||||
<a href="<c:url value='/admin/AdminOrderServlet?method=findByStatus&status=1'/>">未付款</a> |
|
||||
<a href="<c:url value='/admin/AdminOrderServlet?method=findByStatus&status=2'/>">已付款</a> |
|
||||
<a href="<c:url value='/admin/AdminOrderServlet?method=findByStatus&status=3'/>">已发货</a> |
|
||||
<a href="<c:url value='/admin/AdminOrderServlet?method=findByStatus&status=4'/>">交易成功</a> |
|
||||
<a href="<c:url value='/admin/AdminOrderServlet?method=findByStatus&status=5'/>">已取消</a>
|
||||
</p>
|
||||
<div class="divMain">
|
||||
<div class="title">
|
||||
<div style="margin-top:7px;">
|
||||
<span style="margin-left: 150px;margin-right: 280px;">商品信息</span>
|
||||
<span style="margin-left: 40px;margin-right: 100px;">金额</span>
|
||||
<span style="margin-left: 50px;margin-right: 53px;">订单状态</span>
|
||||
<span style="margin-left: 100px;">操作</span>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
<table align="center" border="0" width="100%" cellpadding="0" cellspacing="0">
|
||||
<c:forEach items="${pb.beanList }" var="order">
|
||||
|
||||
<tr class="tt">
|
||||
<td width="320px">订单号:<a href="<c:url value='/admin/AdminOrderServlet?method=load&oid=${order.oid }'/>">${order.oid }</a></td>
|
||||
<td width="200px">下单时间:${order.ordertime }</td>
|
||||
<td width="178px"> </td>
|
||||
<td width="205px"> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr style="padding-top: 10px; padding-bottom: 10px;">
|
||||
<td colspan="2">
|
||||
|
||||
|
||||
<c:forEach items="${order.orderItemList }" var="orderItem">
|
||||
<img border="0" width="70" src="<c:url value='/${orderItem.book.image_b }'/>"/>
|
||||
</c:forEach>
|
||||
|
||||
</td>
|
||||
<td style="padding-left: 0">
|
||||
<span class="price_t">¥${order.total }</span>
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${order.status eq 1 }">(等待付款)</c:when>
|
||||
<c:when test="${order.status eq 2 }">(准备发货)</c:when>
|
||||
<c:when test="${order.status eq 3 }">(等待确认)</c:when>
|
||||
<c:when test="${order.status eq 4 }">(交易成功)</c:when>
|
||||
<c:when test="${order.status eq 5 }">(已取消)</c:when>
|
||||
</c:choose>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<a href="<c:url value='/admin/AdminOrderServlet?method=load&oid=${order.oid }'/>">查看</a><br/>
|
||||
<c:if test="${order.status eq 1 }">
|
||||
<a href="<c:url value='/admin/AdminOrderServlet?method=load&oid=${order.oid }&btn=cancel'/>">取消</a><br/>
|
||||
</c:if>
|
||||
<c:if test="${order.status eq 2 }">
|
||||
<a href="<c:url value='/admin/AdminOrderServlet?method=load&oid=${order.oid }&btn=deliver'/>">发货</a><br/>
|
||||
</c:if>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
|
||||
</table>
|
||||
<br/>
|
||||
<%@include file="/jsps/pager/pager.jsp" %>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,36 +0,0 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>top</title>
|
||||
<base target="body">
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
<style type="text/css">
|
||||
body {font-size: 10pt;}
|
||||
a {color: #aaa;}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body style="background: rgb(78,78,78);color: #fff;">
|
||||
<h1 style="text-align: center; line-height: 30px;">传智播客网上书城系统后台管理</h1>
|
||||
<div style="line-height: 10px;">
|
||||
<span>管理员:${sessionScope.admin.adminname }</span>
|
||||
<a target="_top" href="<c:url value='/adminjsps/login.jsp'/>">退出</a>
|
||||
<span style="padding-left:50px;">
|
||||
<a href="<c:url value='/admin/AdminCategoryServlet?method=findAll'/>">分类管理</a>
|
||||
<a href="<c:url value='/adminjsps/admin/book/main.jsp'/>">图书管理</a>
|
||||
<a href="<c:url value='/admin/AdminOrderServlet?method=findAll'/>">订单管理</a>
|
||||
</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue