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 @@
|
||||
entries
|
@ -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">{
|
||||
"associatedIndex": 8
|
||||
}</component>
|
||||
<component name="ProjectId" id="2qnb8h7p83qqGAH8ydEGcSEjB6F" />
|
||||
<component name="ProjectViewState">
|
||||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent">{
|
||||
"keyToString": {
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"kotlin-language-version-configured": "true",
|
||||
"last_opened_file_path": "C:/Users/86183/Desktop/javajsp网络商城管理系统mysql/代码",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
"node.js.selected.package.eslint": "(autodetect)",
|
||||
"node.js.selected.package.tslint": "(autodetect)",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"settings.editor.selected.configurable": "vcs.Subversion",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
}
|
||||
}</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,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 @@
|
||||
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
|
@ -0,0 +1 @@
|
||||
Window
|
@ -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 @@
|
||||
Window
|
@ -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>
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -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> <%=e.getB_Content() %></a></td></tr>
|
||||
<tr><td ><a>
|
||||
<%=e.getB_Posttime() %></a></td></tr>
|
||||
<tr><td> </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> &
|
||||
<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"> </td>
|
||||
<td> </td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"> </td>
|
||||
<td style="text-align: center">
|
||||
图片上传${suc}
|
||||
</td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"> </td>
|
||||
<td> </td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50" class="style1"> </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"> </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,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> </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>密 码:</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> </TD>
|
||||
|
||||
<TD><INPUT type=image height=33 width=83
|
||||
|
||||
src="images/index_hz04.gif" border=0
|
||||
|
||||
name=imageField></TD>
|
||||
|
||||
<TD width=70> </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> </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>密 码:</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> </TD>
|
||||
|
||||
<TD><INPUT type=image height=33 width=83
|
||||
|
||||
src="images/index_hz04.gif" border=0
|
||||
|
||||
name=imageField></TD>
|
||||
|
||||
<TD width=70> </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,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> ${list.b_Content}</a></td></tr>
|
||||
<tr><td ><a>
|
||||
${list.b_Posttime }</a></td></tr>
|
||||
<tr><td> </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">
|
||||
密 码 :
|
||||
</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">
|
||||
|
||||
</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,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"> 当前位置:</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> <%=e.getB_Content() %></a></td></tr>
|
||||
<tr><td ><a>
|
||||
<%=e.getB_Posttime() %></a></td></tr>
|
||||
<tr><td> </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="修改数量"/> </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"> </td>
|
||||
<td> </td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"> </td>
|
||||
<td style="text-align: center">
|
||||
恭喜你,下订单成功,我们将以最快的时间给你发货。
|
||||
</td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"> </td>
|
||||
<td> </td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50" class="style1"> </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"> </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"> </td>
|
||||
<td> </td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"> </td>
|
||||
<td style="text-align: center">
|
||||
恭喜你,注册成功,<br/>骚年,您现在可以去购物了。
|
||||
</td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"> </td>
|
||||
<td> </td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50" class="style1"> </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"> </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"> 当前位置:</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>
|
||||
<a href="servlet/T_boardServlet?op=delete&b_ID=<%=e.getB_ID() %>">删除</a>
|
||||
<%-- <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,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"> <%=e.getB_Content() %></font></td></tr>
|
||||
<tr><td ><font color="red"> <%=e.getB_Posttime() %></font></td></tr>
|
||||
<tr><td> </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"> 当前位置:</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>
|
||||
<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>
|
||||
<a href="servlet/T_boardServlet?op=delete&b_ID=<%=e.getB_ID() %>">删除</a>
|
||||
<%-- <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,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"> 当前位置:</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>
|
||||
|
||||
</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> <%=e.getB_Content() %></a></td></tr>
|
||||
<tr><td ><a>
|
||||
<%=e.getB_Posttime() %></a></td></tr>
|
||||
<tr><td> </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&Site=咨询&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&Site=咨询&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&Site=咨询&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> <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="http://china.dell.com/cn/p/inspiron-13z-5323/pd_1";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="http://china.dell.com/cn/p/xps-12-l221x/pd_1";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="http://china.dell.com/cn/p/xps-13-l321x-mlk/pd_1";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> <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="http://china.dell.com/cn/p/inspiron-13z-5323/pd_2";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="http://china.dell.com/cn/p/xps-12-l221x/pd_2";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="http://china.dell.com/cn/p/inspiron-14-3437/pd_1";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="http://china.dell.com/cn/p/inspiron-14r-5437/pd_1";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="http://china.dell.com/cn/p/inspiron-14r-se-7420/pd_1";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="http://china.dell.com/cn/p/xps-13-l321x-mlk/pd_2";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> <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="http://china.dell.com/cn/p/inspiron-13z-5323/pd_3";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="http://china.dell.com/cn/p/xps-12-l221x/pd_3";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="http://china.dell.com/cn/p/inspiron-14r-5420/pd_1";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="http://china.dell.com/cn/p/inspiron-14z-5423/pd_1";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="http://china.dell.com/cn/p/inspiron-14r-se-7420/pd_2";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="http://china.dell.com/cn/p/inspiron-15-3537/pd_1";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="http://china.dell.com/cn/p/inspiron-15r-5521/pd_1";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="http://china.dell.com/cn/p/xps-15-l521x/pd_1";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="http://china.dell.com/cn/p/xps-13-l321x-mlk/pd_3";return this.s_oc?this.s_oc(e):true"></a></td></tr></tbody></table></div> </div>
|
||||
</div>
|
@ -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> <%=e.getB_Content() %></a></td></tr>
|
||||
<tr><td ><a>
|
||||
<%=e.getB_Posttime() %></a></td></tr>
|
||||
<tr><td> </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&Site=咨询&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&Site=咨询&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&Site=咨询&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>密 码:</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"> 当前位置:</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> <%=e.getB_Content() %></a></td></tr>
|
||||
<tr><td ><a>
|
||||
<%=e.getB_Posttime() %></a></td></tr>
|
||||
<tr><td> </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&Site=咨询&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&Site=咨询&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&Site=咨询&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> <%=e.getB_Content() %></a></td></tr>
|
||||
<tr><td ><a>
|
||||
<%=e.getB_Posttime() %></a></td></tr>
|
||||
<tr><td> </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}]页
|
||||
|
||||
<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,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"> </td>
|
||||
<td> </td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"> </td>
|
||||
<td style="text-align: center">
|
||||
对不起,你搜索的商品库存为空,我们会尽快上架。
|
||||
</td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"> </td>
|
||||
<td> </td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50" class="style1"> </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"> </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> <%=e.getB_Content() %></a></td></tr>
|
||||
<tr><td ><a>
|
||||
<%=e.getB_Posttime() %></a></td></tr>
|
||||
<tr><td> </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&Site=咨询&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&Site=咨询&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&Site=咨询&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,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> ( <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> <%=e.getB_Content() %></a></td></tr>
|
||||
<tr><td ><a>
|
||||
<%=e.getB_Posttime() %></a></td></tr>
|
||||
<tr><td> </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> &
|
||||
<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"> </td>
|
||||
<td> </td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"> </td>
|
||||
<td style="text-align: center">
|
||||
图片上传${suc}
|
||||
</td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"> </td>
|
||||
<td> </td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50" class="style1"> </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"> </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,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>密 码:</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> </TD>
|
||||
|
||||
<TD><INPUT type=image height=33 width=83
|
||||
|
||||
src="images/index_hz04.gif" border=0
|
||||
|
||||
name=imageField></TD>
|
||||
|
||||
<TD width=70> </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> </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>密 码:</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> </TD>
|
||||
|
||||
<TD><INPUT type=image height=33 width=83
|
||||
|
||||
src="images/index_hz04.gif" border=0
|
||||
|
||||
name=imageField></TD>
|
||||
|
||||
<TD width=70> </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,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,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,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"> 当前位置:</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> ( <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> <%=e.getB_Content() %></a></td></tr>
|
||||
<tr><td ><a>
|
||||
<%=e.getB_Posttime() %></a></td></tr>
|
||||
<tr><td> </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="修改数量"/> </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"> </td>
|
||||
<td> </td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"> </td>
|
||||
<td style="text-align: center">
|
||||
恭喜你,下订单成功,我们将以最快的时间给你发货。
|
||||
</td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"> </td>
|
||||
<td> </td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50" class="style1"> </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"> </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"> </td>
|
||||
<td> </td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"> </td>
|
||||
<td style="text-align: center">
|
||||
恭喜你,注册成功,<br/>骚年,您现在可以去购物了。
|
||||
</td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"> </td>
|
||||
<td> </td>
|
||||
<td width="40"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50" class="style1"> </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"> </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"> 当前位置:</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>
|
||||
<a href="servlet/T_boardServlet?op=delete&b_ID=<%=e.getB_ID() %>">删除</a>
|
||||
<%-- <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,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>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue