You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

278 lines
5.4 KiB

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