left.jsp 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  1. <%@ page language="java" pageEncoding="utf-8"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  3. <%
  4. String path = request.getContextPath();
  5. %>
  6. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  7. <html xmlns="http://wwntw.w3.org/1999/xhtml">
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  10. <title>管理页面</title>
  11. <script src="js/prototype.lite.js" type="text/javascript" >
  12. </script>
  13. <script src="js/moo.fx.js" type="text/javascript" >
  14. </script>
  15. <script src="js/moo.fx.pack.js" type="text/javascript" >
  16. </script>
  17. <style>
  18. body {
  19. font: 12px Arial, Helvetica, sans-serif;
  20. color: #000;
  21. background-color: #EEF2FB;
  22. margin: 0px;
  23. }
  24. #container {
  25. width: 182px;
  26. }
  27. H1 {
  28. font-size: 12px;
  29. margin: 0px;
  30. width: 182px;
  31. cursor: pointer;
  32. height: 30px;
  33. line-height: 20px;
  34. }
  35. H1 a {
  36. display: block;
  37. width: 182px;
  38. color: #000;
  39. height: 30px;
  40. text-decoration: none;
  41. moz-outline-style: none;
  42. background-image: url(images/menu_bgs.gif);
  43. background-repeat: no-repeat;
  44. line-height: 30px;
  45. text-align: center;
  46. margin: 0px;
  47. padding: 0px;
  48. }
  49. .content {
  50. width: 182px;
  51. height: 26px;
  52. }
  53. .MM ul {
  54. list-style-type: none;
  55. margin: 0px;
  56. padding: 0px;
  57. display: block;
  58. }
  59. .MM li {
  60. font-family: Arial, Helvetica, sans-serif;
  61. font-size: 12px;
  62. line-height: 26px;
  63. color: #333333;
  64. list-style-type: none;
  65. display: block;
  66. text-decoration: none;
  67. height: 26px;
  68. width: 182px;
  69. padding-left: 0px;
  70. }
  71. .MM {
  72. width: 182px;
  73. margin: 0px;
  74. padding: 0px;
  75. left: 0px;
  76. top: 0px;
  77. right: 0px;
  78. bottom: 0px;
  79. clip: rect(0px, 0px, 0px, 0px);
  80. }
  81. .MM a:link {
  82. font-family: Arial, Helvetica, sans-serif;
  83. font-size: 12px;
  84. line-height: 26px;
  85. color: #333333;
  86. background-image: url(images/menu_bg1.gif);
  87. background-repeat: no-repeat;
  88. height: 26px;
  89. width: 182px;
  90. display: block;
  91. text-align: center;
  92. margin: 0px;
  93. padding: 0px;
  94. overflow: hidden;
  95. text-decoration: none;
  96. }
  97. .MM a:visited {
  98. font-family: Arial, Helvetica, sans-serif;
  99. font-size: 12px;
  100. line-height: 26px;
  101. color: #333333;
  102. background-image: url(images/menu_bg1.gif);
  103. background-repeat: no-repeat;
  104. display: block;
  105. text-align: center;
  106. margin: 0px;
  107. padding: 0px;
  108. height: 26px;
  109. width: 182px;
  110. text-decoration: none;
  111. }
  112. .MM a:active {
  113. font-family: Arial, Helvetica, sans-serif;
  114. font-size: 12px;
  115. line-height: 26px;
  116. color: #333333;
  117. background-image: url(images/menu_bg1.gif);
  118. background-repeat: no-repeat;
  119. height: 26px;
  120. width: 182px;
  121. display: block;
  122. text-align: center;
  123. margin: 0px;
  124. padding: 0px;
  125. overflow: hidden;
  126. text-decoration: none;
  127. }
  128. .MM a:hover {
  129. font-family: Arial, Helvetica, sans-serif;
  130. font-size: 12px;
  131. line-height: 26px;
  132. font-weight: bold;
  133. color: #006600;
  134. background-image: url(images/menu_bg2.gif);
  135. background-repeat: no-repeat;
  136. text-align: center;
  137. display: block;
  138. margin: 0px;
  139. padding: 0px;
  140. height: 26px;
  141. width: 182px;
  142. text-decoration: none;
  143. }
  144. </style>
  145. </head>
  146. <body>
  147. <table width="100%" height="280" border="0" cellpadding="0"
  148. cellspacing="0" bgcolor="#EEF2FB">
  149. <tr>
  150. <td width="182" valign="top">
  151. <div id="container">
  152. <h1 class="type">
  153. <a href="javascript:void(0)">系统管理</a>
  154. </h1>
  155. <div class="content">
  156. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  157. <tr>
  158. <td>
  159. <img src="images/menu_topline.gif" width="182" height="5" />
  160. </td>
  161. </tr>
  162. </table>
  163. <ul class="MM">
  164. <c:if test="${sessionScope.admin.username=='admin'}">
  165. <li>
  166. <a href="<%=path %>/adminManage.action" target="main">管理员维护</a>
  167. </li>
  168. <li>
  169. <a href="<%=path %>/admin/index/adminAdd.jsp" target="main">管理员添加</a>
  170. </li>
  171. </c:if>
  172. <li>
  173. <a href='<%=path %>/admin/index/userinfo.jsp' target='main'>密码修改</a>
  174. </li>
  175. </ul>
  176. </div>
  177. <h1 class="type">
  178. <a href="javascript:void(0)">会员管理</a>
  179. </h1>
  180. <div class="content">
  181. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  182. <tr>
  183. <td>
  184. <img src="images/menu_topline.gif" width="182" height="5" />
  185. </td>
  186. </tr>
  187. </table>
  188. <ul class="MM">
  189. <li>
  190. <a href="<%=path %>/userMana.action?utype=1" target="main">会员管理</a>
  191. </li>
  192. </ul>
  193. </div>
  194. <h1 class="type">
  195. <a href="javascript:void(0)">商品管理</a>
  196. </h1>
  197. <div class="content">
  198. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  199. <tr>
  200. <td>
  201. <img src="images/menu_topline.gif" width="182" height="5" />
  202. </td>
  203. </tr>
  204. </table>
  205. <ul class="MM">
  206. <li>
  207. <a href="<%=path %>/catelogMana.action" target="main">商品类别管理</a>
  208. </li>
  209. <li>
  210. <a href="<%=path %>/goodsManaNoTejia.action" target="main">商品信息管理</a>
  211. </li>
  212. </ul>
  213. </div>
  214. <h1 class="type">
  215. <a href="javascript:void(0)">订单管理</a>
  216. </h1>
  217. <div class="content">
  218. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  219. <tr>
  220. <td>
  221. <img src="images/menu_topline.gif" width="182" height="5" />
  222. </td>
  223. </tr>
  224. </table>
  225. <ul class="MM">
  226. <li>
  227. <a href="<%=path %>/orderMana.action" target="main">订单管理</a>
  228. </li>
  229. </ul>
  230. </div>
  231. <h1 class="type">
  232. <a href="javascript:void(0)">财务统计</a>
  233. </h1>
  234. <div class="content">
  235. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  236. <tr>
  237. <td>
  238. <img src="images/menu_topline.gif" width="182" height="5" />
  239. </td>
  240. </tr>
  241. </table>
  242. <ul class="MM">
  243. <li>
  244. <a href="<%=path %>/report2.action" target="main">财务统计</a>
  245. </li>
  246. <li>
  247. <a href="<%=path %>/reportMonth.action" target="main">月收入统计</a>
  248. </li>
  249. </ul>
  250. </div>
  251. <h1 class="type">
  252. <a href="javascript:void(0)">店铺公告</a>
  253. </h1>
  254. <div class="content">
  255. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  256. <tr>
  257. <td>
  258. <img src="images/menu_topline.gif" width="182" height="5" />
  259. </td>
  260. </tr>
  261. </table>
  262. <ul class="MM">
  263. <li>
  264. <a href="<%=path %>/gonggaoMana.action" target="main">店铺公告</a>
  265. </li>
  266. </ul>
  267. </div>
  268. <h1 class="type">
  269. <a href="javascript:void(0)">投诉建议</a>
  270. </h1>
  271. <div class="content">
  272. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  273. <tr>
  274. <td>
  275. <img src="images/menu_topline.gif" width="182" height="5" />
  276. </td>
  277. </tr>
  278. </table>
  279. <ul class="MM">
  280. <li>
  281. <a href="<%=path %>/liuyanMana.action" target="main">投诉建议</a>
  282. </li>
  283. </ul>
  284. </div>
  285. <h1 class="type">
  286. <a href="javascript:void(0)">评论管理</a>
  287. </h1>
  288. <div class="content">
  289. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  290. <tr>
  291. <td>
  292. <img src="images/menu_topline.gif" width="182" height="5" />
  293. </td>
  294. </tr>
  295. </table>
  296. <ul class="MM">
  297. <li>
  298. <a href="<%=path %>/pinlunMana.action" target="main">评论管理</a>
  299. </li>
  300. </ul>
  301. </div>
  302. <h1 class="type">
  303. <a href="javascript:void(0)">退出系统</a>
  304. </h1>
  305. <div class="content">
  306. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  307. <tr>
  308. <td>
  309. <img src="images/menu_topline.gif" width="182" height="5" />
  310. </td>
  311. </tr>
  312. </table>
  313. <ul class="MM">
  314. <li>
  315. <a href='#' onclick='javascript:window.parent.location="<%=path %>/adminlogout.jsp"'>退出系统</a>
  316. </li>
  317. </ul>
  318. </div>
  319. </div>
  320. <script type="text/javascript">
  321. var contents = document.getElementsByClassName('content');
  322. var toggles = document.getElementsByClassName('type');
  323. var myAccordion = new fx.Accordion(toggles, contents, {
  324. opacity : true,
  325. duration : 400
  326. });
  327. myAccordion.showThisHideOpen(contents[0]);
  328. </script>
  329. </td>
  330. </tr>
  331. </table>
  332. </body>
  333. </html>