你的用户名 9 months ago
parent a6833e0984
commit 49f0a3a85d

@ -0,0 +1,9 @@
<?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="lib" path="WebRoot/WEB-INF/lib/mysql-connector-java-5.0.8-bin.jar"/>
<classpathentry kind="lib" path="jsmartcom_zh_CN.jar"/>
<classpathentry kind="output" path="WebRoot/WEB-INF/classes"/>
</classpath>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="21" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/classes" />
</component>
</project>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="svn" />
</component>
</project>

@ -0,0 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="18f86bf7-d359-433c-87ba-95c132eaf1a1" name="Changes" comment="" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="ProjectColorInfo">{
&quot;associatedIndex&quot;: 8
}</component>
<component name="ProjectId" id="2qnb8h7p83qqGAH8ydEGcSEjB6F" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;kotlin-language-version-configured&quot;: &quot;true&quot;,
&quot;last_opened_file_path&quot;: &quot;C:/Users/86183/Desktop/javajsp网络商城管理系统mysql/代码&quot;,
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
&quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
&quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;vcs.Subversion&quot;,
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
}
}</component>
<component name="RunManager">
<configuration default="true" type="JetRunConfigurationType">
<module name="代码" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration default="true" type="KotlinStandaloneScriptRunConfigurationType">
<module name="代码" />
<option name="filePath" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
<component name="SharedIndexes">
<attachedChunks>
<set>
<option value="bundled-jdk-9823dce3aa75-28b599e66164-intellij.indexing.shared.core-IU-242.23339.11" />
<option value="bundled-js-predefined-d6986cc7102b-5c90d61e3bab-JavaScript-IU-242.23339.11" />
</set>
</attachedChunks>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="SvnConfiguration" cleanupOnStartRun="true">
<configuration useDefault="false">C:\Users\86183\AppData\Roaming\Subversion</configuration>
<supportedVersion>125</supportedVersion>
<option name="runUnderTerminal" value="true" />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="18f86bf7-d359-433c-87ba-95c132eaf1a1" name="Changes" comment="" />
<created>1735301129821</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1735301129821</updated>
<workItem from="1735301130715" duration="44000" />
<workItem from="1735301220274" duration="499000" />
<workItem from="1735301931826" duration="446000" />
<workItem from="1735302386208" duration="250000" />
<workItem from="1735302742976" duration="10000" />
<workItem from="1735314104343" duration="207000" />
<workItem from="1735359026595" duration="23000" />
<workItem from="1735359055859" duration="22000" />
<workItem from="1735359108759" duration="48000" />
</task>
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
</project>

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="aceshopping"
id="myeclipse.1379415516663"
context-root="/aceshopping"
j2ee-spec="5.0"
archive="aceshopping.war">
<attributes>
<attribute name="webrootdir" value="WebRoot" />
</attributes>
</project-module>

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>aceshopping</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<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>com.genuitec.eclipse.j2eedt.core.webnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<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="src" path="WebRoot"/>
<classpathentry kind="output" path=""/>
</classpath>

@ -0,0 +1,130 @@
10
dir
327
svn://192.168.1.128/projects/aceshopping/.settings
svn://192.168.1.128/projects
2013-09-29T02:43:59.281250Z
315
hsp
f147ab79-210a-d444-bdc1-1ab8ede2a2e9
org.eclipse.wst.jsdt.ui.superType.name
file
2011-09-29T02:50:22.031250Z
c89686a387d2b12b3c729ce35a0bcb5b
2013-09-29T02:43:59.281250Z
315
hsp
6
org.eclipse.wst.jsdt.ui.superType.container
file
2011-09-29T02:50:22.031250Z
b27d1cf62dde4473bab7c433317bb0ce
2013-09-29T02:43:59.281250Z
315
hsp
49
.jsdtscope
file
2011-09-29T02:50:22.031250Z
2d874a5a2ed5c6e0a16b8f4d3f6edb26
2013-09-29T02:43:59.281250Z
315
hsp
500

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<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="src" path="WebRoot"/>
<classpathentry kind="output" path=""/>
</classpath>

@ -0,0 +1,13 @@
#Tue Mar 31 16:25:11 CST 2015
eclipse.preferences.version=1
encoding//WebRoot/dbscript/t_board.sql=UTF-8
encoding//WebRoot/dbscript/t_contact.sql=UTF-8
encoding//WebRoot/dbscript/t_goods.sql=UTF-8
encoding//WebRoot/dbscript/t_goodsdetails.sql=UTF-8
encoding//WebRoot/dbscript/t_order.sql=UTF-8
encoding//src/com/ace/shopping/BusinessService/OrderBusinessService.java=gbk
encoding//src/com/ace/shopping/busbean/PageBean.java=gbk
encoding//src/com/ace/shopping/busbean/QueryInfo.java=gbk
encoding//src/com/ace/shopping/busbean/QueryResult.java=gbk
encoding//src/com/ace/shopping/servlet/NewGoodsFixServlet.java=gbk
encoding/jsmartcom_zh_CN.jar=UTF-8

@ -0,0 +1 @@
org.eclipse.wst.jsdt.launching.baseBrowserLibrary

@ -0,0 +1,173 @@
10
dir
327
svn://192.168.1.128/projects/aceshopping
svn://192.168.1.128/projects
2013-09-29T05:28:36.953125Z
327
hsp
f147ab79-210a-d444-bdc1-1ab8ede2a2e9
.classpath
file
2011-09-29T02:50:22.046875Z
82a2fb21fa18e62a95b0faa4b7bb1537
2013-09-29T02:43:59.281250Z
315
hsp
513
WebRoot
dir
.mymetadata
file
2011-09-29T02:50:22.046875Z
ec37620e30a28b675b9419522b5a0a45
2013-09-29T02:43:59.281250Z
315
hsp
306
.project
file
2011-09-29T02:50:22.046875Z
18257e93fb930c3d0faabb195f4e7515
2013-09-29T02:43:59.281250Z
315
hsp
1417
src
dir
jsmartcom_zh_CN.jar
file
2011-09-29T02:50:22.062500Z
9e825b90e599c4a846ed93fee9ec4ffd
2013-09-29T02:43:59.281250Z
315
hsp
has-props
13789
.settings
dir

@ -0,0 +1,5 @@
K 13
svn:mime-type
V 24
application/octet-stream
END

@ -0,0 +1,9 @@
<?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="lib" path="WebRoot/WEB-INF/lib/mysql-connector-java-5.0.8-bin.jar"/>
<classpathentry kind="lib" path="jsmartcom_zh_CN.jar"/>
<classpathentry kind="output" path="WebRoot/WEB-INF/classes"/>
</classpath>

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="aceshopping"
id="myeclipse.1379415516663"
context-root="/aceshopping"
j2ee-spec="5.0"
archive="aceshopping.war">
<attributes>
<attribute name="webrootdir" value="WebRoot" />
</attributes>
</project-module>

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>aceshopping</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<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>com.genuitec.eclipse.j2eedt.core.webnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>

File diff suppressed because it is too large Load Diff

@ -0,0 +1,400 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ShopManagerMain.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">
-->
<script language="JavaScript">
function delete_confirm(e)
{
if (event.srcElement.outerText == "删除")
{
event.returnValue = confirm("删除是不可恢复的,你确认要删除吗?");
}
}
document.onclick = delete_confirm;
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<script language="javascript" src="jquery.js"></script>
<script>
function guan()
{
if(this.confirm("是否关闭?"))
this.close();
}
</script>
<style type="text/css">
<!--
* {
margin:0px;
padding:0px;
}
html, body{
height:100%;
overflow: hidden;
}
html>body{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}
body {
border:8px solid #ffffff;
background-color: #ffffff;min-width:230px;
}
#mainDiv {
width: 100%;
height: 100%;
padding:60px 0px 25px 0px;;
}
#centerDiv{
width: 100%;
height: 100%;
background-color:#00CCFF;
padding-left:158px;
}
#mainDiv>#centerDiv{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 56px;
left: 0px;
right: 0px;
bottom: 20px;
}
#left{
width:158px;
height:100%;
background:url(images/slide.jpg) repeat-y;
position:absolute;
left:0px;
}
#lhead{
background:url(images/left-head.jpg) left top no-repeat;
height:25px;
font-size:14px;
color:#FF9933;
text-align:center;
line-height:25px;
}
#right{
width:100%;
height:100%;
background:#ffffff;
position:absolute;
overflow-y:auto;
border:1px #003366 solid;
padding:20px 0 0 10px;
font-size:12px;
font-family:"宋体";
}
#centerDiv>#right{
width:auto;
height:auto;
position:absolute;
top:0px;
right:0px;
left:158px;
bottom:0px;
}
#topDiv{
width:100%;
height:56px;
background:url(images/head-bg.jpg) repeat-x;
position:absolute;
top:0px;
overflow:hidden;
}
#topDiv ul{
list-style:none;
font-size:12px;
width:100%;
margin:0;
padding:0;
}
#topDiv ul li{
float:left;
width:15%
}
#topDiv ul li a {
display:block;
width:100%;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#tmenu{
width:100%;
position:absolute;
left:12%;
bottom:0;
padding-left:15%;
margin-left:-15%;
}
#current{
background:#ccc;
height:25px;
line-height:25px;
margin:-20px 0 0 -10;
overflow:hidden;
}
#bottomDiv{
width:100%;
height:20px;
background:url(images/bottom.jpg) repeat-x;
position:absolute;
bottom:0px;
bottom:-1px; /*-- for IE6.0 --*/
}
#left ul{
list-style:none;
font-size:12px;
margin:50px 0 0 8px;
}
#left ul li a{
display:block;
width:140px;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#left ul li a:hover{
background:url(images/menu-bg.jpg) 0px 25px;
color:#99FFCC;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
}
#form{
width:80%;
height:99%;
margin:0 auto;
_margin-left:20%;
}
fieldset{
width:100%;
margin:20 auto;
line-height:35px;
padding-left:20PX;
}
-->
</style>
</head>
<body>
<div id="mainDiv">
<div id="topDiv">
<div id="tmenu"><ul>
<li ><a href="servlet/ShowServlet">首页</a></li>
<li ><a href="javascript:window.history.go(1)">前进</a></li>
<li ><a href="javascript:window.history.go(-1)">后退</a></li>
<li ><a href="javascript:window.history.go(0)">刷新</a></li>
<li ><a href="servlet/ShopManagerServlet?op=help">帮助</a></li>
</ul></div></div>
<div id="centerDiv">
<div id="left">
<div id="lhead">管理菜单</div>
<ul>
<li ><a href="servlet/ShopManagerServlet?op=ShowQuser">查看用户</a></li>
<li ><a href="servlet/T_boardServlet?op=five">公告管理</a></li>
<li ><a href="servlet/AdGoodsListServlet">商品管理</a></li>
<li ><a href="servlet/ContactServlet?op=find">留言管理</a></li>
<li ><a href="servlet/AdOrderListServlet">订单管理</a></li>
<li ><a href="javascript:window.guan()">关闭</a></li>
</ul>
</div>
<div id="right">
<div id="current">&nbsp;&nbsp;&nbsp;&nbsp;当前位置:</div>
<div style="position:relative;width=1000px;overflow:scroll;left:5%;top:10px;height:90%;padding:0px; margin:0px;">
<table width="300%" style="table-layout:fixed" border="1">
<tr>
<td>
商品编号
</td>
<td>
商品型号
</td>
<td>
商品价格
</td>
<td>
数量
</td>
<td>
折扣
</td>
<td>
商品类型
</td>
<td>
展示图片(小)
</td>
<td>
CPU
</td>
<td>
内存
</td>
<td>
硬盘
</td>
<td>
刻录机
</td>
<td>
系统
</td>
<td>
重量
</td>
<td>
蓝牙
</td>
<td>
屏幕
</td>
<td>
展示图片1
</td>
<td>
展示图片2
</td>
<td>
展示图片3
</td>
<td>
展示图片4
</td>
</tr>
<c:forEach items="${adlist}" var="adg">
<tr>
<td>
${adg.gid }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td>
${adg.goods.gname }
</td>
<td>
${adg.goods.gprice }&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td>
${adg.goods.gnumber }&nbsp;&nbsp;
</td>
<td>
${adg.goods.gdiscount }&nbsp;&nbsp;
</td>
<td>
${adg.goods.gapply }
</td>
<td>
${adg.goods.gspic }
</td>
<td>
${adg.gcpu }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td>
${adg.gram }
</td>
<td>
${adg.gsata }
</td>
<td>
${adg.gvideocard }
</td>
<td>
${adg.gsystem }
</td>
<td>
${adg.gheft }
</td>
<td>
${adg.gbluetooth }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td>
${adg.gmonito }
</td>
<td>
${adg.gbpic1 }
</td>
<td>
${adg.gbpic2 }
</td>
<td>
${adg.gbpic3 }
</td>
<td>
${adg.gbpic4 }
</td>
<td>
<a href="servlet/ReviseGoodsServlet?gid=${adg.gid}">修改</a>
</td>
<td>
<a href="servlet/DeleteGoodsServlet?gid=${adg.gid}" onClick="delete_confirm">删除</a>
</td>
</tr>
</c:forEach>
</table>
<form action="NewGoodsShow.jsp">
<input type="submit" onclick="return delete_confirm()" value="新增">
</form>
</div>
</div></div>
<div id="bottomDiv"></div>
</div>
<script language="javascript">
$("#test1").toggle(function(){$("#test").slideDown()},function(){$("#test").slideUp()})
</script>
</body>
</html>
</html>

@ -0,0 +1,336 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.domain.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ACE Shop</title>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<LINK href="css/test.css" rel=stylesheet>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "top_nav", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
</head>
<body>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* service-menu */
.service-menu .menu-title,.service-menu .menu-p,.service-menu .menu-p .menu-i{background:url("images/menubg.png") no-repeat;}
.service-menu{border:solid 1px #d1d1d1;width:206px;margin:auto auto auto auto;}
.service-menu .menu-title{height:21px;overflow:hidden;padding:6px 8px;background-position:0 0;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:bold;}
.service-menu .menu-p{display:block;height:21px;overflow:hidden;padding:6px 0 6px 19px;border-top:solid 1px #e6e6e6;background-position:0 -50px;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:normal;cursor:pointer;}
.service-menu .menu-p .menu-i{float:left;display:inline;width:11px;height:11px;overflow:hidden;background-position:0 -103px;margin:5px 6px 0 0;}
.service-menu .menu-p a:link,.service-menu .menu-p a:visited{color:#444;text-decoration:none;font-size:14px;}
.service-menu .menu-p a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-p-current .menu-i{background-position:-20px -103px;}
.service-menu .menu-p-current a:link,.service-menu .menu-p-current a:visited{color:#369;font-weight:bold;}
.service-menu .menu-p-current a:hover{color:#ff7300;}
.service-menu .menu-c{border-top:solid 1px #e6e6e6;display:none;padding:4px 0 4px 54px;}
.service-menu .menu-c-current{display:block;}
.service-menu .menu-c ul{display:block;}
.service-menu .menu-c li{padding:2px 0;height:18px;overflow:hidden;}
.service-menu .menu-c a:link,.service-menu .menu-c a:visited{color:#444;text-decoration:none;}
.service-menu .menu-c a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-c .current:link,.service-menu .menu-c .current:visited{color:#369;font-weight:bold;}
.service-menu .menu-c .current:hover{color:#ff7300;}
</style>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title"><h1><a href="http://www.dell.com.cn/">DELL官方网站</a></h1></div>
<div id="header_right">
<p>
<a href="login.jsp">登录我的账户</a> | <a href="ShoppingCart.jsp">购物车</a> | <a href="Checkout.jsp">订单</a> |<a>${(empty Quser.u_Name)?'游客请登录':'欢迎'}${Quser.u_Name}</a>| <a href="Qregister.jsp">注册</a></p>
<p>
购物车: <strong>${(empty cart)?0:cart.count} 件商品</strong> ( <a href="ShoppingCart.jsp">进入购物车</a> )
</p>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
<div id="templatemo_menubar">
<div id="top_nav" class="ddsmoothmenu">
<ul>
<li><a href="servlet/ShowServlet" class="selected">主页</a></li>
<li><a href="servlet/ShowServlet">购买商品</a>
<ul>
<li><a href="showError.jsp">时尚触控本</a></li>
<li><a href="servlet/MenuServlet?apply=enjoy">多媒体娱乐本</a></li>
<li><a href="servlet/MenuServlet?apply=daily">日常综合应用</a></li>
<li><a href="servlet/MenuServlet?apply=top">顶级超高性能</a></li>
<li><a href="showError.jsp">专业游戏</a></li>
</ul>
</li>
<li><a href="faqs.jsp">常见问题</a></li>
<li><a href="showCheckout.jsp">订单查询</a></li>
<li><a href="contact.jsp">联系我们</a></li>
<li><a href="about.jsp">关于</a></li>
</ul>
<br style="clear: left" />
</div> <!-- end of ddsmoothmenu -->
<div id="templatemo_search">
<form action="servlet/FindGoodsServlet?op=find" method="post">
<input type="text" name="keyword" id="keyword" title="keyword" onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value=" " alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div>
</div> <!-- END of templatemo_menubar -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" title="网页模板">网页模板</a></div>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>产品筛选</h3>
<div class="content">
<div class="service-menu">
<input class="menu-code-index" type="hidden" value="c849" /><!--默认下值设置
data-service-index=c203的列表项展开与子列表标签导航高亮显示-->
<strong class="menu-p"><i class="menu-i"></i><a href="">产品系列</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=Inspiron">Inspiron</a></li>
<li><a href="servlet/MenuServlet?types=XPS">XPS</a></li>
<li><a href="servlet/MenuServlet?types=Alienware">Alienware</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">处理器</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?cpu=i3">英特尔I3智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i5">英特尔I5智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i7">英特尔I7智能处理器</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">笔记本屏幕尺寸</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?monito=14">14寸</a></li>
<li><a href="servlet/MenuServlet?monito=15">15寸</a></li>
<li><a href="servlet/MenuServlet?monito=17">17寸</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">价格区间</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?sma=3000&big=5000">RMB3000~RMB5000</a></li>
<li><a href="servlet/MenuServlet?sma=5000&big=7000">RMB5000~RMB7000</a></li>
<li><a href="servlet/MenuServlet?sma=7000&big=9000">RMB7000~RMB9000</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">操作系统</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?system=Windows 7">Windows 7</a></li>
<li><a href="servlet/MenuServlet?system=Windows 8">Windows 8</a></li>
<li><a href="servlet/MenuServlet?system=Linux">Linux</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>热销商品 </h3>
<div class="content">
<c:forEach items="${list3}" var="ff">
<div class="bs_box">
<a href="servlet/ShowServlet?op=add&gid=${ff.g_Id }"><img src="imgs/type.jpg" alt="image" width="75px" height="75px"/></a>
<h4>${ff.g_Name }</h4>
<p class="price">价格:${ff.g_Price }</p>
<p class="price">销量:${ff.o_Count}</p>
<div class="cleaner"></div>
</div>
</c:forEach>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>公告 </h3>
<div class="content">
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list2");
for(T_board e:list)
{
%>
<tr><td width="180px" ><a>&nbsp;&nbsp;&nbsp;<%=e.getB_Content() %></a></td></tr>
<tr><td ><a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<%=e.getB_Posttime() %></a></td></tr>
<tr><td>&nbsp;</td></tr>
<%
}
%>
</table>
</marquee>
</div>
</div>
</div>
<div id="content" class="float_r">
<form action="servlet/DoCheckoutServlet" method="post">
<h2>
填写订单
</h2>
<h5>
<strong>订单信息</strong>
</h5>
<div class="content_half float_l checkout">
收货人 (请填写正确的收货人姓名):
<input type="text" name="orderName" style="width: 300px;" />
<br />
<br />
收货地址:
<input type="text" name="orderAddress" style="width: 300px;" />
<br />
<br />
买家留言:
<input type="text" name="orderMsg" style="width: 300px;" />
<br />
<br />
Country:
<input type="text" name="orderCountry" style="width: 300px;" />
</div>
<div class="content_half float_r checkout">
电子邮箱:
<input type="text" name="orderEmail" style="width: 300px;" />
<br />
<br />
联系电话:
<br />
<span style="font-size: 10px">请填写正确的联系方式,方便快递员及时送货.</span>
<input type="text" style="width: 300px;" name="orderPhone" />
<input type="submit" style="width: 100px;" value="提交订单" />
</div>
</form>
<div class="cleaner h50"></div>
<h3>
您的购物车
</h3>
<h4>
总价为:
<strong>¥<%=((Cart)session.getAttribute("cart")).getTotalPrice() %></strong>
</h4>
<p>
<input type="checkbox" />
I accept the
<a href="#">terms of use</a> of this website.
</p>
<table style="border: 1px solid #CCCCCC;" width="100%">
<tr>
<td height="80px">
<img src="images/paypal.gif" alt="paypal" />
</td>
<td width="400px;" style="padding: 0px 20px;">
Recommended if you have a PayPal account. Fastest delivery
time.
</td>
<td>
<a href="#" class="more">PAYPAL</a>
</td>
</tr>
<tr>
<td height="80px">
<img src="images/2co.gif" alt="paypal" />
</td>
<td width="400px;" style="padding: 0px 20px;">
2Checkout.com, Inc. is an authorized retailer of goods and
services. 2CheckOut accepts customer orders via online checks,
Visa, MasterCard, Discover, American Express, Diners, JCB and
debit cards with the Visa, Mastercard logo. Validate
<a href="http://validator.w3.org/check?uri=referer"
rel="nofollow">XHTML</a> &amp;
<a href="http://jigsaw.w3.org/css-validator/check/referer"
rel="nofollow">CSS</a>.
</td>
<td>
<a href="#" class="more">2CHECKOUT</a>
</td>
</tr>
</table>
</div>
<div class="cleaner"></div>
</div>
<!-- END of templatemo_main -->
<div id="templatemo_footer">
<p>
<a href="#">Home</a> |
<a href="#">Products</a> |
<a href="#">About</a> |
<a href="#">FAQs</a> |
<a href="#">Checkout</a> |
<a href="#">Contact Us</a>
</p>
Copyright © 2072
<a href="#">Your Company Name</a> | Collect from
<a href="http://www.cssmoban.com" target="_parent">网站模板</a>
</div>
<!-- END of templatemo_footer -->
</div>
<!-- END of templatemo_wrapper -->
</div>
<!-- END of templatemo_body_wrapper -->
</body>
</html>

@ -0,0 +1,71 @@
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title></title>
<style type="text/css">
.style1
{
text-align: center;
}
</style>
<script type="text/javascript">
window.onload = function () {
setTimeout(changeTime, 1000);
}
function changeTime() {
var time = document.getElementById("timeout").innerHTML;
time = parseInt(time);
time--;
if (time > 0) {
document.getElementById("timeout").innerHTML = time;
setTimeout(changeTime, 1000);
} else if (time <= 0) {
window.opener.location.href=window.opener.location.href;window.close()
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table width="490" height="325" border="0" align="center" cellpadding="0" cellspacing="0" background="images/showinfo.png">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td style="text-align: center">
图片上传${suc}
</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50" class="style1">&nbsp;</td>
<td style="text-align: center">
<span id="timeout" style="font-size:14px;color:Red; font-weight:bold">5</span>秒中以后自动返回首页
<a href="servlet/AdGoodsListServlet" onclick="window.opener.location.href;window.close()">返回</a>
<td width="40">&nbsp;</td>
</tr>
</table></td>
</tr>
</table>
</div>
</form>
</body>
</html>

@ -0,0 +1,72 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'FindShow.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>
<table>
<tr>
<td>
<ul>
<li>CPU型号</li>
<ul >
<li><a href="servlet/MenuServlet?cpu=i3">英特尔I3智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i5">英特尔I5智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i7">英特尔I7智能处理器</a></li>
</ul>
<li>价格区间</li>
<ul>
<li><a href="servlet/MenuServlet?sma=3000&big=5000">3000~5000</a></li>
<li><a href="servlet/MenuServlet?sma=5000&big=7000">5000~7000</a></li>
<li><a href="servlet/MenuServlet?sma=7000&big=9000">7000~9000</a></li>
</ul>
<li>屏幕尺寸</li>
<ul>
<li><a href="servlet/MenuServlet?monito=14">14吋</a></li>
<li><a href="servlet/MenuServlet?monito=15">15吋</a></li>
<li><a href="servlet/MenuServlet?monito=17">17吋</a></li>
</ul>
<li>操作系统</li>
<ul>
<li><a href="servlet/MenuServlet?system=Windows 7">Windows 7</a></li>
<li><a href="servlet/MenuServlet?system=Windows 8">Windows 8</a></li>
<li><a href="servlet/MenuServlet?system=Linux">Linux</a></li>
</ul>
<li>系列</li>
<ul>
<li><a href="servlet/MenuServlet?types=Inspiron">Inspiron</a></li>
<li><a href="servlet/MenuServlet?types=XPS">XPS</a></li>
<li><a href="servlet/MenuServlet?types=Alienware">Alienware</a></li>
</ul>
<li>应用类型</li>
<ul>
<li><a href="servlet/MenuServlet?apply=多媒体娱乐本">多媒体娱乐本</a></li>
<li><a href="servlet/MenuServlet?apply=日常综合应用">日常综合应用</a></li>
<li><a href="servlet/MenuServlet?apply=顶级超高性能">顶级超高性能</a></li>
</ul>
</td>
</tr>
</table>
</body>
</html>

@ -0,0 +1,58 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'FindShowDetailed.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>
<center>
<table width="50%">
<tr>
<td colspan="3" bgcolor="#46A3FF">
<h1>搜索结果如下:</h1>
</td>
</tr>
<tr>
<c:forEach items="${menulist}" var="gg">
<td>
<table>
<tr>
<td> ${gg.gname}</td>
</tr>
<tr>
<td><a href="servlet/ShowServlet?gid=${gg.gid}"><img src="${gg.gspic}"></a></td>
</tr>
<tr>
<td> ${gg.gprice}
<form action="servlet/CartServlet?op=add&gid=${gg.gid }" method="post">
<input type="submit" value="加入购物车">
</form>
</tr>
</table>
</td>
</c:forEach>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,263 @@
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.ace.shopping.domain.QUser"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ShopManagerMain.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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<script language="javascript" src="jquery.js"></script>
<style type="text/css">
<!--
* {
margin:0px;
padding:0px;
}
html, body{
height:100%;
overflow: hidden;
}
html>body{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}
body {
border:8px solid #ffffff;
background-color: #ffffff;min-width:230px;
}
#mainDiv {
width: 100%;
height: 100%;
padding:60px 0px 25px 0px;;
}
#centerDiv{
width: 100%;
height: 100%;
background-color:#00CCFF;
padding-left:158px;
}
#mainDiv>#centerDiv{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 56px;
left: 0px;
right: 0px;
bottom: 20px;
}
#left{
width:158px;
height:100%;
background:url(images/slide.jpg) repeat-y;
position:absolute;
left:0px;
}
#lhead{
background:url(images/left-head.jpg) left top no-repeat;
height:25px;
font-size:14px;
color:#FF9933;
text-align:center;
line-height:25px;
}
#right{
width:100%;
height:100%;
background:#ffffff;
position:absolute;
overflow-y:auto;
border:1px #003366 solid;
padding:20px 0 0 10px;
font-size:12px;
font-family:"宋体";
}
#centerDiv>#right{
width:auto;
height:auto;
position:absolute;
top:0px;
right:0px;
left:158px;
bottom:0px;
}
#topDiv{
width:100%;
height:56px;
background:url(images/head-bg.jpg) repeat-x;
position:absolute;
top:0px;
overflow:hidden;
}
#topDiv ul{
list-style:none;
font-size:12px;
width:100%;
margin:0;
padding:0;
}
#topDiv ul li{
float:left;
width:15%
}
#topDiv ul li a {
display:block;
width:100%;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#tmenu{
width:100%;
position:absolute;
left:12%;
bottom:0;
padding-left:15%;
margin-left:-15%;
}
#current{
background:#ccc;
height:25px;
line-height:25px;
margin:-20px 0 0 -10;
overflow:hidden;
}
#bottomDiv{
width:100%;
height:20px;
background:url(images/bottom.jpg) repeat-x;
position:absolute;
bottom:0px;
bottom:-1px; /*-- for IE6.0 --*/
}
#left ul{
list-style:none;
font-size:12px;
margin:50px 0 0 8px;
}
#left ul li a{
display:block;
width:140px;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#left ul li a:hover{
background:url(images/menu-bg.jpg) 0px 25px;
color:#99FFCC;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
}
#form{
width:80%;
height:99%;
margin:0 auto;
_margin-left:20%;
}
fieldset{
width:100%;
margin:20 auto;
line-height:35px;
padding-left:20PX;
}
-->
</style>
</head>
<body>
<div id="mainDiv">
<div id="topDiv">
<div id="tmenu"><ul>
<li ><a href="servlet/T_boardServlet?op=show">首页</a></li>
<li ><a href="admin-templates">更多后台模板</a></li>
<li ><a href="admin-templates">横向菜单</a></li>
<li ><a href="admin-templates">横向菜单</a></li>
<li ><a href="admin-templates">横向菜单</a></li>
</ul></div></div>
<div id="centerDiv">
<div id="left">
<div id="lhead">管理菜单</div>
<ul>
<li ><a href="servlet/ShopManagerServlet?op=ShowQuser">查看用户</a></li>
<li ><a href="servlet/T_boardServlet?op=five">公告管理</a></li>
<li ><a href="servlet/AdGoodsListServlet">商品管理</a></li>
<li ><a href="admin-templates">商品类型管理</a></li>
<li ><a href="admin-templates">订单管理</a></li>
<li ><a href="admin-templates">管理员用户管理</a></li>
</ul>
</div>
<div id="right">
<div id="current">&nbsp;&nbsp;&nbsp;&nbsp;当前位置:</div>
<div id="form" align="center">
<H1>帮助</H1>
<h2>关于我们
ACE网上商城介绍
专卖店介绍
戴尔官方网上商城是戴尔计算机(中国)有限公司设立的官方网上购物商城,戴尔一站式平价数码购物商城。提供戴尔最新产品展示、热卖产品、产品报价、产品促销信息。作为官方购物网站拥有全系列产品,同时为您提供最新的产品促销信息以及新品咨询,为您提供产品技术支持和解决方案,产品应有尽有。
店铺名称ACEshop
代理品牌:戴尔
店铺所属类型:企业官方网店(旗舰店)
主营产品一体电脑、笔记本电池、笔记本电脑、平板电脑、PC
详细地址http://www.ACEshop.com.cn/
合作加盟
为了实现优势互补、共同发展ACEshop商城愿意与各有志创业青年在平等互利的基础上开展多种形式的合作。
  信息合作:包括商品各种信息合作。
  活动合作:包括组织会议,举办活动等。
  战略合作:包括共同拓展市场。
对外合作、商务谈判、广告业务: 联系人ACE
010-82296534 010-82296550Fax) info@ace.cn aceshop@ace.cn
</h2>
</div>
</div></div>
<div id="bottomDiv"></div>
</div>
<script language="javascript">
$("#test1").toggle(function(){$("#test").slideDown()},function(){$("#test").slideUp()})
</script>
</body>
</html>
</html>

@ -0,0 +1,192 @@
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript">
function changecode(){
var my=document.getElementById("code");
da=new Date();
my.src="Qvalidate.jsp?code="+da.getTime();
}
</script>
<SCRIPT language=javascript>
//检验表单的合法性
function SuperLogin() {
if (document.SuperLoginForm.name.value == "") {
alert("\请输入您的管理账号!");
document.SuperLoginForm.name.focus();
}
else if (document.SuperLoginForm.password.value == "") {
alert("\请输入您的管理密码!");
document.SuperLoginForm.password.focus();
}
else if (document.SuperLoginForm.verifycode.value == "") {
alert("\请输入右侧显示验证码!");
document.SuperLoginForm.verifycode.focus();
}
else {
return true;
}
return false;
}
// End of validation form script -->
</SCRIPT>
<base href="<%=basePath%>">
<title>My JSP 'ManagerLogin.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 bgColor=#006599 leftMargin=0 topMargin=0 marginwidth="0" marginheight="0" >
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD background="images/indexbg.gif"
height=600><BR><BR><BR><BR><BR><BR><BR>
<TABLE class=tableborder cellSpacing=0 cellPadding=0 width=427
align=center border=0>
<TBODY>
<TR>
<TD background="images/index_hz01.gif" colSpan=3
height=64>&nbsp;</TD></TR>
<TR>
<TD style="FONT-SIZE: 1px; LINE-HEIGHT: 1px" width=3
background="images/index_hz02.gif"></TD>
<TD style="BORDER-TOP: #666666 1px double" vAlign=top
background="images/index_hz03.gif" height=162><BR><BR>
<TABLE cellSpacing=0 cellPadding=0 width=320 align=right border=0>
<FORM name=SuperLoginForm onSubmit="return SuperLogin()"
action="servlet/ShopManagerServlet?op=Logincheck" method=post>
<TBODY>
<TR>
<TD width=82 height=30>
<DIV style="FONT-SIZE: 12px" align=center>用户名:</DIV></TD>
<TD colSpan=2><INPUT name="name" type="text"
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px;width:120px"
maxLength=16> </TD></TR>
<TR>
<TD height=30>
<DIV style="FONT-SIZE: 12px"
align=center>密&nbsp;&nbsp;码:</DIV></TD>
<TD><INPUT
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px;width:120px"
type=password maxLength=16 name="password"> </TD>
<TD width=70>
<DIV align=center></DIV></TD></TR>
<TR>
<TD height=30>
<DIV style="FONT-SIZE: 12px" align=center>验证码:</DIV></TD>
<TD><INPUT name="verifycode" id="verifycode" type="text"
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px;" size=4
maxLength=4> <img id="code" name="codef" src="Qvalidate.jsp"> <a href="javascript:changecode()" style="text-decoration: underline none" name="hehe"><div style="font-size: smaller" align="right">看不清换一张</a>
<TD width=70>
<DIV align=center></DIV></TD></TR>
<TR>
<TD height=40>&nbsp;</TD>
<TD><INPUT type=image height=33 width=83
src="images/index_hz04.gif" border=0
name=imageField></TD>
<TD width=70>&nbsp; </TD></TR></FORM></TBODY></TABLE></TD>
<TD style="FONT-SIZE: 1px; LINE-HEIGHT: 1px" width=3
background="images/index_hz02.gif"></TD></TR>
<TR>
<TD background="images/index_hz05.gif" colSpan=3
height=127></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<%String h=(String)request.getSession().getAttribute("message");
pageContext.setAttribute("e",h);
%>
</BODY></HTML>
</html>

@ -0,0 +1,192 @@
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript">
function changecode(){
var my=document.getElementById("code");
Date da=new Date();
my="Qvalidate.jsp?code="+da.getTime();
}
</script>
<SCRIPT language=javascript>
//检验表单的合法性
function SuperLogin() {
if (document.SuperLoginForm.name.value == "") {
alert("\请输入您的管理账号!");
document.SuperLoginForm.name.focus();
}
else if (document.SuperLoginForm.password.value == "") {
alert("\请输入您的管理密码!");
document.SuperLoginForm.password.focus();
}
else if (document.SuperLoginForm.verifycode.value == "") {
alert("\请输入右侧显示验证码!");
document.SuperLoginForm.verifycode.focus();
}
else {
return true;
}
return false;
}
// End of validation form script -->
</SCRIPT>
<base href="<%=basePath%>">
<title>My JSP 'ManagerLogin.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 bgColor=#006599 leftMargin=0 topMargin=0 marginwidth="0" marginheight="0" >
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD background="images/indexbg.gif"
height=600><BR><BR><BR><BR><BR><BR><BR>
<TABLE class=tableborder cellSpacing=0 cellPadding=0 width=427
align=center border=0>
<TBODY>
<TR>
<TD background="images/index_hz01.gif" colSpan=3
height=64>&nbsp;</TD></TR>
<TR>
<TD style="FONT-SIZE: 1px; LINE-HEIGHT: 1px" width=3
background="images/index_hz02.gif"></TD>
<TD style="BORDER-TOP: #666666 1px double" vAlign=top
background="images/index_hz03.gif" height=162><BR><BR>
<TABLE cellSpacing=0 cellPadding=0 width=320 align=right border=0>
<FORM name=SuperLoginForm onSubmit="return SuperLogin()"
action="servlet/ShopManagerServlet?op=Logincheck" method=post>
<TBODY>
<TR>
<TD width=82 height=30>
<DIV style="FONT-SIZE: 12px" align=center>用户名:</DIV></TD>
<TD colSpan=2><INPUT name="name" type="text"
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px"
maxLength=16> </TD></TR>
<TR>
<TD height=30>
<DIV style="FONT-SIZE: 12px"
align=center>密&nbsp;&nbsp;码:</DIV></TD>
<TD><INPUT
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px"
type=password maxLength=16 name="password"> </TD>
<TD width=70>
<DIV align=center></DIV></TD></TR>
<TR>
<TD height=30>
<DIV style="FONT-SIZE: 12px" align=center>验证码:</DIV></TD>
<TD><INPUT name="verifycode" id="verifycode"
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px" size=4
maxLength=4> <img id="code" name="codef" onclick="javascript:changecode()" src="Qvalidate.jsp">
<TD width=70>
<DIV align=center></DIV></TD></TR>
<TR>
<TD height=40>&nbsp;</TD>
<TD><INPUT type=image height=33 width=83
src="images/index_hz04.gif" border=0
name=imageField></TD>
<TD width=70>&nbsp; </TD></TR></FORM></TBODY></TABLE></TD>
<TD style="FONT-SIZE: 1px; LINE-HEIGHT: 1px" width=3
background="images/index_hz02.gif"></TD></TR>
<TR>
<TD background="images/index_hz05.gif" colSpan=3
height=127></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<script>
alert('账户,密码或验证码错误');
history.back()
</script>
</BODY></HTML>
</html>

@ -0,0 +1,239 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'NewGoodsShow.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 background="images/huang.jpg">
<SCRIPT LANGUAGE="JavaScript">
function validate_required(field,alerttxt)
{
with (field)
{
if (value==null||value=="")
{alert(alerttxt);return false}
else {return true}
}
}
function validate_form(thisform)
{
with (thisform)
{
if (validate_required(gname,"商品名称必须填写")==false)
{gname.focus();return false}
if (validate_required(gprice,"商品价格必须填写")==false)
{gprice.focus();return false}
if (validate_required(gnumber,"商品数量必须填写")==false)
{gnumber.focus();return false}
if (validate_required(gdiscount,"商品折扣必须填写")==false)
{gdiscount.focus();return false}
if (validate_required(gapply,"商品类型必须填写")==false)
{gnumber.focus();return false}
if (validate_required(gspic,"展示图片(小)必须填写")==false)
{gspic.focus();return false}
if (validate_required(gcpu,"CPU名称必须填写")==false)
{gcpu.focus();return false}
if (validate_required(gram,"内存名称必须填写")==false)
{gram.focus();return false}
if (validate_required(gsata,"硬盘名称必须填写")==false)
{gsata.focus();return false}
if (validate_required(gvideocard,"刻录机名称必须填写")==false)
{gvideocard.focus();return false}
if (validate_required(gsystem,"系统名称必须填写")==false)
{gsystem.focus();return false}
if (validate_required(gheft,"重量必须填写")==false)
{gheft.focus();return false}
if (validate_required(gbluetooth,"蓝牙必须填写")==false)
{gbluetooth.focus();return false}
if (validate_required(gmonito,"屏幕必须填写")==false)
{gmonito.focus();return false}
}
}
</SCRIPT>
<center>
<form action="servlet/NewGoodsFixServlet" method="post" onsubmit="return validate_form(this)" enctype="multipart/form-data" style="background-image: images/huang.jpg" >
<table width="50%" border="1">
<tr>
<td>
商品名称:
</td>
<td>
<input type="text" name="gname" >
</td>
</tr>
<tr>
<td>
商品价格:
</td>
<td>
<input type="text" name="gprice" />
</td>
</tr>
<tr>
<td>
商品数量:
</td>
<td>
<input type="text" name="gnumber" />
</td>
</tr>
<tr>
<td>
商品折扣:
</td>
<td>
<input type="text" name="gdiscount" />
</td>
</tr>
<tr>
<td>
商品类型:
</td>
<td>
<input type="text" name="gapply" />
</td>
</tr>
<tr>
<td>
展示图片(小):
</td>
<td>
<input type="file" name="f1"/>
</td>
</tr>
<tr>
<td>
CPU
</td>
<td>
<input type="text" name="gcpu" />
</td>
<tr>
<td>
内存:
</td>
<td>
<input type="text" name="gram" />
</td>
</tr>
<tr>
<td>
硬盘:
</td>
<td>
<input type="text" name="gsata" />
</td>
</tr>
<tr>
<td>
刻录机:
</td>
<td>
<input type="text" name="gvideocard" />
</td>
</tr>
<tr>
<td>
系统:
</td>
<td>
<input type="text" name="gsystem" />
</td>
</tr>
<tr>
<td>
重量:
</td>
<td>
<input type="text" name="gheft" />
</td>
</tr>
<tr>
<td>
蓝牙:
</td>
<td>
<input type="text" name="gbluetooth" />
</td>
</tr>
<tr>
<td>
屏幕:
</td>
<td>
<input type="text" name="gmonito" />
</td>
<tr>
<td>
展示图片1
</td>
<td>
<input type="file" name="f2"/>
</td>
</tr>
<tr>
<td>
展示图片2
</td>
<td>
<input type="file" name="f3"/>
</td>
</tr>
<tr>
<td>
展示图片3
</td>
<td>
<input type="file" name="f4"/>
</td>
</tr>
<tr>
<td>
展示图片4
</td>
<td>
<input type="file" name="f5"/>
</td>
</tr>
</table>
<br/>
<input type="submit" value="确认添加">
</form>
<form action="servlet/AdGoodsListServlet">
<input type="submit" value="返回">
</form>
</center>
</body>
</html>

@ -0,0 +1,33 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'PictureUpload.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>
<form action="servlet/PictureUpload" method="post" enctype="multipart/form-data">
<input type="hidden" name="ty" value="${types}">
<input type="hidden" name="pgid" value="${gid}">
<input type="file" name="f1" >
<input type="submit" value="È·ÈÏÉÏ´«">
</form>
</body>
</html>

@ -0,0 +1,432 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.domain.*" pageEncoding="utf-8" contentType="text/html; charset=gbk"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>ACE Shop</title>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js"></script>
<script type="text/javascript">
function checkvalidate() {
if (document.registerpage.u_name.value == "") {
alert("\请输入您的账号!");
document.registerpage.u_name.focus();
} else if (document.registerpage.u_pwd.value == "") {
alert("\请输入您的密码!");
document.registerpage.u_pwd.focus();
} else if (document.registerpage.u_pwd1.value == "") {
alert("\请输入你得确认密码!");
document.registerpage.u_pwd.focus();
} else if (document.registerpage.u_pwd.value != document.registerpage.u_pwd1.value) {
alert("\两次输入的密码不一样!");
document.registerpage.u_pwd1.focus();
return false;
} else if (document.registerpage.u_address.value == "") {
alert("\请输入你的地址!");
document.registerpage.u_mobile.focus();
} else if (document.registerpage.u_mobile.value == "") {
alert("\请输入电话号码!");
document.registerpage.u_mobile.focus();
} else if (document.registerpage.u_phone.value.length != 11) {
alert("\输入的号码不对");
document.registerpage.u_phone.focus();
} else if (document.registerpage.u_email.value == "") {
alert("\邮箱未填");
document.registerpage.u_email.focus();
return false;
} else if (document.registerpage.u_email.value != "") {
var email = document.registerpage.u_email.value;
var pattern = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/;
chkFlag = pattern.test(email);
if (chkFlag) {
return true;
} else {
alert("邮箱地址的格式不正确!");
document.registerpage.u_email.focus();
return false;
}
} else {
return true;
}
return false;
}
</script>
<script type="text/javascript" >
var xmlRequest = null;// 请求对象
function createXmlRequest() {
if (window.xmlHttpRequest) {
// 火狐和salari和chrome
xmlRequest = new XmlHttpRequest();
return;
}
// 对于ie
try {
// activex为ie浏览器的扩展组件。
xmlRequest = new ActiveXObject('Msxml2.XMLHTTP');
} catch (e) {
xmlRequest = new ActiveXObject('Microsoft.XMLHTTP');
}
}
function send() // 将填入的姓名发给后台的服务
{
createXmlRequest();
var name = document.getElementById("u_name").value;
var url = "http://127.0.0.1:8080/aceshopping/servlet/registerUserCheck?op=usercheck&u_name="+name;
xmlRequest.open("post", url, true); // 向服务发出异步请求
xmlRequest.onreadystatechange = doreceive;// 当收到服务器的响应后,自动回调该方法
// xmlRequest.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=gbk");//针对post请求参数做编码处理,否则ie8下乱码
xmlRequest.send(null);// 发送请求,send的参数为post参数
}
function doreceive() {
if (xmlRequest.readyState == 4 && xmlRequest.status == 200) {
var response = xmlRequest.responseText;
// 将服务端响应的报文放在info中
document.getElementById("infousername").innerHTML =response;
//"<font color='red'>"+response+"</font>";
}
}
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "top_nav", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
</head>
<body>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* service-menu */
.service-menu .menu-title,.service-menu .menu-p,.service-menu .menu-p .menu-i{background:url("images/menubg.png") no-repeat;}
.service-menu{border:solid 1px #d1d1d1;width:206px;margin:auto auto auto auto;}
.service-menu .menu-title{height:21px;overflow:hidden;padding:6px 8px;background-position:0 0;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:bold;}
.service-menu .menu-p{display:block;height:21px;overflow:hidden;padding:6px 0 6px 19px;border-top:solid 1px #e6e6e6;background-position:0 -50px;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:normal;cursor:pointer;}
.service-menu .menu-p .menu-i{float:left;display:inline;width:11px;height:11px;overflow:hidden;background-position:0 -103px;margin:5px 6px 0 0;}
.service-menu .menu-p a:link,.service-menu .menu-p a:visited{color:#444;text-decoration:none;font-size:14px;}
.service-menu .menu-p a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-p-current .menu-i{background-position:-20px -103px;}
.service-menu .menu-p-current a:link,.service-menu .menu-p-current a:visited{color:#369;font-weight:bold;}
.service-menu .menu-p-current a:hover{color:#ff7300;}
.service-menu .menu-c{border-top:solid 1px #e6e6e6;display:none;padding:4px 0 4px 54px;}
.service-menu .menu-c-current{display:block;}
.service-menu .menu-c ul{display:block;}
.service-menu .menu-c li{padding:2px 0;height:18px;overflow:hidden;}
.service-menu .menu-c a:link,.service-menu .menu-c a:visited{color:#444;text-decoration:none;}
.service-menu .menu-c a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-c .current:link,.service-menu .menu-c .current:visited{color:#369;font-weight:bold;}
.service-menu .menu-c .current:hover{color:#ff7300;}
</style>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title"><h1><a href="http://www.dell.com.cn/">DELL官方网站</a></h1></div>
<div id="header_right">
<p>
<a>${(empty Quser.u_Name)?'游客请登录':'欢迎'}${Quser.u_Name}</a>|<a href="login.jsp">登录我的账户</a> |<a href="servlet/ShowOrderServlet">订单查询</a> |<a href="helpmeChoose.html" target="_blank">帮我选择</a> |<a href="Qregister.jsp">注册</a></p>
<p>
购物车: <strong>${(empty cart)?0:cart.count} 件商品</strong> ( <a href="ShoppingCart.jsp">进入购物车</a> )
</p>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
<div id="templatemo_menubar">
<div id="top_nav" class="ddsmoothmenu">
<ul>
<li><a href="servlet/ShowServlet" class="selected">主页</a></li>
<li><a href="servlet/ShowServlet">购买商品</a>
<ul>
<li><a href="showError.jsp">时尚触控本</a></li>
<li><a href="servlet/MenuServlet?apply=enjoy">多媒体娱乐本</a></li>
<li><a href="servlet/MenuServlet?apply=daily">日常综合应用</a></li>
<li><a href="servlet/MenuServlet?apply=top">顶级超高性能</a></li>
<li><a href="showError.jsp">专业游戏</a></li>
</ul>
</li>
<li><a href="faqs.jsp">常见问题</a></li>
<li><a href="servlet/ShowOrderServlet">订单查询</a></li>
<li><a href="contact.jsp">联系我们</a></li>
<li><a href="about.jsp">关于</a></li>
</ul>
<br style="clear: left" />
</div> <!-- end of ddsmoothmenu -->
<div id="templatemo_search">
<form action="servlet/FindGoodsServlet?op=find" method="post">
<input type="text" name="keyword" id="keyword" title="keyword" onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value=" " alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div>
</div> <!-- END of templatemo_menubar -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" title="网页模板">网页模板</a></div>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>产品筛选</h3>
<div class="content">
<div class="service-menu">
<input class="menu-code-index" type="hidden" value="c849" /><!--默认下值设置
data-service-index=c203的列表项展开与子列表标签导航高亮显示-->
<strong class="menu-p"><i class="menu-i"></i><a href="">产品系列</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=Inspiron">Inspiron</a></li>
<li><a href="servlet/MenuServlet?types=XPS">XPS</a></li>
<li><a href="servlet/MenuServlet?types=Alienware">Alienware</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">处理器</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?cpu=i3">英特尔I3智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i5">英特尔I5智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i7">英特尔I7智能处理器</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">笔记本屏幕尺寸</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?monito=14">14寸</a></li>
<li><a href="servlet/MenuServlet?monito=15">15寸</a></li>
<li><a href="servlet/MenuServlet?monito=17">17寸</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">价格区间</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?sma=3000&big=5000">RMB3000~RMB5000</a></li>
<li><a href="servlet/MenuServlet?sma=5000&big=7000">RMB5000~RMB7000</a></li>
<li><a href="servlet/MenuServlet?sma=7000&big=9000">RMB7000~RMB9000</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">操作系统</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?system=Windows 7">Windows 7</a></li>
<li><a href="servlet/MenuServlet?system=Windows 8">Windows 8</a></li>
<li><a href="servlet/MenuServlet?system=Linux">Linux</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>热销商品 </h3>
<div class="content">
<div class="content">
<c:forEach items="${list3}" var="ff">
<div class="bs_box">
<a href="servlet/ShowServlet?op=add&gid=${ff.g_Id }"><img src="imgs/type.jpg" alt="image" width="75px" height="75px"/></a>
<h4>${ff.g_Name }</h4>
<p class="price">价格:${ff.g_Price }</p>
<p class="price">销量:${ff.o_Count}</p>
<div class="cleaner"></div>
</div>
</c:forEach>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>公告 </h3>
<div class="content">
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<c:forEach var="list" items="${list2}" varStatus="ss">
<tr><td width="180px" ><a>&nbsp;&nbsp;&nbsp;${list.b_Content}</a></td></tr>
<tr><td ><a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;${list.b_Posttime }</a></td></tr>
<tr><td>&nbsp;</td></tr>
</c:forEach>
</table>
</marquee>
</div>
</div>
</div>
<div id="content" class="float_r">
<div id="slider-wrapper">
<div id="slider" class="nivoSlider">
<img src="images/slider/02.jpg" alt="" />
<a href="#"><img src="images/slider/01.jpg" alt="" /></a>
<img src="images/slider/03.jpg" alt="" />
<img src="images/slider/04.jpg" alt="" title="#htmlcaption" />
</div>
</div>
<script type="text/javascript" src="js/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="js/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript">
$(window).load(function() {
$('#slider').nivoSlider();
});
</script>
<div id="content" class="float_r">
<h5><strong>注册</strong></h5>
<div class="content_half float_l checkout">
<form onSubmit="return checkvalidate()" name=registerpage
method="post" action="servlet/QRegisterServlet?op=register">
<table> <tr>
<td width="50%" height="30" align="center">
用户名:
</td>
<td width="50%" class="word_grey">
<input name="u_name" id="u_name" type="text" maxlength="20" onblur="send()"/>
<span class="word_orange">*</span>
<div id="infousername"></div>
</td>
</tr>
<tr>
<td height="28" align="center">
密&nbsp;&nbsp;&nbsp;&nbsp;码 :
</td>
<td height="28">
<input name="u_pwd" type="password" size="21" maxlength="21" />
<span class="word_orange">*[密码至少六位]</span>
</td>
</tr>
<tr>
<td height="28" align="center">
确认密码 :
</td>
<td height="28">
<input name="u_pwd1" type="password" size="21" maxlength="21" />
<span class="word_orange">*</span>
</td>
</tr>
<tr>
<td height="28" align="center">
联系地址:
</td>
<td class="word_grey">
<input name="u_address" type="text" size="50" />
</td>
</tr>
<tr>
<td height="28" align="center">
联系电话:
</td>
<td class="word_grey">
<input name="u_mobile" type="text" size="50" />
</td>
</tr>
<tr>
<td height="28" align="center">
固定电话:
</td>
<td class="word_grey">
<input name="u_phone" type="text" size="50" />
</td>
</tr>
<tr>
<td height="28" align="center">
邮箱地址:
</td>
<td class="word_grey">
<input name="u_email" type="text" size="50" />
</td>
</tr>
<tr>
<td height="34">&nbsp;
</td>
<td class="word_grey">
<input name="reg" type="submit" value="注册" "/>
<input name="retwrite" type="reset" value="返回重写" />
<input name="back" type="button" value="已有账号,点此返回登录"
onclick="window.location.href='login.jsp'" />
</td>
</tr> </table></form></div>
</div> </div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_main -->
<div id="templatemo_footer">
<p><a href="#">Home</a> | <a href="#">Products</a> | <a href="#">About</a> | <a href="#">FAQs</a> | <a href="#">Checkout</a> | <a href="#">Contact Us</a>
</p>
Copyright © 2072 <a href="#">ACE Team</a> | Collect from <a href="http://www.baidu.com" target="_parent">百度</a>
</div> <!-- END of templatemo_footer -->
</div> <!-- END of templatemo_wrapper -->
</div> <!-- END of templatemo_body_wrapper -->
</body>
</html>

@ -0,0 +1,2 @@
<%@page contentType="image/jpeg" %><%@page language="java" pageEncoding="utf-8"%><jsp:useBean id="image" scope="page" class="com.ace.shopping.domain.Qimage"/><%String str = image.getCertPic(0,0,response.getOutputStream());request.getSession().setAttribute("certCode",str);
%>

@ -0,0 +1,264 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ReviseGoodsShow.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>
<SCRIPT LANGUAGE="JavaScript">
var openerwin = window.opener
function validate_required(field,alerttxt)
{
with (field)
{
if (value==null||value=="")
{alert(alerttxt);return false}
else {return true}
}
}
function validate_form(thisform)
{
with (thisform)
{
if (validate_required(gname,"商品名称必须填写")==false)
{gname.focus();return false}
if (validate_required(gprice,"商品价格必须填写")==false)
{gprice.focus();return false}
if (validate_required(gnumber,"商品数量必须填写")==false)
{gnumber.focus();return false}
if (validate_required(gdiscount,"商品折扣必须填写")==false)
{gdiscount.focus();return false}
if (validate_required(gapply,"商品类型必须填写")==false)
{gdiscount.focus();return false}
if (validate_required(gcpu,"CPU名称必须填写")==false)
{gcpu.focus();return false}
if (validate_required(gram,"内存名称必须填写")==false)
{gram.focus();return false}
if (validate_required(gsata,"硬盘名称必须填写")==false)
{gsata.focus();return false}
if (validate_required(gvideocard,"刻录机名称必须填写")==false)
{gvideocard.focus();return false}
if (validate_required(gsystem,"系统名称必须填写")==false)
{gsystem.focus();return false}
if (validate_required(gheft,"重量必须填写")==false)
{gheft.focus();return false}
if (validate_required(gbluetooth,"蓝牙必须填写")==false)
{gbluetooth.focus();return false}
if (validate_required(gmonito,"屏幕必须填写")==false)
{gmonito.focus();return false}
if (validate_required(f1,"图片必须填写")==false)
{gmonito.focus();return false}
if (validate_required(f2,"图片必须填写")==false)
{gmonito.focus();return false}
if (validate_required(f3,"图片必须填写")==false)
{gmonito.focus();return false}
if (validate_required(f4,"图片必须填写")==false)
{gmonito.focus();return false}
if (validate_required(f5,"图片必须填写")==false)
{gmonito.focus();return false}
}
}
</SCRIPT>
<center>
<form action="servlet/FixGoodsServlet" onsubmit="return validate_form(this)" method="post">
<table width="50%" border="1">
<tr>
<td>
商品编号:
</td>
<td>
<input type="text" name="gid" value="${rgd.gid}" readonly>
</td>
</tr>
<tr>
<td>
商品名称:
</td>
<td>
<input type="text" name="gname" value="${rgd.goods.gname}">
</td>
</tr>
<tr>
<td>
商品价格:
</td>
<td>
<input type="text" name="gprice" value="${rgd.goods.gprice }" />
</td>
</tr>
<tr>
<td>
商品数量:
</td>
<td>
<input type="text" name="gnumber" value="${rgd.goods.gnumber }" />
</td>
</tr>
<tr>
<td>
商品折扣:
</td>
<td>
<input type="text" name="gdiscount" value="${rgd.goods.gdiscount }" />
</td>
</tr>
<tr>
<td>
商品类型:
</td>
<td>
<input type="text" name="gapply" value="${rgd.goods.gapply }" />
</td>
</tr>
<tr>
<td>
展示图片(小):
</td>
<td>
<input type="text" name="gpic1" value="${rgd.goods.gspic}" readonly/>
<a href="servlet/PictureUpload?op=g_Spic&gid=${rgd.gid}" target=openerwin>修改</a>
</td>
</tr>
<tr>
<td>
CPU
</td>
<td>
<input type="text" name="gcpu" value="${rgd.gcpu }" />
</td>
<tr>
<td>
内存:
</td>
<td>
<input type="text" name="gram" value="${rgd.gram }" />
</td>
</tr>
<tr>
<td>
硬盘:
</td>
<td>
<input type="text" name="gsata" value="${rgd.gsata }" />
</td>
</tr>
<tr>
<td>
刻录机:
</td>
<td>
<input type="text" name="gvideocard" value="${rgd.gvideocard }" />
</td>
</tr>
<tr>
<td>
系统:
</td>
<td>
<input type="text" name="gsystem" value="${rgd.gsystem }" />
</td>
</tr>
<tr>
<td>
重量:
</td>
<td>
<input type="text" name="gheft" value="${rgd.gheft }" />
</td>
</tr>
<tr>
<td>
蓝牙:
</td>
<td>
<input type="text" name="gbluetooth" value="${rgd.gbluetooth }" />
</td>
</tr>
<tr>
<td>
屏幕:
</td>
<td>
<input type="text" name="gmonito" value="${rgd.gmonito }" />
</td>
<tr>
<td>
展示图片1
</td>
<td>
<input type="text" name="gpic2" value="${rgd.gbpic1 }" readonly/>
<a href="servlet/PictureUpload?op=g_Bpic1&gid=${rgd.gid}" target=openerwin>修改</a>
</td>
</tr>
<tr>
<td>
展示图片2
</td>
<td>
<input type="text" name="gpic3" value="${rgd.gbpic2 }" readonly/>
<a href="servlet/PictureUpload?op=g_Bpic2&gid=${rgd.gid}" target=openerwin>修改</a>
</td>
</tr>
<tr>
<td>
展示图片3
</td>
<td>
<input type="text" name="gpic4" value="${rgd.gbpic3}" readonly/>
<a href="servlet/PictureUpload?op=g_Bpic3&gid=${rgd.gid}" target=openerwin>修改</a>
</td>
</tr>
<tr>
<td>
展示图片4
</td>
<td>
<input type="text" name="gpic5" value="${rgd.gbpic4}" readonly/>
<a href="servlet/PictureUpload?op=g_Bpic4&gid=${rgd.gid}" target=openerwin>修改</a>
</td>
</tr>
</table>
<input type="submit" value="确认修改">
</form>
<form action="servlet/AdGoodsListServlet">
<input type="submit" value="返回">
</form>
</center>
</body>
</html>

@ -0,0 +1,272 @@
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="java.text.SimpleDateFormat"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ShopManagerMain.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">
-->
<script>
function changetime()
{
var d = new Date();
var y = d.getYear();
var m = d.getMonth()+1;
var dd = d.getDate();
var hh = d.getHours();
var mi = d.getMinutes();
var sec = d.getSeconds();
document.getElementById("time").innerHTML = "当前时间为"+y+"年"+m+"月"+dd+"日"
+hh+":"+mi+":"+sec;
//过了一段时间后调用函数
}
</script>
<script>
function guan()
{
if(this.confirm("是否关闭?"))
this.close();
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<script language="javascript" src="jquery.js"></script>
<style type="text/css">
<!--
* {
margin:0px;
padding:0px;
}
html, body{
height:100%;
overflow: hidden;
}
html>body{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}
body {
border:8px solid #ffffff;
background-color: #ffffff;min-width:230px;
}
#mainDiv {
width: 100%;
height: 100%;
padding:60px 0px 25px 0px;;
}
#centerDiv{
width: 100%;
height: 100%;
background-color:#00CCFF;
padding-left:158px;
}
#mainDiv>#centerDiv{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 56px;
left: 0px;
right: 0px;
bottom: 20px;
}
#left{
width:158px;
height:100%;
background:url(images/slide.jpg) repeat-y;
position:absolute;
left:0px;
}
#lhead{
background:url(images/left-head.jpg) left top no-repeat;
height:25px;
font-size:14px;
color:#FF9933;
text-align:center;
line-height:25px;
}
#right{
width:100%;
height:100%;
background:url(images/bg.gif);
position:absolute;
overflow-y:auto;
border:1px #003366 solid;
padding:20px 0 0 10px;
font-size:12px;
font-family:"宋体";
}
#centerDiv>#right{
width:auto;
height:auto;
position:absolute;
top:0px;
right:0px;
left:158px;
bottom:0px;
}
#topDiv{
width:100%;
height:56px;
background:url(images/head-bg.jpg) repeat-x;
position:absolute;
top:0px;
overflow:hidden;
}
#topDiv ul{
list-style:none;
font-size:12px;
width:100%;
margin:0;
padding:0;
}
#topDiv ul li{
float:left;
width:15%
}
#topDiv ul li a {
display:block;
width:100%;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#tmenu{
width:100%;
position:absolute;
left:12%;
bottom:0;
padding-left:15%;
margin-left:-15%;
}
#current{
background:#ccc;
height:25px;
line-height:25px;
margin:-20px 0 0 -10;
overflow:hidden;
}
#bottomDiv{
width:100%;
height:20px;
background:url(images/bottom.jpg) repeat-x;
position:absolute;
bottom:0px;
bottom:-1px; /*-- for IE6.0 --*/
}
#left ul{
list-style:none;
font-size:12px;
margin:50px 0 0 8px;
}
#left ul li a{
display:block;
width:140px;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#left ul li a:hover{
background:url(images/menu-bg.jpg) 0px 25px;
color:#99FFCC;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
}
#form{
width:80%;
height:99%;
margin:0 auto;
_margin-left:20%;
}
fieldset{
width:100%;
margin:20 auto;
line-height:35px;
padding-left:20PX;
}
-->
</style>
</head>
<body onload="javascript:setInterval(changetime,500)" >
<div id="mainDiv">
<div id="topDiv">
<div id="tmenu"><ul>
<li ><a href="servlet/ShowServlet">商城主页</a></li>
<li ><a href="javascript:window.history.go(1)">前进</a></li>
<li ><a href="javascript:window.history.go(-1)">后退</a></li>
<li ><a href="javascript:window.history.go(0)">刷新</a></li>
<li ><a href="servlet/ShopManagerServlet?op=help">帮助</a></li>
</ul></div></div>
<div id="centerDiv">
<div id="left">
<div id="lhead">管理菜单</div>
<ul>
<li ><a href="servlet/ShopManagerServlet?op=ShowQuser">查看用户</a></li>
<li ><a href="servlet/AdGoodsListServlet">商品管理</a></li>
<li ><a href="servlet/AdOrderListServlet">订单管理</a></li>
<li ><a href="servlet/T_boardServlet?op=five">公告管理</a></li>
<li ><a href="servlet/ContactServlet?op=find">留言管理</a></li>
<li ><a href="javascript:window.guan()">关闭</a></li>
</ul>
</div>
<div id="right">
<div id="current">&nbsp;&nbsp;&nbsp;&nbsp;当前位置:</div>
<H1 align="center">欢迎来到ACE网上购物后台管理</H1><br>
<H2 id="time" align="center"></H2>
<div id="form">
</div>
</div></div>
<div id="bottomDiv"></div>
</div>
<script language="javascript">
$("#test1").toggle(function(){$("#test").slideDown()},function(){$("#test").slideUp()})
</script>
</body>
</html>
</html>

@ -0,0 +1,282 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.domain.*" pageEncoding="GB18030"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ACE Shop</title>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "top_nav", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
</head>
<body>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* service-menu */
.service-menu .menu-title,.service-menu .menu-p,.service-menu .menu-p .menu-i{background:url("images/menubg.png") no-repeat;}
.service-menu{border:solid 1px #d1d1d1;width:206px;margin:auto auto auto auto;}
.service-menu .menu-title{height:21px;overflow:hidden;padding:6px 8px;background-position:0 0;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:bold;}
.service-menu .menu-p{display:block;height:21px;overflow:hidden;padding:6px 0 6px 19px;border-top:solid 1px #e6e6e6;background-position:0 -50px;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:normal;cursor:pointer;}
.service-menu .menu-p .menu-i{float:left;display:inline;width:11px;height:11px;overflow:hidden;background-position:0 -103px;margin:5px 6px 0 0;}
.service-menu .menu-p a:link,.service-menu .menu-p a:visited{color:#444;text-decoration:none;font-size:14px;}
.service-menu .menu-p a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-p-current .menu-i{background-position:-20px -103px;}
.service-menu .menu-p-current a:link,.service-menu .menu-p-current a:visited{color:#369;font-weight:bold;}
.service-menu .menu-p-current a:hover{color:#ff7300;}
.service-menu .menu-c{border-top:solid 1px #e6e6e6;display:none;padding:4px 0 4px 54px;}
.service-menu .menu-c-current{display:block;}
.service-menu .menu-c ul{display:block;}
.service-menu .menu-c li{padding:2px 0;height:18px;overflow:hidden;}
.service-menu .menu-c a:link,.service-menu .menu-c a:visited{color:#444;text-decoration:none;}
.service-menu .menu-c a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-c .current:link,.service-menu .menu-c .current:visited{color:#369;font-weight:bold;}
.service-menu .menu-c .current:hover{color:#ff7300;}
</style>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title"><h1><a href="http://www.dell.com.cn/">DELL官方网站</a></h1></div>
<div id="header_right">
<p>
<a>${(empty Quser.u_Name)?'游客请登录':'欢迎'}${Quser.u_Name}</a>|<a href="login.jsp">登录我的账户</a> |<a href="servlet/ShowOrderServlet">订单查询</a> |<a href="helpmeChoose.html" target="_blank">帮我选择</a> |<a href="Qregister.jsp">注册</a></p>
<p>
购物车: <strong>${(empty cart)?0:cart.count} 件商品</strong> ( <a href="ShoppingCart.jsp">进入购物车</a> )
</p>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
<div id="templatemo_menubar">
<div id="top_nav" class="ddsmoothmenu">
<ul>
<li><a href="servlet/ShowServlet" class="selected">主页</a></li>
<li><a href="servlet/MenuServlet?op=findall">购买商品</a>
<ul>
<li><a href="showError.jsp">时尚触控本</a></li>
<li><a href="servlet/MenuServlet?apply=enjoy">多媒体娱乐本</a></li>
<li><a href="servlet/MenuServlet?apply=daily">日常综合应用</a></li>
<li><a href="servlet/MenuServlet?apply=top">顶级超高性能</a></li>
<li><a href="showError.jsp">专业游戏</a></li>
</ul>
</li>
<li><a href="faqs.jsp">常见问题</a></li>
<li><a href="servlet/ShowOrderServlet">订单查询</a></li>
<li><a href="contact.jsp">联系我们</a></li>
<li><a href="about.jsp">关于</a></li>
</ul>
<br style="clear: left" />
</div> <!-- end of ddsmoothmenu -->
<div id="templatemo_search">
<form action="servlet/FindGoodsServlet?op=find" method="post">
<input type="text" name="keyword" id="keyword" title="keyword" onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value=" " alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div>
</div> <!-- END of templatemo_menubar -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" title="网页模板">网页模板</a></div>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>产品筛选</h3>
<div class="content">
<div class="service-menu">
<input class="menu-code-index" type="hidden" value="c849" /><!--默认下值设置
data-service-index=c203的列表项展开与子列表标签导航高亮显示-->
<strong class="menu-p"><i class="menu-i"></i><a href="">产品系列</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=Inspiron">Inspiron</a></li>
<li><a href="servlet/MenuServlet?types=XPS">XPS</a></li>
<li><a href="servlet/MenuServlet?types=Alienware">Alienware</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">处理器</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?cpu=i3">英特尔I3智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i5">英特尔I5智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i7">英特尔I7智能处理器</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">笔记本屏幕尺寸</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?monito=14">14寸</a></li>
<li><a href="servlet/MenuServlet?monito=15">15寸</a></li>
<li><a href="servlet/MenuServlet?monito=17">17寸</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">价格区间</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?sma=3000&big=5000">RMB3000~RMB5000</a></li>
<li><a href="servlet/MenuServlet?sma=5000&big=7000">RMB5000~RMB7000</a></li>
<li><a href="servlet/MenuServlet?sma=7000&big=9000">RMB7000~RMB9000</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">操作系统</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?system=Windows 7">Windows 7</a></li>
<li><a href="servlet/MenuServlet?system=Windows 8">Windows 8</a></li>
<li><a href="servlet/MenuServlet?system=Linux">Linux</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>热销商品 </h3>
<div class="content">
<c:forEach items="${list3}" var="ff">
<div class="bs_box">
<a href="servlet/ShowServlet?op=add&gid=${ff.g_Id }"><img src="imgs/type.jpg" alt="image" width="75px" height="75px"/></a>
<h4>${ff.g_Name }</h4>
<p class="price">价格:${ff.g_Price }</p>
<p class="price">销量:${ff.o_Count}</p>
<div class="cleaner"></div>
</div>
</c:forEach>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>公告 </h3>
<div class="content">
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list2");
for(T_board e:list)
{
%>
<tr><td width="180px" ><a>&nbsp;&nbsp;&nbsp;<%=e.getB_Content() %></a></td></tr>
<tr><td ><a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<%=e.getB_Posttime() %></a></td></tr>
<tr><td>&nbsp;</td></tr>
<%
}
%>
</table>
</marquee>
</div>
</div>
</div>
<div id="content" class="float_r">
<h1>商品购物车</h1>
<form action="servlet/CartServlet?op=update" method="post">
<table width="680px" cellspacing="0" cellpadding="5">
<tr bgcolor="#ddd">
<th width="220" align="left">商品图 </th>
<th width="180" align="left">商品名 </th>
<th width="100" align="center">数量 </th>
<th width="60" align="right">单价 </th>
<th width="60" align="right">价格小计</th>
<th width="90"> </th>
</tr>
<%List itemlist=((Cart)session.getAttribute("cart")).getItems();
for(int i=0;i<itemlist.size();i++){
CartItem cartitem=(CartItem)itemlist.get(i);
%>
<tr>
<td><img src="imgs/<%=cartitem.getPic() %>" width="100px" heigth="100px"/> </td>
<td><%=cartitem.getName() %></td>
<td align="center"><input type="text" name="qty_<%=cartitem.getId() %>" value="<%=cartitem.getQuantity() %>" style="width: 20px; text-align: right" /> </td>
<td align="right"><%=cartitem.getPrice() %> </td>
<td align="right"><%=cartitem.getTotalPrice() %> </td>
<td align="center"> <a href="servlet/CartServlet?op=delete&gid=<%=cartitem.getId() %>"><img src="images/remove_x.gif" /><br />删除商品</a> </td>
</tr>
<%} %>
<tr>
<td colspan="3" align="right" height="30px">如果你要修改购物车商品数量,请单击这<input type="submit" style="background:#dcf" value="修改数量"/>&nbsp;&nbsp;</td>
<td align="right" style="background:#ddd; font-weight:bold"> 总价 </td>
<td align="right" style="background:#ddd; font-weight:bold"><%=((Cart)session.getAttribute("cart")).getTotalPrice() %></td>
<td style="background:#ddd; font-weight:bold"> </td>
</tr>
</table></form>
<div style="float:right; width: 215px; margin-top: 20px;">
<p><a href="servlet/CheckOutServlet">生成订单</a></p>
<p><a href="servlet/ShowServlet">继续购物</a></p>
</div>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_main -->
<div id="templatemo_footer">
<p><a href="#">Home</a> | <a href="#">Products</a> | <a href="#">About</a> | <a href="#">FAQs</a> | <a href="#">Checkout</a> | <a href="#">Contact Us</a>
</p>
Copyright © 2072 <a href="#">Your Company Name</a> | Collect from <a href="http://www.cssmoban.com" target="_parent">网站模板</a>
</div> <!-- END of templatemo_footer -->
</div> <!-- END of templatemo_wrapper -->
</div> <!-- END of templatemo_body_wrapper -->
</body>
</html>

@ -0,0 +1,71 @@
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title></title>
<style type="text/css">
.style1
{
text-align: center;
}
</style>
<script type="text/javascript">
window.onload = function () {
setTimeout(changeTime, 1000);
}
function changeTime() {
var time = document.getElementById("timeout").innerHTML;
time = parseInt(time);
time--;
if (time > 0) {
document.getElementById("timeout").innerHTML = time;
setTimeout(changeTime, 1000);
} else if (time <= 0) {
window.location = "ShowServlet";
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table width="490" height="325" border="0" align="center" cellpadding="0" cellspacing="0" background="images/showinfo.png">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td style="text-align: center">
恭喜你,下订单成功,我们将以最快的时间给你发货。
</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50" class="style1">&nbsp;</td>
<td style="text-align: center">
<span id="timeout" style="font-size:14px;color:Red; font-weight:bold">5</span>秒中以后自动返回首页
<a href="index.jsp">返回</a>
<td width="40">&nbsp;</td>
</tr>
</table></td>
</tr>
</table>
</div>
</form>
</body>
</html>

@ -0,0 +1,52 @@
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ShowOrder.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>
<center>
<table id="tblList" border="1">
<tr>
<td colspan="6"> <h2>查看订单<h2/> </td>
</tr>
<tr>
<th>订单编号</th>
<th>购买商品</th>
<th>价格</th>
<th>数量</th>
<th>收货地址</th>
<th>卖家留言</th>
</tr>
<c:forEach var="list" items="${lists}">
<tr>
<td>${list.o_Id}</td>
<td>${list.orderDetails.g_Name}</td>
<td>${list.orderDetails.g_Price}</td>
<td>${list.orderDetails.o_Count}</td>
<td>${list.o_Address}</td>
<td>${list.o_Msg}</td>
</tr>
</c:forEach>
</table>
</center>
</body>
</html>

@ -0,0 +1,71 @@
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title></title>
<style type="text/css">
.style1
{
text-align: center;
}
</style>
<script type="text/javascript">
window.onload = function () {
setTimeout(changeTime, 1000);
}
function changeTime() {
var time = document.getElementById("timeout").innerHTML;
time = parseInt(time);
time--;
if (time > 0) {
document.getElementById("timeout").innerHTML = time;
setTimeout(changeTime, 1000);
} else if (time <= 0) {
window.location = "servlet/ShowServlet";
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table width="490" height="325" border="0" align="center" cellpadding="0" cellspacing="0" background="images/showinfo.png">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td style="text-align: center">
恭喜你,注册成功,<br/>骚年,您现在可以去购物了。
</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50" class="style1">&nbsp;</td>
<td style="text-align: center">
<span id="timeout" style="font-size:14px;color:Red; font-weight:bold">5</span>秒中以后自动返回首页
<a href="index.jsp">返回</a>
<td width="40">&nbsp;</td>
</tr>
</table></td>
</tr>
</table>
</div>
</form>
</body>
</html>

@ -0,0 +1,277 @@
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.ace.shopping.domain.QUser"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ShopManagerMain.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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<script language="javascript" src="jquery.js"></script>
<script>
function guan()
{
if(this.confirm("是否关闭?"))
this.close();
}
</script>
<style type="text/css">
<!--
* {
margin:0px;
padding:0px;
}
html, body{
height:100%;
overflow: hidden;
}
html>body{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}
body {
border:8px solid #ffffff;
background-color: #ffffff;min-width:230px;
}
#mainDiv {
width: 100%;
height: 100%;
padding:60px 0px 25px 0px;;
}
#centerDiv{
width: 100%;
height: 100%;
background-color:#00CCFF;
padding-left:158px;
}
#mainDiv>#centerDiv{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 56px;
left: 0px;
right: 0px;
bottom: 20px;
}
#left{
width:158px;
height:100%;
background:url(images/slide.jpg) repeat-y;
position:absolute;
left:0px;
}
#lhead{
background:url(images/left-head.jpg) left top no-repeat;
height:25px;
font-size:14px;
color:#FF9933;
text-align:center;
line-height:25px;
}
#right{
width:100%;
height:100%;
background:#ffffff;
position:absolute;
overflow-y:auto;
border:1px #003366 solid;
padding:20px 0 0 10px;
font-size:12px;
font-family:"宋体";
}
#centerDiv>#right{
width:auto;
height:auto;
position:absolute;
top:0px;
right:0px;
left:158px;
bottom:0px;
}
#topDiv{
width:100%;
height:56px;
background:url(images/head-bg.jpg) repeat-x;
position:absolute;
top:0px;
overflow:hidden;
}
#topDiv ul{
list-style:none;
font-size:12px;
width:100%;
margin:0;
padding:0;
}
#topDiv ul li{
float:left;
width:15%
}
#topDiv ul li a {
display:block;
width:100%;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#tmenu{
width:100%;
position:absolute;
left:12%;
bottom:0;
padding-left:15%;
margin-left:-15%;
}
#current{
background:#ccc;
height:25px;
line-height:25px;
margin:-20px 0 0 -10;
overflow:hidden;
}
#bottomDiv{
width:100%;
height:20px;
background:url(images/bottom.jpg) repeat-x;
position:absolute;
bottom:0px;
bottom:-1px; /*-- for IE6.0 --*/
}
#left ul{
list-style:none;
font-size:12px;
margin:50px 0 0 8px;
}
#left ul li a{
display:block;
width:140px;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#left ul li a:hover{
background:url(images/menu-bg.jpg) 0px 25px;
color:#99FFCC;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
}
#form{
width:80%;
height:99%;
margin:0 auto;
_margin-left:20%;
}
fieldset{
width:100%;
margin:20 auto;
line-height:35px;
padding-left:20PX;
}
-->
</style>
</head>
<body>
<div id="mainDiv">
<div id="topDiv">
<div id="tmenu"><ul>
<li ><a href="servlet/ShowServlet">首页</a></li>
<li ><a href="javascript:window.history.go(1)">前进</a></li>
<li ><a href="javascript:window.history.go(-1)">后退</a></li>
<li ><a href="javascript:window.history.go(0)">刷新</a></li>
<li ><a href="servlet/ShopManagerServlet?op=help">帮助</a></li>
</ul></div></div>
<div id="centerDiv">
<div id="left">
<div id="lhead">管理菜单</div>
<ul>
<li ><a href="servlet/ShopManagerServlet?op=ShowQuser">查看用户</a></li>
<li ><a href="servlet/T_boardServlet?op=five">公告管理</a></li>
<li ><a href="servlet/AdGoodsListServlet">商品管理</a></li>
<li ><a href="servlet/ContactServlet?op=find">留言管理</a></li>
<li ><a href="servlet/AdOrderListServlet">订单管理</a></li>
<li ><a href="javascript:window.guan()">关闭</a></li>
</ul>
</div>
<div id="right">
<div id="current">&nbsp;&nbsp;&nbsp;&nbsp;当前位置:</div>
<div id="form">
<table border="1" align="center" bordercolor="0x030308" width="100%" style="font-size:200%" cellpadding="0" cellspacing="0"><tr>
<th>id</th>
<th>姓名</th>
<th>密码</th>
<th>地址</th>
<th>电话</th>
<th>手机</th>
<th>邮件</th>
</tr>
<%List<QUser> list=(List<QUser>)request.getSession().getAttribute("list");
for(QUser user:list){
%>
<tr align="center">
<td><%=user.getU_ID()%></td>
<td><%=user.getU_Name() %></td>
<td><%=user.getU_Pwd() %></td>
<td><%=user.getU_Address() %></td>
<td><%=user.getU_Mobile() %></td>
<td><%=user.getU_Phone() %></td>
<td><%=user.getU_Email() %></td>
</tr>
<%}%>
</table>
</div>
</div></div>
<div id="bottomDiv"></div>
</div>
<script language="javascript">
$("#test1").toggle(function(){$("#test").slideDown()},function(){$("#test").slideUp()})
</script>
</body>
</html>
</html>

@ -0,0 +1,66 @@
<%@ page language="java" import="com.ace.shopping.domain.*,java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'T_boardManage.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>公告管理</h1>
<h3>添加公告</h3>
<form action="servlet/T_boardServlet?op=add" method="post" >
<textarea name="textarea" rows="7" cols="60" ></textarea></br>
<input type="submit" name="add1" value="添加">
<a href="servlet/T_boardServlet?op=show" target="_blank">发布公告</a>
</form>
<h3>公告</h3>
<table border="1">
<tr>
<th> ID</th>
<th> 内容</th>
<th> 发布时间</th>
<th>操作</th>
</tr>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list");
for(T_board e:list)
{
%>
<tr >
<td><%=e.getB_ID()%></td>
<td width="250px"><%=e.getB_Content() %></td>
<td><%=e.getB_Posttime() %></td>
<td>
&nbsp;<a href="servlet/T_boardServlet?op=delete&b_ID=<%=e.getB_ID() %>">删除</a> &nbsp;
<%-- <a href="servlet/T_boardServlet?op=update&b_ID=<%=e.getB_ID() %>">修改</a>--%>
</td>
</tr>
<%
}
%>
</table>
</body>
</html>

@ -0,0 +1,58 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'TureShow.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>
<center>
<table width="50%">
<tr>
<td colspan="3" bgcolor="#46A3FF">
ÍÆ½éÉÌÆ·
</td>
</tr>
<tr>
<c:forEach items="${list}" var="gg">
<td>
<table>
<tr>
<td> ${gg.gname}</td>
</tr>
<tr>
<td><a href="servlet/ShowServlet?gid=${gg.gid}"><img src="${gg.gspic}"></a></td>
</tr>
<tr>
<td> ${gg.gprice}
<form action="servlet/CartServlet?op=add&gid=${gg.gid }" method="post">
<input type="submit" value="¼ÓÈ빺Îï³µ">
</form>
</tr>
</table>
</td>
</c:forEach>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,319 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.domain.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ACE Shop</title>
<link href="../../../images/style.css" rel="stylesheet" type="text/css">
<link href="../../../images/xilan.css" rel="stylesheet" type="text/css">
<link href="../../../images/buchong.css" rel="stylesheet" type="text/css">
<style type="text/css">
.zhengwen td p{ margin-bottom:20px;}
</style>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "top_nav", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
</head>
<body>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* service-menu */
.service-menu .menu-title,.service-menu .menu-p,.service-menu .menu-p .menu-i{background:url("images/menubg.png") no-repeat;}
.service-menu{border:solid 1px #d1d1d1;width:206px;margin:auto auto auto auto;}
.service-menu .menu-title{height:21px;overflow:hidden;padding:6px 8px;background-position:0 0;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:bold;}
.service-menu .menu-p{display:block;height:21px;overflow:hidden;padding:6px 0 6px 19px;border-top:solid 1px #e6e6e6;background-position:0 -50px;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:normal;cursor:pointer;}
.service-menu .menu-p .menu-i{float:left;display:inline;width:11px;height:11px;overflow:hidden;background-position:0 -103px;margin:5px 6px 0 0;}
.service-menu .menu-p a:link,.service-menu .menu-p a:visited{color:#444;text-decoration:none;font-size:14px;}
.service-menu .menu-p a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-p-current .menu-i{background-position:-20px -103px;}
.service-menu .menu-p-current a:link,.service-menu .menu-p-current a:visited{color:#369;font-weight:bold;}
.service-menu .menu-p-current a:hover{color:#ff7300;}
.service-menu .menu-c{border-top:solid 1px #e6e6e6;display:none;padding:4px 0 4px 54px;}
.service-menu .menu-c-current{display:block;}
.service-menu .menu-c ul{display:block;}
.service-menu .menu-c li{padding:2px 0;height:18px;overflow:hidden;}
.service-menu .menu-c a:link,.service-menu .menu-c a:visited{color:#444;text-decoration:none;}
.service-menu .menu-c a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-c .current:link,.service-menu .menu-c .current:visited{color:#369;font-weight:bold;}
.service-menu .menu-c .current:hover{color:#ff7300;}
</style>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title"><h1><a href="http://www.dell.com.cn/">DELL官方网站</a></h1></div>
<div id="header_right">
<p>
<a>${(empty Quser.u_Name)?'游客请登录':'欢迎'}${Quser.u_Name}</a>|<a href="login.jsp">登录我的账户</a> |<a href="servlet/ShowOrderServlet">订单查询</a> |<a href="helpmeChoose.html" target="_blank">帮我选择</a> |<a href="Qregister.jsp">注册</a></p>
<p>
购物车: <strong>${(empty cart)?0:cart.count} 件商品</strong> ( <a href="ShoppingCart.jsp">进入购物车</a> )
</p>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
<div id="templatemo_menubar">
<div id="top_nav" class="ddsmoothmenu">
<ul>
<li><a href="servlet/ShowServlet" class="selected">主页</a></li>
<li><a href="servlet/MenuServlet?op=findall">购买商品</a>
<ul>
<li><a href="showError.jsp">时尚触控本</a></li>
<li><a href="servlet/MenuServlet?apply=enjoy">多媒体娱乐本</a></li>
<li><a href="servlet/MenuServlet?apply=daily">日常综合应用</a></li>
<li><a href="servlet/MenuServlet?apply=top">顶级超高性能</a></li>
<li><a href="showError.jsp">专业游戏</a></li>
</ul>
</li>
<li><a href="faqs.jsp">常见问题</a></li>
<li><a href="servlet/ShowOrderServlet">订单查询</a></li>
<li><a href="contact.jsp">联系我们</a></li>
<li><a href="about.jsp">关于</a></li>
</ul>
<br style="clear: left" />
</div> <!-- end of ddsmoothmenu -->
<div id="templatemo_search">
<form action="servlet/FindGoodsServlet?op=find" method="post">
<input type="text" name="keyword" id="keyword" title="keyword" onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value=" " alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div>
</div> <!-- END of templatemo_menubar -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" title="网页模板">网页模板</a></div>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>产品筛选</h3>
<div class="content">
<div class="service-menu">
<input class="menu-code-index" type="hidden" value="c849" /><!--默认下值设置
data-service-index=c203的列表项展开与子列表标签导航高亮显示-->
<strong class="menu-p"><i class="menu-i"></i><a href="">产品系列</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=Inspiron">Inspiron</a></li>
<li><a href="servlet/MenuServlet?types=XPS">XPS</a></li>
<li><a href="servlet/MenuServlet?types=Alienware">Alienware</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">处理器</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?cpu=i3">英特尔I3智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i5">英特尔I5智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i7">英特尔I7智能处理器</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">笔记本屏幕尺寸</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?monito=14">14寸</a></li>
<li><a href="servlet/MenuServlet?monito=15">15寸</a></li>
<li><a href="servlet/MenuServlet?monito=17">17寸</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">价格区间</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?sma=3000&big=5000">RMB3000~RMB5000</a></li>
<li><a href="servlet/MenuServlet?sma=5000&big=7000">RMB5000~RMB7000</a></li>
<li><a href="servlet/MenuServlet?sma=7000&big=9000">RMB7000~RMB9000</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">操作系统</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?system=Windows 7">Windows 7</a></li>
<li><a href="servlet/MenuServlet?system=Windows 8">Windows 8</a></li>
<li><a href="servlet/MenuServlet?system=Linux">Linux</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>热销商品 </h3>
<div class="content">
<c:forEach items="${list3}" var="ff">
<div class="bs_box">
<a href="servlet/ShowServlet?op=add&gid=${ff.g_Id }"><img src="imgs/type.jpg" alt="image" width="75px" height="75px"/></a>
<h4>${ff.g_Name }</h4>
<p class="price">价格:${ff.g_Price }</p>
<p class="price">销量:${ff.o_Count}</p>
<div class="cleaner"></div>
</div>
</c:forEach>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>公告 </h3>
<div class="content">
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list2");
for(T_board e:list)
{
%>
<tr><td width="180px" ><a>&nbsp;&nbsp;&nbsp;<%=e.getB_Content() %></a></td></tr>
<tr><td ><a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<%=e.getB_Posttime() %></a></td></tr>
<tr><td>&nbsp;</td></tr>
<%
}
%>
</table>
</marquee>
</div>
</div>
</div>
<div id="content" class="float_r">
<h1>关于我们</h1>
<h2>ACE网上商城介绍</h2>
<p>专卖店介绍<br />
戴尔官方网上商城是戴尔计算机(中国)有限公司设立的官方网上购物商城,戴尔一站式平价数码购物商城。提供戴尔最新产品展示、热卖产品、产品报价、产品促销信息。作为官方购物网站拥有全系列产品,同时为您提供最新的产品促销信息以及新品咨询,为您提供产品技术支持和解决方案,产品应有尽有。</p>
<ul class="tmo_list">
<li>店铺名称ACEshop</li>
<li>代理品牌:戴尔</li>
<li>店铺所属类型:企业官方网店(旗舰店)</li>
<li>主营产品一体电脑、笔记本电池、笔记本电脑、平板电脑、PC</li>
<li>详细地址http://www.ACEshop.com.cn/</li>
</ul>
<div class="cleaner h20"></div>
<div class="left4">
<!--文章栏 start -->
<div id="body">
<h1>合作加盟</h1>
<div class="zhengwen" id="Content1" style="height:auto;">
<table><tr><td>
<div class=TRS_Editor><DIV class=cas_content>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; 为了实现优势互补、共同发展ACEshop商城愿意与各有志创业青年在平等互利的基础上开展多种形式的合作。</DIV>
<DIV> &nbsp; 信息合作:包括商品各种信息合作。</DIV>
<DIV> &nbsp; 活动合作:包括组织会议,举办活动等。</DIV>
<DIV> &nbsp; 战略合作:包括共同拓展市场。</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;<STRONG> 对外合作、商务谈判、广告业务:</STRONG> 联系人ACE </DIV>
<DIV>&nbsp;&nbsp;&nbsp; 010-82296534&nbsp;010-82296550Fax)
&nbsp;info@ace.cn&nbsp;&nbsp;aceshop@ace.cn&nbsp;&nbsp; </DIV></DIV></div>
<br />
<DIV class="bshare-custom icon-medium">
<A id=bshare-shareto class=bshare-more title=分享到 href="http://www.bShare.cn/"
buttonIndex="0">分享到</A><A class=bshare-sinaminiblog title=分享到新浪微博
href="javascript:void(0);"></A><A class=bshare-qqmb title=分享到腾讯微博
href="javascript:void(0);"></A><A class=bshare-renren title=分享到人人网
href="javascript:void(0);"></A><A class=bshare-kaixin001 title=分享到开心网
href="javascript:void(0);"></A><A class=bshare-tianya title=分享到天涯
href="javascript:void(0);"></A><A class=bshare-neteasemb title=分享到网易微博
href="javascript:void(0);"></A><A class=bshare-ifengmb title=分享到凤凰微博
href="javascript:void(0);"></A><A class=bshare-douban title=分享到豆瓣
href="javascript:void(0);"></A><A class="bshare-more bshare-more-icon more-style-
addthis" title=更多平台 buttonIndex="0"></DIV>
<script type="text/javascript" charset="utf-8" ignoreapd="1"
src="http://static.bshare.cn/b/buttonLite.js#uuid=0cce21f8-eaed-4fc1-a906-
922c9e196eb9&amp;style=3&amp;fs=4&amp;textcolor=#fff&amp;bgcolor=#19D&amp;text=分享
到&amp;pop=-1"></script>
<SCRIPT type=text/javascript charset=utf-8 ignoreapd="1"
src="http://static.bshare.cn/b/bshareC0.js"></SCRIPT>
<p></p>
</td></tr></table>
</div>
</div>
</div>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_main -->
<div id="templatemo_footer">
<p><a href="#">Home</a> | <a href="#">Products</a> | <a href="#">About</a> | <a href="#">FAQs</a> | <a href="#">Checkout</a> | <a href="#">Contact Us</a>
</p>
Copyright © 2072 <a href="#">ACE Team</a> | Collect from <a href="http://www.baidu.com" target="_parent">百度</a>
</div> <!-- END of templatemo_footer -->
</div> <!-- END of templatemo_wrapper -->
</div> <!-- END of templatemo_body_wrapper -->
</body>
</html>

@ -0,0 +1,46 @@
<%@ page language="java" import="com.ace.shopping.domain.*,java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'T_board' 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 background="images/huang.jpg">
½ñÈÕ¹«¸æ£º
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list");
for(T_board e:list)
{
%>
<tr><td width="150px" ><font color="red">&nbsp;&nbsp;&nbsp;<%=e.getB_Content() %></font></td></tr>
<tr><td ><font color="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=e.getB_Posttime() %></font></td></tr>
<tr><td>&nbsp;</td></tr>
<%
}
%>
</table>
</marquee>
</body>
</html>

@ -0,0 +1,318 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.domain.* " pageEncoding="UTF-8"%>
<%@page import="java.text.SimpleDateFormat"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ShopManagerMain.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">
-->
<script>
function changetime()
{
var d = new Date();
var y = d.getYear();
var m = d.getMonth()-1;
var dd = d.getDate();
var hh = d.getHours();
var mi = d.getMinutes();
var sec = d.getSeconds();
document.getElementById("time").innerHTML = "当前时间为"+y+"年"+m+"月"+dd+"日"
+hh+":"+mi+":"+sec;
//过了一段时间后调用函数
}
</script>
<script type="text/javascript">
function su(){
alert("公告发布成功!")
}
</script>
<script>
function guan()
{
if(this.confirm("是否关闭?"))
this.close();
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<script language="javascript" src="jquery.js"></script>
<style type="text/css">
<!--
* {
margin:0px;
padding:0px;
}
html, body{
height:100%;
overflow: hidden;
}
html>body{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}
body {
border:8px solid #ffffff;
background-color: #ffffff;min-width:230px;
}
#mainDiv {
width: 100%;
height: 100%;
padding:60px 0px 25px 0px;;
}
#centerDiv{
width: 100%;
height: 100%;
background-color:#00CCFF;
padding-left:158px;
}
#mainDiv>#centerDiv{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 56px;
left: 0px;
right: 0px;
bottom: 20px;
}
#left{
width:158px;
height:100%;
background:url(images/slide.jpg) repeat-y;
position:absolute;
left:0px;
}
#lhead{
background:url(images/left-head.jpg) left top no-repeat;
height:25px;
font-size:14px;
color:#FF9933;
text-align:center;
line-height:25px;
}
#right{
width:100%;
height:100%;
background:url(images/bg.gif);
position:absolute;
overflow-y:auto;
border:1px #003366 solid;
padding:20px 0 0 10px;
font-size:12px;
font-family:"宋体";
}
#centerDiv>#right{
width:auto;
height:auto;
position:absolute;
top:0px;
right:0px;
left:158px;
bottom:0px;
}
#topDiv{
width:100%;
height:56px;
background:url(images/head-bg.jpg) repeat-x;
position:absolute;
top:0px;
overflow:hidden;
}
#topDiv ul{
list-style:none;
font-size:12px;
width:100%;
margin:0;
padding:0;
}
#topDiv ul li{
float:left;
width:15%
}
#topDiv ul li a {
display:block;
width:100%;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#tmenu{
width:100%;
position:absolute;
left:12%;
bottom:0;
padding-left:15%;
margin-left:-15%;
}
#current{
background:#ccc;
height:25px;
line-height:25px;
margin:-20px 0 0 -10;
overflow:hidden;
}
#bottomDiv{
width:100%;
height:20px;
background:url(images/bottom.jpg) repeat-x;
position:absolute;
bottom:0px;
bottom:-1px; /*-- for IE6.0 --*/
}
#left ul{
list-style:none;
font-size:12px;
margin:50px 0 0 8px;
}
#left ul li a{
display:block;
width:140px;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#left ul li a:hover{
background:url(images/menu-bg.jpg) 0px 25px;
color:#99FFCC;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
}
#form{
width:80%;
height:99%;
margin:0 auto;
_margin-left:20%;
}
fieldset{
width:100%;
margin:20 auto;
line-height:35px;
padding-left:20PX;
}
-->
</style>
</head>
<body onload="javascript:setInterval(changetime,2000)">
<div id="mainDiv">
<div id="topDiv">
<div id="tmenu"><ul>
<li ><a href="servlet/ShowServlet">首页</a></li>
<li ><a href="javascript:window.history.go(1)">前进</a></li>
<li ><a href="javascript:window.history.go(-1)">后退</a></li>
<li ><a href="javascript:window.history.go(0)">刷新</a></li>
<li ><a href="servlet/ShopManagerServlet?op=help">帮助</a></li>
</ul></div></div>
<div id="centerDiv">
<div id="left">
<div id="lhead">管理菜单</div>
<ul>
<li ><a href="servlet/ShopManagerServlet?op=ShowQuser">查看用户</a></li>
<li ><a href="servlet/T_boardServlet?op=five">公告管理</a></li>
<li ><a href="servlet/AdGoodsListServlet">商品管理</a></li>
<li ><a href="servlet/ContactServlet?op=find">留言管理</a></li>
<li ><a href="servlet/AdOrderListServlet">订单管理</a></li>
<li ><a href="javascript:window.guan()">关闭</a></li>
</ul>
</div>
<div id="right">
<div id="current">&nbsp;&nbsp;&nbsp;&nbsp;当前位置:</div>
<H1 align="center">欢迎来到ACE网上购物后台管理</H1>
<marquee location="right" loop="">
<H2 id="time" align="center"></H2>
</marquee>
<br/>
<center>
<h1>公告管理</h1>
<form action="servlet/T_boardServlet?op=add" method="post" >
<textarea name="textarea" rows="7" cols="60" ></textarea></br>
<input type="submit" name="add1" value="添加公告">
</form>&nbsp;&nbsp;
<form action="servlet/ShowServlet?op=show" method="post"><input type="submit" value="发布公告" onclick="su()"></form>
<h3>公告</h3>
<table border="1">
<tr>
<th> ID</th>
<th> 内容</th>
<th> 发布时间</th>
<th>操作</th>
</tr>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list");
for(T_board e:list)
{
%>
<tr >
<td><%=e.getB_ID()%></td>
<td width="250px"><%=e.getB_Content() %></td>
<td><%=e.getB_Posttime() %></td>
<td>
&nbsp;<a href="servlet/T_boardServlet?op=delete&b_ID=<%=e.getB_ID() %>">删除</a> &nbsp;
<%-- <a href="servlet/T_boardServlet?op=update&b_ID=<%=e.getB_ID() %>">修改</a>--%>
</td>
</tr>
<%
}
%>
</table>
</center>
<div id="form">
</div>
</div></div>
<div id="bottomDiv"></div>
</div>
<script language="javascript">
$("#test1").toggle(function(){$("#test").slideDown()},function(){$("#test").slideUp()})
</script>
</body>
</html>
</html>

@ -0,0 +1,296 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.domain.*" pageEncoding="gb18030"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ACE Shop</title>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "top_nav", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
<script>
function zhong(){
alert("提交成功");
}
</script>
</head>
<body>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* service-menu */
.service-menu .menu-title,.service-menu .menu-p,.service-menu .menu-p .menu-i{background:url("images/menubg.png") no-repeat;}
.service-menu{border:solid 1px #d1d1d1;width:206px;margin:auto auto auto auto;}
.service-menu .menu-title{height:21px;overflow:hidden;padding:6px 8px;background-position:0 0;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:bold;}
.service-menu .menu-p{display:block;height:21px;overflow:hidden;padding:6px 0 6px 19px;border-top:solid 1px #e6e6e6;background-position:0 -50px;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:normal;cursor:pointer;}
.service-menu .menu-p .menu-i{float:left;display:inline;width:11px;height:11px;overflow:hidden;background-position:0 -103px;margin:5px 6px 0 0;}
.service-menu .menu-p a:link,.service-menu .menu-p a:visited{color:#444;text-decoration:none;font-size:14px;}
.service-menu .menu-p a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-p-current .menu-i{background-position:-20px -103px;}
.service-menu .menu-p-current a:link,.service-menu .menu-p-current a:visited{color:#369;font-weight:bold;}
.service-menu .menu-p-current a:hover{color:#ff7300;}
.service-menu .menu-c{border-top:solid 1px #e6e6e6;display:none;padding:4px 0 4px 54px;}
.service-menu .menu-c-current{display:block;}
.service-menu .menu-c ul{display:block;}
.service-menu .menu-c li{padding:2px 0;height:18px;overflow:hidden;}
.service-menu .menu-c a:link,.service-menu .menu-c a:visited{color:#444;text-decoration:none;}
.service-menu .menu-c a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-c .current:link,.service-menu .menu-c .current:visited{color:#369;font-weight:bold;}
.service-menu .menu-c .current:hover{color:#ff7300;}
</style>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title"><h1><a href="http://www.dell.com.cn/">DELL官方网站</a></h1></div>
<div id="header_right">
<p>
<a>${(empty Quser.u_Name)?'游客请登录':'欢迎'}${Quser.u_Name}</a>|<a href="login.jsp">登录我的账户</a> |<a href="servlet/ShowOrderServlet">订单查询</a> |<a href="helpmeChoose.html" target="_blank">帮我选择</a> |<a href="Qregister.jsp">注册</a></p>
<p>
购物车: <strong>${(empty cart)?0:cart.count} 件商品</strong> ( <a href="ShoppingCart.jsp">进入购物车</a> )
</p>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
<div id="templatemo_menubar">
<div id="top_nav" class="ddsmoothmenu">
<ul>
<li><a href="servlet/ShowServlet" class="selected">主页</a></li>
<li><a href="servlet/MenuServlet?op=findall">购买商品</a>
<ul>
<li><a href="showError.jsp">时尚触控本</a></li>
<li><a href="servlet/MenuServlet?apply=enjoy">多媒体娱乐本</a></li>
<li><a href="servlet/MenuServlet?apply=daily">日常综合应用</a></li>
<li><a href="servlet/MenuServlet?apply=top">顶级超高性能</a></li>
<li><a href="showError.jsp">专业游戏</a></li>
</ul>
</li>
<li><a href="faqs.jsp">常见问题</a></li>
<li><a href="servlet/ShowOrderServlet">订单查询</a></li>
<li><a href="contact.jsp">联系我们</a></li>
<li><a href="about.jsp">关于</a></li>
</ul>
<br style="clear: left" />
</div> <!-- end of ddsmoothmenu -->
<div id="templatemo_search">
<form action="servlet/FindGoodsServlet?op=find" method="post">
<input type="text" name="keyword" id="keyword" title="keyword" onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value=" " alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div>
</div> <!-- END of templatemo_menubar -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" title="网页模板">网页模板</a></div>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>产品筛选</h3>
<div class="content">
<div class="service-menu">
<input class="menu-code-index" type="hidden" value="c849" /><!--默认下值设置
data-service-index=c203的列表项展开与子列表标签导航高亮显示-->
<strong class="menu-p"><i class="menu-i"></i><a href="">产品系列</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=Inspiron">Inspiron</a></li>
<li><a href="servlet/MenuServlet?types=XPS">XPS</a></li>
<li><a href="servlet/MenuServlet?types=Alienware">Alienware</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">处理器</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?cpu=i3">英特尔I3智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i5">英特尔I5智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i7">英特尔I7智能处理器</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">笔记本屏幕尺寸</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?monito=14">14寸</a></li>
<li><a href="servlet/MenuServlet?monito=15">15寸</a></li>
<li><a href="servlet/MenuServlet?monito=17">17寸</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">价格区间</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?sma=3000&big=5000">RMB3000~RMB5000</a></li>
<li><a href="servlet/MenuServlet?sma=5000&big=7000">RMB5000~RMB7000</a></li>
<li><a href="servlet/MenuServlet?sma=7000&big=9000">RMB7000~RMB9000</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">操作系统</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?system=Windows 7">Windows 7</a></li>
<li><a href="servlet/MenuServlet?system=Windows 8">Windows 8</a></li>
<li><a href="servlet/MenuServlet?system=Linux">Linux</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>热销商品 </h3>
<div class="content">
<c:forEach items="${list3}" var="ff">
<div class="bs_box">
<a href="servlet/ShowServlet?op=add&gid=${ff.g_Id }"><img src="imgs/type.jpg" alt="image" width="75px" height="75px"/></a>
<h4>${ff.g_Name }</h4>
<p class="price">价格:${ff.g_Price }</p>
<p class="price">销量:${ff.o_Count}</p>
<div class="cleaner"></div>
</div>
</c:forEach>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>公告 </h3>
<div class="content">
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list2");
for(T_board e:list)
{
%>
<tr><td width="180px" ><a>&nbsp;&nbsp;&nbsp;<%=e.getB_Content() %></a></td></tr>
<tr><td ><a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<%=e.getB_Posttime() %></a></td></tr>
<tr><td>&nbsp;</td></tr>
<%
}
%>
</table>
</marquee>
</div>
</div>
</div>
<div id="content" class="float_r">
<h1>联系我们</h1>
<div class="content_half float_l">
<h5>基本信息填写.</h5>
<div id="contact_form">
<form method="post" name="contact" action="servlet/ContactServlet?op=addct">
<label for="author">姓名:</label> <input type="text" id="author" name="author" class="required input_field" />
<div class="cleaner h10"></div>
<label for="email">邮箱:</label> <input type="text" id="email" name="email" class="validate-email required input_field" />
<div class="cleaner h10"></div>
<label for="phone">电话:</label> <input type="text" name="phone" id="phone" class="input_field" />
<div class="cleaner h10"></div>
<label for="text">留言:</label> <textarea id="text" name="text" rows="0" cols="0" class="required"></textarea>
<div class="cleaner h10"></div>
<input type="submit" class="submit_btn" name="submit" id="submit" value="提交" onclick="zhong()" />
</form>
</div>
</div>
<div class="content_half float_r">
<h5>企业服务</h5>
<br />
客户服务热线:4006900000(免长途费) <br />
各产品详情请联系客服<br />
邮箱: <a href="mailto:info@aceshop.com">info@aceshop.com</a><br/>
地址厦门市思明区软件园二期观日路2号理想国际大厦 邮编100360<br />
<div class="cleaner h40"></div>
<h5>公司产品部</h5>
<br />
电话: 18942334547<br />
邮箱: <a href="296562554@qq.com">296562554@qq.com</a><br/>
地址厦门市思明区软件园二期观日路2号理想国际大厦 邮编100360<br />
<br />
</div>
<div class="cleaner h40"></div>
<iframe width="680" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Central+Park,+New+York,+NY,+USA&amp;aq=0&amp;sll=14.093957,1.318359&amp;sspn=69.699334,135.263672&amp;vpsrc=6&amp;ie=UTF8&amp;hq=Central+Park,+New+York,+NY,+USA&amp;ll=40.778265,-73.96988&amp;spn=0.033797,0.06403&amp;t=m&amp;output=embed"></iframe>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_main -->
<div id="templatemo_footer">
<p><a href="#">Home</a> | <a href="#">Products</a> | <a href="#">About</a> | <a href="#">FAQs</a> | <a href="#">Checkout</a> | <a href="#">Contact Us</a>
</p>
Copyright © 2072 <a href="#">ACE Team</a> | Collect from <a href="http://www.baidu.com" target="_parent">百度</a>
</div> <!-- END of templatemo_footer -->
</div> <!-- END of templatemo_wrapper -->
</div> <!-- END of templatemo_body_wrapper -->
</body>
</html>

@ -0,0 +1,286 @@
<%@ page language="java" import="com.ace.shopping.domain.*,java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'contactmanage.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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<script language="javascript" src="jquery.js"></script>
<script>
function guan()
{
if(this.confirm("是否关闭?"))
this.close();
}
</script>
<style type="text/css">
<!--
* {
margin:0px;
padding:0px;
}
html, body{
height:100%;
overflow: hidden;
}
html>body{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}
body {
border:8px solid #ffffff;
background-color: #ffffff;min-width:230px;
}
#mainDiv {
width: 100%;
height: 100%;
padding:60px 0px 25px 0px;;
}
#centerDiv{
width: 100%;
height: 100%;
background-color:#00CCFF;
padding-left:158px;
}
#mainDiv>#centerDiv{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 56px;
left: 0px;
right: 0px;
bottom: 20px;
}
#left{
width:158px;
height:100%;
background:url(images/slide.jpg) repeat-y;
position:absolute;
left:0px;
}
#lhead{
background:url(images/left-head.jpg) left top no-repeat;
height:25px;
font-size:14px;
color:#FF9933;
text-align:center;
line-height:25px;
}
#right{
width:100%;
height:100%;
background:#ffffff;
position:absolute;
overflow-y:auto;
border:1px #003366 solid;
padding:20px 0 0 10px;
font-size:12px;
font-family:"宋体";
}
#centerDiv>#right{
width:auto;
height:auto;
position:absolute;
top:0px;
right:0px;
left:158px;
bottom:0px;
}
#topDiv{
width:100%;
height:56px;
background:url(images/head-bg.jpg) repeat-x;
position:absolute;
top:0px;
overflow:hidden;
}
#topDiv ul{
list-style:none;
font-size:12px;
width:100%;
margin:0;
padding:0;
}
#topDiv ul li{
float:left;
width:15%
}
#topDiv ul li a {
display:block;
width:100%;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#tmenu{
width:100%;
position:absolute;
left:12%;
bottom:0;
padding-left:15%;
margin-left:-15%;
}
#current{
background:#ccc;
height:25px;
line-height:25px;
margin:-20px 0 0 -10;
overflow:hidden;
}
#bottomDiv{
width:100%;
height:20px;
background:url(images/bottom.jpg) repeat-x;
position:absolute;
bottom:0px;
bottom:-1px; /*-- for IE6.0 --*/
}
#left ul{
list-style:none;
font-size:12px;
margin:50px 0 0 8px;
}
#left ul li a{
display:block;
width:140px;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#left ul li a:hover{
background:url(images/menu-bg.jpg) 0px 25px;
color:#99FFCC;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
}
#form{
width:80%;
height:99%;
margin:0 auto;
_margin-left:20%;
}
fieldset{
width:100%;
margin:20 auto;
line-height:35px;
padding-left:20PX;
}
-->
</style>
</head>
<body>
<div id="mainDiv">
<div id="topDiv">
<div id="tmenu"><ul>
<li ><a href="ShopManagerMain.jsp">首页</a></li>
<li ><a href="javascript:window.history.go(1)">前进</a></li>
<li ><a href="javascript:window.history.go(-1)">后退</a></li>
<li ><a href="javascript:window.history.go(0)">刷新</a></li>
<li ><a href="servlet/ShopManagerServlet?op=help">帮助</a></li>
</ul></div></div>
<div id="centerDiv">
<div id="left">
<div id="lhead">管理菜单</div>
<ul>
<li ><a href="servlet/ShopManagerServlet?op=ShowQuser">查看用户</a></li>
<li ><a href="servlet/T_boardServlet?op=five">公告管理</a></li>
<li ><a href="servlet/AdGoodsListServlet">商品管理</a></li>
<li ><a href="servlet/ContactServlet?op=find">留言管理</a></li>
<li ><a href="servlet/AdOrderListServlet">订单管理</a></li>
<li ><a href="javascript:window.guan()">关闭</a></li>
</ul>
</div>
<div id="right">
<div id="current">&nbsp;&nbsp;&nbsp;&nbsp;当前位置:</div>
<div id="form">
<h1>留言管理</h1>
<h3>留言展示</h3>
<table border="1">
<tr>
<th>姓名</th>
<th> 邮件</th>
<th> 电话/手机</th>
<th>留言</th>
<th>操作</th>
</tr>
<%
List<Contact> list = (List<Contact>) request.getSession().getAttribute("list");
for(Contact e:list)
{
%>
<tr >
<td width="130px"><%=e.getName()%></td>
<td width="140px"><%=e.getEmail() %></td>
<td width="100px"><%=e.getPhone() %></td>
<td width="300px"><%=e.getCtext() %></td>
<td>
<a href="servlet/ContactServlet?op=delete&id=<%=e.getId() %>">删除</a> &nbsp;
</td>
</tr>
<%
}
%>
</table>
</div>
</div></div>
<div id="bottomDiv"></div>
</div>
<script language="javascript">
$("#test1").toggle(function(){$("#test").slideDown()},function(){$("#test").slideUp()})
</script>
</body>
</html>
</html>

@ -0,0 +1,3 @@
@CHARSET "GB18030";
#discountprice{text-decoration: line-through;}

@ -0,0 +1,331 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.domain.*" pageEncoding="GB18030"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ACE Shop</title>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "top_nav", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
<script type="text/javascript" src="js/jquery.js"></script>
<link rel="stylesheet" href="css/style.css" type="text/css" />
</head>
<body>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* service-menu */
.service-menu .menu-title,.service-menu .menu-p,.service-menu .menu-p .menu-i{background:url("images/menubg.png") no-repeat;}
.service-menu{border:solid 1px #d1d1d1;width:206px;margin:auto auto auto auto;}
.service-menu .menu-title{height:21px;overflow:hidden;padding:6px 8px;background-position:0 0;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:bold;}
.service-menu .menu-p{display:block;height:21px;overflow:hidden;padding:6px 0 6px 19px;border-top:solid 1px #e6e6e6;background-position:0 -50px;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:normal;cursor:pointer;}
.service-menu .menu-p .menu-i{float:left;display:inline;width:11px;height:11px;overflow:hidden;background-position:0 -103px;margin:5px 6px 0 0;}
.service-menu .menu-p a:link,.service-menu .menu-p a:visited{color:#444;text-decoration:none;font-size:14px;}
.service-menu .menu-p a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-p-current .menu-i{background-position:-20px -103px;}
.service-menu .menu-p-current a:link,.service-menu .menu-p-current a:visited{color:#369;font-weight:bold;}
.service-menu .menu-p-current a:hover{color:#ff7300;}
.service-menu .menu-c{border-top:solid 1px #e6e6e6;display:none;padding:4px 0 4px 54px;}
.service-menu .menu-c-current{display:block;}
.service-menu .menu-c ul{display:block;}
.service-menu .menu-c li{padding:2px 0;height:18px;overflow:hidden;}
.service-menu .menu-c a:link,.service-menu .menu-c a:visited{color:#444;text-decoration:none;}
.service-menu .menu-c a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-c .current:link,.service-menu .menu-c .current:visited{color:#369;font-weight:bold;}
.service-menu .menu-c .current:hover{color:#ff7300;}
</style>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title"><h1><a href="http://www.dell.com.cn/">DELL官方网站</a></h1></div>
<div id="header_right">
<p>
<a>${(empty Quser.u_Name)?'游客请登录':'欢迎'}${Quser.u_Name}</a>|<a href="login.jsp">登录我的账户</a> |<a href="servlet/ShowOrderServlet">订单查询</a> |<a href="helpmeChoose.html" target="_blank">帮我选择</a> |<a href="Qregister.jsp">注册</a></p>
<p>
购物车: <strong>${(empty cart)?0:cart.count} 件商品</strong> ( <a href="ShoppingCart.jsp">进入购物车</a> )
</p>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
<div id="templatemo_menubar">
<div id="top_nav" class="ddsmoothmenu">
<ul>
<li><a href="servlet/ShowServlet" class="selected">主页</a></li>
<li><a href="servlet/MenuServlet?op=findall">购买商品</a>
<ul>
<li><a href="showError.jsp">时尚触控本</a></li>
<li><a href="servlet/MenuServlet?apply=enjoy">多媒体娱乐本</a></li>
<li><a href="servlet/MenuServlet?apply=daily">日常综合应用</a></li>
<li><a href="servlet/MenuServlet?apply=top">顶级超高性能</a></li>
<li><a href="showError.jsp">专业游戏</a></li>
</ul>
</li>
<li><a href="faqs.jsp">常见问题</a></li>
<li><a href="servlet/ShowOrderServlet">订单查询</a></li>
<li><a href="contact.jsp">联系我们</a></li>
<li><a href="about.jsp">关于</a></li>
</ul>
<br style="clear: left" />
</div> <!-- end of ddsmoothmenu -->
<div id="templatemo_search">
<form action="servlet/FindGoodsServlet?op=find" method="post">
<input type="text" name="keyword" id="keyword" title="keyword" onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value=" " alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div>
</div> <!-- END of templatemo_menubar -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" title="网页模板">网页模板</a></div>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>产品筛选</h3>
<div class="content">
<div class="service-menu">
<input class="menu-code-index" type="hidden" value="c849" /><!--默认下值设置
data-service-index=c203的列表项展开与子列表标签导航高亮显示-->
<strong class="menu-p"><i class="menu-i"></i><a href="">产品系列</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=Inspiron">Inspiron</a></li>
<li><a href="servlet/MenuServlet?types=XPS">XPS</a></li>
<li><a href="servlet/MenuServlet?types=Alienware">Alienware</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">处理器</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?cpu=i3">英特尔I3智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i5">英特尔I5智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i7">英特尔I7智能处理器</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">笔记本屏幕尺寸</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?monito=14">14寸</a></li>
<li><a href="servlet/MenuServlet?monito=15">15寸</a></li>
<li><a href="servlet/MenuServlet?monito=17">17寸</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">价格区间</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?sma=3000&big=5000">RMB3000~RMB5000</a></li>
<li><a href="servlet/MenuServlet?sma=5000&big=7000">RMB5000~RMB7000</a></li>
<li><a href="servlet/MenuServlet?sma=7000&big=9000">RMB7000~RMB9000</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">操作系统</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?system=Windows 7">Windows 7</a></li>
<li><a href="servlet/MenuServlet?system=Windows 8">Windows 8</a></li>
<li><a href="servlet/MenuServlet?system=Linux">Linux</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>热销商品 </h3>
<div class="content">
<c:forEach items="${list3}" var="ff">
<div class="bs_box">
<a href="servlet/ShowServlet?op=add&gid=${ff.g_Id }"><img src="imgs/type.jpg" alt="image" width="75px" height="75px"/></a>
<h4>${ff.g_Name }</h4>
<p class="price">价格:${ff.g_Price }</p>
<p class="price">销量:${ff.o_Count}</p>
<div class="cleaner"></div>
</div>
</c:forEach>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>公告 </h3>
<div class="content">
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list2");
for(T_board e:list)
{
%>
<tr><td width="180px" ><a>&nbsp;&nbsp;&nbsp;<%=e.getB_Content() %></a></td></tr>
<tr><td ><a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<%=e.getB_Posttime() %></a></td></tr>
<tr><td>&nbsp;</td></tr>
<%
}
%>
</table>
</marquee>
</div>
</div>
</div>
<div id="content" class="float_r">
<div id="content" class="float_r faqs">
<h1>常见问题解答</h1>
<h5>我怎么知道我的订单已生成?</h5>
<p>你会收到一封电子邮件确认您的订单已收到. 如果你没有收到一封电子邮件确认,请登录看到你订单的状况.</p>
<h5>我的订单什么时候装运?</h5>
<p>请阅读我们的航运政策.</p>
<h5>什么付款方式你接受?</h5>
<p>现金和信用卡</p>
<h5>我可以退货或更换我的购买,如果我不喜欢它吗?</h5>
<p>我可以退货或更换我的购买,如果我不喜欢它吗.</p>
<h5>我怎么知道在线订购是安全的吗?</h5>
<p>
保护你的信息是一个优先考虑这个网站.我们使用安全套接字层(SSL)加密您的信用卡号码, 姓名和地址, 所以只有这个网站能够解码信息。SSL是行业标准方法对计算机的安全通信没有风险的数据拦截、操纵或收件人扮演。可以肯定的是你的连接是安全的;当你在购物车,看下你的浏览器窗口的角落. 如果你看到一个完整的钥匙或关闭锁,SSL是活跃的和你的信息是安全的. 因为大部分的客户还是不提供你的信用卡在线,我们使用信箱和客户服务和他们不需要提供信用卡信息.</p>
<p>这个网站是与HackerGuardian北京市.HackerGuardian认证黑客网站和免费信用卡TrustLogo确认你的可信度要信用卡信息在线.</p>
<h5>什么是你的隐私政策?</h5>
<p>本网站尊重您的隐私和保证您了解什么信息我们需要完成您的订单, 什么信息你可以选择与我们分享和与我们的营销合作伙伴.对于完整的信息在我们的隐私政策.</p>
</div>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_main -->
<div id="templatemo_footer">
<p><a href="#">Home</a> | <a href="#">Products</a> | <a href="#">About</a> | <a href="#">FAQs</a> | <a href="#">Checkout</a> | <a href="#">Contact Us</a>
</p>
Copyright © 2072 <a href="#">ACE Team</a> | Collect from <a href="http://www.baidu.com" target="_parent">百度</a>
</div> <!-- END of templatemo_footer -->
<div id="for_kefu_block">
<div class="kefu_box kefu_block">
<div class="kefu_title"><a class="kefu_close" href="javascript:void(0)"><img src="images/kf_top.png" width="183" height="31"></a></div>
<div class="kefu_con">
<div class="kefu_tel"></div>
<div class="kefu1">
<div class="kefu_con_title">
<ul class="jszcfwul clearfix">
<li class="kefu_con_title_li1"><img src="images/kf_line2.png" width="14" height="14"></li>
<li class="kefu_con_title_li2">开店服务</li>
</ul>
</div>
<div class="kefu_con_con1">
<ul class="clearfix">
<li class="neititle"><div class="uline">开店顾问</div></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li class="neititle"><div class="uline">企业定制</div></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
</ul>
</div>
</div>
<div class="kefu5">
<div class="kefu_con_title">
<ul class="clearfix">
<li class="kefu_con_title_li1"><img src="images/kf_line2.png" width="14" height="14"></li>
<li class="kefu_con_title_li2">技术支持</li>
</ul>
</div>
<div class="kefu_con_con">
<ul class="clearfix">
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后1" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"><span>售后1</span></a></li>
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后2" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"><span>售后2</span></a></li>
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后3" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"><span>售后3</span></a></li>
</ul>
</div>
</div>
</div>
<div class="kefu_tt"><a href="#"><img src="images/kf_foot.png" /></a></div>
</div>
<div class="kefu_flag"><img src="images/kefu_flag.gif" /></div>
</div>
<script language="javascript">
$(document).ready(function(){
$(".kefu_close").click(function(){
$(".kefu_block").hide();
$(".kefu_flag").show();
})
$(".kefu_flag").click(function(){
$(this).hide();
$(".kefu_block").show();
})
});
</script>
</div> <!-- END of templatemo_wrapper -->
</div> <!-- END of templatemo_body_wrapper -->
</body>
</html>

@ -0,0 +1,20 @@
<h1 class="uif_mhPageTitle gsd_pageTitle">产品比较</h1>
<div class="container inlineContent ">
<table><tbody><tr><td>&nbsp;<strong><span style="color: #0c0c0c; font-size: 18px;">12-13寸轻薄笔记本比较</span></strong></td></tr><tr><td><img style="border:0px solid" alt="12-13寸轻薄笔记本比较" src="http://i.dell.com/sites/imagecontent/consumer/merchandizing/zh/PublishingImages/product-campaign/compare-screen-size-12-13-0712-01.jpg"><a href="http://china.dell.com/cn/p/inspiron-13z-5323/pd" title="Inspiron 灵越 13z" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/inspiron-13z-5323/pd_1&quot;;return this.s_oc?this.s_oc(e):true"></a><a href="http://china.dell.com/cn/p/xps-12-l221x/pd" title="XPS 12 旋屏超极本" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/xps-12-l221x/pd_1&quot;;return this.s_oc?this.s_oc(e):true"><img style="border:0px solid" alt="XPS 12 旋屏超极本" src="http://i.dell.com/sites/imagecontent/consumer/merchandizing/zh/PublishingImages/product-campaign/compare-screen-size-12-13-0712-02.jpg"></a><a href="http://china.dell.com/cn/p/xps-13-l321x-mlk/pd" title="XPS 13 超极本" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/xps-13-l321x-mlk/pd_1&quot;;return this.s_oc?this.s_oc(e):true"><img style="border:0px solid" alt="XPS 13 超极本" src="http://i.dell.com/sites/imagecontent/consumer/merchandizing/zh/PublishingImages/product-campaign/compare-screen-size-12-13-0712-03.jpg"></a></td></tr></tbody></table></div> </div>
<div id="campaignTabs-1" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide">
<div class="container inlineContent ">
<table><tbody><tr><td>&nbsp;<span style="color: #0c0c0c; font-size: 18px;"><strong>经典14寸笔记本比较</strong></span></td></tr><tr><td><a href="http://china.dell.com/cn/p/inspiron-13z-5323/pd" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/inspiron-13z-5323/pd_2&quot;;return this.s_oc?this.s_oc(e):true"></a><a href="http://china.dell.com/cn/p/xps-12-l221x/pd" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/xps-12-l221x/pd_2&quot;;return this.s_oc?this.s_oc(e):true"></a><img style="border:0px solid" alt="dell" src="http://i.dell.com/sites/imagecontent/consumer/merchandizing/zh/PublishingImages/product-campaign/compare-screen-size-14-0809-01.jpg"><a href="http://china.dell.com/cn/p/inspiron-14-3437/pd" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/inspiron-14-3437/pd_1&quot;;return this.s_oc?this.s_oc(e):true"><img style="border:0px solid" alt="dell" src="http://i.dell.com/sites/imagecontent/consumer/merchandizing/zh/PublishingImages/product-campaign/compare-screen-size-14-0809-02.jpg"></a><a href="http://china.dell.com/cn/p/inspiron-14r-5437/pd" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/inspiron-14r-5437/pd_1&quot;;return this.s_oc?this.s_oc(e):true"><img style="border:0px solid" alt="dell" src="http://i.dell.com/sites/imagecontent/consumer/merchandizing/zh/PublishingImages/product-campaign/compare-screen-size-14-0809-03.jpg"></a><a href="http://china.dell.com/cn/p/inspiron-14r-se-7420/pd" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/inspiron-14r-se-7420/pd_1&quot;;return this.s_oc?this.s_oc(e):true"><img style="border:0px solid" alt="dell" src="http://i.dell.com/sites/imagecontent/consumer/merchandizing/zh/PublishingImages/product-campaign/compare-screen-size-14-0809-04.jpg"></a><a href="http://china.dell.com/cn/p/xps-13-l321x-mlk/pd" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/xps-13-l321x-mlk/pd_2&quot;;return this.s_oc?this.s_oc(e):true"></a></td></tr></tbody></table></div> </div>
<div id="campaignTabs-2" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide">
<div class="container inlineContent ">
<table><tbody><tr><td>&nbsp;<span style="font-size: 18px; color: #0c0c0c;"><strong>15寸大屏幕笔记本比较</strong></span></td></tr><tr><td><a href="http://china.dell.com/cn/p/inspiron-13z-5323/pd" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/inspiron-13z-5323/pd_3&quot;;return this.s_oc?this.s_oc(e):true"></a><a href="http://china.dell.com/cn/p/xps-12-l221x/pd" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/xps-12-l221x/pd_3&quot;;return this.s_oc?this.s_oc(e):true"></a><a href="http://china.dell.com/cn/p/inspiron-14r-5420/pd" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/inspiron-14r-5420/pd_1&quot;;return this.s_oc?this.s_oc(e):true"></a><a href="http://china.dell.com/cn/p/inspiron-14z-5423/pd" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/inspiron-14z-5423/pd_1&quot;;return this.s_oc?this.s_oc(e):true"></a><a href="http://china.dell.com/cn/p/inspiron-14r-se-7420/pd" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/inspiron-14r-se-7420/pd_2&quot;;return this.s_oc?this.s_oc(e):true"></a><img style="border-width:0px;border-style:solid" src="http://i.dell.com/sites/imagecontent/consumer/merchandizing/zh/PublishingImages/product-campaign/compare-screen-size-15-0823-01.jpg" alt="15寸大屏幕笔记本比较"><a href="http://china.dell.com/cn/p/inspiron-15-3537/pd" title="Inspiron灵越15" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/inspiron-15-3537/pd_1&quot;;return this.s_oc?this.s_oc(e):true"><img style="border-width:0px;border-style:solid" src="http://i.dell.com/sites/imagecontent/consumer/merchandizing/zh/PublishingImages/product-campaign/compare-screen-size-15-0823-02.jpg" alt="Inspiron 灵越 15"></a><a href="http://china.dell.com/cn/p/inspiron-15r-5521/pd" title="Inspiron 灵越 15R" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/inspiron-15r-5521/pd_1&quot;;return this.s_oc?this.s_oc(e):true"><img style="border-width:0px;border-style:solid" src="http://i.dell.com/sites/imagecontent/consumer/merchandizing/zh/PublishingImages/product-campaign/compare-screen-size-15-0823-03.jpg" alt="Inspiron 灵越 15R"></a><a href="http://china.dell.com/cn/p/xps-15-l521x/pd" title="XPS 15 " target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/xps-15-l521x/pd_1&quot;;return this.s_oc?this.s_oc(e):true"><img style="border-width:0px;border-style:solid" src="http://i.dell.com/sites/imagecontent/consumer/merchandizing/zh/PublishingImages/product-campaign/compare-screen-size-15-0823-04.jpg" alt="XPS 15 "></a><a href="http://china.dell.com/cn/p/xps-13-l321x-mlk/pd" target="_blank" onclick="s_objectID=&quot;http://china.dell.com/cn/p/xps-13-l321x-mlk/pd_3&quot;;return this.s_oc?this.s_oc(e):true"></a></td></tr></tbody></table></div> </div>
</div>

@ -0,0 +1,302 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1,requiresActiveX=true">
<meta charset="utf-8">
<script type="text/javascript">document.domain = 'dell.com';</script>
<script type="text/javascript">tealeafTargetUrl = '/learn/tltarget.aspx'; tealeafTargetUrlSecure = '/learn/tltarget.aspx';</script>
<script type="text/javascript">var iPerceptions = {}; iPerceptions.surveyJsPath = 'http://dsvr.iperceptions.com/Invitations/Javascripts/ip_Layer_Invitation_NextGen.aspx?c=cn&l=zh&s=dhs&cs=cndhs1'; iPerceptions.invitationRate = 0;</script>
<title>Help Me Choose | Dell 中国大陆</title>
<meta name="author" content="Dell cn"/>
<meta name="channel" content="http://www.dell.com/learn/cn/zh/cndhs1/help-me-choose/hmc-brand-anav?c=cn&amp;l=zh&amp;s=dhs"/>
<meta name="cmsurl" content="http://cmscontent.dell.com/sites/content/shared-content/help-me-choose/zh/Pages/hmc-brand-anav_cn.aspx"/>
<meta name="customerset" content="cndhs1"/>
<meta name="description" content="这些笔记本电脑可为日常计算提供出色的解决方案"/>
<meta name="documentcountrycode" content="cn"/>
<meta name="generator" content="Build: 3.3.99.3 Built On: 4/13/2012 11:04:50 上午"/>
<meta name="keywords" content=""/>
<meta name="language" content="zh"/>
<meta name="mbox-to" content=""/>
<meta name="metricpath" content="cndhs1"/>
<meta name="profile_id" content=""/>
<meta name="s_account" content="dellglobalonline"/>
<meta name="segment" content="dhs"/>
<meta name="waaction" content="ByDocumentID"/>
<meta name="waapplicationname" content="Dell.UX.Mvc.Learn.UI"/>
<meta name="wacontroller" content="Document"/>
<meta name="servername" content="P60LEARN02"/>
<meta name="pagetemplate" content="LearnMore"/>
<meta name="expires" content=""/>
<meta name="termid" content=""/>
<meta name="lastmodifieddate" content="09/07/2013 05:38:00 AM"/>
<meta name="mplxID" content="10592"/>
<meta name="mplxTitle" content="cn_content"/>
<meta name="mplxLWP" content="c=cn&amp;l=zh&amp;s=dhs&amp;cs=cndhs1"/>
<meta name="robots" content="noindex"/>
<script type="text/javascript">
if (typeof Dell == 'undefined') var Dell = {};
if (!Dell.Global)
Dell.Global = {
Settings: {
mceLink: "http://cmscontent.dell.com/sites/content/_layouts/dell/viewmicrocontent.aspx ",
toolsPanelLinks: {
toolsPanel: '/learn/cn/zh/cndhs1/UIFramework/toolspanel ',
combineCssJs: '/learn/cn/zh/cndhs1/UIFramework/configurationmanagement/ToggleCombineSettings ',
compressCssJs: '/learn/cn/zh/cndhs1/UIFramework/configurationmanagement/ToggleCompressSettings ',
configurationmgmt: '/learn/cn/zh/cndhs1/UIFramework/configurationmanagement/SectionListing '
},
legacyLogout: 'https://www.dell.com/sts/passive/commercial/v1/compatibility/logout?ru=http%3a%2f%2fwww.dell.com%2flearn%2fcn%2fzh%2fcndhs1%2fhelp-me-choose%2fhmc-brand-anav%3fc%3dcn%26l%3dzh%26s%3ddhs'
},
lwp: {
c: "cn",
l: "zh",
s: "dhs",
cs: "cndhs1"
},
isPremier: "false" == "true",
isMigrated: "false" == "true"
};
</script>
<link rel="stylesheet" href="http://fcs.dell.com/fcs/cn/zh/_/UIFramework/3.3.99.3/res/CssSet?id=core&type=framework&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://afcs.dell.com/learn/cn/zh/_/UIFramework/3.3.99.3/res/Css?path=document%2fLearnMore&type=application&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://afcs.dell.com/learn/cn/zh/_/UIFramework/3.3.99.3/res/Css?path=core%2fNoContainer&type=application&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://afcs.dell.com/learn/cn/zh/_/UIFramework/3.3.99.3/res/Css?path=modules%2fCampaignTabs&type=application&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://afcs.dell.com/learn/cn/zh/_/UIFramework/3.3.99.3/res/Css?path=mainContent&type=application&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://afcs.dell.com/learn/cn/zh/_/UIFramework/3.3.99.3/res/CssSet?id=learnMastHeadCss&type=application&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://afcs.dell.com/learn/cn/zh/_/UIFramework/3.3.99.3/res/CssSet?id=learnCore&type=application&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://fcs.dell.com/fcs/cn/zh/_/UIFramework/3.3.99.3/res/CssSet?id=legacyMasthead&type=framework&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://fcs.dell.com/fcs/cn/zh/_/UIFramework/3.3.99.3/res/Css?path=sharedcontrols%2fie7&type=framework&ver=622859708620000000&compress=True" type="text/css" media="all" />
<script type="text/javascript" src="js/.com/fcs/cn/zh/_/UIFramework/res/JsSet?id=top_legacy&type=framework&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/.com/fcs/cn/zh/_/UIFramework/res/js?path=sharedcontrols%2fdialog&type=framework&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/.com/learn/cn/zh/_/UIFramework/res/JsSet?id=learnPrimary&type=application&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/.com/fcs/cn/zh/_/UIFramework/res/js?path=stormMasthead&type=framework&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/Bootstrap.js"></script><script type="text/javascript" src="js/.com/fcs/cn/zh/_/UIFramework/res/js?path=SharedControls%2fPortalFramework%2fmoduleAPI&type=framework&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/.com/learn/cn/zh/_/UIFramework/res/JsSet?id=masthead&type=application&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script>
<meta property="og:title" content="Help Me Choose" />
<meta property="og:url" content="http://www.dell.com/learn/cn/zh/cndhs1/help-me-choose/hmc-brand-anav?c=cn&amp;l=zh&amp;s=dhs" />
<meta property="og:site_name" content="Dell" />
<meta property="fb:app_id" content="186850318029150" />
<meta property="og:description" content="这些笔记本电脑可为日常计算提供出色的解决方案" />
<meta property="og:image" content="http://i.dell.com/images/global/brand/ui/storm80/logo80.png" />
<meta property="og:type" content="Document" />
<link rel="canonical" href="http://www.dell.com/learn/cn/zh/cndhs1/help-me-choose/hmc-brand-anav" />
<link rel="alternate" href="http://www.dell.com/learn/cn/zh/cndhs1/help-me-choose/hmc-brand-anav" hreflang="zh-cn"/>
</head>
<body class="ie lte8 lte9 lte7 ie6 ctry_cn lang_zh set_cndhs1 ltr uif_bodyWidget uif_mhbodyDefault razor gsd_bodyCopyMedium">
<script type="text/javascript">
var InfoItems = '[{"Name":"author","Content":"Dell cn","HttpEquiv":null},{"Name":"channel","Content":"http://www.dell.com/learn/cn/zh/cndhs1/help-me-choose/hmc-brand-anav?c=cn&l=zh&s=dhs","HttpEquiv":null},{"Name":"cmsurl","Content":"http://cmscontent.dell.com/sites/content/shared-content/help-me-choose/zh/Pages/hmc-brand-anav_cn.aspx","HttpEquiv":null},{"Name":null,"Content":"text/html; charset=utf-8","HttpEquiv":"content-type"},{"Name":"customerset","Content":"cndhs1","HttpEquiv":null},{"Name":"description","Content":"这些笔记本电脑可为日常计算提供出色的解决方案","HttpEquiv":null},{"Name":"documentcountrycode","Content":"cn","HttpEquiv":null},{"Name":"generator","Content":"Build: 3.3.99.3 Built On: 4/13/2012 11:04:50 上午","HttpEquiv":null},{"Name":"keywords","Content":"","HttpEquiv":null},{"Name":"language","Content":"zh","HttpEquiv":null},{"Name":"mbox-to","Content":"","HttpEquiv":null},{"Name":"metricpath","Content":"cndhs1","HttpEquiv":null},{"Name":"persistence_id","Content":"510398ad-93e3-4334-9ed3-52201f921a52","HttpEquiv":null},{"Name":"premier_accessgroupid","Content":null,"HttpEquiv":null},{"Name":"premier_accessgroups","Content":null,"HttpEquiv":null},{"Name":"premier_roleid","Content":null,"HttpEquiv":null},{"Name":"premier_rolename","Content":null,"HttpEquiv":null},{"Name":"profile_id","Content":null,"HttpEquiv":null},{"Name":"s_account","Content":"dellglobalonline","HttpEquiv":null},{"Name":"segment","Content":"dhs","HttpEquiv":null},{"Name":"server","Content":"P60LEARN02","HttpEquiv":null},{"Name":"session_id","Content":"nfrmitf5j1xkglfnrj5xezp4","HttpEquiv":null},{"Name":"waaction","Content":"ByDocumentID","HttpEquiv":null},{"Name":"waapplicationname","Content":"Dell.UX.Mvc.Learn.UI","HttpEquiv":null},{"Name":"wacontroller","Content":"Document","HttpEquiv":null},{"Name":"servername","Content":"P60LEARN02","HttpEquiv":null},{"Name":"pagetemplate","Content":"LearnMore","HttpEquiv":null},{"Name":"expires","Content":"","HttpEquiv":null},{"Name":"termid","Content":"","HttpEquiv":null},{"Name":"lastmodifieddate","Content":"09/07/2013 05:38:00 AM","HttpEquiv":null},{"Name":"mplxID","Content":"10592","HttpEquiv":null},{"Name":"mplxTitle","Content":"cn_content","HttpEquiv":null},{"Name":"mplxLWP","Content":"c=cn&l=zh&s=dhs&cs=cndhs1","HttpEquiv":null},{"Name":"robots","Content":"noindex","HttpEquiv":null},{"Name":"hier1","Content":"dell/help-me-choose/hmc-brand-anav","HttpEquiv":null},{"Name":"currentview","Content":"LearnMore","HttpEquiv":null},{"Name":"frv","Content":"http://frr","HttpEquiv":null},{"Name":"waview","Content":"LearnMore","HttpEquiv":null},{"Name":"pagename","Content":"cn|zh|dhs|cndhs1|dell.ux.mvc.learn.ui|document|bydocumentid|learnmore","HttpEquiv":null}]';
Dell.Metrics.PageMetadata.PageMetaInfoItems = JSON.parse(InfoItems);
</script>
<div id="mbox_default">
</div>
<script type="text/javascript">
mboxCreate(Dell.Global.lwp.l + Dell.Global.lwp.c + '_olr', // language+ country +'_olr'
'r=' + Dell.Global.lwp.c, //country
'c=' + Dell.Global.lwp.c, //country
'l=' + Dell.Global.lwp.l, //language
's=' + Dell.Global.lwp.s, //segment
'cs=' + Dell.Global.lwp.cs, //customerset
'pn=' + Dell.Metrics.PageMetadata.find("pagename").Content); //pagename
</script>
<div id="content" >
<div >
<div >
<div >
<div >
<div class="learnMoreModal">
<h2 class="articlePageTitle">帮我选择:品牌</h2>
<div class="hmcOverview">
<div class="leftContent">
 
</div>
</div>
<div id="hmcHtmlMerchModule">
</div>
<div id="hmcTabs">
<ul>
<li><a href="#hmcTabs-0" data-analyticscontent="">
品牌 </a></li>
</ul>
<div id="hmcTabs-0">
<div class="nodeIntroText hmcInlineContent">
<!-- Render HTML string-->
<table><tbody><tr><td> Inspiron™灵越</td><td> <br /><img style="border:0px solid" alt="Inspiron灵越" src="images/ANAV_Series_Inspiron.JPG" /></td><td>这些笔记本电脑可为日常计算提供出色的解决方案<br /><br />    • 轻松处理日常任务 <br />    • 经济实惠</td></tr><tr><td>XPS™</td><td><br /><img style="border:0px solid" alt="XPS" src="images/laptop-studioxps-15-config-380x188.png" /></td><td>美观实用,出类拔萃<br /><br />    • 面向多媒体爱好者的高级性能<br />    • 卓越的设计和工艺<br /><br /></td></tr><tr><td> Alienware™</td><td> <br /><img style="border:0px solid" alt="Alienware" src="images/ANAV_Series_Alienware.JPG" /></td><td>一流游戏体验<br /><br />    • 尖端显卡<br />    • 高端游戏性能</td></tr></tbody></table>
</div>
</div>
</div>
<script type="text/javascript">
(function () {
$("#hmcTabs").tabs({
select: function (event, ui) {
Dell.WebAnalytics.tabPageView($.trim($(ui.tab).text()), $(ui.tab).data("analyticscontent"));
}
});
var firstTab = $("#hmcTabs").find("ul.ui-tabs-nav li.ui-state-default");
uif_tabs.start(firstTab);
})()
</script>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
function tempFixForTallTitles() {
var title = $(".uif_mhPageTitle").eq(0),
titleHeight = title.height(),
isSkinny = (($(".uif_mastHead_skinny").length > 0) || ($(".uif_mastHead_skinnyWP").length > 0)) ? true : false,
isSkinnyPartial = ($(".uif_mastHead_skinny_control").length > 0) ? true : false,
isBuilder = ($(".uif_mhbodyBuilder").length > 0) ? true : false;
if ((titleHeight > 30 && !isSkinny && !isBuilder) || (titleHeight > 60 && isSkinny)) {
if (isSkinny) {
$("html").eq(0).addClass("uif_altTitleSkinny");
} else if (isBuilder) {
$("html").eq(0).addClass("uif_altTitleBuilder");
} else {
$("html").eq(0).addClass("uif_altTitle");
}
title.hide();
if (isSkinny) {
$(".uif_bodySubWrap").eq(0).prepend("<div class='uif_altMainFoot clearfix'>" + $(".uif_mhMainFoot").eq(0).hide().html() + "</div>");
}
$(".uif_bodySubWrap").eq(0).prepend("<h1 class='uif_altPageTitle gsd_pageTitle'>" + title.html() + "</h1>");
}
if (isSkinnyPartial) {
$("html").eq(0).addClass("uif_altTitleSkinnyPartial");
$(".uif_bodySubWrap").eq(0).prepend("<div class='uif_altMainFoot clearfix'>" + $(".uif_mhMainFoot").eq(0).hide().html() + "</div>");
$(".uif_bodySubWrap").eq(0).prepend(title);
}
};
tempFixForTallTitles();
</script>
<script type="text/javascript" src="js/.com/fcs/cn/zh/_/UIFramework/res/JsSet?id=bottom&type=framework&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/.com/learn/cn/zh/_/UIFramework/res/js?path=zebraStripe&type=application&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/.com/learn/cn/zh/_/UIFramework/res/JsSet?id=learnCore&type=application&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/.com/learn/cn/zh/_/UIFramework/res/js?path=articleTools&type=application&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script> <script type="text/javascript">
var dell_trackingLinks=[];
if (typeof (s_code) != 'undefined') {
s_dell.pageName = "";
mapToSchema();
var s_code = s_dell.t(); if (s_code) document.write(s_code);
}
</script>
<div class="uif_stdCornerBox gsd_bodyCopySmall gsd_accentColor1 uif_validationTooltip uif_ContainerWithX "
id="uifValidationMessageDefault"
style="width:200px"
>
<div class="dbtsBodyWrap">
<div class="tbtsTopWrap">
<div class="tbtsUL">
</div>
<div class="tbtsUM">
<div class="tbtsUMTriangle"></div>
</div>
<div class="tbtsUR">
</div>
</div>
<div class="tbtsCenterWrap">
<div class="tbtsClose"></div>
<div class="tbtsBodyTriangle"></div>
<div class="tbtsBody clearfix ">
</div>
</div>
<div class="tbtsBottomWrap">
<div class="tbtsLL">
</div>
<div class="tbtsLM">
<div class="tbtsLMTriangle"></div>
</div>
<div class="tbtsLR">
</div>
</div>
</div>
<!-- ie6 & 7 fix for gradient box -->
<!--[if IE 6]>
<script>
if ($(".uif_gradBox").length > 0) {
var cc = 0;
$(function(){
if( cc== 0) {
$(".uif_gradBox .tbtsCenterWrap").each(function(){
var thisWidth = $(this).width() - 2;
$(this).css("margin-left", 0).width(thisWidth);
})
}
cc=1;
})
}
</script>
<![endif]-->
</div>
</body>
</html>

@ -0,0 +1,302 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1,requiresActiveX=true">
<meta charset="utf-8">
<script type="text/javascript">document.domain = 'dell.com';</script>
<script type="text/javascript">tealeafTargetUrl = '/learn/tltarget.aspx'; tealeafTargetUrlSecure = '/learn/tltarget.aspx';</script>
<script type="text/javascript">var iPerceptions = {}; iPerceptions.surveyJsPath = 'http://dsvr.iperceptions.com/Invitations/Javascripts/ip_Layer_Invitation_NextGen.aspx?c=cn&l=zh&s=dhs&cs=cndhs1'; iPerceptions.invitationRate = 0;</script>
<title>Help Me Choose | Dell 中国大陆</title>
<meta name="author" content="Dell cn"/>
<meta name="channel" content="http://www.dell.com/learn/cn/zh/cndhs1/help-me-choose/hmc-processor-lt-anav?c=cn&amp;l=zh&amp;s=dhs"/>
<meta name="cmsurl" content="http://cmscontent.dell.com/sites/content/shared-content/help-me-choose/zh/Pages/hmc-processor-lt-anav_cn.aspx"/>
<meta name="customerset" content="cndhs1"/>
<meta name="description" content="英特尔&#174;处理器:提供满足日常计算所需的基本性能"/>
<meta name="documentcountrycode" content="cn"/>
<meta name="generator" content="Build: 3.3.99.3 Built On: 4/13/2012 11:04:49 上午"/>
<meta name="keywords" content=""/>
<meta name="language" content="zh"/>
<meta name="mbox-to" content=""/>
<meta name="metricpath" content="cndhs1"/>
<meta name="profile_id" content=""/>
<meta name="s_account" content="dellglobalonline"/>
<meta name="segment" content="dhs"/>
<meta name="waaction" content="ByDocumentID"/>
<meta name="waapplicationname" content="Dell.UX.Mvc.Learn.UI"/>
<meta name="wacontroller" content="Document"/>
<meta name="servername" content="P61LEARN01"/>
<meta name="pagetemplate" content="LearnMore"/>
<meta name="expires" content=""/>
<meta name="termid" content=""/>
<meta name="lastmodifieddate" content="08/27/2010 12:00:00 AM"/>
<meta name="mplxID" content="10592"/>
<meta name="mplxTitle" content="cn_content"/>
<meta name="mplxLWP" content="c=cn&amp;l=zh&amp;s=dhs&amp;cs=cndhs1"/>
<meta name="robots" content="noindex"/>
<script type="text/javascript">
if (typeof Dell == 'undefined') var Dell = {};
if (!Dell.Global)
Dell.Global = {
Settings: {
mceLink: "http://cmscontent.dell.com/sites/content/_layouts/dell/viewmicrocontent.aspx ",
toolsPanelLinks: {
toolsPanel: '/learn/cn/zh/cndhs1/UIFramework/toolspanel ',
combineCssJs: '/learn/cn/zh/cndhs1/UIFramework/configurationmanagement/ToggleCombineSettings ',
compressCssJs: '/learn/cn/zh/cndhs1/UIFramework/configurationmanagement/ToggleCompressSettings ',
configurationmgmt: '/learn/cn/zh/cndhs1/UIFramework/configurationmanagement/SectionListing '
},
legacyLogout: 'https://www.dell.com/sts/passive/commercial/v1/compatibility/logout?ru=http%3a%2f%2fwww.dell.com%2flearn%2fcn%2fzh%2fcndhs1%2fhelp-me-choose%2fhmc-processor-lt-anav%3fc%3dcn%26l%3dzh%26s%3ddhs'
},
lwp: {
c: "cn",
l: "zh",
s: "dhs",
cs: "cndhs1"
},
isPremier: "false" == "true",
isMigrated: "false" == "true"
};
</script>
<link rel="stylesheet" href="http://fcs.dell.com/fcs/cn/zh/_/UIFramework/3.3.99.3/res/CssSet?id=core&type=framework&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://afcs.dell.com/learn/cn/zh/_/UIFramework/3.3.99.3/res/Css?path=document%2fLearnMore&type=application&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://afcs.dell.com/learn/cn/zh/_/UIFramework/3.3.99.3/res/Css?path=core%2fNoContainer&type=application&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://afcs.dell.com/learn/cn/zh/_/UIFramework/3.3.99.3/res/Css?path=modules%2fCampaignTabs&type=application&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://afcs.dell.com/learn/cn/zh/_/UIFramework/3.3.99.3/res/Css?path=mainContent&type=application&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://afcs.dell.com/learn/cn/zh/_/UIFramework/3.3.99.3/res/CssSet?id=learnMastHeadCss&type=application&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://afcs.dell.com/learn/cn/zh/_/UIFramework/3.3.99.3/res/CssSet?id=learnCore&type=application&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://fcs.dell.com/fcs/cn/zh/_/UIFramework/3.3.99.3/res/CssSet?id=legacyMasthead&type=framework&ver=622859708620000000&compress=True" type="text/css" media="all" /><link rel="stylesheet" href="http://fcs.dell.com/fcs/cn/zh/_/UIFramework/3.3.99.3/res/Css?path=sharedcontrols%2fie7&type=framework&ver=622859708620000000&compress=True" type="text/css" media="all" />
<script type="text/javascript" src="js/.com/fcs/cn/zh/_/UIFramework/res/JsSet?id=top_legacy&type=framework&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/.com/fcs/cn/zh/_/UIFramework/res/js?path=sharedcontrols%2fdialog&type=framework&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/.com/learn/cn/zh/_/UIFramework/res/JsSet?id=learnPrimary&type=application&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/.com/fcs/cn/zh/_/UIFramework/res/js?path=stormMasthead&type=framework&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/Bootstrap.js"></script><script type="text/javascript" src="js/.com/fcs/cn/zh/_/UIFramework/res/js?path=SharedControls%2fPortalFramework%2fmoduleAPI&type=framework&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/.com/learn/cn/zh/_/UIFramework/res/JsSet?id=masthead&type=application&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script>
<meta property="og:title" content="Help Me Choose" />
<meta property="og:url" content="http://www.dell.com/learn/cn/zh/cndhs1/help-me-choose/hmc-processor-lt-anav?c=cn&amp;l=zh&amp;s=dhs" />
<meta property="og:site_name" content="Dell" />
<meta property="fb:app_id" content="186850318029150" />
<meta property="og:description" content="英特尔&#174;处理器:提供满足日常计算所需的基本性能" />
<meta property="og:image" content="http://i.dell.com/images/global/brand/ui/storm80/logo80.png" />
<meta property="og:type" content="Document" />
<link rel="canonical" href="http://www.dell.com/learn/cn/zh/cndhs1/help-me-choose/hmc-processor-lt-anav" />
<link rel="alternate" href="http://www.dell.com/learn/cn/zh/cndhs1/help-me-choose/hmc-processor-lt-anav" hreflang="zh-cn"/>
</head>
<body class="ie lte8 lte9 lte7 ie6 ctry_cn lang_zh set_cndhs1 ltr uif_bodyWidget uif_mhbodyDefault razor gsd_bodyCopyMedium">
<script type="text/javascript">
var InfoItems = '[{"Name":"author","Content":"Dell cn","HttpEquiv":null},{"Name":"channel","Content":"http://www.dell.com/learn/cn/zh/cndhs1/help-me-choose/hmc-processor-lt-anav?c=cn&l=zh&s=dhs","HttpEquiv":null},{"Name":"cmsurl","Content":"http://cmscontent.dell.com/sites/content/shared-content/help-me-choose/zh/Pages/hmc-processor-lt-anav_cn.aspx","HttpEquiv":null},{"Name":null,"Content":"text/html; charset=utf-8","HttpEquiv":"content-type"},{"Name":"customerset","Content":"cndhs1","HttpEquiv":null},{"Name":"description","Content":"英特尔®处理器:提供满足日常计算所需的基本性能","HttpEquiv":null},{"Name":"documentcountrycode","Content":"cn","HttpEquiv":null},{"Name":"generator","Content":"Build: 3.3.99.3 Built On: 4/13/2012 11:04:49 上午","HttpEquiv":null},{"Name":"keywords","Content":"","HttpEquiv":null},{"Name":"language","Content":"zh","HttpEquiv":null},{"Name":"mbox-to","Content":"","HttpEquiv":null},{"Name":"metricpath","Content":"cndhs1","HttpEquiv":null},{"Name":"persistence_id","Content":"510398ad-93e3-4334-9ed3-52201f921a52","HttpEquiv":null},{"Name":"premier_accessgroupid","Content":null,"HttpEquiv":null},{"Name":"premier_accessgroups","Content":null,"HttpEquiv":null},{"Name":"premier_roleid","Content":null,"HttpEquiv":null},{"Name":"premier_rolename","Content":null,"HttpEquiv":null},{"Name":"profile_id","Content":null,"HttpEquiv":null},{"Name":"s_account","Content":"dellglobalonline","HttpEquiv":null},{"Name":"segment","Content":"dhs","HttpEquiv":null},{"Name":"server","Content":"P61LEARN01","HttpEquiv":null},{"Name":"session_id","Content":"nfrmitf5j1xkglfnrj5xezp4","HttpEquiv":null},{"Name":"waaction","Content":"ByDocumentID","HttpEquiv":null},{"Name":"waapplicationname","Content":"Dell.UX.Mvc.Learn.UI","HttpEquiv":null},{"Name":"wacontroller","Content":"Document","HttpEquiv":null},{"Name":"servername","Content":"P61LEARN01","HttpEquiv":null},{"Name":"pagetemplate","Content":"LearnMore","HttpEquiv":null},{"Name":"expires","Content":"","HttpEquiv":null},{"Name":"termid","Content":"","HttpEquiv":null},{"Name":"lastmodifieddate","Content":"08/27/2010 12:00:00 AM","HttpEquiv":null},{"Name":"mplxID","Content":"10592","HttpEquiv":null},{"Name":"mplxTitle","Content":"cn_content","HttpEquiv":null},{"Name":"mplxLWP","Content":"c=cn&l=zh&s=dhs&cs=cndhs1","HttpEquiv":null},{"Name":"robots","Content":"noindex","HttpEquiv":null},{"Name":"hier1","Content":"dell/help-me-choose/hmc-processor-lt-anav","HttpEquiv":null},{"Name":"currentview","Content":"LearnMore","HttpEquiv":null},{"Name":"frv","Content":"http://frr","HttpEquiv":null},{"Name":"waview","Content":"LearnMore","HttpEquiv":null},{"Name":"pagename","Content":"cn|zh|dhs|cndhs1|dell.ux.mvc.learn.ui|document|bydocumentid|learnmore","HttpEquiv":null}]';
Dell.Metrics.PageMetadata.PageMetaInfoItems = JSON.parse(InfoItems);
</script>
<div id="mbox_default">
</div>
<script type="text/javascript">
mboxCreate(Dell.Global.lwp.l + Dell.Global.lwp.c + '_olr', // language+ country +'_olr'
'r=' + Dell.Global.lwp.c, //country
'c=' + Dell.Global.lwp.c, //country
'l=' + Dell.Global.lwp.l, //language
's=' + Dell.Global.lwp.s, //segment
'cs=' + Dell.Global.lwp.cs, //customerset
'pn=' + Dell.Metrics.PageMetadata.find("pagename").Content); //pagename
</script>
<div id="content" >
<div >
<div >
<div >
<div >
<div class="learnMoreModal">
<h2 class="articlePageTitle">帮我选择:处理器</h2>
<div class="hmcOverview">
<div class="leftContent">
处理器也叫CPU用于处理计算机运行所需的关键信息和指令。您可以把它想象成系统的大脑有了它系统才能运行应用程序和执行其他操作。<br /><br />您的系统能够以何种速度运行程序、加载图像和下载文件,在一定程度上取决于处理器。带宽、时钟速率和处理器核心的数量共同决定着处理器的性能。一般来说,参数越高,处理器性能就越高。<br /><br />购买计算机后再升级处理器,费用高昂且操作也很复杂。因此,戴尔建议您选择一款足以满足您未来性能需求的处理器。<br /><br />选择合适的处理器就可以获得更高的多任务处理能力、按需提速并在使用和创作数字媒体时获得突破性的性能。例如使用英特尔®酷睿™i5处理器您可以下载并编辑高清(HD)视频、转换媒体以便在社交网络和便携设备上使用、同时运行多个应用程序并在后台运行病毒防护程序,以及在主流和高端游戏中所向披靡。<br /><br />第三代处理器采用全新的处理器设计,相比第二代处理器, 可为您提供更强的性能和更高的能效。<br /><br />第三代处理器还添加了全新图形功能可实现更高分辨率的显示效果和增强的3D播放效果此外它还支持USB 3.0,能够以更快的速度将数据传输至您的移动设备。<br /><br />如今,最新的英特尔®处理器技术就是第四代英特尔酷睿技术。全新设计的第四代处理器在第二代和第三代处理器的基础上进行了重大改进,其中包括:<br /><br />• 能效:减少寻找电源插座所花费的时间,而将更多时间用于完成工作。英特尔最新的第四代处理器比以往具有更高能效,而不会降低性能。<br />• 显卡相比前几代产品第4代英特尔酷睿处理器可提供高达2倍的显卡性能。<a class="technote microcontent" rel="technotes:intel_testing_processor">*</a>它还可提供极致清晰的显示效果,让您在旅途中也能尽享观看清晰逼真的照片、电影和媒体的乐趣。<br />• 性能相比前几代产品第四代处理器可提供高达13 %的性能<a class="technote microcontent" rel="technotes:intel_testing_processor">*</a>,并且功能更强大、速度更快,可帮您完成各项任务。
</div>
</div>
<div id="hmcHtmlMerchModule">
</div>
<div id="hmcTabs">
<ul>
<li><a href="#hmcTabs-0" data-analyticscontent="">
推荐 </a></li>
</ul>
<div id="hmcTabs-0">
<div class="nodeIntroText hmcInlineContent">
<!-- Render HTML string-->
<table><tbody><tr><td style="text-align: center; vertical-align: middle;"><img alt="英特尔" src="images/intelins_f_rgb_60_blue.jpg" /></td><td style="text-align: left; vertical-align: middle;"><strong>哪款处理器最适合我?<br /></strong>在选择处理器时请记住一般来说参数越高就表示处理器性能越高。英特尔®酷睿™i3、i5和i7处理器分别代表三个性能级别它们在速度、智能化程度和性能上依次递增。每个处理器中的核心数量越多您就可以获得越高的多任务处理能力、更高速度或高级媒体功能。</td></tr><tr><td style="text-align: center; vertical-align: middle;"><img alt="intel-core-i7" src="images/intelcore_2ndgen_hmc_recommend_logo_corei7extreme_83x63.jpg" /> </td><td style="text-align: left; vertical-align: middle;"><strong>酷睿i7至尊版<br /></strong>英特尔酷睿i7至尊版是最高版本它具有六个核心、更高板载内存和12路多任务处理能力除具备英特尔酷睿i3、i5和i7的所有功能之外性能也更高。英特尔酷睿i7至尊版处理器还支持通过CPU超频<a class="technote microcontent" rel="technotes:factory-default-settings">*</a><sup> </sup>来释放更高的性能这对媒体发烧友和铁杆游戏玩家来说是最理想的处理器。酷睿i7至尊版仅在部分Alienware™系统上提供。 </td></tr><tr><td style="text-align: center; vertical-align: middle;"><img alt="Intel-corei7" src="images/ci7_h_rgb_60.jpg" /><br />英特尔®酷睿™i7</td><td style="text-align: left; vertical-align: middle;"><strong>酷睿i7</strong><br />采用全新的处理器技术可以自动调适以满足您的需要并帮助您更快地执行多任务处理酷睿i7处理器具备酷睿i3和i5的所有功能另外还提供强大的PC性能特别适合数字视频、音乐和照片制作。具备四路和八路<a class="technote microcontent" rel="technotes:8-way-multi-task">*</a>多任务处理能力可帮助您更快地完成工作为您节省时间。酷睿i7仅在部分戴尔系统上提供。</td></tr><tr><td style="text-align: center; vertical-align: middle;"><img style="width:45px;height:60px;border:0px solid" alt="intel-core-i5" src="images/new-inter-core-i5.jpg" /><br />英特尔®酷睿™i5</td><td style="text-align: left; vertical-align: middle;"><strong>酷睿i5</strong><br />除了提供卓越的视觉体验和多任务处理能力之外酷睿i5处理器还采用了英特尔®睿频加速技术可以在您的PC需要额外性能时自动提升处理速度。具备四路多任务处理能力可帮助您同时处理多个任务。</td></tr><tr><td style="text-align: center; vertical-align: middle;"><img alt="intel-core-i3" src="images/new-ci3_h_rgb_60.jpg" /><br />英特尔®酷睿™i3</td><td style="text-align: left; vertical-align: middle;"><strong>酷睿i3</strong><br />酷睿i3处理器在奔腾®处理器基础上实现了巨大飞跃可以充分满足日常应用所需。它拥有两个核心、四路多任务处理能力和全新的图形功能可提供所需的性能让您更快完成日常任务并获得卓越的视觉体验。</td></tr><tr><td style="text-align: center; vertical-align: middle;"><img alt="奔腾" src="images/pp_h_rgb_60.jpg" /></td><td style="text-align: left; vertical-align: middle;"><strong>英特尔</strong>®<strong>奔腾</strong>®<strong>双核处理器 <br /></strong>双核性能,是处理多任务和日常计算的理想选择。</td></tr><tr><td style="text-align: center; vertical-align: middle;"><img alt="赛扬" src="images/intel_core_celeron_62x76.gif" /></td><td style="text-align: left; vertical-align: middle;"><strong>英特尔</strong>®<strong>赛扬</strong>®<strong>M处理器</strong> <br />低成本选择,适用于处理基本的业务和个人生产力应用程序。</td></tr></tbody></table>
</div>
</div>
</div>
<script type="text/javascript">
(function () {
$("#hmcTabs").tabs({
select: function (event, ui) {
Dell.WebAnalytics.tabPageView($.trim($(ui.tab).text()), $(ui.tab).data("analyticscontent"));
}
});
var firstTab = $("#hmcTabs").find("ul.ui-tabs-nav li.ui-state-default");
uif_tabs.start(firstTab);
})()
</script>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
function tempFixForTallTitles() {
var title = $(".uif_mhPageTitle").eq(0),
titleHeight = title.height(),
isSkinny = (($(".uif_mastHead_skinny").length > 0) || ($(".uif_mastHead_skinnyWP").length > 0)) ? true : false,
isSkinnyPartial = ($(".uif_mastHead_skinny_control").length > 0) ? true : false,
isBuilder = ($(".uif_mhbodyBuilder").length > 0) ? true : false;
if ((titleHeight > 30 && !isSkinny && !isBuilder) || (titleHeight > 60 && isSkinny)) {
if (isSkinny) {
$("html").eq(0).addClass("uif_altTitleSkinny");
} else if (isBuilder) {
$("html").eq(0).addClass("uif_altTitleBuilder");
} else {
$("html").eq(0).addClass("uif_altTitle");
}
title.hide();
if (isSkinny) {
$(".uif_bodySubWrap").eq(0).prepend("<div class='uif_altMainFoot clearfix'>" + $(".uif_mhMainFoot").eq(0).hide().html() + "</div>");
}
$(".uif_bodySubWrap").eq(0).prepend("<h1 class='uif_altPageTitle gsd_pageTitle'>" + title.html() + "</h1>");
}
if (isSkinnyPartial) {
$("html").eq(0).addClass("uif_altTitleSkinnyPartial");
$(".uif_bodySubWrap").eq(0).prepend("<div class='uif_altMainFoot clearfix'>" + $(".uif_mhMainFoot").eq(0).hide().html() + "</div>");
$(".uif_bodySubWrap").eq(0).prepend(title);
}
};
tempFixForTallTitles();
</script>
<script type="text/javascript" src="js/.com/fcs/cn/zh/_/UIFramework/res/JsSet?id=bottom&type=framework&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/.com/learn/cn/zh/_/UIFramework/res/js?path=zebraStripe&type=application&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/.com/learn/cn/zh/_/UIFramework/res/JsSet?id=learnCore&type=application&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script><script type="text/javascript" src="js/.com/learn/cn/zh/_/UIFramework/res/js?path=articleTools&type=application&ver=622859708620000000&compress=True&fwv=3.3.99.3"></script> <script type="text/javascript">
var dell_trackingLinks=[];
if (typeof (s_code) != 'undefined') {
s_dell.pageName = "";
mapToSchema();
var s_code = s_dell.t(); if (s_code) document.write(s_code);
}
</script>
<div class="uif_stdCornerBox gsd_bodyCopySmall gsd_accentColor1 uif_validationTooltip uif_ContainerWithX "
id="uifValidationMessageDefault"
style="width:200px"
>
<div class="dbtsBodyWrap">
<div class="tbtsTopWrap">
<div class="tbtsUL">
</div>
<div class="tbtsUM">
<div class="tbtsUMTriangle"></div>
</div>
<div class="tbtsUR">
</div>
</div>
<div class="tbtsCenterWrap">
<div class="tbtsClose"></div>
<div class="tbtsBodyTriangle"></div>
<div class="tbtsBody clearfix ">
</div>
</div>
<div class="tbtsBottomWrap">
<div class="tbtsLL">
</div>
<div class="tbtsLM">
<div class="tbtsLMTriangle"></div>
</div>
<div class="tbtsLR">
</div>
</div>
</div>
<!-- ie6 & 7 fix for gradient box -->
<!--[if IE 6]>
<script>
if ($(".uif_gradBox").length > 0) {
var cc = 0;
$(function(){
if( cc== 0) {
$(".uif_gradBox .tbtsCenterWrap").each(function(){
var thisWidth = $(this).width() - 2;
$(this).css("margin-left", 0).width(thisWidth);
})
}
cc=1;
})
}
</script>
<![endif]-->
</div>
</body>
</html>

@ -0,0 +1,11 @@
<html>
<body >
<h3>仅供参考</h3>
<ul>
<li><a href="help me choose2.html" target="view_frame">帮我选择品牌</a></li>
<li><a href="help me choose3.html" target="view_frame">帮我选择处理器</a></li>
<li><a href="help me choose1.html" target="view_frame">帮我选择尺寸处理器</a></li>
</ul>
</body>
</html>

@ -0,0 +1,8 @@
<html>
<frameset cols="20%,*">
<frame src="helpme.html">
<frame src="help me choose2.html" name="view_frame">
</frameset>
</html>

@ -0,0 +1,347 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.domain.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ACE Shop</title>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "top_nav", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
<script type="text/javascript" src="js/jquery.js"></script>
<link rel="stylesheet" href="css/style.css" type="text/css" />
</head>
<body>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* service-menu */
.service-menu .menu-title,.service-menu .menu-p,.service-menu .menu-p .menu-i{background:url("images/menubg.png") no-repeat;}
.service-menu{border:solid 1px #d1d1d1;width:206px;margin:auto auto auto auto;}
.service-menu .menu-title{height:21px;overflow:hidden;padding:6px 8px;background-position:0 0;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:bold;}
.service-menu .menu-p{display:block;height:21px;overflow:hidden;padding:6px 0 6px 19px;border-top:solid 1px #e6e6e6;background-position:0 -50px;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:normal;cursor:pointer;}
.service-menu .menu-p .menu-i{float:left;display:inline;width:11px;height:11px;overflow:hidden;background-position:0 -103px;margin:5px 6px 0 0;}
.service-menu .menu-p a:link,.service-menu .menu-p a:visited{color:#444;text-decoration:none;font-size:14px;}
.service-menu .menu-p a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-p-current .menu-i{background-position:-20px -103px;}
.service-menu .menu-p-current a:link,.service-menu .menu-p-current a:visited{color:#369;font-weight:bold;}
.service-menu .menu-p-current a:hover{color:#ff7300;}
.service-menu .menu-c{border-top:solid 1px #e6e6e6;display:none;padding:4px 0 4px 54px;}
.service-menu .menu-c-current{display:block;}
.service-menu .menu-c ul{display:block;}
.service-menu .menu-c li{padding:2px 0;height:18px;overflow:hidden;}
.service-menu .menu-c a:link,.service-menu .menu-c a:visited{color:#444;text-decoration:none;}
.service-menu .menu-c a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-c .current:link,.service-menu .menu-c .current:visited{color:#369;font-weight:bold;}
.service-menu .menu-c .current:hover{color:#ff7300;}
</style>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title"><h1><a href="http://www.dell.com.cn/">DELL官方网站</a></h1></div>
<div id="header_right">
<p>
<a>${(empty Quser.u_Name)?'游客请登录':'欢迎'}${Quser.u_Name}</a>|<a href="login.jsp">登录我的账户</a> |<a href="servlet/ShowOrderServlet">订单查询</a> |<a href="helpmeChoose.html" target="_blank">帮我选择</a> |<a href="Qregister.jsp">注册</a></p>
<p>
购物车: <strong>${(empty cart)?0:cart.count} 件商品</strong> ( <a href="ShoppingCart.jsp">进入购物车</a> )
</p>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
<div id="templatemo_menubar">
<div id="top_nav" class="ddsmoothmenu">
<ul>
<li><a href="servlet/ShowServlet" class="selected">主页</a></li>
<li><a href="servlet/MenuServlet?op=findall">购买商品</a>
<ul>
<li><a href="showError.jsp">时尚触控本</a></li>
<li><a href="servlet/MenuServlet?apply=enjoy">多媒体娱乐本</a></li>
<li><a href="servlet/MenuServlet?apply=daily">日常综合应用</a></li>
<li><a href="servlet/MenuServlet?apply=top">顶级超高性能</a></li>
<li><a href="showError.jsp">专业游戏</a></li>
</ul>
</li>
<li><a href="faqs.jsp">常见问题</a></li>
<li><a href="servlet/ShowOrderServlet">订单查询</a></li>
<li><a href="contact.jsp">联系我们</a></li>
<li><a href="about.jsp">关于</a></li>
</ul>
<br style="clear: left" />
</div> <!-- end of ddsmoothmenu -->
<div id="templatemo_search">
<form action="servlet/FindGoodsServlet?op=find" method="post">
<input type="text" name="keyword" id="keyword" title="keyword" onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value=" " alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div>
</div> <!-- END of templatemo_menubar -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" title="网页模板">网页模板</a></div>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>产品筛选</h3>
<div class="content">
<div class="service-menu">
<input class="menu-code-index" type="hidden" value="c849" /><!--默认下值设置
data-service-index=c203的列表项展开与子列表标签导航高亮显示-->
<strong class="menu-p"><i class="menu-i"></i><a href="">产品系列</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=Inspiron">Inspiron</a></li>
<li><a href="servlet/MenuServlet?types=XPS">XPS</a></li>
<li><a href="servlet/MenuServlet?types=Alienware">Alienware</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">处理器</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?cpu=i3">英特尔I3智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i5">英特尔I5智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i7">英特尔I7智能处理器</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">笔记本屏幕尺寸</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?monito=14">14寸</a></li>
<li><a href="servlet/MenuServlet?monito=15">15寸</a></li>
<li><a href="servlet/MenuServlet?monito=17">17寸</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">价格区间</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?sma=3000&big=5000">RMB3000~RMB5000</a></li>
<li><a href="servlet/MenuServlet?sma=5000&big=7000">RMB5000~RMB7000</a></li>
<li><a href="servlet/MenuServlet?sma=7000&big=9000">RMB7000~RMB9000</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">操作系统</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?system=Windows 7">Windows 7</a></li>
<li><a href="servlet/MenuServlet?system=Windows 8">Windows 8</a></li>
<li><a href="servlet/MenuServlet?system=Linux">Linux</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>热销商品 </h3>
<div class="content">
<c:forEach items="${list3}" var="ff">
<div class="bs_box">
<a href="servlet/ShowServlet?op=add&gid=${ff.g_Id}"><img src="imgs/type.jpg" width="75px" height="75px"/></a>
<h4 style="font-size: ">${ff.g_Name }</h4>
<p class="price">价格:${ff.g_Price }</p>
<p class="price">销量:${ff.o_Count}</p>
<div class="cleaner"></div>
</div>
</c:forEach>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>公告 </h3>
<div class="content">
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list2");
for(T_board e:list)
{
%>
<tr><td width="180px" ><a>&nbsp;&nbsp;&nbsp;<%=e.getB_Content() %></a></td></tr>
<tr><td ><a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<%=e.getB_Posttime() %></a></td></tr>
<tr><td>&nbsp;</td></tr>
<%
}
%>
</table>
</marquee>
</div>
</div>
</div>
<div id="content" class="float_r">
<div id="slider-wrapper">
<div id="slider" class="nivoSlider">
<img src="images/slider/02.jpg" alt="" />
<img src="images/slider/01.jpg" alt="" />
<img src="images/slider/03.jpg" alt="" />
<img src="images/slider/04.jpg" alt="" />
</div>
</div>
<script type="text/javascript" src="js/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="js/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript">
$(window).load(function() {
$('#slider').nivoSlider();
});
</script>
<h1>新商品</h1>
<c:forEach items="${list}" var="gg">
<div class="product_box">
<h3>${gg.gname}</h3>
<a href="servlet/ShowServlet?gid=${gg.gid}"><img src="imgs/${gg.gspic}"></a>
<h3>${gg.gprice}</h3><!--
<form action="servlet/CartServlet?op=add&gid=${gg.gid }" method="post">
<input type="submit" value="加入购物车">
</form>
--><a href="servlet/CartServlet?op=add&gid=${gg.gid }" class="addtocart"></a>
<a href="servlet/ShowServlet?op=add&gid=${gg.gid }" class="detail"></a>
</div>
</c:forEach>
<div class="cleaner"></div>
<h1>推荐商品</h1>
<c:forEach items="${list4}" var="hh">
<div class="product_box">
<h3>${hh.gname}</h3>
<a href="servlet/ShowServlet?gid=${hh.gid }"><img src="imgs/${hh.gspic}"></a>
<h3>${hh.gprice}</h3>
<a href="servlet/CartServlet?op=add&gid=${hh.gid }" class="addtocart"></a>
<a href="servlet/ShowServlet?&gid=${hh.gid }" class="detail"></a>
</div>
</c:forEach>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_main -->
<div id="templatemo_footer">
<p><a href="#">Home</a> | <a href="#">Products</a> | <a href="#">About</a> | <a href="#">FAQs</a> | <a href="#">Checkout</a> | <a href="#">Contact Us</a>
</p>
Copyright © 2072 <a href="#">ACE Team</a> | Collect from <a href="http://www.baidu.com" target="_parent">百度</a>
</div> <!-- END of templatemo_footer -->
<div id="for_kefu_block">
<div class="kefu_box kefu_block">
<div class="kefu_title"><a class="kefu_close" href="javascript:void(0)"><img src="images/kf_top.png" width="183" height="31"></a></div>
<div class="kefu_con">
<div class="kefu_tel"></div>
<div class="kefu1">
<div class="kefu_con_title">
<ul class="jszcfwul clearfix">
<li class="kefu_con_title_li1"><img src="images/kf_line2.png" width="14" height="14"></li>
<li class="kefu_con_title_li2">开店服务</li>
</ul>
</div>
<div class="kefu_con_con1">
<ul class="clearfix">
<li class="neititle"><div class="uline">开店顾问</div></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li class="neititle"><div class="uline">企业定制</div></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
</ul>
</div>
</div>
<div class="kefu5">
<div class="kefu_con_title">
<ul class="clearfix">
<li class="kefu_con_title_li1"><img src="images/kf_line2.png" width="14" height="14"></li>
<li class="kefu_con_title_li2">技术支持</li>
</ul>
</div>
<div class="kefu_con_con">
<ul class="clearfix">
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后1" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"><span>售后1</span></a></li>
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后2" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"><span>售后2</span></a></li>
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后3" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"><span>售后3</span></a></li>
</ul>
</div>
</div>
</div>
<div class="kefu_tt"><a href="#"><img src="images/kf_foot.png" /></a></div>
</div>
<div class="kefu_flag"><img src="images/kefu_flag.gif" /></div>
</div>
<script language="javascript">
$(document).ready(function(){
$(".kefu_close").click(function(){
$(".kefu_block").hide();
$(".kefu_flag").show();
})
$(".kefu_flag").click(function(){
$(this).hide();
$(".kefu_block").show();
})
});
</script>
</div> <!-- END of templatemo_wrapper -->
</div> <!-- END of templatemo_body_wrapper -->
</body>
</html>

@ -0,0 +1,28 @@
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.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>
<a href="servlet/T_boardServlet?op=five">¹«¸æ¹ÜÀí</a>
<a href="servlet/ContactServlet?op=find">ÁôÑÔ¹ÜÀí</a>
</body>
</html>

@ -0,0 +1,131 @@
<%@ page language="java" import="java.util.* " pageEncoding="gbk"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<script type="text/javascript">
function changeimg()
{
var myimg = document.getElementById("code");
now = new Date();
myimg.src="Qvalidate.jsp?code="+now.getTime();
}
</script>
<script type="text/javascript" src="js/login.js"></script>
<TITLE>用户登陆</TITLE>
<META http-equiv=Content-Language content=zh-cn>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1611" name=GENERATOR>
<LINK href="images/css1.css" type=text/css rel=stylesheet><link
href="images/newhead.css" type=text/css rel=stylesheet></HEAD>
<BODY bgColor=#eef8e0 leftMargin=0 topMargin=0 MARGINWIDTH="0" MARGINHEIGHT="0">
<center>
<div>
<form action="servlet/QLoginServlet?op=login" method="post">
<input type="hidden" name="login" value="login" />
<TABLE cellSpacing=0 cellPadding=0 width=1004 border=0>
<TBODY>
<TR>
<TD colSpan=6><IMG height=92 alt="" src="images/crm_1.gif"
width=345></TD>
<TD colSpan=4><IMG height=92 alt="" src="images/crm_2.gif"
width=452></TD>
<TD><IMG height=92 alt="" src="images/crm_3.gif" width=207></TD></TR>
<TR>
<TD colSpan=6><IMG height=98 alt="" src="images/crm_4.gif"
width=345></TD>
<TD colSpan=4><IMG height=98 alt="" src="images/crm_5.gif"
width=452></TD>
<TD><IMG height=98 alt="" src="images/crm_6.gif" width=207></TD></TR>
<TR>
<TD rowSpan=5><IMG height=370 alt="" src="images/crm_7.gif"
width=59></TD>
<TD colSpan=5><IMG height=80 alt="" src="images/crm_8.gif"
width=286></TD>
<TD colSpan=4><IMG height=80 alt="" src="images/crm_9.gif"
width=452></TD>
<TD><IMG height=80 alt="" src="images/crm_10.gif" width=207></TD></TR>
<TR>
<TD><IMG height=110 alt="" src="images/crm_11.gif" width=127></TD>
<TD background=images/crm_12.gif colSpan=6>
<TABLE id=table1 cellSpacing=0 cellPadding=0 width="98%" border=0>
<TBODY>
<TR>
<TD>
<TABLE id=table2 cellSpacing=1 cellPadding=0 width="100%"
border=0><TBODY>
<tr>
<TD align=middle width=81><FONT color=#ffffff></FONT><span id="err"></span></TD>
</tr>
<TR>
<TD align=middle width=81><FONT color=#ffffff>用户名:</FONT></TD>
<td>
<input name="username" id="username" type="text" size="20"
value="${param.u_Name}" onblur="GetPwdAndChk()"/>
</td>
</TR>
<TR>
<TD align=middle width=81><FONT color=#ffffff>密&nbsp;码:</FONT></TD>
<td>
<input name="password" id="password" type="password" size="21" />
</td>
</TR>
<TR>
<TD align=middle width=81><FONT color=#ffffff>验证码:</FONT></TD>
<td>
<input type="text" name="codefirst" />
<img id="code" src="Qvalidate.jsp">
<a href="javascript:changeimg()">看不清,换一张</a>
<input type="checkbox" id="rmbpassword" name="rmbpassword" value=""/>记住密码
</td>
</TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
<TD colSpan=2 rowSpan=2><IMG height=158 alt=""
src="images/crm_13.gif" width=295></TD>
<TD rowSpan=2><IMG height=158 alt="" src="images/crm_14.gif"
width=207></TD></TR>
<TR>
<TD rowSpan=3><IMG height=180 alt="" src="images/crm_15.gif"
width=127></TD>
<TD rowSpan=3><IMG height=180 alt="" src="images/crm_16.gif"
width=24></TD>
<TD><INPUT title=登录 type=image height=48 alt="" width=86
src="images/crm_17.gif" name=image onclick="SetPwdAndChk()""></TD>
<TD><IMG height=48 alt="" src="images/crm_18.gif" width=21></TD>
<TD colSpan=2><A href="Qregister.jsp"><IMG
title=注册 height=48 alt="" src="images/register.gif" width=84
border=0></A></TD>
<TD><IMG height=48 alt="" src="images/crm_20.gif" width=101></TD></TR>
</TR>
<TR>
<TD colSpan=5 rowSpan=2><IMG height=132 alt=""
src="images/crm_21.gif" width=292></TD>
<TD rowSpan=2><IMG height=132 alt="" src="images/crm_22.gif"
width=170></TD>
<TD colSpan=2><IMG height=75 alt="" src="images/crm_23.gif"
width=332></TD></TR>
<TR>
<TD colSpan=2><IMG height=57 alt="" src="images/crm_24.gif"
width=332></TD></TR>
<TR>
<TD><IMG height=1 alt="" src="images/spacer.gif" width=59></TD>
<TD><IMG height=1 alt="" src="images/spacer.gif" width=127></TD>
<TD><IMG height=1 alt="" src="images/spacer.gif" width=24></TD>
<TD><IMG height=1 alt="" src="images/spacer.gif" width=86></TD>
<TD><IMG height=1 alt="" src="images/spacer.gif" width=21></TD>
<TD><IMG height=1 alt="" src="images/spacer.gif" width=28></TD>
<TD><IMG height=1 alt="" src="images/spacer.gif" width=56></TD>
<TD><IMG height=1 alt="" src="images/spacer.gif" width=101></TD>
<TD><IMG height=1 alt="" src="images/spacer.gif" width=170></TD>
<TD><IMG height=1 alt="" src="images/spacer.gif" width=125></TD>
<TD><IMG height=1 alt="" src="images/spacer.gif"
width=207></TD></TR></TBODY></TABLE></FORM>
<font color="red">${infologin}${info}${infocode}</font>
<c:remove var="infologin" />
<c:remove var="info" />
<c:remove var="infocode" />
<%session.invalidate(); %>
</div>
</center>
</BODY></HTML>

@ -0,0 +1,84 @@
/*
* jQuery Nivo Slider v2.4
* http://nivo.dev7studios.com
*
* Copyright 2011, Gilbert Pellegrom
* Free to use and abuse under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*
* March 2010
*/
/* The Nivo Slider styles */
.nivoSlider {
position:relative;
}
.nivoSlider img {
position:absolute;
top:0px;
left:0px;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
position:absolute;
top:0px;
left:0px;
width:100%;
height:100%;
border:0;
padding:0;
margin:0;
z-index:60;
display:none;
}
/* The slices in the Slider */
.nivo-slice {
display:block;
position:absolute;
z-index:50;
height:100%;
}
/* Caption styles */
.nivo-caption {
position:absolute;
left:0px;
bottom:0px;
background:#000;
color:#fff;
opacity:0.8; /* Overridden by captionOpacity setting */
width:100%;
z-index:89;
}
.nivo-caption p {
padding:5px;
margin:0;
}
.nivo-caption a {
display:inline !important;
}
.nivo-html-caption {
display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
position:absolute;
top:45%;
z-index:99;
cursor:pointer;
}
.nivo-prevNav {
left:0px;
}
.nivo-nextNav {
right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav a {
position:relative;
z-index:99;
cursor:pointer;
}
.nivo-controlNav a.active {
font-weight:bold;
}

@ -0,0 +1,353 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.domain.* " pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page import="java.text.SimpleDateFormat"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ShopManagerMain.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">
-->
<script>
function changetime()
{
var d = new Date();
var y = d.getYear();
var m = d.getMonth()-1;
var dd = d.getDate();
var hh = d.getHours();
var mi = d.getMinutes();
var sec = d.getSeconds();
document.getElementById("time").innerHTML = "当前时间为"+y+"年"+m+"月"+dd+"日"
+hh+":"+mi+":"+sec;
//过了一段时间后调用函数
}
</script>
<script type="text/javascript">
function su(){
alert("公告发布成功!")
}
</script>
<script>
function guan()
{
if(this.confirm("是否关闭?"))
this.close();
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<script language="javascript" src="jquery.js"></script>
<style type="text/css">
<!--
* {
margin:0px;
padding:0px;
}
html, body{
height:100%;
overflow: hidden;
}
html>body{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}
body {
border:8px solid #ffffff;
background-color: #ffffff;min-width:230px;
}
#mainDiv {
width: 100%;
height: 100%;
padding:60px 0px 25px 0px;;
}
#centerDiv{
width: 100%;
height: 100%;
background-color:#00CCFF;
padding-left:158px;
}
#mainDiv>#centerDiv{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 56px;
left: 0px;
right: 0px;
bottom: 20px;
}
#left{
width:158px;
height:100%;
background:url(images/slide.jpg) repeat-y;
position:absolute;
left:0px;
}
#lhead{
background:url(images/left-head.jpg) left top no-repeat;
height:25px;
font-size:14px;
color:#FF9933;
text-align:center;
line-height:25px;
}
#right{
width:100%;
height:100%;
background:url(images/bg.gif);
position:absolute;
overflow-y:auto;
border:1px #003366 solid;
padding:20px 0 0 10px;
font-size:12px;
font-family:"宋体";
}
#centerDiv>#right{
width:auto;
height:auto;
position:absolute;
top:0px;
right:0px;
left:158px;
bottom:0px;
}
#topDiv{
width:100%;
height:56px;
background:url(images/head-bg.jpg) repeat-x;
position:absolute;
top:0px;
overflow:hidden;
}
#topDiv ul{
list-style:none;
font-size:12px;
width:100%;
margin:0;
padding:0;
}
#topDiv ul li{
float:left;
width:15%
}
#topDiv ul li a {
display:block;
width:100%;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#tmenu{
width:100%;
position:absolute;
left:12%;
bottom:0;
padding-left:15%;
margin-left:-15%;
}
#current{
background:#ccc;
height:25px;
line-height:25px;
margin:-20px 0 0 -10;
overflow:hidden;
}
#bottomDiv{
width:100%;
height:20px;
background:url(images/bottom.jpg) repeat-x;
position:absolute;
bottom:0px;
bottom:-1px; /*-- for IE6.0 --*/
}
#left ul{
list-style:none;
font-size:12px;
margin:50px 0 0 8px;
}
#left ul li a{
display:block;
width:140px;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#left ul li a:hover{
background:url(images/menu-bg.jpg) 0px 25px;
color:#99FFCC;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
}
#form{
width:80%;
height:99%;
margin:0 auto;
_margin-left:20%;
}
fieldset{
width:100%;
margin:20 auto;
line-height:35px;
padding-left:20PX;
}
-->
</style>
</head>
<body onload="javascript:setInterval(changetime,2000)">
<div id="mainDiv">
<div id="topDiv">
<div id="tmenu"><ul>
<li ><a href="servlet/ShowServlet">首页</a></li>
<li ><a href="javascript:window.history.go(1)">前进</a></li>
<li ><a href="javascript:window.history.go(-1)">后退</a></li>
<li ><a href="javascript:window.history.go(0)">刷新</a></li>
<li ><a href="servlet/ShopManagerServlet?op=help">帮助</a></li>
</ul></div></div>
<div id="centerDiv">
<div id="left">
<div id="lhead">管理菜单</div>
<ul>
<li ><a href="servlet/ShopManagerServlet?op=ShowQuser">查看用户</a></li>
<li ><a href="servlet/T_boardServlet?op=five">公告管理</a></li>
<li ><a href="servlet/AdGoodsListServlet">商品管理</a></li>
<li ><a href="servlet/ContactServlet?op=find">留言管理</a></li>
<li ><a href="#">订单管理</a></li>
<li ><a href="javascript:window.guan()">关 闭</a></li>
</ul>
</div>
<div id="right">
<div id="current">&nbsp;&nbsp;&nbsp;&nbsp;当前位置:</div>
<H1 align="center">欢迎来到ACE网上购物后台管理</H1>
<marquee location="right" loop="">
<H2 id="time" align="center"></H2>
</marquee>
<br/>
<center>
<!--文件尾开始-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="28" style="text-align: center;">
<tr>
<td colspan="6"><h3>查看订单</h3></td>
</tr>
<tr style="background-color: Red">
<th>编号</th>
<th>订单编号</th>
<th>购买商品</th>
<th>价格</th>
<th>数量</th>
<th>收货地址</th>
<th>订单状态</th>
<th>下订单时间</th>
<th>卖家留言</th>
<th>操作</th>
</tr>
<c:forEach var="olist" items="${olists}" varStatus="ss">
<c:if test="${ss.count%2==0}">
<tr style="background-color: lightgray;height: 20px">
<td>${olist.orderDetails.id}</td>
<td>${olist.o_Id}</td>
<td>${olist.orderDetails.g_Name}</td>
<td>${olist.orderDetails.g_Price}</td>
<td>${olist.orderDetails.o_Count}</td>
<td>${olist.o_Address}</td>
<td>${olist.orderDetails.o_status==0?"未发货":"已发货"}</td>
<td>${olist.o_date}</td>
<td>${olist.o_Msg}</td>
<td>
<c:choose>
<c:when test="${olist.orderDetails.o_status==0}">
<a href="servlet/ChangeStatusServlet?op=changestatus&id=${olist.orderDetails.id}">发货</a>
</c:when>
<c:otherwise>
已发货
</c:otherwise>
</c:choose>
</td>
</tr>
</c:if>
<c:if test="${ss.count%2!=0}">
<tr style="height: 20px"">
<td>${olist.orderDetails.id}</td>
<td>${olist.o_Id}</td>
<td>${olist.orderDetails.g_Name}</td>
<td>${olist.orderDetails.g_Price}</td>
<td>${olist.orderDetails.o_Count}</td>
<td>${olist.o_Address}</td>
<td>${olist.orderDetails.o_status==0?"未发货":"已发货"}</td>
<td>${olist.o_date}</td>
<td>${olist.o_Msg}</td>
<td>
<c:choose>
<c:when test="${olist.orderDetails.o_status==0}">
<a href="servlet/ChangeStatusServlet?op=changestatus&id=${olist.orderDetails.id}">发货</a>
</c:when>
<c:otherwise>
已发货
</c:otherwise>
</c:choose>
</td>
</tr>
</c:if>
</c:forEach>
</table>
</center>
<div id="form">
</div>
</div></div>
<div id="bottomDiv"></div>
</div>
<script language="javascript">
$("#test1").toggle(function(){$("#test").slideDown()},function(){$("#test").slideUp()})
</script>
</body>
</html>
</html>

@ -0,0 +1,322 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.domain.*" pageEncoding="utf-8" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ACE Shop</title>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "top_nav", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
<script type="text/javascript" src="js/jquery.js"></script>
<link rel="stylesheet" href="css/style.css" type="text/css" />
</head>
<body>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* service-menu */
.service-menu .menu-title,.service-menu .menu-p,.service-menu .menu-p .menu-i{background:url("images/menubg.png") no-repeat;}
.service-menu{border:solid 1px #d1d1d1;width:206px;margin:auto auto auto auto;}
.service-menu .menu-title{height:21px;overflow:hidden;padding:6px 8px;background-position:0 0;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:bold;}
.service-menu .menu-p{display:block;height:21px;overflow:hidden;padding:6px 0 6px 19px;border-top:solid 1px #e6e6e6;background-position:0 -50px;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:normal;cursor:pointer;}
.service-menu .menu-p .menu-i{float:left;display:inline;width:11px;height:11px;overflow:hidden;background-position:0 -103px;margin:5px 6px 0 0;}
.service-menu .menu-p a:link,.service-menu .menu-p a:visited{color:#444;text-decoration:none;font-size:14px;}
.service-menu .menu-p a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-p-current .menu-i{background-position:-20px -103px;}
.service-menu .menu-p-current a:link,.service-menu .menu-p-current a:visited{color:#369;font-weight:bold;}
.service-menu .menu-p-current a:hover{color:#ff7300;}
.service-menu .menu-c{border-top:solid 1px #e6e6e6;display:none;padding:4px 0 4px 54px;}
.service-menu .menu-c-current{display:block;}
.service-menu .menu-c ul{display:block;}
.service-menu .menu-c li{padding:2px 0;height:18px;overflow:hidden;}
.service-menu .menu-c a:link,.service-menu .menu-c a:visited{color:#444;text-decoration:none;}
.service-menu .menu-c a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-c .current:link,.service-menu .menu-c .current:visited{color:#369;font-weight:bold;}
.service-menu .menu-c .current:hover{color:#ff7300;}
</style>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title"><h1><a href="http://www.dell.com.cn/">DELL官方网站</a></h1></div>
<div id="header_right">
<p>
<a>${(empty Quser.u_Name)?'游客请登录':'欢迎'}${Quser.u_Name}</a>|<a href="login.jsp">登录我的账户</a> |<a href="servlet/ShowOrderServlet">订单查询</a> |<a href="helpmeChoose.html" target="_blank">帮我选择</a> |<a href="Qregister.jsp">注册</a></p>
<p>
购物车: <strong>${(empty cart)?0:cart.count} 件商品</strong> ( <a href="ShoppingCart.jsp">进入购物车</a> )
</p>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
<div id="templatemo_menubar">
<div id="top_nav" class="ddsmoothmenu">
<ul>
<li><a href="servlet/ShowServlet" class="selected">主页</a></li>
<li><a href="servlet/MenuServlet?op=findall">购买商品</a>
<ul>
<li><a href="showError.jsp">时尚触控本</a></li>
<li><a href="servlet/MenuServlet?apply=enjoy">多媒体娱乐本</a></li>
<li><a href="servlet/MenuServlet?apply=daily">日常综合应用</a></li>
<li><a href="servlet/MenuServlet?apply=top">顶级超高性能</a></li>
<li><a href="showError.jsp">专业游戏</a></li>
</ul>
</li>
<li><a href="faqs.jsp">常见问题</a></li>
<li><a href="servlet/ShowOrderServlet">订单查询</a></li>
<li><a href="contact.jsp">联系我们</a></li>
<li><a href="about.jsp">关于</a></li>
</ul>
<br style="clear: left" />
</div> <!-- end of ddsmoothmenu -->
<div id="templatemo_search">
<form action="servlet/FindGoodsServlet?op=find" method="post">
<input type="text" name="keyword" id="keyword" title="keyword" onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value=" " alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div>
</div> <!-- END of templatemo_menubar -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" title="网页模板">网页模板</a></div>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>产品筛选</h3>
<div class="content">
<div class="service-menu">
<input class="menu-code-index" type="hidden" value="c849" /><!--默认下值设置
data-service-index=c203的列表项展开与子列表标签导航高亮显示-->
<strong class="menu-p"><i class="menu-i"></i><a href="">产品系列</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=Inspiron">Inspiron</a></li>
<li><a href="servlet/MenuServlet?types=XPS">XPS</a></li>
<li><a href="servlet/MenuServlet?types=Alienware">Alienware</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">处理器</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?cpu=i3">英特尔I3智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i5">英特尔I5智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i7">英特尔I7智能处理器</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">笔记本屏幕尺寸</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?monito=14">14寸</a></li>
<li><a href="servlet/MenuServlet?monito=15">15寸</a></li>
<li><a href="servlet/MenuServlet?monito=17">17寸</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">价格区间</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?sma=3000&big=5000">RMB3000~RMB5000</a></li>
<li><a href="servlet/MenuServlet?sma=5000&big=7000">RMB5000~RMB7000</a></li>
<li><a href="servlet/MenuServlet?sma=7000&big=9000">RMB7000~RMB9000</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">操作系统</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?system=Windows 7">Windows 7</a></li>
<li><a href="servlet/MenuServlet?system=Windows 8">Windows 8</a></li>
<li><a href="servlet/MenuServlet?system=Linux">Linux</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>热销商品 </h3>
<div class="content">
<c:forEach items="${list3}" var="ff">
<div class="bs_box">
<a href="servlet/ShowServlet?op=add&gid=${ff.g_Id }"><img src="imgs/type.jpg" alt="image" width="75px" height="75px"/></a>
<h4>${ff.g_Name }</h4>
<p class="price">价格:${ff.g_Price }</p>
<p class="price">销量:${ff.o_Count}</p>
<div class="cleaner"></div>
</div>
</c:forEach>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>公告 </h3>
<div class="content">
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list2");
for(T_board e:list)
{
%>
<tr><td width="180px" ><a>&nbsp;&nbsp;&nbsp;<%=e.getB_Content() %></a></td></tr>
<tr><td ><a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<%=e.getB_Posttime() %></a></td></tr>
<tr><td>&nbsp;</td></tr>
<%
}
%>
</table>
</marquee>
</div>
</div>
</div>
<div id="content" class="float_r">
<h1>查找到的商品如下:</h1>
<c:forEach items="${menulist}" var="gg">
<div class="product_box">
<h3>${gg.gname}</h3>
<a href="servlet/ShowServlet?gid=${gg.gid}"><img src="imgs/${gg.gspic}"></a>
<h3>${gg.gprice}</h3><!--
<form action="servlet/CartServlet?op=add&gid=${gg.gid }" method="post">
<input type="submit" value="加入购物车">
</form>
--><a href="servlet/CartServlet?op=add&gid=${gg.gid }" class="addtocart"></a>
<a href="servlet/ShowServlet?op=add&gid=${gg.gid }" class="detail"></a>
</div>
</c:forEach>
<div class="cleaner"></div>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_main -->
<div id="templatemo_footer">
<p><a href="#">Home</a> | <a href="#">Products</a> | <a href="#">About</a> | <a href="#">FAQs</a> | <a href="#">Checkout</a> | <a href="#">Contact Us</a>
</p>
Copyright © 2072 <a href="#">ACE Team</a> | Collect from <a href="http://www.baidu.com" target="_parent">百度</a>
</div> <!-- END of templatemo_footer -->
<div id="for_kefu_block">
<div class="kefu_box kefu_block">
<div class="kefu_title"><a class="kefu_close" href="javascript:void(0)"><img src="images/kf_top.png" width="183" height="31"></a></div>
<div class="kefu_con">
<div class="kefu_tel"></div>
<div class="kefu1">
<div class="kefu_con_title">
<ul class="jszcfwul clearfix">
<li class="kefu_con_title_li1"><img src="images/kf_line2.png" width="14" height="14"></li>
<li class="kefu_con_title_li2">开店服务</li>
</ul>
</div>
<div class="kefu_con_con1">
<ul class="clearfix">
<li class="neititle"><div class="uline">开店顾问</div></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li class="neititle"><div class="uline">企业定制</div></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
</ul>
</div>
</div>
<div class="kefu5">
<div class="kefu_con_title">
<ul class="clearfix">
<li class="kefu_con_title_li1"><img src="images/kf_line2.png" width="14" height="14"></li>
<li class="kefu_con_title_li2">技术支持</li>
</ul>
</div>
<div class="kefu_con_con">
<ul class="clearfix">
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后1" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"><span>售后1</span></a></li>
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后2" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"><span>售后2</span></a></li>
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后3" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"><span>售后3</span></a></li>
</ul>
</div>
</div>
</div>
<div class="kefu_tt"><a href="#"><img src="images/kf_foot.png" /></a></div>
</div>
<div class="kefu_flag"><img src="images/kefu_flag.gif" /></div>
</div>
<script language="javascript">
$(document).ready(function(){
$(".kefu_close").click(function(){
$(".kefu_block").hide();
$(".kefu_flag").show();
})
$(".kefu_flag").click(function(){
$(this).hide();
$(".kefu_block").show();
})
});
</script>
</div> <!-- END of templatemo_wrapper -->
</div> <!-- END of templatemo_body_wrapper -->
</body>
</html>

@ -0,0 +1,67 @@
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'searchgoods.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>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
<body>
<form action="servlet/FindGoodsServlet?op=find" method="post"
onsubmit="return check()">
<input name="name" id="name" />
<input type="submit" value="ËÑË÷" />
</form>
<form action="servlet/FindGoodsServlet?op=search" method="post">
<select id="sel">
<option value="1">
3500ÒÔÏÂ
</option>
<option value="2">
3500-4500
</option>
<option value="3">
4500-5500
</option>
<option value="4">
5500ÒÔÉÏ
</option>
</select>
<input type="submit" value="ËÑË÷" />
</form>
</body>
</html>

@ -0,0 +1,317 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.domain.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ACE Shop</title>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<LINK href="css/test.css" rel=stylesheet>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "top_nav", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
</head>
<body>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* service-menu */
.service-menu .menu-title,.service-menu .menu-p,.service-menu .menu-p .menu-i{background:url("images/menubg.png") no-repeat;}
.service-menu{border:solid 1px #d1d1d1;width:206px;margin:auto auto auto auto;}
.service-menu .menu-title{height:21px;overflow:hidden;padding:6px 8px;background-position:0 0;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:bold;}
.service-menu .menu-p{display:block;height:21px;overflow:hidden;padding:6px 0 6px 19px;border-top:solid 1px #e6e6e6;background-position:0 -50px;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:normal;cursor:pointer;}
.service-menu .menu-p .menu-i{float:left;display:inline;width:11px;height:11px;overflow:hidden;background-position:0 -103px;margin:5px 6px 0 0;}
.service-menu .menu-p a:link,.service-menu .menu-p a:visited{color:#444;text-decoration:none;font-size:14px;}
.service-menu .menu-p a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-p-current .menu-i{background-position:-20px -103px;}
.service-menu .menu-p-current a:link,.service-menu .menu-p-current a:visited{color:#369;font-weight:bold;}
.service-menu .menu-p-current a:hover{color:#ff7300;}
.service-menu .menu-c{border-top:solid 1px #e6e6e6;display:none;padding:4px 0 4px 54px;}
.service-menu .menu-c-current{display:block;}
.service-menu .menu-c ul{display:block;}
.service-menu .menu-c li{padding:2px 0;height:18px;overflow:hidden;}
.service-menu .menu-c a:link,.service-menu .menu-c a:visited{color:#444;text-decoration:none;}
.service-menu .menu-c a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-c .current:link,.service-menu .menu-c .current:visited{color:#369;font-weight:bold;}
.service-menu .menu-c .current:hover{color:#ff7300;}
</style>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title"><h1><a href="http://www.dell.com.cn/">DELL官方网站</a></h1></div>
<div id="header_right">
<p>
<a href="login.jsp">登录我的账户</a> | <a href="ShoppingCart.jsp">购物车</a> | <a href="Checkout.jsp">订单</a> |<a>${(empty Quser.u_Name)?'游客请登录':'欢迎'}${Quser.u_Name}</a>| <a href="Qregister.jsp">注册</a></p>
<p>
购物车: <strong>${(empty cart)?0:cart.count} 件商品</strong> ( <a href="ShoppingCart.jsp">进入购物车</a> )
</p>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
<div id="templatemo_menubar">
<div id="top_nav" class="ddsmoothmenu">
<ul>
<li><a href="servlet/ShowServlet" class="selected">主页</a></li>
<li><a href="servlet/ShowServlet">购买商品</a>
<ul>
<li><a href="showError.jsp">时尚触控本</a></li>
<li><a href="servlet/MenuServlet?apply=enjoy">多媒体娱乐本</a></li>
<li><a href="servlet/MenuServlet?apply=daily">日常综合应用</a></li>
<li><a href="servlet/MenuServlet?apply=top">顶级超高性能</a></li>
<li><a href="showError.jsp">专业游戏</a></li>
</ul>
</li>
<li><a href="faqs.jsp">常见问题</a></li>
<li><a href="showCheckout.jsp">订单查询</a></li>
<li><a href="contact.jsp">联系我们</a></li>
<li><a href="about.jsp">关于</a></li>
</ul>
<br style="clear: left" />
</div> <!-- end of ddsmoothmenu -->
<div id="templatemo_search">
<form action="servlet/FindGoodsServlet?op=find" method="post">
<input type="text" name="keyword" id="keyword" title="keyword" onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value=" " alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div>
</div> <!-- END of templatemo_menubar -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" title="网页模板">网页模板</a></div>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>产品筛选</h3>
<div class="content">
<div class="service-menu">
<input class="menu-code-index" type="hidden" value="c849" /><!--默认下值设置
data-service-index=c203的列表项展开与子列表标签导航高亮显示-->
<strong class="menu-p"><i class="menu-i"></i><a href="">产品系列</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=Inspiron">Inspiron</a></li>
<li><a href="servlet/MenuServlet?types=XPS">XPS</a></li>
<li><a href="servlet/MenuServlet?types=Alienware">Alienware</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">处理器</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?cpu=i3">英特尔I3智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i5">英特尔I5智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i7">英特尔I7智能处理器</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">笔记本屏幕尺寸</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?monito=14">14寸</a></li>
<li><a href="servlet/MenuServlet?monito=15">15寸</a></li>
<li><a href="servlet/MenuServlet?monito=17">17寸</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">价格区间</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?sma=3000&big=5000">RMB3000~RMB5000</a></li>
<li><a href="servlet/MenuServlet?sma=5000&big=7000">RMB5000~RMB7000</a></li>
<li><a href="servlet/MenuServlet?sma=7000&big=9000">RMB7000~RMB9000</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">操作系统</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?system=Windows 7">Windows 7</a></li>
<li><a href="servlet/MenuServlet?system=Windows 8">Windows 8</a></li>
<li><a href="servlet/MenuServlet?system=Linux">Linux</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>热销商品 </h3>
<div class="content">
<c:forEach items="${list3}" var="ff">
<div class="bs_box">
<a href="servlet/ShowServlet?op=add&gid=${ff.g_Id }"><img src="imgs/type.jpg" alt="image" width="75px" height="75px"/></a>
<h4>${ff.g_Name }</h4>
<p class="price">价格:${ff.g_Price }</p>
<p class="price">销量:${ff.o_Count}</p>
<div class="cleaner"></div>
</div>
</c:forEach>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>公告 </h3>
<div class="content">
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list2");
for(T_board e:list)
{
%>
<tr><td width="180px" ><a>&nbsp;&nbsp;&nbsp;<%=e.getB_Content() %></a></td></tr>
<tr><td ><a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<%=e.getB_Posttime() %></a></td></tr>
<tr><td>&nbsp;</td></tr>
<%
}
%>
</table>
</marquee>
</div>
</div>
</div>
<div id="content" class="float_r">
<center>
<!--文件尾开始-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="28">
<tr>
<td colspan="6"><h3>查看订单</h3></td>
</tr>
<tr>
<th>编号</th>
<th>订单编号</th>
<th>购买商品</th>
<th>价格</th>
<th>数量</th>
<th>收货地址</th>
<th>订单状态</th>
<th>下订单时间</th>
<th>卖家留言</th>
</tr>
<c:forEach var="list" items="${lists}" varStatus="ss">
<c:if test="${ss.count%2==0}">
<tr style="background-color: lightgray;height: 20px">
<td>${ss.count}</td>
<td>${list.o_Id}</td>
<td>${list.orderDetails.g_Name}</td>
<td>${list.orderDetails.g_Price}</td>
<td>${list.orderDetails.o_Count}</td>
<td>${list.o_Address}</td>
<td>${list.orderDetails.o_status==0?"未发货":"已发货"}</td>
<td>${list.o_date}</td>
<td>${list.o_Msg}</td>
</tr>
</c:if>
<c:if test="${ss.count%2!=0}">
<tr style="height: 20px"">
<td>${ss.count}</td>
<td>${list.o_Id}</td>
<td>${list.orderDetails.g_Name}</td>
<td>${list.orderDetails.g_Price}</td>
<td>${list.orderDetails.o_Count}</td>
<td>${list.o_Address}</td>
<td>${list.orderDetails.o_status==0?"未发货":"已发货"}</td>
<td>${list.o_date}</td>
<td>${list.o_Msg}</td>
</tr>
</c:if>
</c:forEach>
</table>
<%
String currentpage=request.getParameter("currentpage");
%>
共[${bean.totalrecord}]条记录,
每页<input type="text" id="pagesize" value="${bean.pagesize}" style="width: 30px" maxlength="2">条,
共[${bean.totalpage}]页,
当前[${bean.currentpage}]页
&nbsp;&nbsp;&nbsp;
<a href="servlet/ShowOrderServlet?currentpage=${bean.previousapge}"> 上一页 </a>
<%
String cpage= request.getParameter("currentpage");
%>
<a href="servlet/ShowOrderServlet?currentpage=${bean.nextpage}">下一页 </a>
</center>
</div>
<div class="cleaner"></div>
</div>
<!-- END of templatemo_main -->
<div id="templatemo_footer">
<p>
<a href="#">Home</a> |
<a href="#">Products</a> |
<a href="#">About</a> |
<a href="#">FAQs</a> |
<a href="#">Checkout</a> |
<a href="#">Contact Us</a>
</p>
Copyright © 2072
<a href="#">Your Company Name</a> | Collect from
<a href="http://www.cssmoban.com" target="_parent">网站模板</a>
</div>
<!-- END of templatemo_footer -->
</div>
<!-- END of templatemo_wrapper -->
</div>
<!-- END of templatemo_body_wrapper -->
</body>
</html>

@ -0,0 +1,396 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.domain.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ACE Shop</title>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "top_nav", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
<script type="text/javascript" src="js/jquery.js"></script>
<link rel="stylesheet" href="css/style.css" type="text/css" />
</head>
<body>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* service-menu */
.service-menu .menu-title,.service-menu .menu-p,.service-menu .menu-p .menu-i{background:url("images/menubg.png") no-repeat;}
.service-menu{border:solid 1px #d1d1d1;width:206px;margin:auto auto auto auto;}
.service-menu .menu-title{height:21px;overflow:hidden;padding:6px 8px;background-position:0 0;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:bold;}
.service-menu .menu-p{display:block;height:21px;overflow:hidden;padding:6px 0 6px 19px;border-top:solid 1px #e6e6e6;background-position:0 -50px;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:normal;cursor:pointer;}
.service-menu .menu-p .menu-i{float:left;display:inline;width:11px;height:11px;overflow:hidden;background-position:0 -103px;margin:5px 6px 0 0;}
.service-menu .menu-p a:link,.service-menu .menu-p a:visited{color:#444;text-decoration:none;font-size:14px;}
.service-menu .menu-p a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-p-current .menu-i{background-position:-20px -103px;}
.service-menu .menu-p-current a:link,.service-menu .menu-p-current a:visited{color:#369;font-weight:bold;}
.service-menu .menu-p-current a:hover{color:#ff7300;}
.service-menu .menu-c{border-top:solid 1px #e6e6e6;display:none;padding:4px 0 4px 54px;}
.service-menu .menu-c-current{display:block;}
.service-menu .menu-c ul{display:block;}
.service-menu .menu-c li{padding:2px 0;height:18px;overflow:hidden;}
.service-menu .menu-c a:link,.service-menu .menu-c a:visited{color:#444;text-decoration:none;}
.service-menu .menu-c a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-c .current:link,.service-menu .menu-c .current:visited{color:#369;font-weight:bold;}
.service-menu .menu-c .current:hover{color:#ff7300;}
</style>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title"><h1><a href="http://www.dell.com.cn/">DELL官方网站</a></h1></div>
<div id="header_right">
<p>
<a>${(empty Quser.u_Name)?'游客请登录':'欢迎'}${Quser.u_Name}</a>|<a href="login.jsp">登录我的账户</a> |<a href="servlet/ShowOrderServlet">订单查询</a> |<a href="helpmeChoose.html" target="_blank">帮我选择</a> |<a href="Qregister.jsp">注册</a></p>
<p>
购物车: <strong>${(empty cart)?0:cart.count} 件商品</strong> ( <a href="ShoppingCart.jsp">进入购物车</a> )
</p>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
<div id="templatemo_menubar">
<div id="top_nav" class="ddsmoothmenu">
<ul>
<li><a href="servlet/ShowServlet" class="selected">主页</a></li>
<li><a href="servlet/MenuServlet?op=findall">购买商品</a>
<ul>
<li><a href="showError.jsp">日常综合应用</a></li>
<li><a href="showError.jsp">时尚触控本</a></li>
<li><a href="showError.jsp">多媒体娱乐本便携与超极本</a></li>
<li><a href="showError.jsp">便携与超极本</a></li>
<li><a href="showError.jsp">顶级超高性能</a></li>
<li><a href="showError.jsp">专业游戏</a></li>
</ul>
</li>
<li><a href="faqs.jsp">常见问题</a></li>
<li><a href="servlet/ShowOrderServlet">订单查询</a></li>
<li><a href="contact.jsp">联系我们</a></li>
<li><a href="about.jsp">关于</a></li>
</ul>
<br style="clear: left" />
</div> <!-- end of ddsmoothmenu -->
<div id="templatemo_search">
<form action="servlet/FindGoodsServlet?op=find" method="post">
<input type="text" name="keyword" id="keyword" title="keyword" onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value=" " alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div>
</div> <!-- END of templatemo_menubar -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" title="网页模板">网页模板</a></div>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>产品筛选</h3>
<div class="content">
<div class="service-menu">
<input class="menu-code-index" type="hidden" value="c849" /><!--默认下值设置
data-service-index=c203的列表项展开与子列表标签导航高亮显示-->
<strong class="menu-p"><i class="menu-i"></i><a href="">产品系列</a></strong>
<div class="menu-c">
<ul>
<li><a href="#">Inspiron</a></li>
<li><a href="#">XPS</a></li>
<li><a href="#">Alienware</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">处理器</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?cpu=i3">英特尔I3智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i5">英特尔I5智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i7">英特尔I7智能处理器</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">笔记本屏幕尺寸</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?monito=14">14寸</a></li>
<li><a href="servlet/MenuServlet?monito=15">15寸</a></li>
<li><a href="servlet/MenuServlet?monito=17">17寸</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">价格区间</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?sma=3000&big=5000">RMB3000~RMB5000</a></li>
<li><a href="servlet/MenuServlet?sma=5000&big=7000">RMB5000~RMB7000</a></li>
<li><a href="servlet/MenuServlet?sma=7000&big=9000">RMB7000~RMB9000</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">操作系统</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?system=Windows 7">Windows 7</a></li>
<li><a href="servlet/MenuServlet?system=Windows 8">Windows 8</a></li>
<li><a href="servlet/MenuServlet?system=Linux">Linux</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>热销商品 </h3>
<div class="content">
<c:forEach items="${list3}" var="ff">
<div class="bs_box">
<a href="#"><img src="imgs/type.jpg" alt="image" /></a>
<h4><a href="#">${ff.g_Name }</a></h4>
<p class="price">${ff.g_Price }</p>
<div class="cleaner"></div>
</div>
</c:forEach>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>公告 </h3>
<div class="content">
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list2");
for(T_board e:list)
{
%>
<tr><td width="180px" ><a>&nbsp;&nbsp;&nbsp;<%=e.getB_Content() %></a></td></tr>
<tr><td ><a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<%=e.getB_Posttime() %></a></td></tr>
<tr><td>&nbsp;</td></tr>
<%
}
%>
</table>
</marquee>
</div>
</div>
</div>
<div id="content" class="float_r">
<h1>商品详情</h1>
<div class="content_half float_l">
<a rel="lightbox[portfolio]" href="imgs/Bpic/${gd.gbpic1}"><img src="imgs/Bpic/${gd.gbpic1}" width="200px" height="150px"
alt="image" /></a>
</div>
<div class="content_half float_r">
<table >
<tr>
<td ><font size="3px">商品名称:</font></td>
<td><font size="3px">${gd.goods.gname}</font></td>
</tr>
<tr>
<td ><font size="3px">商品价格:</font></td>
<c:if test="${gd.goods.gdiscount<1}">
<td><font size="3px">${gd.goods.gprice}</font></td>
<td><font size="3px">${dprice}</font></td></c:if>
<c:if test="${gd.goods.gdiscount==1}">
<td><font size="3px">${gd.goods.gprice}</font></td>
</c:if>
</tr>
<tr>
<td><font size="3px">库存量</font></td>
<td><font size="3px">${gd.goods.gnumber}</font></td>
</tr>
</table>
<div class="cleaner h20"></div>
<a href="showPic.jsp?pic=${gd.gbpic1}" target="_blank">查看更多图片</a>
<a href="servlet/CartServlet?op=add&gid=${gd.goods.gid }" class="addtocart"></a>
</div>
<div class="cleaner h30"></div>
<table>
<tr>
<td>
<font size="4px">屏幕尺寸:</font><font size="4px">${gd.gmonito}</font>
</td>
</tr>
<tr>
<td>
<font size="4px">CPU型号</font><font size="4px">${gd.gcpu}</font>
</td>
</tr>
<tr>
<td>
<font size="4px">内存容量:</font><font size="4px">${gd.gram}</font>
</td>
</tr>
<tr>
<td>
<font size="4px">硬盘容量:</font><font size="4px">${gd.gsata}</font>
</td>
</tr>
<tr>
<td>
<font size="4px">光盘驱动:</font><font size="4px">${gd.gvideocard}</font>
</td>
</tr>
<tr>
<td>
<font size="5px">电脑系统:</font><font size="4px">${gd.gsystem}</font>
</td>
<tr>
<td>
<font size="5px">重量:</font><font size="4px">${gd.gheft}</font>
</td>
</tr>
<tr>
<td>
<font size="5px">蓝牙:</font><font size="4px">${gd.gbluetooth}</font>
</td>
</tr>
</table>
<div class="cleaner h50"></div>
<h1>最近上架商品</h1>
<c:forEach items="${list}" var="gg">
<div class="product_box">
<h3>${gg.gname}</h3>
<a href="servlet/ShowServlet?gid=${gg.gid}"><img src="imgs/${gg.gspic}"></a>
<h3>${gg.gprice}</h3><!--
<form action="servlet/CartServlet?op=add&gid=${gg.gid }" method="post">
<input type="submit" value="加入购物车">
</form>
--><a href="servlet/CartServlet?op=add&gid=${gg.gid }" class="addtocart"></a>
<a href="servlet/ShowServlet?op=add&gid=${gg.gid }" class="detail"></a>
</div>
</c:forEach>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_main -->
<div id="templatemo_footer">
<p><a href="#">Home</a> | <a href="#">Products</a> | <a href="#">About</a> | <a href="#">FAQs</a> | <a href="#">Checkout</a> | <a href="#">Contact Us</a>
</p>
Copyright © 2072 <a href="#">ACE Team</a> | Collect from <a href="http://www.baidu.com" target="_parent">百度</a>
</div> <!-- END of templatemo_footer -->
<div id="for_kefu_block">
<div class="kefu_box kefu_block">
<div class="kefu_title"><a class="kefu_close" href="javascript:void(0)"><img src="images/kf_top.png" width="183" height="31"></a></div>
<div class="kefu_con">
<div class="kefu_tel"></div>
<div class="kefu1">
<div class="kefu_con_title">
<ul class="jszcfwul clearfix">
<li class="kefu_con_title_li1"><img src="images/kf_line2.png" width="14" height="14"></li>
<li class="kefu_con_title_li2">开店服务</li>
</ul>
</div>
<div class="kefu_con_con1">
<ul class="clearfix">
<li class="neititle"><div class="uline">开店顾问</div></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
<li class="neititle"><div class="uline">企业定制</div></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"></a></li>
</ul>
</div>
</div>
<div class="kefu5">
<div class="kefu_con_title">
<ul class="clearfix">
<li class="kefu_con_title_li1"><img src="images/kf_line2.png" width="14" height="14"></li>
<li class="kefu_con_title_li2">技术支持</li>
</ul>
</div>
<div class="kefu_con_con">
<ul class="clearfix">
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后1" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"><span>售后1</span></a></li>
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后2" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"><span>售后2</span></a></li>
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后3" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"><span>售后3</span></a></li>
</ul>
</div>
</div>
</div>
<div class="kefu_tt"><a href="#"><img src="images/kf_foot.png" /></a></div>
</div>
<div class="kefu_flag"><img src="images/kefu_flag.gif" /></div>
</div>
<script language="javascript">
$(document).ready(function(){
$(".kefu_close").click(function(){
$(".kefu_block").hide();
$(".kefu_flag").show();
})
$(".kefu_flag").click(function(){
$(this).hide();
$(".kefu_block").show();
})
});
</script>
</div> <!-- END of templatemo_wrapper -->
</div> <!-- END of templatemo_body_wrapper -->
</body>
</html>

@ -0,0 +1,71 @@
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title></title>
<style type="text/css">
.style1
{
text-align: center;
}
</style>
<script type="text/javascript">
window.onload = function () {
setTimeout(changeTime, 1000);
}
function changeTime() {
var time = document.getElementById("timeout").innerHTML;
time = parseInt(time);
time--;
if (time > 0) {
document.getElementById("timeout").innerHTML = time;
setTimeout(changeTime, 1000);
} else if (time <= 0) {
window.location = "servlet/ShowServlet";
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table width="490" height="325" border="0" align="center" cellpadding="0" cellspacing="0" background="images/showinfo.png">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td style="text-align: center">
对不起,你搜索的商品库存为空,我们会尽快上架。
</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50" class="style1">&nbsp;</td>
<td style="text-align: center">
<span id="timeout" style="font-size:14px;color:Red; font-weight:bold">5</span>秒中以后自动返回首页
<a href="index.jsp">返回</a>
<td width="40">&nbsp;</td>
</tr>
</table></td>
</tr>
</table>
</div>
</form>
</body>
</html>

@ -0,0 +1,348 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'showPic.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">
-->
<title>he knew - Interactive DHTML art-demos</title>
<meta http-equiv="imagetoolbar" content="no">
<style type="text/css">
html { overflow: hidden; }
body { position: absolute; margin: 0px; padding: 0px; background: #222; width: 100%; height: 100%; }
#screen { position: absolute; width: 100%; height: 100%; background: #000; }
#screen img { position:absolute; width:0px; height:0px; border:none; -ms-interpolation-mode:nearest-neighbor; image-rendering: optimizeSpeed; }
#screen .wall { position:absolute; background:transparent; border-style:solid; border-width:0px; width:0px; height:0px; font-size:0px; z-index:1; }
#screen .trans { position:absolute; left:-10000px; background:#FFF; filter:alpha(opacity=20); opacity:0.2; font-size:1px; border:#000 solid 1px; }
#screen .txt { position:absolute; }
#screen .plo { position: absolute; color:#ccc; font-family: arial; white-space: nowrap; font-size: 10px; letter-spacing:2px; }
</style>
<script type="text/javascript">
var v3D = function () {
/* ---- private vars ---- */
var scr,
nx,
ny,
nw,
nh,
xm = 0,
ym = 0,
y0 = 0,
camera = {
x : 0,
y : 11100,
z : 10000
},
N = 0,
oT = [],
pT = [],
Zeye = -100,
hm = 20,
cb = true,
mv = false;
/* ====== create HTML ====== */
var createHTML = function (tag, container, clas, src, html) {
var obj = document.createElement(tag);
if (clas) obj.className = clas;
if (src) obj.src = src;
if (html) obj.innerHTML = html;
container.appendChild(obj);
return obj;
}
/* ====== DOM events ====== */
var addEvent = function (o, e, f) {
if (window.addEventListener) o.addEventListener(e, f, false);
else if (window.attachEvent) r = o.attachEvent('on' + e, f);
}
/* ====== screen dimensions ====== */
var resize = function () {
nw = scr.offsetWidth * .5;
nh = scr.offsetHeight * .5;
var o = scr;
for (nx = 0, ny = 0; o != null; o = o.offsetParent) {
nx += o.offsetLeft;
ny += o.offsetTop;
}
}
/* ====== zOOm ====== */
var zOOm = function (z) {
var z0 = Zeye - z;
if (z0 > 0 ) z0 = -.0001;
z0 = Zeye / z0;
if(z0 > 10) z0 = 10;
cb = (z > Zeye * .9);
return z0;
}
/* ====== Images constructor ====== */
var Tab = function (img) {
/* ---- get params from HTML properties ---- */
var coord = img.alt.split(",");
img.alt = "";
this.X = coord[0] * 100;
this.Y = coord[1] * 100;
this.Z = coord[2] * 100;
this.W = coord[3] * 100;
this.H = coord[4] * 100;
/* ---- create frame ---- */
this.pol = createHTML("div", scr, "trans");
this.pol.style.zIndex = 1000 - Math.round(this.Z);
this.img = img;
this.img.style.zIndex = 1001 - Math.round(this.Z);
/* ---- click on images ---- */
this.img.obj = this;
if (!this.img.parentNode.href) {
this.img.style.cursor = "crosshair";
this.img.onclick = function () {
hm = -80 - this.obj.Z;
return false;
}
}
/* ---- create text ---- */
this.txt = createHTML("div", scr, "txt");
this.txt.style.zIndex = 1010 - Math.round(this.Z);
var txt = createHTML("div", this.txt, "plo", "","¡¤" + img.title + "¡¤");
this.txt.txt = txt;
this.L = img.title.length * 2;
img.title = "";
/* ---- CSS3 text Transform ---- */
if ('MozTransform' in document.body.style) {
this.txt.css3Transform = function (x, y, s) {
this.style.MozTransform = "translate(" + x + "px," + y + "px) scale(" + s + ")";
}
} else if ('webkitTransform' in document.body.style) {
this.txt.css3Transform = function (x, y, s) {
this.style.webkitTransform = "translate(" + x + "px," + y + "px) scale(" + s + ")";
}
} else if (scr.style.zoom) {
this.txt.css3Transform = function (x, y, s) {
this.style.left = x + 'px';
this.style.top = y + 'px';
this.txt.style.zoom = s;
}
} else {
this.txt.css3Transform = function (x, y, s) {
this.style.left = x + 'px';
this.style.top = y + 'px';
this.txt.style.fontSize = Math.round(s * 10) + "px";
}
}
}
Tab.prototype.anim = function () {
var z0 = zOOm(camera.y + this.Z);
if (cb) {
var x = (camera.x + this.X) * z0;
var y = (camera.z + this.Y) * z0;
/* ---- transparent frame ---- */
var css = this.pol.style;
css.visibility = "visible";
css.left = Math.round(nw + x) + "px";
css.top = Math.round(nh + y) + "px";
css.width = Math.round(this.W * z0) + "px";
css.height = Math.round(this.H * z0) + "px";
/* ---- image ---- */
css = this.img.style;
css.visibility = "visible";
css.left = Math.round(nw + x + (this.W * z0 * .1)) + "px";
css.top = Math.round(nh + y + (this.H * z0 * .1)) + "px";
css.width = Math.round(this.W * z0 * .8) + "px";
css.height = Math.round(this.H * z0 * .8) + "px";
/* ---- title ---- */
if (z0 > .3 ) {
this.txt.style.visibility = "visible";
this.txt.css3Transform(
Math.round(nw - (this.L * z0) + (this.W * z0 * 0.5) + (x * 1.3)),
Math.round(nh + (this.H * z0 * 0.2) + (y * 1.3)),
z0 * 1
);
} else this.txt.style.visibility = "hidden";
} else {
/* ---- behind camera ---- */
this.pol.style.visibility = "hidden";
this.img.style.visibility = "hidden";
this.txt.style.visibility = "hidden";
}
}
/* ====== Walls constructor ====== */
var Wall = function (X, Y, Z) {
this.X = X;
this.Y = Y;
this.Z = Z;
this.o1 = createHTML("div", scr, "wall");
this.o2 = createHTML("div", scr, "wall");
this.o3 = createHTML("div", scr, "wall");
}
Wall.prototype.anim = function () {
var x = [];
var y = [];
/* ---- 3D ---- */
for (var i = 0; i < 4; i++) {
var z0 = zOOm(camera.y + this.Z[i] * 100);
x[i] = Math.round(nw + (camera.x + this.X[i] * 100) * z0);
y[i] = Math.round(nh + (camera.z + this.Y[i] * 100) * z0);
}
/* ---- clipping ---- */
if(x[1] < 0 || x[0] > nw * 2) {
x[0] = 0;
y[0] = 0;
x[1] = 0;
y[1] = 0;
x[2] = 0;
y[2] = 0;
x[3] = 0;
y[3] = 0;
}
if(x[0] < 0) {
var k = (y[1] - y[0]) / (x[1] - x[0]) * x[1];
x[0] = 0;
y[0] = Math.round(y[1] - k);
k = (y[3] - y[2]) / (x[2] - x[3]) * x[2];
x[3] = 0;
y[3] = Math.round(y[2] + k);
}
if(x[1] > nw * 2) {
var k = (y[0] - y[1]) / (x[1] - x[0]) * ((nw * 2) - x[0]);
x[1] = nw * 2;
y[1] = Math.round(y[0] - k);
k = (y[2] - y[3]) / (x[2] - x[3]) * ((nw * 2) - x[3]);
x[2] = nw * 2;
y[2] = Math.round(y[3] + k);
}
/* ---- top ---- */
var css = this.o1.style;
if( y[1] >= y[0]) {
css.borderColor = "transparent transparent transparent #FFFFFF";
css.borderWidth = Math.round(y[1] - y[0]) + "px 0 0 " + Math.round(x[1] - x[0]) + "px";
css.left = Math.round(x[0]) + "px";
css.top = Math.round(y[0]) + "px";
} else {
css.borderColor = "transparent transparent #FFFFFF transparent";
css.borderWidth = "0 0 " + Math.round(y[0] - y[1]) + "px " + Math.round(x[1] - x[0]) + "px";
css.left = Math.round(x[0]) + "px";
css.top = Math.round(y[1]) + "px";
}
/* ---- bottom ---- */
css = this.o3.style;
if(y[3] >= y[2]){
css.borderColor = "transparent transparent transparent #FFFFFF";
css.borderWidth = "0 0 " + Math.round(y[3] - y[2]) + "px " + Math.round(x[1] - x[0]) + "px";
css.left = Math.round(x[0]) + "px";
css.top = Math.round(y[2]) + "px";
} else {
css.borderColor = "#FFFFFF transparent transparent transparent";
css.borderWidth = Math.round(y[2] - y[3]) + "px 0 0 " + Math.round(x[1] - x[0]) + "px";
css.left = Math.round(x[0]) + "px";
css.top = Math.round(y[3]) + "px";
}
/* ---- middle ---- */
css = this.o2.style;
css.left = Math.round(x[0]) + "px";
css.top = Math.round(Math.max(y[0], y[1])) + "px";
css.width = Math.round(x[1] - x[0]) + "px";
css.height = Math.round(Math.min(y[2], y[3]) - Math.max(y[0], y[1])) + "px";
css.background = "#FFFFFF";
}
/* ====== init script ====== */
var init = function () {
scr = document.getElementById("screen");
resize();
addEvent(window, 'resize', resize);
/* ---- mouse move event ---- */
addEvent(document, 'mousemove', function (e) {
if (window.event) e = window.event;
xm = e.clientX;
y0 = e.clientY;
xm = (nw - xm) * (250 / nw);
ym = (nh - y0) * (110 / nh);
});
/* ---- mouse wheel - camera z position ---- */
if (window.addEventListener) scr.addEventListener('DOMMouseScroll', function(e) {
if (e.preventDefault) e.preventDefault();
hm -= (e.detail * 10);
return false;
}, false);
scr.onmousewheel = function () {
hm += (event.wheelDelta * .25);
return false;
}
/* ---- create walls ---- */
oT.push(new Wall(
[-2.52,-2.52,-2.52,-2.52],
[-1,-1,1,1],
[-1,1,1,-1]
));
oT.push(new Wall(
[-2.5,2.5,2.5,-2.5],
[-1,-1,1,1],
[1,1,1,1]
));
oT.push(new Wall(
[2.52,2.52,2.52,2.52],
[-1,-1,1,1],
[1,-.5,-.5,1]
));
/* ---- create images ---- */
var i = 0, o;
var img = scr.getElementsByTagName("img");
while (o = img[i++]) pT.push(new Tab(o));
/* ---- start main loop ---- */
run();
}
/* ====== main loop ====== */
var run = function () {
/* ---- easing camera ---- */
camera.x += (xm - camera.x) / 10;
camera.y += (hm - camera.y) / 10;
camera.z += (ym - camera.z) / 10;
/* ---- walls ---- */
var i = 0, o;
while ( o = oT[i++] ) o.anim();
/* ---- images ---- */
var i = 0, o;
while ( o = pT[i++] ) o.anim();
setTimeout(run, 16);
}
return {
/* ====== initialize script ====== */
init : function () {
addEvent(window, 'load', function () {
init();
});
}
}
}();
/* ====== start ====== */
v3D.init();
</script>
</head>
<body>
<%String pic=request.getParameter("pic"); %>
<div id="screen" style="zoom:1">
<span><img src="images/pr04.jpg" alt="-2,-1,-.8,1.5,2"></span>
<span><img src="images/pr03.jpg" alt="-1,-.8,0,1.2,1.6"></span>
<a target="_blank" ><img src="imgs/Bpic/<%=pic%>" alt="-1.5,-.9,.8,3,1.8"></a>
<span><img src="images/pr01.jpg" alt="1,-.6,.2,1,.75"></span>
<span><img src="images/pr02.jpg" alt="-1.7,0,.4,1.4,1"></span>
<span><img src="images/pr07.jpg" alt=".5,-1,-.4,1.5,2"></span>
</div>
</body>
</html>

@ -0,0 +1,352 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.domain.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>"></base>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ACE Shop</title>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "top_nav", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
<script type="text/javascript" src="js/jquery.js"></script>
<link rel="stylesheet" href="css/style.css" type="text/css" />
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* service-menu */
.service-menu .menu-title,.service-menu .menu-p,.service-menu .menu-p .menu-i{background:url("images/menubg.png") no-repeat;}
.service-menu{border:solid 1px #d1d1d1;width:206px;margin:auto auto auto auto;}
.service-menu .menu-title{height:21px;overflow:hidden;padding:6px 8px;background-position:0 0;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:bold;}
.service-menu .menu-p{display:block;height:21px;overflow:hidden;padding:6px 0 6px 19px;border-top:solid 1px #e6e6e6;background-position:0 -50px;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:normal;cursor:pointer;}
.service-menu .menu-p .menu-i{float:left;display:inline;width:11px;height:11px;overflow:hidden;background-position:0 -103px;margin:5px 6px 0 0;}
.service-menu .menu-p a:link,.service-menu .menu-p a:visited{color:#444;text-decoration:none;font-size:14px;}
.service-menu .menu-p a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-p-current .menu-i{background-position:-20px -103px;}
.service-menu .menu-p-current a:link,.service-menu .menu-p-current a:visited{color:#369;font-weight:bold;}
.service-menu .menu-p-current a:hover{color:#ff7300;}
.service-menu .menu-c{border-top:solid 1px #e6e6e6;display:none;padding:4px 0 4px 54px;}
.service-menu .menu-c-current{display:block;}
.service-menu .menu-c ul{display:block;}
.service-menu .menu-c li{padding:2px 0;height:18px;overflow:hidden;}
.service-menu .menu-c a:link,.service-menu .menu-c a:visited{color:#444;text-decoration:none;}
.service-menu .menu-c a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-c .current:link,.service-menu .menu-c .current:visited{color:#369;font-weight:bold;}
.service-menu .menu-c .current:hover{color:#ff7300;}
</style>
</head>
<body>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title"><h1><a href="http://www.dell.com.cn/">DELL官方网站</a></h1></div>
<div id="header_right">
<p>
<a>${(empty Quser.u_Name)?'游客请登录':'欢迎'}${Quser.u_Name}</a>|<a href="login.jsp">登录我的账户</a> |<a href="servlet/ShowOrderServlet">订单查询</a> |<a href="helpmeChoose.html" target="_blank">帮我选择</a> |<a href="Qregister.jsp">注册</a></p>
<p>
购物车: <strong>${(empty cart)?0:cart.count} 件商品</strong> ( <a href="ShoppingCart.jsp">进入购物车</a> )
</p>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
<div id="templatemo_menubar">
<div id="top_nav" class="ddsmoothmenu">
<ul>
<li><a href="servlet/ShowServlet" class="selected">主页</a></li>
<li><a href="servlet/MenuServlet?op=findall">购买商品</a>
<ul>
<li><a href="showError.jsp">时尚触控本</a></li>
<li><a href="servlet/MenuServlet?apply=多媒体娱乐本">多媒体娱乐本</a></li>
<li><a href="servlet/MenuServlet?apply=日常综合应用">日常综合应用</a></li>
<li><a href="servlet/MenuServlet?apply=顶级超高性能">顶级超高性能</a></li>
<li><a href="showError.jsp">专业游戏</a></li>
</ul>
</li>
<li><a href="faqs.jsp">常见问题</a></li>
<li><a href="servlet/ShowOrderServlet">订单查询</a></li>
<li><a href="contact.jsp">联系我们</a></li>
<li><a href="about.jsp">关于</a></li>
</ul>
<br style="clear: left" />
</div> <!-- end of ddsmoothmenu -->
<div id="templatemo_search">
<form action="servlet/FindGoodsServlet?op=find" method="post">
<input type="text" name="keyword" id="keyword" title="keyword" onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value=" " alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div>
</div> <!-- END of templatemo_menubar -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" title="网页模板">网页模板</a></div>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>产品筛选</h3>
<div class="content">
<div class="service-menu">
<input class="menu-code-index" type="hidden" value="c849" /><!--默认下值设置
data-service-index=c203的列表项展开与子列表标签导航高亮显示-->
<strong class="menu-p"><i class="menu-i"></i><a href="">产品系列</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=Inspiron">Inspiron</a></li>
<li><a href="servlet/MenuServlet?types=XPS">XPS</a></li>
<li><a href="servlet/MenuServlet?types=Alienware">Alienware</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">处理器</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?cpu=i3">英特尔I3智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i5">英特尔I5智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i7">英特尔I7智能处理器</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">笔记本屏幕尺寸</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?monito=14">14寸</a></li>
<li><a href="servlet/MenuServlet?monito=15">15寸</a></li>
<li><a href="servlet/MenuServlet?monito=17">17寸</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">价格区间</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?sma=3000&big=5000">RMB3000~RMB5000</a></li>
<li><a href="servlet/MenuServlet?sma=5000&big=7000">RMB5000~RMB7000</a></li>
<li><a href="servlet/MenuServlet?sma=7000&big=9000">RMB7000~RMB9000</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">操作系统</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?system=Windows 7">Windows 7</a></li>
<li><a href="servlet/MenuServlet?system=Windows 8">Windows 8</a></li>
<li><a href="servlet/MenuServlet?system=Linux">Linux</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>热销商品 </h3>
<div class="content">
<c:forEach items="${list3}" var="ff">
<div class="bs_box">
<a href="servlet/ShowServlet?op=add&gid=${ff.g_Id }"><img src="imgs/type.jpg" alt="image" width="75px" height="75px"/></a>
<h4>${ff.g_Name }</h4>
<p class="price">价格:${ff.g_Price }</p>
<p class="price">销量:${ff.o_Count}</p>
<div class="cleaner"></div>
</div>
</c:forEach>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>公告 </h3>
<div class="content">
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll"></marquee>
<table>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list2");
for(T_board e:list)
{
%>
<tr><td width="180px" ><a>&nbsp;&nbsp;&nbsp;<%=e.getB_Content() %></a></td></tr>
<tr><td ><a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<%=e.getB_Posttime() %></a></td></tr>
<tr><td>&nbsp;</td></tr>
<%
}
%>
</table>
</marquee>
</div>
</div>
</div>
<div id="content" class="float_r">
<div id="slider-wrapper">
<div id="slider" class="nivoSlider">
<img src="images/slider/02.jpg" alt="" />
<img src="images/slider/01.jpg" alt="" />
<img src="images/slider/03.jpg" alt="" />
<img src="images/slider/04.jpg" alt="" />
</div>
</div>
<script type="text/javascript" src="js/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="js/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript">
$(window).load(function() {
$('#slider').nivoSlider();
});
</script>
<h1>已找到的商品如下</h1>
<c:forEach items="${list}" var="gd">
<div class="product_box">
<h3>${gd.gname}</h3>
<a href="productdetail.html"><img src="${gd.gspic}" alt="" /></a>
<p>Sed semper euismod dolor sit amet interdum. Phasellus in mi eros.</p>
<p class="product_price">$ ${gd.gprice }</p>
<a href="shoppingcart.html" class="addtocart"></a>
<a href="productdetail.html" class="detail"></a>
</div>
</c:forEach>
<div class="cleaner"></div>
<h1>推荐商品</h1>
<div class="product_box">
<h3>Cdgsdg fgdf</h3>
<a href="productdetail.html"><img src="imgs/ThinkPadX230.jpg" alt="" /></a>
<p>Sed semper euismod dolor sit amet interdum. Phasellus in mi eros.</p>
<p class="product_price">$ 220</p>
<a href="shoppingcart.html" class="addtocart"></a>
<a href="productdetail.html" class="detail"></a>
</div>
<div class="product_box">
<h3>Aenean tempus</h3>
<a href="productdetail.html"><img src="imgs/ThinkPadE430c.jpg" alt="" /></a>
<p>Maecenas porttitor erat quis leo pellentesque molestie.</p>
<p class="product_price">$ 180</p>
<a href="shoppingcart.html" class="addtocart"></a>
<a href="productdetail.html" class="detail"></a>
</div>
<div class="product_box no_margin_right">
<h3>Nulla luctus urna</h3>
<a href="productdetail.html"><img src="imgs/ThinkPadE531.jpg" alt="" /></a>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<p class="product_price">$ 160</p>
<a href="shoppingcart.html" class="addtocart"></a>
<a href="productdetail.html" class="detail"></a>
</div>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_main -->
<div id="templatemo_footer">
<p><a href="#">Home</a> | <a href="#">Products</a> | <a href="#">About</a> | <a href="#">FAQs</a> | <a href="#">Checkout</a> | <a href="#">Contact Us</a>
</p>
Copyright © 2072 <a href="#">ACE Team</a> | Collect from <a href="http://www.baidu.com" target="_parent">百度</a>
</div> <!-- END of templatemo_footer -->
<div id="for_kefu_block">
<div class="kefu_box kefu_block">
<div class="kefu_title"><a class="kefu_close" href="javascript:void(0)"><img src="images/kf_top.png" width="183" height="31"/></a></div>
<div class="kefu_con">
<div class="kefu_tel"></div>
<div class="kefu1">
<div class="kefu_con_title">
<ul class="jszcfwul clearfix">
<li class="kefu_con_title_li1"><img src="images/kf_line2.png" width="14" height="14"/></li>
<li class="kefu_con_title_li2">开店服务</li>
</ul>
</div>
<div class="kefu_con_con1">
<ul class="clearfix">
<li class="neititle"><div class="uline">开店顾问</div></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
<li class="neititle"><div class="uline">企业定制</div></li>
<li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2554686941&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:12345678:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
</ul>
</div>
</div>
<div class="kefu5">
<div class="kefu_con_title">
<ul class="clearfix">
<li class="kefu_con_title_li1"><img src="images/kf_line2.png" width="14" height="14"/></li>
<li class="kefu_con_title_li2">技术支持</li>
</ul>
</div>
<div class="kefu_con_con">
<ul class="clearfix">
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后1" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"/><span>售后1</span></a></li>
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后2" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"/><span>售后2</span></a></li>
<li><a href="tencent://message/?uin=2554686941&amp;Site=咨询&amp;Menu=yes" target="blank" title="售后3" rel="nofollow"><img src="images/QQ1.png" width="34" height="34"/><span>售后3</span></a></li>
</ul>
</div>
</div>
</div>
<div class="kefu_tt"><a href="#"><img src="images/kf_foot.png" /></a></div>
</div>
<div class="kefu_flag"><img src="images/kefu_flag.gif" /></div>
</div>
<script language="javascript">
$(document).ready(function(){
$(".kefu_close").click(function(){
$(".kefu_block").hide();
$(".kefu_flag").show();
})
$(".kefu_flag").click(function(){
$(this).hide();
$(".kefu_block").show();
})
});
</script>
</div> <!-- END of templatemo_wrapper -->
</div> <!-- END of templatemo_body_wrapper -->
</body>
</html>

@ -0,0 +1,314 @@
/* Credit: http://www.cssmoban.com */
body {
margin: 0;
padding: 0;
color: #999;
font-family: Tahoma, Geneva, sans-serif;
font-size: 12px;
line-height: 1.4em;
background-color: #665f5f;
background-repeat: repeat;
background-image: url(images/templatemo_body.jpg)
}
a, a:link, a:visited { color: #0299aa; font-weight: normal; text-decoration: none }
a:hover { text-decoration: underline; }
a.addtocart{ display: inline-block; width: 80px; height: 21px; line-height: 21px; text-align: center; font-size: 10px; font-weight: bold; color: #333; background: url(images/templatemo_addtocart.png) }
a.detail{ display: inline-block; width: 64px; height: 20px; line-height: 20px; text-align: center; font-size: 10px; font-weight: bold; color: #333; background: url(images/templatemo_detail.png) }
p { margin: 0 0 10px 0; padding: 0; }
img { border: none; }
blockquote { border: 1px solid #039fb1; border-left: 5px solid #000; padding: 19px; margin: 20px 0 0 0}
cite a, cite a:link, cite a:visited { font-size: 12px; text-decoration: none; font-style: normal }
cite span { font-weight: 400; color: #333; }
.tmo_list { margin: 10px 0 10px 15px; padding: 0; list-style: none }
.tmo_list li { color:#999; margin: 0 0 5px 0; padding: 0 0 0 15px; background: url(images/templatemo_list.png) no-repeat scroll 0 5px }
.tmo_list li a { color: #999; font-weight: normal }
.tmo_list li a:hover { color: #333 }
h1, h2, h3, h4, h5, h6 { color: #333; font-weight: normal; }
h1 { font-size: 30px; margin: 0 0 30px; padding: 5px 0 }
h2 { font-size: 26px; margin: 0 0 25px; padding: 5px 0 }
h3 { font-size: 20px; margin: 0 0 20px; padding: 0; }
h4 { font-size: 16px; margin: 0 0 15px; padding: 0; }
h5 { font-size: 14px; margin: 0 0 10px; padding: 0; }
h6 { font-size: 12px; margin: 0 0 5px; padding: 0; }
.cleaner { clear: both }
.h10 { height: 10px }
.h20 { height: 20px }
.h30 { height: 30px }
.h40 { height: 40px }
.h50 { height: 50px }
.float_l { float: left }
.float_r { float: right }
#templatemo_body_wrapper {
width: 100%;
background: url(images/templatemo_body_top.jpg) repeat-x top
}
#templatemo_wrapper {
width: 980px;
margin: 0 auto;
}
#templatemo_header {
width: 960px;
height: 70px;
padding: 30px 10px;
background: url(images/templatemo_header_bg.png) no-repeat bottom;
}
#templatemo_menubar {
width: 980px;
height: 60px;
background: url(images/templatemo_menubar.png) no-repeat;
}
#templatemo_main {
width: 940px;
padding: 10px 20px;
background: url(images/templatemo_main_bg.png) repeat-y
}
#content { width: 690px }
#sidebar { width: 220px }
#templatemo_footer {
width: 960px;
padding: 30px 10px;
text-align: center;
background: url(images/templatemo_footer.png) no-repeat top
}
#site_title { float: left; margin-top: 30px; }
#site_title h1 { margin: 0; padding: 0 }
#site_title h1 a { display: block; width: 300px; height: 40px; padding-top: 30px; font-size: 12px; letter-spacing: 4px; color: #2f2f2f; text-align: left; background: url(images/templatemo_logo.png) no-repeat top left }
#header_right { float: right; margin: 35px 240px 0 0; color: #666; }
#header_right a { color: #fff }
#menu_second_bar { padding: 5px 10px; }
#top_shopping_cart { float: left; padding: 5px 0; font-size: 11px; }
#templatemo_search { float: right; margin: 10px 30px 0; width: 220px; height: 34px; background: url(images/templatemo_search_bg.png) }
#templatemo_search form {
margin: 0;
padding: 0;
}
#templatemo_search .txt_field {
float: left;
display: block;
height: 22px;
line-height: 22px;
width: 170px;
color: #999;
font-size: 12px;
padding: 5px;
font-variant: normal;
border: none;
background: none;
}
#templatemo_search .sub_btn {
float: right;
display: block;
color: #fff;
height: 33px;
width: 40px;
font-size: 11px;
font-weight: 700;
line-height: 26px;
cursor: pointer;
border: none;
background: none;
}
.copyrights{text-indent:-9999px;height:0;line-height:0;font-size:0;overflow:hidden;}
.sidebar_box {
position: relative;
background: #f0f0f0;
margin-bottom: 36px;
border: 1px solid #dbdbdb
}
.sidebar_box h3 { font-size: 14px; font-weight: 700; padding: 0 10px 0 35px; margin: 0; width: 185px; height: 33px; line-height: 33px; margin-bottom: 0; background: url(images/templatemo_sidebar_header.png) no-repeat; color: #2f2f2f }
#sidebar .sidebar_box .content {
padding: 10px 10px 0;
}
#sidebar .sidebar_list { margin: 0; padding: 0 0 10px; list-style: none; }
#sidebar .sidebar_list li { display: block; margin: 0; padding: 5px 0; border-top: 1px solid #fff; border-bottom: 1px solid #d3d3d3 }
#sidebar .sidebar_list li.first { border-top: none }
#sidebar .sidebar_list li.last { border-bottom: none }
#sidebar .sidebar_list li a { color: #666; }
#sidebar .sidebar_list li a:hover { color: #000; text-decoration: none }
.bs_box { clear: both; margin-bottom: 20px }
.bs_box img { float: left; margin-right: 10px; border: 4px solid #fff }
.bs_box h4 { margin-bottom: 0 }
.bs_box h4 a { font-size: 11px; color: #000; font-weight: 700}
.bs_box .price { font-size: 12px; font-weight: 700; color: #11bdd1}
.product_box {
float: left;
width: 220px;
text-align: center;
margin: 0 10px 30px 0;
padding-bottom: 20px;
border-bottom: 1px dotted #ccc
}
.product_box img {
margin-bottom: 5px;
}
.product_box h3 {
font-size: 11px;
color: #000;
font-weight: 700;
margin-bottom: 10px;
}
.product_box .product_price {
color: #11bdd1;
font-size: 14px;
font-weight: 700;
margin-bottom: 20px;
}
.product_box .addtocart {
float: left;
display: block;
}
.product_box .detail {
float: right;
display: block;
}
#contact_form { padding: 0; width: 300px; margin-bottom: 40px }
#contact_form form { margin: 0px; padding: 0px; }
#contact_form form .input_field {
font-family: Arial, Helvetica, sans-serif;
width: 270px;
padding: 5px;
color: #808b98;
background: #fff;
border: 1px solid #dedede;
}
#contact_form form label { display: block; width: 100px; margin-right: 12px; font-size: 11px }
#contact_form form textarea {
font-family: Arial, Helvetica, sans-serif;
width: 270px;
height: 200px;
padding: 5px;
color: #808b98;
background: #fff;
border: 1px solid #dedede;
}
#contact_form form .submit_btn {
display: block;
padding: 5px 12px;
text-align: center;
text-decoration: none;
font-weight: bold;
background-color: #000;
border: 1px solid #fff;
color: #fff;
font-size:11px;
cursor: pointer;
}
.content_half { width: 320px }
.content_13 { width: 220px; margin-right: 10px }
.faqs p { margin-bottom: 20px }
.faqs h5 { margin-bottom: 5px }
#templatemo_footer {
color: #999
}
#templatemo_footer a {
color: #fff;
}
/*============================*/
/*=== Custom Slider Styles ===*/
/*============================*/
#slider-wrapper {
float: left;
width: 680px;
height: 300px;
margin-right: 20px;
margin-bottom: 60px;
}
#slider {
position:relative;
width: 620px;
height: 300px;
background:url(images/loading.gif) no-repeat 50% 50%;
}
#slider img {
position:absolute;
top:0px;
left:0px;
display:none;
}
#slider a {
border:0;
display:block;
}
.nivo-controlNav {
position:absolute;
right: 10px;
bottom: -30px;
}
.nivo-controlNav a {
display:block;
width:14px;
height:18px;
background:url(images/bullets.png) no-repeat;
text-indent:-9999px;
border:0;
margin-right:3px;
float:left;
}
.nivo-controlNav a.active {
background-position:0 -18px;
}
.nivo-directionNav a {
display:block;
width:30px;
height:30px;
background:url(images/arrows.png) no-repeat;
text-indent:-9999px;
border:0;
}
a.nivo-nextNav {
background-position:-30px 0;
right:15px;
}
a.nivo-prevNav {
left:15px;
}
.nivo-caption {
text-shadow:none;
font-family: Helvetica, Arial, sans-serif;
}
.nivo-caption a {
color:#efe9d1;
text-decoration:underline;
}

@ -0,0 +1,387 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ShopManagerMain.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">
-->
<script language="JavaScript">
function delete_confirm(e)
{
if (event.srcElement.outerText == "删除")
{
event.returnValue = confirm("删除是不可恢复的,你确认要删除吗?");
}
}
document.onclick = delete_confirm;
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<script language="javascript" src="jquery.js"></script>
<script>
function guan()
{
if(this.confirm("是否关闭?"))
this.close();
}
</script>
<style type="text/css">
<!--
* {
margin:0px;
padding:0px;
}
html, body{
height:100%;
overflow: hidden;
}
html>body{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}
body {
border:8px solid #ffffff;
background-color: #ffffff;min-width:230px;
}
#mainDiv {
width: 100%;
height: 100%;
padding:60px 0px 25px 0px;;
}
#centerDiv{
width: 100%;
height: 100%;
background-color:#00CCFF;
padding-left:158px;
}
#mainDiv>#centerDiv{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 56px;
left: 0px;
right: 0px;
bottom: 20px;
}
#left{
width:158px;
height:100%;
background:url(images/slide.jpg) repeat-y;
position:absolute;
left:0px;
}
#lhead{
background:url(images/left-head.jpg) left top no-repeat;
height:25px;
font-size:14px;
color:#FF9933;
text-align:center;
line-height:25px;
}
#right{
width:100%;
height:100%;
background:#ffffff;
position:absolute;
overflow-y:auto;
border:1px #003366 solid;
padding:20px 0 0 10px;
font-size:12px;
font-family:"宋体";
}
#centerDiv>#right{
width:auto;
height:auto;
position:absolute;
top:0px;
right:0px;
left:158px;
bottom:0px;
}
#topDiv{
width:100%;
height:56px;
background:url(images/head-bg.jpg) repeat-x;
position:absolute;
top:0px;
overflow:hidden;
}
#topDiv ul{
list-style:none;
font-size:12px;
width:100%;
margin:0;
padding:0;
}
#topDiv ul li{
float:left;
width:15%
}
#topDiv ul li a {
display:block;
width:100%;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#tmenu{
width:100%;
position:absolute;
left:12%;
bottom:0;
padding-left:15%;
margin-left:-15%;
}
#current{
background:#ccc;
height:25px;
line-height:25px;
margin:-20px 0 0 -10;
overflow:hidden;
}
#bottomDiv{
width:100%;
height:20px;
background:url(images/bottom.jpg) repeat-x;
position:absolute;
bottom:0px;
bottom:-1px; /*-- for IE6.0 --*/
}
#left ul{
list-style:none;
font-size:12px;
margin:50px 0 0 8px;
}
#left ul li a{
display:block;
width:140px;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#left ul li a:hover{
background:url(images/menu-bg.jpg) 0px 25px;
color:#99FFCC;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
}
#form{
width:80%;
height:99%;
margin:0 auto;
_margin-left:20%;
}
fieldset{
width:100%;
margin:20 auto;
line-height:35px;
padding-left:20PX;
}
-->
</style>
</head>
<body>
<div id="mainDiv">
<div id="topDiv">
<div id="tmenu"><ul>
<li ><a href="ShopManagerMain.jsp">首页</a></li>
<li ><a href="javascript:window.history.go(1)">前进</a></li>
<li ><a href="javascript:window.history.go(-1)">后退</a></li>
<li ><a href="javascript:window.history.go(0)">刷新</a></li>
<li ><a href="servlet/ShopManagerServlet?op=help">帮助</a></li>
</ul></div></div>
<div id="centerDiv">
<div id="left">
<div id="lhead">管理菜单</div>
<ul>
<li ><a href="servlet/ShopManagerServlet?op=ShowQuser">查看用户</a></li>
<li ><a href="servlet/T_boardServlet?op=five">公告管理</a></li>
<li ><a href="servlet/AdGoodsListServlet" class="selected">商品管理</a></li>
<li ><a href="servlet/ContactServlet?op=find">留言管理</a></li>
<li ><a href="servlet/AdOrderListServlet">订单管理</a></li>
<li ><a href="servlet/ShowServlet">关闭</a></li>
</ul>
</div>
<div id="right">
<div id="current">&nbsp;&nbsp;&nbsp;&nbsp;当前位置:</div>
<div style="position:relative;width=1000px;overflow:scroll;left:5%;top:10px;height:90%;padding:0px; margin:0px;">
<table width="300%" style="table-layout:fixed" border="1">
<tr>
<td>
商品编号
</td>
<td>
商品型号
</td>
<td>
商品价格
</td>
<td>
数量
</td>
<td>
折扣
</td>
<td>
商品类型
</td>
<td>
展示图片(小)
</td>
<td>
描述1
</td>
<td>
描述2
</td>
<td>
描述3
</td>
<td>
成分
</td>
<td>
使用方法
</td>
<td>
容量
</td>
<td>
星级
</td>
<td>
展示图片1
</td>
<td>
展示图片2
</td>
<td>
展示图片3
</td>
</tr>
<c:forEach items="${adlist}" var="adg">
<tr>
<td>
${adg.gid }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td>
${adg.goods.gname }
</td>
<td>
${adg.goods.gprice }&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td>
${adg.goods.gnumber }&nbsp;&nbsp;
</td>
<td>
${adg.goods.gdiscount }&nbsp;&nbsp;
</td>
<td>
${adg.goods.gapply }
</td>
<td>
${adg.goods.gspic }
</td>
<td>
${adg.gcomm1 }
</td>
<td>
${adg.gcomm2 }
</td>
<td>
${adg.gcomm3 }
</td>
<td>
${adg.gele }
</td>
<td>
${adg.gway }
</td>
<td>
${adg.gcap }
</td>
<td>
${adg.gstart}
</td>
<td>
${adg.gbpic2 }
</td>
<td>
${adg.gbpic3 }
</td>
<td>
${adg.gbpic4 }
</td>
<td>
<a href="servlet/ReviseGoodsServlet?gid=${adg.gid}">修改</a>
</td>
<td>
<a href="servlet/DeleteGoodsServlet?gid=${adg.gid}" onClick="delete_confirm">删除</a>
</td>
</tr>
</c:forEach>
</table>
<form action="NewGoodsShow.jsp">
<input type="submit" onclick="return delete_confirm()" value="新增">
</form>
</div>
</div></div>
<div id="bottomDiv"></div>
</div>
<script language="javascript">
$("#test1").toggle(function(){$("#test").slideDown()},function(){$("#test").slideUp()})
</script>
</body>
</html>
</html>

@ -0,0 +1,335 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.beans.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ACE Shop</title>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<LINK href="css/test.css" rel=stylesheet>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "top_nav", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
</head>
<body>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* service-menu */
.service-menu .menu-title,.service-menu .menu-p,.service-menu .menu-p .menu-i{background:url("images/menubg.png") no-repeat;}
.service-menu{border:solid 1px #d1d1d1;width:206px;margin:auto auto auto auto;}
.service-menu .menu-title{height:21px;overflow:hidden;padding:6px 8px;background-position:0 0;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:bold;}
.service-menu .menu-p{display:block;height:21px;overflow:hidden;padding:6px 0 6px 19px;border-top:solid 1px #e6e6e6;background-position:0 -50px;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:normal;cursor:pointer;}
.service-menu .menu-p .menu-i{float:left;display:inline;width:11px;height:11px;overflow:hidden;background-position:0 -103px;margin:5px 6px 0 0;}
.service-menu .menu-p a:link,.service-menu .menu-p a:visited{color:#444;text-decoration:none;font-size:14px;}
.service-menu .menu-p a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-p-current .menu-i{background-position:-20px -103px;}
.service-menu .menu-p-current a:link,.service-menu .menu-p-current a:visited{color:#369;font-weight:bold;}
.service-menu .menu-p-current a:hover{color:#ff7300;}
.service-menu .menu-c{border-top:solid 1px #e6e6e6;display:none;padding:4px 0 4px 54px;}
.service-menu .menu-c-current{display:block;}
.service-menu .menu-c ul{display:block;}
.service-menu .menu-c li{padding:2px 0;height:18px;overflow:hidden;}
.service-menu .menu-c a:link,.service-menu .menu-c a:visited{color:#444;text-decoration:none;}
.service-menu .menu-c a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-c .current:link,.service-menu .menu-c .current:visited{color:#369;font-weight:bold;}
.service-menu .menu-c .current:hover{color:#ff7300;}
</style>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title"><h1><a href="http://localhost:8888/aceshopping"></a></h1></div>
<div id="header_right">
<p>
<a href="ManagerLogin.jsp"><font color="red">店长登入</font></a> | <a><font color="black">${(empty Quser.u_Name)?'游客请登录':'欢迎'}${Quser.u_Name}</font></a>|<a href="login.jsp"><font color="red">登录我的账户</font></a> |<a href="servlet/ShowOrderServlet"><font color="red">订单查询</font></a>|<a href="Qregister.jsp"><font color="black">注册</font></a></p>
<p>
购物车: <strong>${(empty cart)?0:cart.count}件</strong>&nbsp;( <a href="ShoppingCart.jsp" ><font color="red"><b><img src="imgs/cart.PNG"/> 进入购物车</b></font></a> )
</p>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
<div id="templatemo_menubar">
<div id="top_nav" class="ddsmoothmenu">
<ul>
<li><a href="servlet/ShowServlet" class="selected"><b>主页</b></a></li>
<li><a href="servlet/MenuServlet?op=findall"><b>购买商品</b></a>
<ul>
<li><a href="servlet/MenuServlet?apply=new">上市新品</a></li>
<li><a href="servlet/MenuServlet?apply=sales">促销活动</a></li>
<li><a href="showError.jsp">组合优惠套装</a></li>
</ul>
</li>
<li><a href="servlet/ShowOrderServlet"><b>订单查询</b></a></li>
<li><a href="contact.jsp"><b>留言板>v<</b></a></li>
<li><a href="about.jsp"><b><font color="red">认识品牌</font></b></a></li>
<li><a href="faqs.jsp"><b>常见问题</b></a></li>
</ul>
<br style="clear: left" />
</div> <!-- end of ddsmoothmenu -->
<div id="templatemo_search">
<form action="servlet/FindGoodsServlet?op=find" method="post">
<input type="text" name="keyword" id="keyword" title="keyword" onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value=" " alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div>
</div> <!-- END of templatemo_menubar -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" title="网页模板">网页模板</a></div>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>产品筛选</h3>
<div class="content">
<div class="service-menu">
<input class="menu-code-index" type="hidden" value="c849" /><!--默认下值设置
data-service-index=c203的列表项展开与子列表标签导航高亮显示-->
<strong class="menu-p"><i class="menu-i"></i><a href="">面部护理</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=face">所有产品</a></li>
<li><a href="servlet/MenuServlet?types=faceclear">洁面/磨砂膏</a></li>
<li><a href="servlet/MenuServlet?types=facemo">面膜</a></li>
<li><a href="servlet/MenuServlet?types=facewater">明星爽肤水</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">身体护理</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=body">所有产品</a></li>
<li><a href="servlet/MenuServlet?types=bodywet">身体保湿</a></li>
<li><a href="servlet/MenuServlet?types=bodyhand">手足护理</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">头发护理</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=hair">所有产品</a></li>
<li><a href="servlet/MenuServlet?types=hairwater">洗发水</a></li>
<li><a href="servlet/MenuServlet?types=haircare">护发素</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">防晒系列</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=sun">所有产品</a></li>
<li><a href="servlet/MenuServlet?types=sunface">面部保湿防晒霜</a></li>
<li><a href="servlet/MenuServlet?types=sunother">其他防晒产品</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">价格区间</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?sma=100&big=250">RMB100~RMB250</a></li>
<li><a href="servlet/MenuServlet?sma=250&big=300">RMB250~RMB300</a></li>
<li><a href="servlet/MenuServlet?sma=300&big=400">RMB300~RMB400</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>热销商品 </h3>
<div class="content">
<c:forEach items="${list3}" var="ff">
<div class="bs_box">
<a href="servlet/ShowServlet?op=add&gid=${ff.g_Id }"><img src="imgs/${goods.g_Spic }" alt="image" width="75px" height="75px"/></a>
<h4>${ff.g_Name }</h4>
<p class="price">价格:${ff.g_Price }</p>
<p class="price">销量:${ff.o_Count}</p>
<div class="cleaner"></div>
</div>
</c:forEach>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>公告 </h3>
<div class="content">
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list2");
for(T_board e:list)
{
%>
<tr><td width="180px" ><a>&nbsp;&nbsp;&nbsp;<%=e.getB_Content() %></a></td></tr>
<tr><td ><a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<%=e.getB_Posttime() %></a></td></tr>
<tr><td>&nbsp;</td></tr>
<%
}
%>
</table>
</marquee>
</div>
</div>
</div>
<div id="content" class="float_r">
<form action="servlet/DoCheckoutServlet" method="post">
<h2>
填写订单
</h2>
<h5>
<strong>订单信息</strong>
</h5>
<div class="content_half float_l checkout">
收货人 (请填写正确的收货人姓名):
<input type="text" name="orderName" style="width: 300px;" />
<br />
<br />
收货地址:
<input type="text" name="orderAddress" style="width: 300px;" />
<br />
<br />
买家留言:
<input type="text" name="orderMsg" style="width: 300px;" />
<br />
<br />
Country:
<input type="text" name="orderCountry" style="width: 300px;" />
</div>
<div class="content_half float_r checkout">
电子邮箱:
<input type="text" name="orderEmail" style="width: 300px;" />
<br />
<br />
联系电话:
<br />
<span style="font-size: 10px">请填写正确的联系方式,方便快递员及时送货.</span>
<input type="text" style="width: 300px;" name="orderPhone" />
<input type="submit" style="width: 100px;" value="提交订单" />
</div>
</form>
<div class="cleaner h50"></div>
<h3>
您的购物车
</h3>
<h4>
总价为:
<strong>¥<%=((Cart)session.getAttribute("cart")).getTotalPrice() %></strong>
</h4>
<p>
<input type="checkbox" />
I accept the
<a href="#">terms of use</a> of this website.
</p>
<table style="border: 1px solid #CCCCCC;" width="100%">
<tr>
<td height="80px">
<img src="images/paypal.gif" alt="paypal" />
</td>
<td width="400px;" style="padding: 0px 20px;">
Recommended if you have a PayPal account. Fastest delivery
time.
</td>
<td>
<a href="#" class="more">PAYPAL</a>
</td>
</tr>
<tr>
<td height="80px">
<img src="images/2co.gif" alt="paypal" />
</td>
<td width="400px;" style="padding: 0px 20px;">
2Checkout.com, Inc. is an authorized retailer of goods and
services. 2CheckOut accepts customer orders via online checks,
Visa, MasterCard, Discover, American Express, Diners, JCB and
debit cards with the Visa, Mastercard logo. Validate
<a href="http://validator.w3.org/check?uri=referer"
rel="nofollow">XHTML</a> &amp;
<a href="http://jigsaw.w3.org/css-validator/check/referer"
rel="nofollow">CSS</a>.
</td>
<td>
<a href="#" class="more">2CHECKOUT</a>
</td>
</tr>
</table>
</div>
<div class="cleaner"></div>
</div>
<!-- END of templatemo_main -->
<div id="templatemo_footer">
<p>
<a href="#">Home</a> |
<a href="#">Products</a> |
<a href="#">About</a> |
<a href="#">FAQs</a> |
<a href="#">Checkout</a> |
<a href="#">Contact Us</a>
</p>
Copyright © 2072
<a href="#">Your Company Name</a> | Collect from
<a href="http://www.cssmoban.com" target="_parent">网站模板</a>
</div>
<!-- END of templatemo_footer -->
</div>
<!-- END of templatemo_wrapper -->
</div>
<!-- END of templatemo_body_wrapper -->
</body>
</html>

@ -0,0 +1,71 @@
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title></title>
<style type="text/css">
.style1
{
text-align: center;
}
</style>
<script type="text/javascript">
window.onload = function () {
setTimeout(changeTime, 1000);
}
function changeTime() {
var time = document.getElementById("timeout").innerHTML;
time = parseInt(time);
time--;
if (time > 0) {
document.getElementById("timeout").innerHTML = time;
setTimeout(changeTime, 1000);
} else if (time <= 0) {
window.opener.location.href=window.opener.location.href;window.close()
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table width="490" height="325" border="0" align="center" cellpadding="0" cellspacing="0" background="images/showinfo.png">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td style="text-align: center">
图片上传${suc}
</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50" class="style1">&nbsp;</td>
<td style="text-align: center">
<span id="timeout" style="font-size:14px;color:Red; font-weight:bold">5</span>秒中以后自动返回首页
<a href="servlet/AdGoodsListServlet" onclick="window.opener.location.href;window.close()">返回</a>
<td width="40">&nbsp;</td>
</tr>
</table></td>
</tr>
</table>
</div>
</form>
</body>
</html>

@ -0,0 +1,72 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'FindShow.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>
<table>
<tr>
<td>
<ul>
<li>CPU型号</li>
<ul >
<li><a href="servlet/MenuServlet?cpu=i3">英特尔I3智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i5">英特尔I5智能处理器</a></li>
<li><a href="servlet/MenuServlet?cpu=i7">英特尔I7智能处理器</a></li>
</ul>
<li>价格区间</li>
<ul>
<li><a href="servlet/MenuServlet?sma=3000&big=5000">3000~5000</a></li>
<li><a href="servlet/MenuServlet?sma=5000&big=7000">5000~7000</a></li>
<li><a href="servlet/MenuServlet?sma=7000&big=9000">7000~9000</a></li>
</ul>
<li>屏幕尺寸</li>
<ul>
<li><a href="servlet/MenuServlet?monito=14">14吋</a></li>
<li><a href="servlet/MenuServlet?monito=15">15吋</a></li>
<li><a href="servlet/MenuServlet?monito=17">17吋</a></li>
</ul>
<li>操作系统</li>
<ul>
<li><a href="servlet/MenuServlet?system=Windows 7">Windows 7</a></li>
<li><a href="servlet/MenuServlet?system=Windows 8">Windows 8</a></li>
<li><a href="servlet/MenuServlet?system=Linux">Linux</a></li>
</ul>
<li>系列</li>
<ul>
<li><a href="servlet/MenuServlet?types=Inspiron">Inspiron</a></li>
<li><a href="servlet/MenuServlet?types=XPS">XPS</a></li>
<li><a href="servlet/MenuServlet?types=Alienware">Alienware</a></li>
</ul>
<li>应用类型</li>
<ul>
<li><a href="servlet/MenuServlet?apply=多媒体娱乐本">多媒体娱乐本</a></li>
<li><a href="servlet/MenuServlet?apply=日常综合应用">日常综合应用</a></li>
<li><a href="servlet/MenuServlet?apply=顶级超高性能">顶级超高性能</a></li>
</ul>
</td>
</tr>
</table>
</body>
</html>

@ -0,0 +1,58 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'FindShowDetailed.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>
<center>
<table width="50%">
<tr>
<td colspan="3" bgcolor="#46A3FF">
<h1>搜索结果如下:</h1>
</td>
</tr>
<tr>
<c:forEach items="${menulist}" var="gg">
<td>
<table>
<tr>
<td> ${gg.gname}</td>
</tr>
<tr>
<td><a href="servlet/ShowServlet?gid=${gg.gid}"><img src="${gg.gspic}"></a></td>
</tr>
<tr>
<td> ${gg.gprice}
<form action="servlet/CartServlet?op=add&gid=${gg.gid }" method="post">
<input type="submit" value="加入购物车">
</form>
</tr>
</table>
</td>
</c:forEach>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,265 @@
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.ace.shopping.beans.QUser"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ShopManagerMain.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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<script language="javascript" src="jquery.js"></script>
<style type="text/css">
<!--
* {
margin:0px;
padding:0px;
}
html, body{
height:100%;
overflow: hidden;
}
html>body{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}
body {
border:8px solid #ffffff;
background-color: #ffffff;min-width:230px;
}
#mainDiv {
width: 100%;
height: 100%;
padding:60px 0px 25px 0px;;
}
#centerDiv{
width: 100%;
height: 100%;
background-color:#00CCFF;
padding-left:158px;
}
#mainDiv>#centerDiv{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 56px;
left: 0px;
right: 0px;
bottom: 20px;
}
#left{
width:158px;
height:100%;
background:url(images/slide.jpg) repeat-y;
position:absolute;
left:0px;
}
#lhead{
background:url(images/left-head.jpg) left top no-repeat;
height:25px;
font-size:14px;
color:#FF9933;
text-align:center;
line-height:25px;
}
#right{
width:100%;
height:100%;
background:#ffffff;
position:absolute;
overflow-y:auto;
border:1px #003366 solid;
padding:20px 0 0 10px;
font-size:12px;
font-family:"宋体";
}
#centerDiv>#right{
width:auto;
height:auto;
position:absolute;
top:0px;
right:0px;
left:158px;
bottom:0px;
}
#topDiv{
width:100%;
height:56px;
background:url(images/head-bg.jpg) repeat-x;
position:absolute;
top:0px;
overflow:hidden;
}
#topDiv ul{
list-style:none;
font-size:12px;
width:100%;
margin:0;
padding:0;
}
#topDiv ul li{
float:left;
width:15%
}
#topDiv ul li a {
display:block;
width:100%;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#tmenu{
width:100%;
position:absolute;
left:12%;
bottom:0;
padding-left:15%;
margin-left:-15%;
}
#current{
background:#ccc;
height:25px;
line-height:25px;
margin:-20px 0 0 -10;
overflow:hidden;
}
#bottomDiv{
width:100%;
height:20px;
background:url(images/bottom.jpg) repeat-x;
position:absolute;
bottom:0px;
bottom:-1px; /*-- for IE6.0 --*/
}
#left ul{
list-style:none;
font-size:12px;
margin:50px 0 0 8px;
}
#left ul li a{
display:block;
width:140px;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#left ul li a:hover{
background:url(images/menu-bg.jpg) 0px 25px;
color:#99FFCC;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
}
#form{
width:80%;
height:99%;
margin:0 auto;
_margin-left:20%;
}
fieldset{
width:100%;
margin:20 auto;
line-height:35px;
padding-left:20PX;
}
-->
</style>
</head>
<body>
<div id="mainDiv">
<div id="topDiv">
<div id="tmenu"><ul>
<li ><a href="ShopManagerMain.jsp">首页</a></li>
<li ><a href="javascript:window.history.go(1)">前进</a></li>
<li ><a href="javascript:window.history.go(-1)">后退</a></li>
<li ><a href="javascript:window.history.go(0)">刷新</a></li>
<li ><a href="servlet/ShopManagerServlet?op=help">帮助</a></li>
</ul></div></div>
<div id="centerDiv">
<div id="left">
<div id="lhead">管理菜单</div>
<ul>
<li ><a href="servlet/ShopManagerServlet?op=ShowQuser">查看用户</a></li>
<li ><a href="servlet/T_boardServlet?op=five">公告管理</a></li>
<li ><a href="servlet/AdGoodsListServlet">商品管理</a></li>
<li ><a href="admin-templates">商品类型管理</a></li>
<li ><a href="admin-templates">订单管理</a></li>
<li ><a href="admin-templates">管理员用户管理</a></li>
</ul>
</div>
<div id="right">
<div id="current">&nbsp;&nbsp;&nbsp;&nbsp;当前位置:</div>
<div id="form" align="center">
<H1>帮助</H1>
<h2>每个品牌均独一无二,每位顾客均与众不同:
与其他经销商不同,我们坚信每个品牌均独树一帜,提供不同的产品体验。
<br/>
我们的网站如实反映这一信念:
深入每个品牌的独有世界与经历探索它们的独一性。正因如此我们发展了Kiehl's多元商店理念。在此每个品牌将为您提供各自的美容观念
独有服务与专家建议。
<br/>
奢侈本质为最佳服务:
我们不固守免费运送因为我们相信必须为您提供最佳送货服务。但是我们很荣幸向您提供价格仅为10元的行业领先的物流公司快递服务并且为任何600元以上的定购提供免费送货服务。
<br/>
我们不提供价格优惠,因为我们是世界最知名美容品牌的官方在线经销商。但是,鉴于希望为您实现真正物有所值,我们为您提供独有专贵服务:
独家在线限量版产品
独家在线套装
本网站购买任一品牌产品均可任选一款免费试用装
<br/>
互联网应使您的生活更便利:
您可在线或离线任意购买产品,无论何时何地购买,您将获得最喜爱的品牌会员计划之相关积分。不久,您将可在线兑换积分,选择礼品,该礼品将寄送至您指定地点。
<br/>
欧莱雅(中国)拥有最终解释权。
</h2>
<img src="images/help.jpg"/>
</div>
</div></div>
<div id="bottomDiv"></div>
</div>
<script language="javascript">
$("#test1").toggle(function(){$("#test").slideDown()},function(){$("#test").slideUp()})
</script>
</body>
</html>
</html>

@ -0,0 +1,62 @@
10
dir
327
svn://192.168.1.128/projects/aceshopping/WebRoot/META-INF
svn://192.168.1.128/projects
2013-09-29T02:43:59.281250Z
315
hsp
f147ab79-210a-d444-bdc1-1ab8ede2a2e9
MANIFEST.MF
file
2011-09-29T02:50:20.062500Z
d0e895251c05b9ea895dda3a15b060db
2013-09-29T02:43:59.281250Z
315
hsp
36

@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

@ -0,0 +1,192 @@
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript">
function changecode(){
var my=document.getElementById("code");
da=new Date();
my.src="Qvalidate.jsp?code="+da.getTime();
}
</script>
<SCRIPT language=javascript>
//检验表单的合法性
function SuperLogin() {
if (document.SuperLoginForm.name.value == "") {
alert("\请输入您的管理账号!");
document.SuperLoginForm.name.focus();
}
else if (document.SuperLoginForm.password.value == "") {
alert("\请输入您的管理密码!");
document.SuperLoginForm.password.focus();
}
else if (document.SuperLoginForm.verifycode.value == "") {
alert("\请输入右侧显示验证码!");
document.SuperLoginForm.verifycode.focus();
}
else {
return true;
}
return false;
}
// End of validation form script -->
</SCRIPT>
<base href="<%=basePath%>">
<title>My JSP 'ManagerLogin.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 bgColor=#006599 leftMargin=0 topMargin=0 marginwidth="0" marginheight="0" >
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD background="images/indexbg.gif"
height=600><BR><BR><BR><BR><BR><BR><BR>
<TABLE class=tableborder cellSpacing=0 cellPadding=0 width=427
align=center border=0>
<TBODY>
<TR>
<TD align="center" colSpan=3
height=64><h2>欢迎登入GoShopping网络商城后台</h2></TD></TR>
<TR>
<TD style="FONT-SIZE: 1px; LINE-HEIGHT: 1px" width=3
background="images/index_hz02.gif"></TD>
<TD style="BORDER-TOP: #666666 1px double" vAlign=top
background="images/index_hz03.gif" height=162><BR><BR>
<TABLE cellSpacing=0 cellPadding=0 width=320 align=right border=0>
<FORM name=SuperLoginForm onSubmit="return SuperLogin()"
action="servlet/ShopManagerServlet?op=Logincheck" method=post>
<TBODY>
<TR>
<TD width=82 height=30>
<DIV style="FONT-SIZE: 12px" align=center>用户名:</DIV></TD>
<TD colSpan=2><INPUT name="name" type="text"
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px;width:120px"
maxLength=16> </TD></TR>
<TR>
<TD height=30>
<DIV style="FONT-SIZE: 12px"
align=center>密&nbsp;&nbsp;码:</DIV></TD>
<TD><INPUT
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px;width:120px"
type=password maxLength=16 name="password"> </TD>
<TD width=70>
<DIV align=center></DIV></TD></TR>
<TR>
<TD height=30>
<DIV style="FONT-SIZE: 12px" align=center>验证码:</DIV></TD>
<TD><INPUT name="verifycode" id="verifycode" type="text"
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px;" size=4
maxLength=4> <img id="code" name="codef" src="Qvalidate.jsp"> <a href="javascript:changecode()" style="text-decoration: underline none" name="hehe"><div style="font-size: smaller" align="right">看不清换一张</a>
<TD width=70>
<DIV align=center></DIV></TD></TR>
<TR>
<TD height=40>&nbsp;</TD>
<TD><INPUT type=image height=33 width=83
src="images/index_hz04.gif" border=0
name=imageField></TD>
<TD width=70>&nbsp; </TD></TR></FORM></TBODY></TABLE></TD>
<TD style="FONT-SIZE: 1px; LINE-HEIGHT: 1px" width=3
background="images/index_hz02.gif"></TD></TR>
<TR>
<TD background="" colSpan=3
height=127></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<%String h=(String)request.getSession().getAttribute("message");
pageContext.setAttribute("e",h);
%>
</BODY></HTML>
</html>

@ -0,0 +1,192 @@
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript">
function changecode(){
var my=document.getElementById("code");
Date da=new Date();
my="Qvalidate.jsp?code="+da.getTime();
}
</script>
<SCRIPT language=javascript>
//检验表单的合法性
function SuperLogin() {
if (document.SuperLoginForm.name.value == "") {
alert("\请输入您的管理账号!");
document.SuperLoginForm.name.focus();
}
else if (document.SuperLoginForm.password.value == "") {
alert("\请输入您的管理密码!");
document.SuperLoginForm.password.focus();
}
else if (document.SuperLoginForm.verifycode.value == "") {
alert("\请输入右侧显示验证码!");
document.SuperLoginForm.verifycode.focus();
}
else {
return true;
}
return false;
}
// End of validation form script -->
</SCRIPT>
<base href="<%=basePath%>">
<title>My JSP 'ManagerLogin.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 bgColor=#006599 leftMargin=0 topMargin=0 marginwidth="0" marginheight="0" >
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD background="images/indexbg.gif"
height=600><BR><BR><BR><BR><BR><BR><BR>
<TABLE class=tableborder cellSpacing=0 cellPadding=0 width=427
align=center border=0>
<TBODY>
<TR>
<TD background="images/index_hz01.gif" colSpan=3
height=64>&nbsp;</TD></TR>
<TR>
<TD style="FONT-SIZE: 1px; LINE-HEIGHT: 1px" width=3
background="images/index_hz02.gif"></TD>
<TD style="BORDER-TOP: #666666 1px double" vAlign=top
background="images/index_hz03.gif" height=162><BR><BR>
<TABLE cellSpacing=0 cellPadding=0 width=320 align=right border=0>
<FORM name=SuperLoginForm onSubmit="return SuperLogin()"
action="servlet/ShopManagerServlet?op=Logincheck" method=post>
<TBODY>
<TR>
<TD width=82 height=30>
<DIV style="FONT-SIZE: 12px" align=center>用户名:</DIV></TD>
<TD colSpan=2><INPUT name="name" type="text"
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px"
maxLength=16> </TD></TR>
<TR>
<TD height=30>
<DIV style="FONT-SIZE: 12px"
align=center>密&nbsp;&nbsp;码:</DIV></TD>
<TD><INPUT
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px"
type=password maxLength=16 name="password"> </TD>
<TD width=70>
<DIV align=center></DIV></TD></TR>
<TR>
<TD height=30>
<DIV style="FONT-SIZE: 12px" align=center>验证码:</DIV></TD>
<TD><INPUT name="verifycode" id="verifycode"
style="BORDER-RIGHT: #000000 1px double; BORDER-TOP: #000000 1px double; FONT-WEIGHT: bold; FONT-SIZE: 13px; BORDER-LEFT: #000000 1px double; BORDER-BOTTOM: #000000 1px double; HEIGHT: 22px" size=4
maxLength=4> <img id="code" name="codef" onclick="javascript:changecode()" src="Qvalidate.jsp">
<TD width=70>
<DIV align=center></DIV></TD></TR>
<TR>
<TD height=40>&nbsp;</TD>
<TD><INPUT type=image height=33 width=83
src="images/index_hz04.gif" border=0
name=imageField></TD>
<TD width=70>&nbsp; </TD></TR></FORM></TBODY></TABLE></TD>
<TD style="FONT-SIZE: 1px; LINE-HEIGHT: 1px" width=3
background="images/index_hz02.gif"></TD></TR>
<TR>
<TD background="images/index_hz05.gif" colSpan=3
height=127></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<script>
alert('账户,密码或验证码错误');
history.back()
</script>
</BODY></HTML>
</html>

@ -0,0 +1,220 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'NewGoodsShow.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 background="images/huang.jpg">
<SCRIPT LANGUAGE="JavaScript">
function validate_required(field,alerttxt)
{
with (field)
{
if (value==null||value=="")
{alert(alerttxt);return false}
else {return true}
}
}
function validate_form(thisform)
{
with (thisform)
{
if (validate_required(gname,"商品名称必须填写")==false)
{gname.focus();return false}
if (validate_required(gprice,"商品价格必须填写")==false)
{gprice.focus();return false}
if (validate_required(gnumber,"商品数量必须填写")==false)
{gnumber.focus();return false}
if (validate_required(gdiscount,"商品折扣必须填写")==false)
{gdiscount.focus();return false}
if (validate_required(gapply,"商品类型必须填写")==false)
{gdiscount.focus();return false}
if (validate_required(gcomm1,"商品描述必须填写")==false)
{gcpu.focus();return false}
if (validate_required(gcomm2,"商品描述必须填写")==false)
{gram.focus();return false}
if (validate_required(gcomm3,"商品描述必须填写")==false)
{gsata.focus();return false}
if (validate_required(gele,"商品成分必须填写")==false)
{gvideocard.focus();return false}
if (validate_required(gway,"商品使用必须填写")==false)
{gsystem.focus();return false}
if (validate_required(gcap,"商品容量必须填写")==false)
{gheft.focus();return false}
if (validate_required(gstart,"商品星级必须填写")==false)
{gbluetooth.focus();return false}
if (validate_required(f2,"图片必须填写")==false)
{gmonito.focus();return false}
if (validate_required(f3,"图片必须填写")==false)
{gmonito.focus();return false}
if (validate_required(f4,"图片必须填写")==false)
{gmonito.focus();return false}
}
</SCRIPT>
<center>
<form action="servlet/FixGoodsServlet" onsubmit="return validate_form(this)" method="post">
<table width="50%" border="1">
<tr>
<td>
商品编号:
</td>
<td>
<input type="text" name="gid" value="${rgd.gid}" readonly>
</td>
</tr>
<tr>
<td>
商品名称:
</td>
<td>
<input type="text" name="gname" value="${rgd.goods.gname}">
</td>
</tr>
<tr>
<td>
商品价格:
</td>
<td>
<input type="text" name="gprice" value="${rgd.goods.gprice }" />
</td>
</tr>
<tr>
<td>
商品数量:
</td>
<td>
<input type="text" name="gnumber" value="${rgd.goods.gnumber }" />
</td>
</tr>
<tr>
<td>
商品折扣:
</td>
<td>
<input type="text" name="gdiscount" value="${rgd.goods.gdiscount }" />
</td>
</tr>
<tr>
<td>
商品类型:
</td>
<td>
<input type="text" name="gapply" value="${rgd.goods.gapply }" />
</td>
</tr>
<tr>
<td>
展示图片(小):
</td>
<td>
<input type="text" name="gspic" value="${rgd.goods.gspic}" readonly/>
<a href="servlet/PictureUpload?op=g_Spic&gid=${rgd.gid}" target=openerwin>修改</a>
</td>
</tr>
<tr>
<td>
描述:
</td>
<td>
<input type="text" name="gcomm1" value="${rgd.gcomm1 }" />
<input type="text" name="gcomm2" value="${rgd.gcomm2 }" />
<input type="text" name="gcomm3" value="${rgd.gcomm3 }" />
</td>
<tr>
<td>
成分:
</td>
<td>
<input type="text" name="gele" value="${rgd.gele}" />
</td>
</tr>
<tr>
<td>
使用方式:
</td>
<td>
<input type="text" name="gway" value="${rgd.gway }" />
</td>
</tr>
<tr>
<td>
容量:
</td>
<td>
<input type="text" name="gcap" value="${rgd.gcap }" />
</td>
</tr>
<tr>
<td>
星级:
</td>
<td>
<input type="text" name="gstart" value="${rgd.gstart }" />
</td>
</tr>
<tr>
<tr>
<td>
展示图片1
</td>
<td>
<input type="text" name="gbpic2" value="${rgd.gbpic2 }" readonly/>
<a href="servlet/PictureUpload?op=g_Bpic2&gid=${rgd.gid}" target=openerwin>修改</a>
</td>
</tr>
<tr>
<td>
展示图片2
</td>
<td>
<input type="text" name="gbpic3" value="${rgd.gbpic3}" readonly/>
<a href="servlet/PictureUpload?op=g_Bpic3&gid=${rgd.gid}" target=openerwin>修改</a>
</td>
</tr>
<tr>
<td>
展示图片3
</td>
<td>
<input type="text" name="gbpic4" value="${rgd.gbpic4}" readonly/>
<a href="servlet/PictureUpload?op=g_Bpic4&gid=${rgd.gid}" target=openerwin>修改</a>
</td>
</tr>
</table>
<input type="submit" value="确认修改">
</form>
<form action="servlet/AdGoodsListServlet">
<input type="submit" value="返回">
</form>
</center>
</body>
</html>

@ -0,0 +1,33 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'PictureUpload.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>
<form action="servlet/PictureUpload" method="post" enctype="multipart/form-data">
<input type="hidden" name="ty" value="${types}">
<input type="hidden" name="pgid" value="${gid}">
<input type="file" name="f1" >
<input type="submit" value="È·ÈÏÉÏ´«">
</form>
</body>
</html>

@ -0,0 +1,479 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.beans.*" pageEncoding="utf-8" contentType="text/html; charset=gbk"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>ACE Shop</title>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js"></script>
<script type="text/javascript" >
function checkvalidate() {
if (document.registerpage.u_name.value == "") {
alert("\请输入用户名!");
document.registerpage.u_name.focus();
} else if (document.registerpage.u_pwd.value == "") {
alert("\请输入密码!");
document.registerpage.u_pwd.focus();
}else if(document.registerpage.u_pwd.value.length<6||document.registerpage.u_pwd.value.length>8){
alert("\密码长度不符!");
document.registerpage.u_pwd.focus();
} else if (document.registerpage.u_pwd1.value == "") {
alert("\请输入确认密码!");
document.registerpage.u_pwd.focus();
} else if (document.registerpage.u_pwd.value != document.registerpage.u_pwd1.value) {
alert("\两次输入密码不一样!");
document.registerpage.u_pwd1.focus();
return false;
} else if (document.registerpage.u_address.value == "") {
alert("\请输入联系地址!");
document.registerpage.u_mobile.focus();
} else if (document.registerpage.u_mobile.value.length != 11) {
alert(document.registerpage.u_mobile.value.length );
alert("\输入手机号不对");
document.registerpage.u_mobile.focus();
} else if (document.registerpage.u_mobile.value == "") {
alert("\请输入电话号码!");
document.registerpage.u_phone.focus();
} else if (document.registerpage.u_email.value == "") {
alert("\邮箱未填");
document.registerpage.u_email.focus();
return false;
} else if (document.registerpage.u_email.value != "") {
var email = document.registerpage.u_email.value;
var pattern = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/;
chkFlag = pattern.test(email);
if (chkFlag) {
return true;
} else {
alert("邮箱格式不正确!");
document.registerpage.u_email.focus();
return false;
}
} else {
return true;
}
return false;
}
var xmlRequest = null;// 请求对象
function createXmlRequest() {
if (window.xmlHttpRequest) {
// 火狐和salari和chrome
xmlRequest = new XmlHttpRequest();
return;
}
// 对于ie
try {
// activex为ie浏览器的扩展组件。
xmlRequest = new ActiveXObject('Msxml2.XMLHTTP');
} catch (e) {
xmlRequest = new ActiveXObject('Microsoft.XMLHTTP');
}
}
function send() // 将填入的姓名发给后台的服务
{
createXmlRequest();
var name = document.getElementById("u_name").value;
var url = "http://127.0.0.1:8080/aceshopping/servlet/registerUserCheck?op=usercheck&u_name="+name;
xmlRequest.open("post", url, true); // 向服务发出异步请求
xmlRequest.onreadystatechange = doreceive;// 当收到服务器的响应后,自动回调该方法
// xmlRequest.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=gbk");//针对post请求参数做编码处理,否则ie8下乱码
xmlRequest.send(null);// 发送请求,send的参数为post参数
}
function doreceive() {
if (xmlRequest.readyState == 4 && xmlRequest.status == 200) {
var response = xmlRequest.responseText;
// 将服务端响应的报文放在info中
document.getElementById("infousername").innerHTML =response;
//"<font color='red'>"+response+"</font>";
}
}
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "top_nav", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* service-menu */
.service-menu .menu-title,.service-menu .menu-p,.service-menu .menu-p .menu-i{background:url("images/menubg.png") no-repeat;}
.service-menu{border:solid 1px #d1d1d1;width:206px;margin:auto auto auto auto;}
.service-menu .menu-title{height:21px;overflow:hidden;padding:6px 8px;background-position:0 0;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:bold;}
.service-menu .menu-p{display:block;height:21px;overflow:hidden;padding:6px 0 6px 19px;border-top:solid 1px #e6e6e6;background-position:0 -50px;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:normal;cursor:pointer;}
.service-menu .menu-p .menu-i{float:left;display:inline;width:11px;height:11px;overflow:hidden;background-position:0 -103px;margin:5px 6px 0 0;}
.service-menu .menu-p a:link,.service-menu .menu-p a:visited{color:#444;text-decoration:none;font-size:14px;}
.service-menu .menu-p a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-p-current .menu-i{background-position:-20px -103px;}
.service-menu .menu-p-current a:link,.service-menu .menu-p-current a:visited{color:#369;font-weight:bold;}
.service-menu .menu-p-current a:hover{color:#ff7300;}
.service-menu .menu-c{border-top:solid 1px #e6e6e6;display:none;padding:4px 0 4px 54px;}
.service-menu .menu-c-current{display:block;}
.service-menu .menu-c ul{display:block;}
.service-menu .menu-c li{padding:2px 0;height:18px;overflow:hidden;}
.service-menu .menu-c a:link,.service-menu .menu-c a:visited{color:#444;text-decoration:none;}
.service-menu .menu-c a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-c .current:link,.service-menu .menu-c .current:visited{color:#369;font-weight:bold;}
.service-menu .menu-c .current:hover{color:#ff7300;}
</style>
</head>
<body>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title"><h1><a href="http://localhost:8888/aceshopping"></a></h1></div>
<div id="header_right">
<p>
<a href="ManagerLogin.jsp"><font color="red">店长登入</font></a> | <a><font color="black">${(empty Quser.u_Name)?'游客请登录':'欢迎'}${Quser.u_Name}</font></a>|<a href="login.jsp"><font color="red">登录我的账户</font></a> |<a href="servlet/ShowOrderServlet"><font color="red">订单查询</font></a>|<a href="Qregister.jsp"><font color="black">注册</font></a></p>
<p>
购物车: <strong>${(empty cart)?0:cart.count}件</strong>&nbsp;( <a href="ShoppingCart.jsp" ><font color="red"><b><img src="imgs/cart.PNG"/> 进入购物车</b></font></a> )
</p>
</div>
<div class="cleaner"></div>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
<div id="templatemo_menubar">
<div id="top_nav" class="ddsmoothmenu">
<ul>
<li><a href="servlet/ShowServlet" class="selected">主页</a></li>
<li><a href="servlet/ShowServlet">购买商品</a>
<ul>
<li><a href="servlet/MenuServlet?apply=new">上市新品</a></li>
<li><a href="servlet/MenuServlet?apply=sales">促销活动</a></li>
<li><a href="showError.jsp">组合优惠套装</a></li>
</ul>
</li>
<li><a href="servlet/ShowOrderServlet"><b>订单查询</b></a></li>
<li><a href="contact.jsp"><b>留言板>v<</b></a></li>
<li><a href="about.jsp"><b><font color="red">认识科颜氏</font></b></a></li>
<li><a href="faqs.jsp"><b>常见问题</b></a></li>
</ul>
<br style="clear: left" />
</div> <!-- end of ddsmoothmenu -->
<div id="templatemo_search">
<form action="servlet/FindGoodsServlet?op=find" method="post">
<input type="text" name="keyword" id="keyword" title="keyword" onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value=" " alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div>
</div> <!-- END of templatemo_menubar -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" title="网页模板">网页模板</a></div>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>产品筛选</h3>
<div class="content">
<div class="service-menu">
<input class="menu-code-index" type="hidden" value="c849" /><!--默认下值设置
data-service-index=c203的列表项展开与子列表标签导航高亮显示-->
<strong class="menu-p"><i class="menu-i"></i><a href="">面部护理</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=Inspiron">所有产品</a></li>
<li><a href="servlet/MenuServlet?types=Inspiron">洁面/磨砂膏</a></li>
<li><a href="servlet/MenuServlet?types=XPS">面膜</a></li>
<li><a href="servlet/MenuServlet?types=Alienware">明星爽肤水</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">身体护理</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?cpu=i3">所有产品</a></li>
<li><a href="servlet/MenuServlet?cpu=i5">身体保湿</a></li>
<li><a href="servlet/MenuServlet?cpu=i7">手足护理</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">头发护理</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?monito=14">所有产品</a></li>
<li><a href="servlet/MenuServlet?monito=15">洗发水</a></li>
<li><a href="servlet/MenuServlet?monito=17">护发素</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">防晒系列</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?system=Windows 7">所有产品</a></li>
<li><a href="servlet/MenuServlet?system=Windows 8">面部保湿防晒霜</a></li>
<li><a href="servlet/MenuServlet?system=Linux">其他防晒产品</a></li>
</ul>
</div> <strong class="menu-p"><i class="menu-i"></i><a href="">价格区间</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?sma=3000&big=5000">RMB3000~RMB5000</a></li>
<li><a href="servlet/MenuServlet?sma=5000&big=7000">RMB5000~RMB7000</a></li>
<li><a href="servlet/MenuServlet?sma=7000&big=9000">RMB7000~RMB9000</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>大热卖 </h3>
<div class="content">
<c:forEach items="${list3}" var="goods">
<div class="bs_box">
<a href="servlet/ShowServlet?op=add&gid=${goods.g_Id}"><img src="imgs/${goods.g_Spic }" width="75px" height="75px"/></a>
<h4 style="font-size: ">${goods.g_Name }</h4>
<p class="price">价格:${goods.g_Price }</p>
<p class="price">销量:${goods.o_Count}</p>
<div class="cleaner"></div>
</div>
</c:forEach>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>公告 </h3>
<div class="content">
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<c:forEach var="list" items="${list2}" varStatus="ss">
<tr><td width="180px" ><a>&nbsp;&nbsp;&nbsp;${list.b_Content}</a></td></tr>
<tr><td ><a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;${list.b_Posttime }</a></td></tr>
<tr><td>&nbsp;</td></tr>
</c:forEach>
</table>
</marquee>
</div>
</div>
</div>
<div id="content" class="float_r">
<div id="slider-wrapper">
<div id="slider" class="nivoSlider">
<img src="images/slider/02.PNG" alt="" />
<a href="#"><img src="images/slider/01.PNG" alt="" /></a>
<img src="images/slider/03.PNG" alt="" />
<img src="images/slider/04.PNG" alt="" title="#htmlcaption" />
</div>
</div>
<script type="text/javascript" src="js/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="js/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript">
$(window).load(function() {
$('#slider').nivoSlider();
});
</script>
<div id="content" class="float_r">
<h5><strong>注册</strong></h5>
<div class="">
<form name="registerpage" width="200" onsubmit = "return checkvalidate()"
method="post" action="servlet/QRegisterServlet?op=register" style="background-image:url(imgs/register.bmp)">
<table>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>
<td width="50" height="30" align="center">
<font id="" color="#000000"><b>用户名: </b></font>
</td>
<td width="100" >
<input name="u_name" id="u_name" type="text" maxlength="20" onblur="send()"/>
<span class="word_orange"><font id="" color="#FF0000">*</font></span>
<div id="infousername"></div>
</td>
</tr>
<tr>&nbsp;</tr>
<tr>
<td height="28" align="center">
<font id="" color="#000000"><b>密&nbsp;&nbsp;&nbsp;&nbsp;码 :</b></font>
</td>
<td height="28">
<input name="u_pwd" type="password" size="21" maxlength="21" id="password"/>
<span class="word_orange"><font id="" color="#000000">*[密码至少6位至多8位]</font></span>
</td>
</tr>
<tr>&nbsp;</tr>
<tr>
<td height="28" align="center" width="60">
<font id="" color="#000000"><b>确认密码 :</b></font>
</td>
<td height="28">
<input name="u_pwd1" type="password" size="21" maxlength="21" />
<span class="word_orange"><font id="" color="#000000">*</font></span>
</td>
</tr>
<tr>&nbsp;</tr>
<tr>
<td height="28" align="center">
<font id="" color="#000000"><b>手机:</b></font>
</td>
<td >
<input name="u_mobile" type="text" size="35" />
<span class="word_orange"><font id="" color="#000000">*</font></span>
</td>
</tr>
<tr>&nbsp;</tr>
<tr>
<td height="28" align="center">
<font id="" color="#000000"><b>固定电话:</b></font>
</td>
<td >
<input name="u_phone" type="text" size="50" />
</td>
</tr>
<tr>&nbsp;</tr>
<tr>
<td height="28" align="center">
<font id="" color="#000000"><b>邮箱地址:</b></font>
</td>
<td >
<input name="u_email" type="text" size="50" />
</td>
</tr>
<tr>&nbsp;</tr>
<tr>
<td height="28" align="center">
<font id="" color="#000000"><b>联系地址:</b></font>
</td>
<td >
<input name="u_address" type="text" size="45" />
<span class="word_orange"><font id="" color="#000000">*</font></span>
</td>
</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr><tr>&nbsp;</tr><tr>&nbsp;</tr><tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>
<td height="34">&nbsp;
</td>
<td >
<input name="reg" type="submit" value="注册" />
<input name="retwrite" type="reset" value="重置" />
<input name="back" type="button" value="登录"
onclick="window.location.href='login.jsp'" />
</td>
</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
<tr>&nbsp;</tr>
</table></form></div>
</div> </div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_main -->
<div id="templatemo_footer">
<p><a href="#">Home</a> | <a href="#">Products</a> | <a href="#">About</a> | <a href="#">FAQs</a> | <a href="#">Checkout</a> | <a href="#">Contact Us</a>
</p>
Copyright © 2072 <a href="#">ACE Team</a> | Collect from <a href="http://www.baidu.com" target="_parent">百度</a>
</div> <!-- END of templatemo_footer -->
</div> <!-- END of templatemo_wrapper -->
</div> <!-- END of templatemo_body_wrapper -->
</body>
</html>

@ -0,0 +1,2 @@
<%@page contentType="image/jpeg" %><%@page language="java" pageEncoding="utf-8"%><jsp:useBean id="image" scope="page" class="com.ace.shopping.beans.Qimage"/><%String str = image.getCertPic(0,0,response.getOutputStream());request.getSession().setAttribute("certCode",str);
%>

@ -0,0 +1,225 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ReviseGoodsShow.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>
<SCRIPT LANGUAGE="JavaScript">
var openerwin = window.opener
function validate_required(field,alerttxt)
{
with (field)
{
if (value==null||value=="")
{alert(alerttxt);return false}
else {return true}
}
}
function validate_form(thisform)
{
with (thisform)
{
if (validate_required(gname,"商品名称必须填写")==false)
{gname.focus();return false}
if (validate_required(gprice,"商品价格必须填写")==false)
{gprice.focus();return false}
if (validate_required(gnumber,"商品数量必须填写")==false)
{gnumber.focus();return false}
if (validate_required(gdiscount,"商品折扣必须填写")==false)
{gdiscount.focus();return false}
if (validate_required(gapply,"商品类型必须填写")==false)
{gdiscount.focus();return false}
if (validate_required(gcomm1,"商品描述必须填写")==false)
{gcpu.focus();return false}
if (validate_required(gcomm2,"商品描述必须填写")==false)
{gram.focus();return false}
if (validate_required(gcomm3,"商品描述必须填写")==false)
{gsata.focus();return false}
if (validate_required(gele,"商品成分必须填写")==false)
{gvideocard.focus();return false}
if (validate_required(gway,"商品使用必须填写")==false)
{gsystem.focus();return false}
if (validate_required(gcap,"商品容量必须填写")==false)
{gheft.focus();return false}
if (validate_required(gstart,"商品星级必须填写")==false)
{gbluetooth.focus();return false}
if (validate_required(f2,"图片必须填写")==false)
{gmonito.focus();return false}
if (validate_required(f3,"图片必须填写")==false)
{gmonito.focus();return false}
if (validate_required(f4,"图片必须填写")==false)
{gmonito.focus();return false}
}
</SCRIPT>
<center>
<form action="servlet/FixGoodsServlet" onsubmit="return validate_form(this)" method="post">
<table width="50%" border="1">
<tr>
<td>
商品编号:
</td>
<td>
<input type="text" name="gid" value="${rgd.gid}" readonly>
</td>
</tr>
<tr>
<td>
商品名称:
</td>
<td>
<input type="text" name="gname" value="${rgd.goods.gname}">
</td>
</tr>
<tr>
<td>
商品价格:
</td>
<td>
<input type="text" name="gprice" value="${rgd.goods.gprice }" />
</td>
</tr>
<tr>
<td>
商品数量:
</td>
<td>
<input type="text" name="gnumber" value="${rgd.goods.gnumber }" />
</td>
</tr>
<tr>
<td>
商品折扣:
</td>
<td>
<input type="text" name="gdiscount" value="${rgd.goods.gdiscount }" />
</td>
</tr>
<tr>
<td>
商品类型:
</td>
<td>
<input type="text" name="gapply" value="${rgd.goods.gapply }" />
</td>
</tr>
<tr>
<td>
展示图片(小):
</td>
<td>
<input type="text" name="gspic" value="${rgd.goods.gspic}" readonly/>
<a href="servlet/PictureUpload?op=g_Spic&gid=${rgd.gid}" target=openerwin>修改</a>
</td>
</tr>
<tr>
<td>
描述:
</td>
<td>
<input type="text" name="gcomm1" value="${rgd.gcomm1 }" />
<input type="text" name="gcomm2" value="${rgd.gcomm2 }" />
<input type="text" name="gcomm3" value="${rgd.gcomm3 }" />
</td>
<tr>
<td>
成分:
</td>
<td>
<input type="text" name="gele" value="${rgd.gele}" />
</td>
</tr>
<tr>
<td>
使用方式:
</td>
<td>
<input type="text" name="gway" value="${rgd.gway }" />
</td>
</tr>
<tr>
<td>
容量:
</td>
<td>
<input type="text" name="gcap" value="${rgd.gcap }" />
</td>
</tr>
<tr>
<td>
星级:
</td>
<td>
<input type="text" name="gstart" value="${rgd.gstart }" />
</td>
</tr>
<tr>
<tr>
<td>
展示图片1
</td>
<td>
<input type="text" name="gbpic2" value="${rgd.gbpic2 }" readonly/>
<a href="servlet/PictureUpload?op=g_Bpic2&gid=${rgd.gid}" target=openerwin>修改</a>
</td>
</tr>
<tr>
<td>
展示图片2
</td>
<td>
<input type="text" name="gbpic3" value="${rgd.gbpic3}" readonly/>
<a href="servlet/PictureUpload?op=g_Bpic3&gid=${rgd.gid}" target=openerwin>修改</a>
</td>
</tr>
<tr>
<td>
展示图片3
</td>
<td>
<input type="text" name="gbpic4" value="${rgd.gbpic4}" readonly/>
<a href="servlet/PictureUpload?op=g_Bpic4&gid=${rgd.gid}" target=openerwin>修改</a>
</td>
</tr>
</table>
<input type="submit" value="确认修改">
</form>
<form action="servlet/AdGoodsListServlet">
<input type="submit" value="返回">
</form>
</center>
</body>
</html>

@ -0,0 +1,272 @@
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="java.text.SimpleDateFormat"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ShopManagerMain.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">
-->
<script>
function changetime()
{
var d = new Date();
var y = d.getYear()+1900;
var m = d.getMonth()+1;
var dd = d.getDate();
var hh = d.getHours();
var mi = d.getMinutes();
var sec = d.getSeconds();
document.getElementById("time").innerHTML = "当前时间为"+y+"年"+m+"月"+dd+"日"
+hh+":"+mi+":"+sec;
//过了一段时间后调用函数
}
</script>
<script>
function guan()
{
if(this.confirm("是否关闭?"))
this.close();
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<script language="javascript" src="jquery.js"></script>
<style type="text/css">
<!--
* {
margin:0px;
padding:0px;
}
html, body{
height:100%;
overflow: hidden;
}
html>body{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}
body {
border:8px solid #ffffff;
background-color: #ffffff;min-width:230px;
}
#mainDiv {
width: 100%;
height: 100%;
padding:60px 0px 25px 0px;;
}
#centerDiv{
width: 100%;
height: 100%;
background-color:#00CCFF;
padding-left:158px;
}
#mainDiv>#centerDiv{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 56px;
left: 0px;
right: 0px;
bottom: 20px;
}
#left{
width:158px;
height:100%;
background:url(images/slide.jpg) repeat-y;
position:absolute;
left:0px;
}
#lhead{
background:url(images/left-head.jpg) left top no-repeat;
height:25px;
font-size:14px;
color:#FF9933;
text-align:center;
line-height:25px;
}
#right{
width:100%;
height:100%;
background:url(images/bg.gif);
position:absolute;
overflow-y:auto;
border:1px #003366 solid;
padding:20px 0 0 10px;
font-size:12px;
font-family:"宋体";
}
#centerDiv>#right{
width:auto;
height:auto;
position:absolute;
top:0px;
right:0px;
left:158px;
bottom:0px;
}
#topDiv{
width:100%;
height:56px;
background:url(images/head-bg.jpg) repeat-x;
position:absolute;
top:0px;
overflow:hidden;
}
#topDiv ul{
list-style:none;
font-size:12px;
width:100%;
margin:0;
padding:0;
}
#topDiv ul li{
float:left;
width:15%
}
#topDiv ul li a {
display:block;
width:100%;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#tmenu{
width:100%;
position:absolute;
left:12%;
bottom:0;
padding-left:15%;
margin-left:-15%;
}
#current{
background:#ccc;
height:25px;
line-height:25px;
margin:-20px 0 0 -10;
overflow:hidden;
}
#bottomDiv{
width:100%;
height:20px;
background:url(images/bottom.jpg) repeat-x;
position:absolute;
bottom:0px;
bottom:-1px; /*-- for IE6.0 --*/
}
#left ul{
list-style:none;
font-size:12px;
margin:50px 0 0 8px;
}
#left ul li a{
display:block;
width:140px;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#left ul li a:hover{
background:url(images/menu-bg.jpg) 0px 25px;
color:#99FFCC;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
}
#form{
width:80%;
height:99%;
margin:0 auto;
_margin-left:20%;
}
fieldset{
width:100%;
margin:20 auto;
line-height:35px;
padding-left:20PX;
}
-->
</style>
</head>
<body onload="javascript:setInterval(changetime,500)" >
<div id="mainDiv">
<div id="topDiv">
<div id="tmenu"><ul>
<li ><a href="servlet/ShowServlet">商城主页</a></li>
<li ><a href="javascript:window.history.go(1)">前进</a></li>
<li ><a href="javascript:window.history.go(-1)">后退</a></li>
<li ><a href="javascript:window.history.go(0)">刷新</a></li>
<li ><a href="servlet/ShopManagerServlet?op=help">帮助</a></li>
</ul></div></div>
<div id="centerDiv">
<div id="left">
<div id="lhead">管理菜单</div>
<ul>
<li ><a href="servlet/ShopManagerServlet?op=ShowQuser">查看用户</a></li>
<li ><a href="servlet/AdGoodsListServlet">商品管理</a></li>
<li ><a href="servlet/AdOrderListServlet">订单管理</a></li>
<li ><a href="servlet/T_boardServlet?op=five">公告管理</a></li>
<li ><a href="servlet/ContactServlet?op=find">留言管理</a></li>
<li ><a href="servlet/ShowServlet">关闭</a></li>
</ul>
</div>
<div id="right">
<div id="current">&nbsp;&nbsp;&nbsp;&nbsp;当前位置:</div>
<H1 align="center">欢迎来到GoShopping网上购物后台管理</H1><br>
<H2 id="time" align="center"></H2>
<img src="images/managerindex.jpg"/>
<div id="form">
</div>
</div></div>
<div id="bottomDiv"></div>
</div>
<script language="javascript">
$("#test1").toggle(function(){$("#test").slideDown()},function(){$("#test").slideUp()})
</script>
</body>
</html>
</html>

@ -0,0 +1,295 @@
<%@ page language="java" import="java.util.*,com.ace.shopping.beans.*" pageEncoding="GB18030"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ACE Shop</title>
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">
</script>
<script type="text/javascript">
ddsmoothmenu.init({
mainmenuid: "top_nav", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
</script>
<script>
function ltrim(s){
return s.replace( /^\s*/, "");
}
function rtrim(s){
return s.replace( /\s*$/, "");
}
function trim(s){
return rtrim(ltrim(s));
}
function check()
{
var v = document.getElementById("name").value;
if (v.length==0&&trim(v) =="")
return false;
return true;
}
</script>
<c:if test="${empty Quser.u_Name}">
<script type="text/javascript">
alert("请先登入!!");
window.location.href="login.jsp";
</script>
</c:if>
<c:if test="${empty cart}">
<script type="text/javascript">
alert("亲,您的购物车空空如也!请先购物!!");
window.history.back();
</script>
</c:if>
</head>
<body>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* service-menu */
.service-menu .menu-title,.service-menu .menu-p,.service-menu .menu-p .menu-i{background:url("images/menubg.png") no-repeat;}
.service-menu{border:solid 1px #d1d1d1;width:206px;margin:auto auto auto auto;}
.service-menu .menu-title{height:21px;overflow:hidden;padding:6px 8px;background-position:0 0;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:bold;}
.service-menu .menu-p{display:block;height:21px;overflow:hidden;padding:6px 0 6px 19px;border-top:solid 1px #e6e6e6;background-position:0 -50px;background-repeat:repeat-x;color:#444;font-size:14px;font-weight:normal;cursor:pointer;}
.service-menu .menu-p .menu-i{float:left;display:inline;width:11px;height:11px;overflow:hidden;background-position:0 -103px;margin:5px 6px 0 0;}
.service-menu .menu-p a:link,.service-menu .menu-p a:visited{color:#444;text-decoration:none;font-size:14px;}
.service-menu .menu-p a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-p-current .menu-i{background-position:-20px -103px;}
.service-menu .menu-p-current a:link,.service-menu .menu-p-current a:visited{color:#369;font-weight:bold;}
.service-menu .menu-p-current a:hover{color:#ff7300;}
.service-menu .menu-c{border-top:solid 1px #e6e6e6;display:none;padding:4px 0 4px 54px;}
.service-menu .menu-c-current{display:block;}
.service-menu .menu-c ul{display:block;}
.service-menu .menu-c li{padding:2px 0;height:18px;overflow:hidden;}
.service-menu .menu-c a:link,.service-menu .menu-c a:visited{color:#444;text-decoration:none;}
.service-menu .menu-c a:hover{color:#ff7300;text-decoration:none;}
.service-menu .menu-c .current:link,.service-menu .menu-c .current:visited{color:#369;font-weight:bold;}
.service-menu .menu-c .current:hover{color:#ff7300;}
</style>
<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title"><h1><a href="http://localhost:8888/aceshopping"></a></h1></div>
<div id="header_right">
<p>
<a href="ManagerLogin.jsp"><font color="red">店长登入</font></a> |<a><font color="black">${(empty Quser.u_Name)?'游客请登录':'欢迎'}${Quser.u_Name}</font></a>|<a href="login.jsp"><font color="red">登录我的账户</font></a> |<a href="servlet/ShowOrderServlet"><font color="red">订单查询</font></a>|<a href="Qregister.jsp"><font color="black">注册</font></a></p>
<p>
购物车: <strong>${(empty cart)?0:cart.count}件</strong>&nbsp;( <a href="ShoppingCart.jsp" ><font color="red"><b><img src="imgs/cart.PNG"/> 进入购物车</b></font></a> )
</p>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_header -->
<div id="templatemo_menubar">
<div id="top_nav" class="ddsmoothmenu">
<ul>
<li><a href="servlet/ShowServlet" class="selected">主页</a></li>
<li><a href="servlet/MenuServlet?op=findall">购买商品</a>
<ul>
<li><a href="servlet/MenuServlet?apply=new">上市新品</a></li>
<li><a href="servlet/MenuServlet?apply=sales">促销活动</a></li>
<li><a href="showError.jsp">组合优惠套装</a></li>
</ul>
</li>
<li><a href="servlet/ShowOrderServlet"><b>订单查询</b></a></li>
<li><a href="contact.jsp"><b>留言板>v<</b></a></li>
<li><a href="about.jsp"><b><font color="red">认识品牌</font></b></a></li>
<li><a href="faqs.jsp"><b>常见问题</b></a></li>
</ul>
<br style="clear: left" />
</div> <!-- end of ddsmoothmenu -->
<div id="templatemo_search">
<form action="servlet/FindGoodsServlet?op=find" method="post">
<input type="text" name="keyword" id="keyword" title="keyword" onfocus="clearText(this)" onblur="clearText(this)" class="txt_field" />
<input type="submit" name="Search" value=" " alt="Search" id="searchbutton" title="Search" class="sub_btn" />
</form>
</div>
</div> <!-- END of templatemo_menubar -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" title="网页模板">网页模板</a></div>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>产品筛选</h3>
<div class="content">
<div class="service-menu">
<input class="menu-code-index" type="hidden" value="c849" /><!--默认下值设置
data-service-index=c203的列表项展开与子列表标签导航高亮显示-->
<strong class="menu-p"><i class="menu-i"></i><a href="">面部护理</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=face">所有产品</a></li>
<li><a href="servlet/MenuServlet?types=faceclear">洁面/磨砂膏</a></li>
<li><a href="servlet/MenuServlet?types=facemo">面膜</a></li>
<li><a href="servlet/MenuServlet?types=facewater">明星爽肤水</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">身体护理</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=body">所有产品</a></li>
<li><a href="servlet/MenuServlet?types=bodywet">身体保湿</a></li>
<li><a href="servlet/MenuServlet?types=bodyhand">手足护理</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">头发护理</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=hair">所有产品</a></li>
<li><a href="servlet/MenuServlet?types=hairwater">洗发水</a></li>
<li><a href="servlet/MenuServlet?types=haircare">护发素</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">防晒系列</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?types=sun">所有产品</a></li>
<li><a href="servlet/MenuServlet?types=sunface">面部保湿防晒霜</a></li>
<li><a href="servlet/MenuServlet?types=sunother">其他防晒产品</a></li>
</ul>
</div>
<strong class="menu-p"><i class="menu-i"></i><a href="">价格区间</a></strong>
<div class="menu-c">
<ul>
<li><a href="servlet/MenuServlet?sma=100&big=250">RMB100~RMB250</a></li>
<li><a href="servlet/MenuServlet?sma=250&big=300">RMB250~RMB300</a></li>
<li><a href="servlet/MenuServlet?sma=300&big=400">RMB300~RMB400</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>大热卖 </h3>
<div class="content">
<c:forEach items="${list3}" var="goods">
<div class="bs_box">
<a href="servlet/ShowServlet?op=add&gid=${goods.g_Id}"><img src="imgs/${goods.g_Spic }" width="75px" height="75px"/></a>
<h4 style="font-size: ">${goods.g_Name }</h4>
<p class="price">价格:${goods.g_Price }</p>
<p class="price">销量:${goods.o_Count}</p>
<div class="cleaner"></div>
</div>
</c:forEach>
</div>
</div>
<div class="sidebar_box"><span class="bottom"></span>
<h3>公告 </h3>
<div class="content">
<marquee direction="up" onmouseover="this.stop()" onMouseOut="this.start()" behavior="scroll">
<table>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list2");
for(T_board e:list)
{
%>
<tr><td width="180px" ><a>&nbsp;&nbsp;&nbsp;<%=e.getB_Content() %></a></td></tr>
<tr><td ><a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;<%=e.getB_Posttime() %></a></td></tr>
<tr><td>&nbsp;</td></tr>
<%
}
%>
</table>
</marquee>
</div>
</div>
</div>
<div id="content" class="float_r">
<h1>商品购物车</h1>
<form action="servlet/CartServlet?op=update" method="post">
<table width="680px" cellspacing="0" cellpadding="5">
<tr bgcolor="#ddd">
<th width="220" align="left">商品图 </th>
<th width="180" align="left">商品名 </th>
<th width="100" align="center">数量 </th>
<th width="60" align="right">单价 </th>
<th width="60" align="right">价格小计</th>
<th width="90"> </th>
</tr>
<%List itemlist=((Cart)session.getAttribute("cart")).getItems();
for(int i=0;i<itemlist.size();i++){
CartItem cartitem=(CartItem)itemlist.get(i);
%>
<tr>
<td><img src="imgs/<%=cartitem.getPic() %>" width="100px" heigth="100px"/> </td>
<td><%=cartitem.getName() %></td>
<td align="center"><input type="text" name="qty_<%=cartitem.getId() %>" value="<%=cartitem.getQuantity() %>" style="width: 20px; text-align: right" /> </td>
<td align="right"><%=cartitem.getPrice() %> </td>
<td align="right"><%=cartitem.getTotalPrice() %> </td>
<td align="center"> <a href="servlet/CartServlet?op=delete&gid=<%=cartitem.getId() %>"><img src="images/remove_x.gif" /><br />删除商品</a> </td>
</tr>
<%} %>
<tr>
<td colspan="3" align="right" height="30px">如果你要修改购物车商品数量,请单击这<input type="submit" style="background:#dcf" value="修改数量"/>&nbsp;&nbsp;</td>
<td align="right" style="background:#ddd; font-weight:bold"> 总价 </td>
<td align="right" style="background:#ddd; font-weight:bold"><%=((Cart)session.getAttribute("cart")).getTotalPrice() %></td>
<td style="background:#ddd; font-weight:bold"> </td>
</tr>
</table></form>
<div style="float:right; width: 215px; margin-top: 20px;">
<p><a href="servlet/CheckOutServlet">生成订单</a></p>
<p><a href="servlet/ShowServlet">继续购物</a></p>
</div>
</div>
<div class="cleaner"></div>
</div> <!-- END of templatemo_main -->
<div id="templatemo_footer">
<p><a href="#">Home</a> | <a href="#">Products</a> | <a href="#">About</a> | <a href="#">FAQs</a> | <a href="#">Checkout</a> | <a href="#">Contact Us</a>
</p>
Copyright © 2072 <a href="#">Your Company Name</a> | Collect from <a href="http://www.cssmoban.com" target="_parent">网站模板</a>
</div> <!-- END of templatemo_footer -->
</div> <!-- END of templatemo_wrapper -->
</div> <!-- END of templatemo_body_wrapper -->
</body>
</html>

@ -0,0 +1,71 @@
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title></title>
<style type="text/css">
.style1
{
text-align: center;
}
</style>
<script type="text/javascript">
window.onload = function () {
setTimeout(changeTime, 1000);
}
function changeTime() {
var time = document.getElementById("timeout").innerHTML;
time = parseInt(time);
time--;
if (time > 0) {
document.getElementById("timeout").innerHTML = time;
setTimeout(changeTime, 1000);
} else if (time <= 0) {
window.location.href="servlet/ShowServlet";
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table width="490" height="325" border="0" align="center" cellpadding="0" cellspacing="0" background="images/showinfo.png">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td style="text-align: center">
恭喜你,下订单成功,我们将以最快的时间给你发货。
</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50" class="style1">&nbsp;</td>
<td style="text-align: center">
<span id="timeout" style="font-size:14px;color:Red; font-weight:bold">5</span>秒中以后自动返回首页
<a href="index.jsp">返回</a>
<td width="40">&nbsp;</td>
</tr>
</table></td>
</tr>
</table>
</div>
</form>
</body>
</html>

@ -0,0 +1,52 @@
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ShowOrder.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>
<center>
<table id="tblList" border="1">
<tr>
<td colspan="6"> <h2>查看订单<h2/> </td>
</tr>
<tr>
<th>订单编号</th>
<th>购买商品</th>
<th>价格</th>
<th>数量</th>
<th>收货地址</th>
<th>卖家留言</th>
</tr>
<c:forEach var="list" items="${lists}">
<tr>
<td>${list.o_Id}</td>
<td>${list.orderDetails.g_Name}</td>
<td>${list.orderDetails.g_Price}</td>
<td>${list.orderDetails.o_Count}</td>
<td>${list.o_Address}</td>
<td>${list.o_Msg}</td>
</tr>
</c:forEach>
</table>
</center>
</body>
</html>

@ -0,0 +1,71 @@
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title></title>
<style type="text/css">
.style1
{
text-align: center;
}
</style>
<script type="text/javascript">
window.onload = function () {
setTimeout(changeTime, 1000);
}
function changeTime() {
var time = document.getElementById("timeout").innerHTML;
time = parseInt(time);
time--;
if (time > 0) {
document.getElementById("timeout").innerHTML = time;
setTimeout(changeTime, 1000);
} else if (time <= 0) {
window.location = "servlet/ShowServlet";
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table width="490" height="325" border="0" align="center" cellpadding="0" cellspacing="0" background="images/showinfo.png">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td style="text-align: center">
恭喜你,注册成功,<br/>骚年,您现在可以去购物了。
</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50" class="style1">&nbsp;</td>
<td style="text-align: center">
<span id="timeout" style="font-size:14px;color:Red; font-weight:bold">5</span>秒中以后自动返回首页
<a href="index.jsp">返回</a>
<td width="40">&nbsp;</td>
</tr>
</table></td>
</tr>
</table>
</div>
</form>
</body>
</html>

@ -0,0 +1,277 @@
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.ace.shopping.beans.QUser"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ShopManagerMain.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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<script language="javascript" src="jquery.js"></script>
<script>
function guan()
{
if(this.confirm("是否关闭?"))
this.close();
}
</script>
<style type="text/css">
<!--
* {
margin:0px;
padding:0px;
}
html, body{
height:100%;
overflow: hidden;
}
html>body{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}
body {
border:8px solid #ffffff;
background-color: #ffffff;min-width:230px;
}
#mainDiv {
width: 100%;
height: 100%;
padding:60px 0px 25px 0px;;
}
#centerDiv{
width: 100%;
height: 100%;
background-color:#00CCFF;
padding-left:158px;
}
#mainDiv>#centerDiv{ /*-- for !IE6.0 --*/
width: auto;
height: auto;
position: absolute;
top: 56px;
left: 0px;
right: 0px;
bottom: 20px;
}
#left{
width:158px;
height:100%;
background:url(images/slide.jpg) repeat-y;
position:absolute;
left:0px;
}
#lhead{
background:url(images/left-head.jpg) left top no-repeat;
height:25px;
font-size:14px;
color:#FF9933;
text-align:center;
line-height:25px;
}
#right{
width:100%;
height:100%;
background:#ffffff;
position:absolute;
overflow-y:auto;
border:1px #003366 solid;
padding:20px 0 0 10px;
font-size:12px;
font-family:"宋体";
}
#centerDiv>#right{
width:auto;
height:auto;
position:absolute;
top:0px;
right:0px;
left:158px;
bottom:0px;
}
#topDiv{
width:100%;
height:56px;
background:url(images/head-bg.jpg) repeat-x;
position:absolute;
top:0px;
overflow:hidden;
}
#topDiv ul{
list-style:none;
font-size:12px;
width:100%;
margin:0;
padding:0;
}
#topDiv ul li{
float:left;
width:15%
}
#topDiv ul li a {
display:block;
width:100%;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#tmenu{
width:100%;
position:absolute;
left:12%;
bottom:0;
padding-left:15%;
margin-left:-15%;
}
#current{
background:#ccc;
height:25px;
line-height:25px;
margin:-20px 0 0 -10;
overflow:hidden;
}
#bottomDiv{
width:100%;
height:20px;
background:url(images/bottom.jpg) repeat-x;
position:absolute;
bottom:0px;
bottom:-1px; /*-- for IE6.0 --*/
}
#left ul{
list-style:none;
font-size:12px;
margin:50px 0 0 8px;
}
#left ul li a{
display:block;
width:140px;
height:25px;
line-height:25px;
background:url(images/menu-bg.jpg) repeat-x;
color:#FFFFFF;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
border:1px #06597D solid;
}
#left ul li a:hover{
background:url(images/menu-bg.jpg) 0px 25px;
color:#99FFCC;
direction:none;
text-align:center;
border-bottom:1px #000066 solid;
}
#form{
width:80%;
height:99%;
margin:0 auto;
_margin-left:20%;
}
fieldset{
width:100%;
margin:20 auto;
line-height:35px;
padding-left:20PX;
}
-->
</style>
</head>
<body>
<div id="mainDiv">
<div id="topDiv">
<div id="tmenu"><ul>
<li ><a href="ShopManagerMain.jsp">首页</a></li>
<li ><a href="javascript:window.history.go(1)">前进</a></li>
<li ><a href="javascript:window.history.go(-1)">后退</a></li>
<li ><a href="javascript:window.history.go(0)">刷新</a></li>
<li ><a href="servlet/ShopManagerServlet?op=help">帮助</a></li>
</ul></div></div>
<div id="centerDiv">
<div id="left">
<div id="lhead">管理菜单</div>
<ul>
<li ><a href="servlet/ShopManagerServlet?op=ShowQuser" class="selected">查看用户</a></li>
<li ><a href="servlet/T_boardServlet?op=five">公告管理</a></li>
<li ><a href="servlet/AdGoodsListServlet">商品管理</a></li>
<li ><a href="servlet/ContactServlet?op=find">留言管理</a></li>
<li ><a href="servlet/AdOrderListServlet">订单管理</a></li>
<li ><a href="servlet/ShowServlet">关闭</a></li>
</ul>
</div>
<div id="right">
<div id="current">&nbsp;&nbsp;&nbsp;&nbsp;当前位置:</div>
<div id="form">
<table border="1" align="center" bordercolor="0x030308" width="100%" style="font-size:200%" cellpadding="0" cellspacing="0"><tr>
<th>id</th>
<th>姓名</th>
<th>密码</th>
<th>地址</th>
<th>电话</th>
<th>手机</th>
<th>邮件</th>
</tr>
<%List<QUser> list=(List<QUser>)request.getSession().getAttribute("list");
for(QUser user:list){
%>
<tr align="center">
<td><%=user.getU_ID()%></td>
<td><%=user.getU_Name() %></td>
<td><%=user.getU_Pwd() %></td>
<td><%=user.getU_Address() %></td>
<td><%=user.getU_Mobile() %></td>
<td><%=user.getU_Phone() %></td>
<td><%=user.getU_Email() %></td>
</tr>
<%}%>
</table>
</div>
</div></div>
<div id="bottomDiv"></div>
</div>
<script language="javascript">
$("#test1").toggle(function(){$("#test").slideDown()},function(){$("#test").slideUp()})
</script>
</body>
</html>
</html>

@ -0,0 +1,66 @@
<%@ page language="java" import="com.ace.shopping.beans.*,java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'T_boardManage.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>公告管理</h1>
<h3>添加公告</h3>
<form action="servlet/T_boardServlet?op=add" method="post" >
<textarea name="textarea" rows="7" cols="60" ></textarea></br>
<input type="submit" name="add1" value="添加">
<a href="servlet/T_boardServlet?op=show" target="_blank">发布公告</a>
</form>
<h3>公告</h3>
<table border="1">
<tr>
<th> ID</th>
<th> 内容</th>
<th> 发布时间</th>
<th>操作</th>
</tr>
<%
List<T_board> list = (List<T_board>) request.getSession().getAttribute("list");
for(T_board e:list)
{
%>
<tr >
<td><%=e.getB_ID()%></td>
<td width="250px"><%=e.getB_Content() %></td>
<td><%=e.getB_Posttime() %></td>
<td>
&nbsp;<a href="servlet/T_boardServlet?op=delete&b_ID=<%=e.getB_ID() %>">删除</a> &nbsp;
<%-- <a href="servlet/T_boardServlet?op=update&b_ID=<%=e.getB_ID() %>">修改</a>--%>
</td>
</tr>
<%
}
%>
</table>
</body>
</html>

@ -0,0 +1,58 @@
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'TureShow.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>
<center>
<table width="50%">
<tr>
<td colspan="3" bgcolor="#46A3FF">
ÍÆ½éÉÌÆ·
</td>
</tr>
<tr>
<c:forEach items="${list}" var="gg">
<td>
<table>
<tr>
<td> ${gg.gname}</td>
</tr>
<tr>
<td><a href="servlet/ShowServlet?gid=${gg.gid}"><img src="${gg.gspic}"></a></td>
</tr>
<tr>
<td> ${gg.gprice}
<form action="servlet/CartServlet?op=add&gid=${gg.gid }" method="post">
<input type="submit" value="¼ÓÈ빺Îï³µ">
</form>
</tr>
</table>
</td>
</c:forEach>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,68 @@
10
dir
327
svn://192.168.1.128/projects/aceshopping/WebRoot/WEB-INF
svn://192.168.1.128/projects
2013-09-29T03:28:52.015625Z
322
fsk
f147ab79-210a-d444-bdc1-1ab8ede2a2e9
lib
dir
web.xml
file
328
2011-09-29T05:33:20.781250Z
36c8535efdcfbfdea36b5e8f7934179c
2013-09-29T05:43:33.890625Z
328
fsk
11287
classes
dir

@ -0,0 +1,260 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>CartServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.CartServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>CartServlet</servlet-name>
<url-pattern>/servlet/CartServlet</url-pattern>
</servlet-mapping>
<filter>
<filter-name>ShopManagerFilter</filter-name>
<filter-class>com.ace.shopping.controller.ShopManagerFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>ShopManagerFilter</filter-name>
<url-pattern>/ShopManagerMain.jsp</url-pattern>
</filter-mapping>
<filter>
<filter-name>CheckLoginFilter</filter-name>
<filter-class>com.ace.shopping.Filter.CheckLoginFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>CheckLoginFilter</filter-name>
<url-pattern>/Checkout.jsp</url-pattern>
</filter-mapping>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>ContactServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.ContactServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ContactServlet</servlet-name>
<url-pattern>/servlet/ContactServlet</url-pattern>
</servlet-mapping>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>T_boardServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.T_boardServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>T_boardServlet</servlet-name>
<url-pattern>/servlet/T_boardServlet</url-pattern>
</servlet-mapping>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>ShopManagerServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.ShopManagerServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ShopManagerServlet</servlet-name>
<url-pattern>/servlet/ShopManagerServlet</url-pattern>
</servlet-mapping>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>QLoginServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.QLoginServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>QLoginServlet</servlet-name>
<url-pattern>/servlet/QLoginServlet</url-pattern>
</servlet-mapping>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>QRegisterServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.QRegisterServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>QRegisterServlet</servlet-name>
<url-pattern>/servlet/QRegisterServlet</url-pattern>
</servlet-mapping>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>FindGoodsServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.FindGoodsServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>FindGoodsServlet</servlet-name>
<url-pattern>/servlet/FindGoodsServlet</url-pattern>
</servlet-mapping>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>ShowServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.ShowServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ShowServlet</servlet-name>
<url-pattern>/servlet/ShowServlet</url-pattern>
</servlet-mapping>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>CheckOutServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.CheckOutServlet</servlet-class>
</servlet>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>DoCheckoutServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.DoCheckoutServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>CheckOutServlet</servlet-name>
<url-pattern>/servlet/CheckOutServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DoCheckoutServlet</servlet-name>
<url-pattern>/servlet/DoCheckoutServlet</url-pattern>
</servlet-mapping>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>AdGoodsListServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.AdGoodsListServlet</servlet-class>
</servlet>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>ReviseGoodsServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.ReviseGoodsServlet</servlet-class>
</servlet>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>registerUserCheck</servlet-name>
<servlet-class>com.ace.shopping.controller.registerUserCheck</servlet-class>
</servlet>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>NewGoodsServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.NewGoodsFixServlet</servlet-class>
</servlet>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>DeleteGoodsServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.DeleteGoodsServlet</servlet-class>
</servlet>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>MenuServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.MenuServlet</servlet-class>
</servlet>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>ShowOrderServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.ShowOrderServlet</servlet-class>
</servlet>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>NewGoodsFixServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.NewGoodsFixServlet</servlet-class>
</servlet>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>AdOrderListServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.AdOrderListServlet</servlet-class>
</servlet>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>ChangeStatusServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.ChangeStatusServlet</servlet-class>
</servlet>
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>FixGoodsServlet</servlet-name>
<servlet-class>com.ace.shopping.controller.FixGoodsServlet</servlet-class>
</servlet> <servlet>
<description>This is the description of my J2EE component</description>
<display-name>This is the display name of my J2EE component</display-name>
<servlet-name>PictureUpload</servlet-name>
<servlet-class>com.ace.shopping.controller.PictureUpload</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AdGoodsListServlet</servlet-name>
<url-pattern>/servlet/AdGoodsListServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>registerUserCheck</servlet-name>
<url-pattern>/servlet/registerUserCheck</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ReviseGoodsServlet</servlet-name>
<url-pattern>/servlet/ReviseGoodsServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>NewGoodsServlet</servlet-name>
<url-pattern>/servlet/NewGoodsFixServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DeleteGoodsServlet</servlet-name>
<url-pattern>/servlet/DeleteGoodsServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>MenuServlet</servlet-name>
<url-pattern>/servlet/MenuServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ShowOrderServlet</servlet-name>
<url-pattern>/servlet/ShowOrderServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>NewGoodsFixServlet</servlet-name>
<url-pattern>/servlet/NewGoodsFixServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AdOrderListServlet</servlet-name>
<url-pattern>/servlet/AdOrderListServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ChangeStatusServlet</servlet-name>
<url-pattern>/servlet/ChangeStatusServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>FixGoodsServlet</servlet-name>
<url-pattern>/servlet/FixGoodsServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>PictureUpload</servlet-name>
<url-pattern>/servlet/PictureUpload</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>

@ -0,0 +1,31 @@
10
dir
327
svn://192.168.1.128/projects/aceshopping/src
svn://192.168.1.128/projects
2013-09-29T03:58:51.390625Z
323
hsp
f147ab79-210a-d444-bdc1-1ab8ede2a2e9
com
dir

@ -0,0 +1,31 @@
10
dir
327
svn://192.168.1.128/projects/aceshopping/src/com
svn://192.168.1.128/projects
2013-09-29T03:58:51.390625Z
323
hsp
f147ab79-210a-d444-bdc1-1ab8ede2a2e9
ace
dir

@ -0,0 +1,31 @@
10
dir
327
svn://192.168.1.128/projects/aceshopping/src/com/ace
svn://192.168.1.128/projects
2013-09-29T03:58:51.390625Z
323
hsp
f147ab79-210a-d444-bdc1-1ab8ede2a2e9
shopping
dir

@ -0,0 +1,55 @@
10
dir
327
svn://192.168.1.128/projects/aceshopping/src/com/ace/shopping
svn://192.168.1.128/projects
2013-09-29T03:58:51.390625Z
323
hsp
f147ab79-210a-d444-bdc1-1ab8ede2a2e9
busbean
dir
service
dir
utils
dir
controller
dir
dao
dir
Filter
dir
domain
dir
BusinessService
dir
exception
dir

@ -0,0 +1,62 @@
10
dir
327
svn://192.168.1.128/projects/aceshopping/src/com/ace/shopping/BusinessService
svn://192.168.1.128/projects
2013-09-29T02:43:59.281250Z
315
hsp
f147ab79-210a-d444-bdc1-1ab8ede2a2e9
OrderBusinessService.java
file
2011-09-29T02:50:21.890625Z
9fcecbabd38c20ddc44688a3288cfe5d
2013-09-29T02:43:59.281250Z
315
hsp
725

@ -0,0 +1,26 @@
package com.ace.shopping.BusinessService;
import com.ace.shopping.busbean.PageBean;
import com.ace.shopping.busbean.QueryInfo;
import com.ace.shopping.busbean.QueryResult;
import com.ace.shopping.dao.OrderDao;
public class OrderBusinessService {
public PageBean pageQuery(QueryInfo qurey,int id) {
OrderDao dao=new OrderDao();
//获取数据
QueryResult qr= dao.pageQuery(id,qurey.getStartindex(), qurey.getPagesize());
//根据dao查询结果生成页面显示需要pagebean
PageBean bean=new PageBean();
bean.setCurrentpage(qurey.getCurrentpage());
bean.setList(qr.getList());
bean.setPagesize(qurey.getPagesize());
bean.setTotalrecord(qr.getTotalrecord());
return bean;
}
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save