After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 45 KiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 45 KiB |
After Width: | Height: | Size: 45 KiB |
@ -0,0 +1,30 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||
<%
|
||||
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>
|
||||
|
||||
<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>
|
||||
<%
|
||||
response.sendRedirect(path+"/error.jsp");
|
||||
%>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,30 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||
<%
|
||||
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>
|
||||
|
||||
<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>
|
||||
<%
|
||||
response.sendRedirect(path+"/error.jsp");
|
||||
%>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,30 @@
|
||||
<%@ 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 'default.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>
|
||||
<%
|
||||
response.sendRedirect(path+"/error.jsp");
|
||||
%>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,30 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||
<%
|
||||
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>
|
||||
|
||||
<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>
|
||||
<%
|
||||
response.sendRedirect(basePath+"error.jsp");
|
||||
%>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,30 @@
|
||||
<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML><HEAD>
|
||||
<META http-equiv=Content-Language content=zh-cn>
|
||||
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
|
||||
href="<%=basePath %>member/images/Admin_Style.css" type=text/css rel=stylesheet>
|
||||
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
|
||||
<%
|
||||
String member=(String)session.getAttribute("member");
|
||||
String type=(String)session.getAttribute("type");
|
||||
if(member==null||type==null){
|
||||
response.sendRedirect(path+"/error.jsp");
|
||||
}
|
||||
else{
|
||||
%>
|
||||
<BODY oncontextmenu="return false;" onselectstart="return false;" leftMargin=0 background=<%=basePath %>member/images/MainBg.gif topMargin=0 scroll=no marginheight="0" marginwidth="0">
|
||||
<TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=1 width="100%"
|
||||
bgColor=#ecf3fb border=0>
|
||||
<TBODY>
|
||||
<TR>
|
||||
|
||||
<TD class=sortbutton noWrap align=right width="32%"></TD></TR></TBODY></TABLE>
|
||||
</BODY>
|
||||
<%} %>
|
||||
</HTML>
|
@ -0,0 +1,30 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||
<%
|
||||
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>
|
||||
|
||||
<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>
|
||||
<%
|
||||
response.sendRedirect(basePath+"error.jsp");
|
||||
%>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,139 @@
|
||||
<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>会员管理中心</TITLE>
|
||||
<META http-equiv=Content-Language content=zh-cn>
|
||||
<META http-equiv=Content-Type content="text/html; charset=gb2312">
|
||||
<LINK href="<%=basePath %>member/images/Admin_Style.css" rel=stylesheet>
|
||||
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
|
||||
<SCRIPT language="JavaScript" type="text/JavaScript">
|
||||
<!--
|
||||
var array = new Array();//数字顺延
|
||||
array[0]=1;array[1]=2;array[2]=3;
|
||||
|
||||
function expand(id_value){
|
||||
var tmp;
|
||||
eval("tmp=document.getElementById('id_"+id_value+"').style.display");
|
||||
if(tmp==''){
|
||||
eval("document.getElementById('id_"+id_value+"').style.display='none'");
|
||||
}else{
|
||||
for(i=0;i<array.length;i++){
|
||||
eval("document.getElementById('id_"+array[i]+"').style.display='none'");
|
||||
}
|
||||
eval("document.getElementById('id_"+id_value+"').style.display=''");
|
||||
}
|
||||
}
|
||||
|
||||
//-->
|
||||
</SCRIPT>
|
||||
|
||||
<%
|
||||
String member=(String)session.getAttribute("member");
|
||||
String type=(String)session.getAttribute("type");
|
||||
if(member==null||type==null){
|
||||
response.sendRedirect(path+"/error.jsp");
|
||||
}
|
||||
else{
|
||||
String url="info.jsp";
|
||||
if(type.trim().equals("co"))url="coinfo.jsp";
|
||||
%>
|
||||
<BODY oncontextmenu="return false;" onselectstart="return false;" leftMargin=0 background=<%=basePath %>member/images/MainBg.gif topMargin=0 scroll=no marginheight="0" marginwidth="0">
|
||||
<TABLE bgColor=#eef8fe class=HeaderTdStyle height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
|
||||
<TBODY>
|
||||
<TR>
|
||||
<TD vAlign=top align=middle>
|
||||
<TABLE height=24 cellSpacing=0 cellPadding=0 width="100%" border=0>
|
||||
<TBODY>
|
||||
<TR>
|
||||
<TD align=middle ><IMG height=17 src="<%=basePath %>member/images/sys.gif" width=21>
|
||||
<a href="<%=basePath %>member/iframe/main.jsp" target="MainFrame">管理首页</a></TD></TR></TBODY></TABLE>
|
||||
<TABLE bgColor=#eef8fe height="100%" cellSpacing=0 cellPadding=0 width="100%"
|
||||
border=0>
|
||||
<TBODY>
|
||||
<TR>
|
||||
<TD vAlign=top height="100%">
|
||||
<DIV style="OVERFLOW: auto; WIDTH: 100%; HEIGHT: 96%" align=center>
|
||||
<TABLE bgColor=#eef8fe cellSpacing=0 cellPadding=0 width="90%" align=center border=0>
|
||||
<TBODY>
|
||||
<TR ParentID="SystemLastArticle" AllParentID="SystemLastArticle">
|
||||
<TD noWrap width="35%">
|
||||
<TABLE width="100%" border="0" align="center"style="cursor:hand" onclick=javascript:expand(1)>
|
||||
<TR>
|
||||
<TD height="31" background="<%=basePath %>member/images/linkbg1.gif"> </td>
|
||||
<TD background="<%=basePath %>member/images/linkbg1.gif" > <a href="<%=basePath %>" target="_blank">返回网站首页</a></TD></TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR ParentID="SystemLastArticle" AllParentID="SystemLastArticle">
|
||||
<TD noWrap width="35%">
|
||||
<TABLE width="100%" border="0" align="center"style="cursor:hand" onclick=javascript:expand(1)>
|
||||
<TR>
|
||||
<TD height="31" background="<%=basePath %>member/images/linkbg1.gif"> </td>
|
||||
<TD background="<%=basePath %>member/images/linkbg1.gif" > <a href="<%=basePath %>member/info/editpwd.jsp" target="MainFrame">修改登陆密码</a></TD></TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR ParentID="SystemLastArticle" AllParentID="SystemLastArticle">
|
||||
<TD noWrap width="35%">
|
||||
<TABLE width="100%" border="0" align="center"style="cursor:hand" onclick=javascript:expand(1)>
|
||||
<TR>
|
||||
<TD height="31" background="<%=basePath %>member/images/linkbg1.gif"> </td>
|
||||
<TD background="<%=basePath %>member/images/linkbg1.gif" ><a href="<%=basePath %>member/info/<%=url %>" target="MainFrame">修改详细资料</a></TD></TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR ParentID="SystemLastArticle" AllParentID="SystemLastArticle">
|
||||
<TD noWrap width="35%">
|
||||
<TABLE width="100%" border="0" align="center"style="cursor:hand" onclick=javascript:expand(2)>
|
||||
<TR>
|
||||
<TD height="31" background="<%=basePath %>member/images/linkbg1.gif"> </td>
|
||||
<TD background="<%=basePath %>member/images/linkbg1.gif" ><a href="<%=basePath %>member/prep/index.jsp" target="MainFrame">我的购物车</a></TD></TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR ParentID="SystemLastArticle" AllParentID="SystemLastArticle">
|
||||
<TD noWrap width="35%">
|
||||
<TABLE width="100%" border="0" align="center"style="cursor:hand" onclick=javascript:expand(2)>
|
||||
<TR>
|
||||
<TD height="31" background="<%=basePath %>member/images/linkbg1.gif"> </td>
|
||||
<TD background="<%=basePath %>member/images/linkbg1.gif" ><a href="<%=basePath %>member/prep/tj.jsp" target="MainFrame">已提交订单</a></TD></TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR ParentID="SystemLastArticle" AllParentID="SystemLastArticle">
|
||||
<TD noWrap width="35%">
|
||||
<TABLE width="100%" border="0" align="center"style="cursor:hand" onclick=javascript:expand(2)>
|
||||
<TR>
|
||||
<TD height="31" background="<%=basePath %>member/images/linkbg1.gif"> </td>
|
||||
<TD background="<%=basePath %>member/images/linkbg1.gif" ><a href="<%=basePath %>member/prep/fh.jsp" target="MainFrame">已发货订单</a></TD></TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR ParentID="SystemLastArticle" AllParentID="SystemLastArticle">
|
||||
<TD noWrap width="35%">
|
||||
<TABLE width="100%" border="0" align="center"style="cursor:hand" onclick=javascript:expand(3)>
|
||||
<TR>
|
||||
<TD height="31" background="<%=basePath %>member/images/linkbg1.gif"> </td>
|
||||
<TD background="<%=basePath %>member/images/linkbg1.gif" ><a href="<%=path%>/Login.do?method=memberexit" target="_top">退出登陆状态</a></TD></TR>
|
||||
</TABLE>
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</BODY>
|
||||
<%} %>
|
||||
</HTML>
|
@ -0,0 +1,46 @@
|
||||
<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
|
||||
<jsp:useBean id="tb" scope="page" class="com.bean.HzpBean" />
|
||||
<jsp:useBean id="sysb" scope="page" class="com.bean.SystemBean" />
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML><HEAD><TITLE>会员管理中心</TITLE>
|
||||
<META http-equiv=Content-Type content="text/html; charset=gb2312">
|
||||
<LINK href="<%=basePath %>member/images/Admin_Style.css" type=text/css rel=stylesheet>
|
||||
<LINK href="<%=basePath %>member/images/style.css" type=text/css rel=stylesheet>
|
||||
<SCRIPT language=JavaScript src="<%=basePath %>member/images/Common.js"></SCRIPT>
|
||||
<STYLE type=text/css>BODY {
|
||||
MARGIN-LEFT: 0px; BACKGROUND-COLOR: #ffffff
|
||||
}
|
||||
</STYLE>
|
||||
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
|
||||
<%
|
||||
String message = (String)request.getAttribute("message");
|
||||
if(message == null){
|
||||
message = "";
|
||||
}
|
||||
if (!message.trim().equals("")){
|
||||
out.println("<script language='javascript'>");
|
||||
out.println("alert('"+message+"');");
|
||||
out.println("</script>");
|
||||
}
|
||||
request.removeAttribute("message");
|
||||
%>
|
||||
<%
|
||||
String member=(String)session.getAttribute("member");
|
||||
String type=(String)session.getAttribute("type");
|
||||
if(member==null||type==null){
|
||||
response.sendRedirect(path+"/error.jsp");
|
||||
}
|
||||
else{
|
||||
|
||||
%>
|
||||
|
||||
<BODY oncontextmenu="return false;" onselectstart="return false;" leftMargin=0 background=<%=basePath %>member/images/MainBg.gif topMargin=0 scroll=no marginheight="0" marginwidth="0">
|
||||
<br><br><br><br><br><p align=center><font color=red><strong>
|
||||
欢迎您,尊敬的会员:<%=member %> </strong></font>
|
||||
</BODY>
|
||||
<%} %>
|
||||
</HTML>
|
@ -0,0 +1,141 @@
|
||||
A {
|
||||
TEXT-DECORATION: none
|
||||
}
|
||||
A:link {
|
||||
COLOR: #000000
|
||||
}
|
||||
A:visited {
|
||||
COLOR: #000000
|
||||
}
|
||||
A:hover {
|
||||
COLOR: #ff0000; TEXT-DECORATION: underline
|
||||
}
|
||||
A:active {
|
||||
COLOR: #ff0000
|
||||
}
|
||||
TD {
|
||||
FONT-SIZE: 11px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
|
||||
}
|
||||
BODY {
|
||||
SCROLLBAR-FACE-COLOR: #ecf3fb; FONT-SIZE: 9pt; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #cccccc; COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: buttonface; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #eaf0f5; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; SCROLLBAR-DARKSHADOW-COLOR: #ffffff; TEXT-DECORATION: none
|
||||
}
|
||||
.HeaderSelect {
|
||||
BORDER-RIGHT: #336699 1px inset; BORDER-TOP: #336699 1px inset; BACKGROUND: url(../Images/TopButton/SelectedBg.gif); BORDER-LEFT: #336699 1px inset; CURSOR: default; COLOR: #ffff00; BORDER-BOTTOM: #336699 1px inset
|
||||
}
|
||||
.HeaderStyle {
|
||||
BORDER-RIGHT: buttonshadow 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: buttonhighlight 1px solid; PADDING-LEFT: 5px; FONT-SIZE: 12px; BACKGROUND: url(../Images/TopButton/bg.gif); BORDER-LEFT: buttonhighlight 1px solid; COLOR: #000000; BORDER-BOTTOM: buttonshadow 1px solid; FONT-STYLE: normal; FONT-FAMILY: "ËÎÌå"
|
||||
}
|
||||
.TdOver {
|
||||
BORDER-RIGHT: #999999 1px solid; BORDER-TOP: #ffffff 1px solid; BORDER-LEFT: #ffffff 1px solid; CURSOR: default; BORDER-BOTTOM: #999999 1px solid
|
||||
}
|
||||
.TdDown {
|
||||
BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #999999 1px solid; BORDER-LEFT: #999999 1px solid; CURSOR: default; COLOR: red; BORDER-BOTTOM: #ffffff 1px solid
|
||||
}
|
||||
.TdOut {
|
||||
BORDER-RIGHT: #336699 1px inset; BORDER-TOP: #336699 1px inset; BORDER-LEFT: #336699 1px inset; CURSOR: default; BORDER-BOTTOM: #336699 1px inset
|
||||
}
|
||||
.MenuBg {
|
||||
BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #666666 1px solid; BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #ffffff 1px solid; BACKGROUND-COLOR: #ffffff
|
||||
}
|
||||
.LeftMouseOver {
|
||||
TEXT-DECORATION: underline
|
||||
}
|
||||
.LeftMouseOut {
|
||||
TEXT-DECORATION: none
|
||||
}
|
||||
.HighlightItem {
|
||||
PADDING-LEFT: 10px; FONT-SIZE: 9pt; WIDTH: 100%; CURSOR: default; COLOR: white; LINE-HEIGHT: 25px; BACKGROUND-COLOR: highlight
|
||||
}
|
||||
.sort {
|
||||
BORDER-RIGHT: buttonshadow 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: buttonhighlight 1px solid; PADDING-LEFT: 5px; BACKGROUND: #e0eefd; BORDER-LEFT: buttonhighlight 1px solid; BORDER-BOTTOM: buttonshadow 1px solid
|
||||
}
|
||||
.sortbutton {
|
||||
BORDER-RIGHT: buttonshadow 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: buttonhighlight 1px solid; PADDING-LEFT: 1px; BACKGROUND: #e0eefd; BORDER-LEFT: buttonhighlight 1px solid; BORDER-BOTTOM: buttonshadow 1px solid
|
||||
}
|
||||
.topdashed {
|
||||
BACKGROUND: #e0eefd; BORDER-BOTTOM: #000000 1px dashed
|
||||
}
|
||||
.buttonstyle {
|
||||
BORDER-RIGHT: buttonshadow 0px solid; PADDING-RIGHT: 5px; BORDER-TOP: buttonhighlight 0px solid; PADDING-LEFT: 5px; FONT-SIZE: 9pt; BACKGROUND: url(../Images/Button.gif); BORDER-LEFT: buttonhighlight 0px solid; WIDTH: 60px; BORDER-BOTTOM: buttonshadow 0px solid; HEIGHT: 24px
|
||||
}
|
||||
.button {
|
||||
BORDER-RIGHT: #a7a7a7 1px solid; PADDING-RIGHT: 1px; BORDER-TOP: #a7a7a7 1px solid; PADDING-LEFT: 12px; FONT-SIZE: 9pt; BACKGROUND: url(../Images/bg_Button.gif); PADDING-BOTTOM: 1px; BORDER-LEFT: #a7a7a7 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #a7a7a7 1px solid; HEIGHT: 20px
|
||||
}
|
||||
.upfile {
|
||||
BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid
|
||||
}
|
||||
.Default {
|
||||
BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT-SIZE: 12px; BORDER-LEFT: black 1px solid; CURSOR: default; BORDER-BOTTOM: black 1px solid; FONT-FAMILY: Verdana, Geneva, Arial, Helvetica, sans-serif
|
||||
}
|
||||
.Selected {
|
||||
BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FONT-SIZE: 12px; BACKGROUND: url(../Images/PageButton.gif); BORDER-BOTTOM-COLOR: black; BORDER-LEFT: black 1px solid; CURSOR: default; FONT-FAMILY: Verdana, Geneva, Arial, Helvetica, sans-serif
|
||||
}
|
||||
.ToolBarButtonLine {
|
||||
BORDER-LEFT-COLOR: black; BORDER-TOP-COLOR: black; BORDER-BOTTOM: black 1px solid; FONT-FAMILY: Verdana, Geneva, Arial, Helvetica, sans-serif; BORDER-RIGHT-COLOR: black
|
||||
}
|
||||
.FolderItem {
|
||||
CURSOR: default
|
||||
}
|
||||
.FolderSelectItem {
|
||||
CURSOR: default; COLOR: white; BACKGROUND-COLOR: highlight
|
||||
}
|
||||
.hr {
|
||||
BORDER-TOP: #000000 1px solid; BORDER-BOTTOM: #ffffff 1px solid
|
||||
}
|
||||
.textbox {
|
||||
BORDER-RIGHT: #666 1px solid; BORDER-TOP: #666 1px solid; FONT-SIZE: 12px; BACKGROUND: #ffffff; BORDER-LEFT: #666 1px solid; COLOR: #000; BORDER-BOTTOM: #666 1px solid
|
||||
}
|
||||
.FolderSelected {
|
||||
FILTER: Alpha(Opacity=50)
|
||||
}
|
||||
TD.TableRow1 {
|
||||
PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-TOP: 5px; BACKGROUND-COLOR: #eeeee6
|
||||
}
|
||||
.HeaderTDStyle {
|
||||
BORDER-RIGHT: buttonshadow 0px solid; PADDING-RIGHT: 6px; BORDER-TOP: buttonhighlight 0px solid; PADDING-LEFT: 6px; BACKGROUND: #73a2d6; BORDER-LEFT: buttonhighlight 0px solid; BORDER-BOTTOM: buttonshadow 0px solid
|
||||
}
|
||||
.HeaderFontStyle {
|
||||
FONT-SIZE: 12px; COLOR: #ffffff; FONT-STYLE: normal; FONT-FAMILY: "ËÎÌå"
|
||||
}
|
||||
.body {
|
||||
FONT-WEIGHT: normal; FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none
|
||||
}
|
||||
TD.forumHeaderBackgroundAlternate {
|
||||
COLOR: #ffffff; BACKGROUND-COLOR: #9395c0
|
||||
}
|
||||
A.TableTitleLink {
|
||||
COLOR: #ffffff; TEXT-DECORATION: none
|
||||
}
|
||||
A.TableTitleLink:hover {
|
||||
COLOR: #ffffff; TEXT-DECORATION: underline
|
||||
}
|
||||
TD.Border1 {
|
||||
BACKGROUND-COLOR: #f3f3fa
|
||||
}
|
||||
TD.forumRow {
|
||||
BACKGROUND-COLOR: #f3f3fa
|
||||
}
|
||||
TD.forumRowHighlight {
|
||||
BACKGROUND-COLOR: #eaeaf3
|
||||
}
|
||||
.tableBorder {
|
||||
BORDER-RIGHT: #b1b4d1 1px solid; BORDER-TOP: #b1b4d1 1px solid; FONT-WEIGHT: normal; FONT-SIZE: 12px; BORDER-LEFT: #b1b4d1 1px solid; LINE-HEIGHT: normal; BORDER-BOTTOM: #b1b4d1 1px solid; FONT-STYLE: normal; BACKGROUND-COLOR: #ffffff; FONT-VARIANT: normal
|
||||
}
|
||||
TD.TableBody1 {
|
||||
BACKGROUND-COLOR: #f3f3fa
|
||||
}
|
||||
.tableBorder1 {
|
||||
BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid; BACKGROUND-COLOR: #f3f3fa
|
||||
}
|
||||
.Title {
|
||||
FONT-WEIGHT: normal; BACKGROUND: #009ae8; COLOR: #ffffff
|
||||
}
|
||||
.tdbg {
|
||||
BACKGROUND: #eef8fe
|
||||
}
|
||||
.tdbgmouseover {
|
||||
BACKGROUND: #ffffff
|
||||
}
|
||||
.border {
|
||||
BORDER-RIGHT: #449ae8 1px solid; BORDER-TOP: #449ae8 1px solid; BACKGROUND: #ffffff; BORDER-LEFT: #449ae8 1px solid; BORDER-BOTTOM: #449ae8 1px solid
|
||||
}
|
After Width: | Height: | Size: 168 B |
After Width: | Height: | Size: 25 KiB |
@ -0,0 +1,502 @@
|
||||
//Search For Kesion CMS
|
||||
//Version 3.0
|
||||
//Powered By Kesion.Com
|
||||
var normal='slategray'; //color;
|
||||
var zindex=10000; //z-index;
|
||||
var openTF=false;
|
||||
var width=165,height=window.document.body.offsetHeight-5;
|
||||
var left=0,top=0,title='搜索小助理';
|
||||
var SearchBodyStr=''
|
||||
+'<table width="100%" border="0" cellspacing="0" cellpadding="0">'
|
||||
+'<form name="searchform" target="MainFrame" method="post">'
|
||||
+'<tr> '
|
||||
+'<td height="25"><strong>按下面任意或全部条件进行搜索</strong></td>'
|
||||
+' </tr>'
|
||||
+'<tr><td height="25">全部或部分关键字</td></tr>'
|
||||
+'<tr><td height="25"><input style="width:95%" type="text" name="KeyWord"></td></tr>'
|
||||
+' <tr><td height="25">搜索范围</td></tr>'
|
||||
+' <tr><td height="25"> <select style="width:95%" name="SearchArea" onchange="SetSearchTypeOption(this.value)">'
|
||||
+' </select></td></tr>'
|
||||
+'<tr><td height="25">搜索类型</td></tr>'
|
||||
+'<tr><td height="25"><select style="width:95%" name="SearchType">'
|
||||
+'</select></td></tr>'
|
||||
+' <tr id="DateArea" onclick="setstatus(this)" style="cursor:hand"><td height="25"><strong>什么时候修改的?</strong></td></tr>'
|
||||
+' <tr style="display:none"><td height="25">开始日期<input type="text" readonly style="width:80%" name="StartDate" id="StartDate">'
|
||||
+' <span style="cursor:hand" onClick=OpenThenSetValue("Include/DateDialog.asp",160,170,window,document.all.StartDate);document.all.StartDate.focus();><img src="Images/date.gif" width="20" height="20" border="0" align="absmiddle" title="选择日期"></span></td></tr>'
|
||||
+' <tr style="display:none"><td height="25">结束日期<input type="text" readonly style="width:80%" name="EndDate" id="EndDate">'
|
||||
+' <span style="cursor:hand" onClick=OpenThenSetValue("Include/DateDialog.asp",160,170,window,document.all.EndDate);document.all.EndDate.focus();><img src="Images/date.gif" width="20" height="20" border="0" align="absmiddle" title="选择日期"></span></td></tr>'
|
||||
+' <tr><td height="40" align="center"><input type="submit" name="SearchButton" value="开始搜索" onclick="return(SearchFormSubmit())"></td></tr>'
|
||||
+'</form>'
|
||||
+' <tr><td><strong>使用说明:</strong></td></tr>'
|
||||
+' <tr><td> ① 您可以利用本搜索助理来搜索文章、图片、下载Flash、专题、标签、JS等,但不能搜索(目录)诸如频道名称、栏目名称,标签目录等</td></tr>'
|
||||
+' <tr><td> ② 按 <font color=red>Ctrl+F</font> 可以快速进行打开或关闭搜索小助理</td></tr>'
|
||||
+'</table>'
|
||||
var str=""
|
||||
+"<div id='SearchBox' "
|
||||
+ "style='display:none;"
|
||||
+ "z-index:" + zindex + ";"
|
||||
+ "width:" + width + ";"
|
||||
+ "height:" + height + ";"
|
||||
+ "left:" + left + ";"
|
||||
+ "top:" + top + ";"
|
||||
+ "background-color:" + normal + ";"
|
||||
+ "color:black;"
|
||||
+ "font-size:12px;"
|
||||
+ "font-family:Verdana, Arial, Helvetica, sans-serif;"
|
||||
+ "position:absolute;"
|
||||
+ "cursor:default;"
|
||||
+ "border:3px solid " + normal + ";"
|
||||
+ "'"
|
||||
+ ">"
|
||||
+ "<div "
|
||||
+ "style='"
|
||||
+ "background-color:" + normal + ";"
|
||||
+ "width:" + (width) + ";"
|
||||
+ "height:23;"
|
||||
+ "color:white;"
|
||||
+ "' "
|
||||
+ ">"
|
||||
+ "<span style='width:" + (width-2*12-4) + ";padding-left:3px;'>" + title + "</span>"
|
||||
+ "<span id='Close' style='width:20;border-width:0px;color:white;font-family:webdings;' onclick='CloseSearchBox(this)'>r</span>"
|
||||
+ "</div>"
|
||||
+ "<div style='"
|
||||
+ "width:158;overflow:auto;"
|
||||
+ "height:" + (height-20-4) + ";"
|
||||
+ "background-color:white;"
|
||||
+ "line-height:14px;"
|
||||
+ "word-break:break-all;"
|
||||
+ "padding:3px;"
|
||||
+ "'>" + SearchBodyStr + "</div>"
|
||||
+ "</div>"
|
||||
+ "<div style='display:none;"
|
||||
+ "width:" + width + ";"
|
||||
+ "height:" + height + ";"
|
||||
+ "top:" + top + ";"
|
||||
+ "left:" + left + ";"
|
||||
+ "z-index:" + (zindex-1) + ";"
|
||||
+ "position:absolute;"
|
||||
+ "background-color:black;"
|
||||
+ "filter:alpha(opacity=40);"
|
||||
+ "'></div>";
|
||||
//关闭;
|
||||
function CloseSearchBox(el)
|
||||
{ if (el.id=='Close')
|
||||
{ var twin = el.parentNode.parentNode;
|
||||
var shad = twin.nextSibling;
|
||||
twin.style.display = "none";
|
||||
shad.style.display = "none";
|
||||
openTF=false;
|
||||
SearchBodyStr=null;
|
||||
str=null;
|
||||
}
|
||||
}
|
||||
function initial()
|
||||
{
|
||||
if (!openTF)
|
||||
{
|
||||
document.body.insertAdjacentHTML("beforeEnd",str);
|
||||
openTF=true;
|
||||
}
|
||||
}
|
||||
//初始化;
|
||||
function initializeSearch(SearchArea)
|
||||
{
|
||||
initial();
|
||||
initialSearchAreaOption(SearchArea);
|
||||
if (document.all.SearchBox.style.display=='none')
|
||||
{
|
||||
document.all.SearchBox.style.display='';
|
||||
if (document.forms[0].disabled==false) document.forms[0].focus();
|
||||
}
|
||||
else
|
||||
document.all.SearchBox.style.display='none';
|
||||
}
|
||||
function initialSearchAreaOption(SearchArea)
|
||||
{ var EF=false;
|
||||
var TextArr=new Array('文章中心','图片中心','下载中心','动漫中心','商城中心','影视中心','供求信息','专题中心','友情链接站点','系统函数标签','自定义函数标签','自定义静态标签','系统 JS','自由 JS','管理员')
|
||||
var valueArr=new Array('Article','Picture','DownLoad','Flash','Shop','Movie','Supply','Special','Link','SysLabel','DIYFunctionLabel','FreeLabel','SysJS','FreeJS','Manager')
|
||||
for(var i=0;i<valueArr.length;++i)
|
||||
if (SearchArea==valueArr[i])
|
||||
{
|
||||
EF=true;
|
||||
break;
|
||||
}
|
||||
if (!EF) return false;
|
||||
document.all.KeyWord.value='';
|
||||
document.all.SearchArea.length=0;
|
||||
for (var i=0;i<TextArr.length;++i)
|
||||
{
|
||||
document.all.SearchArea.options[document.all.SearchArea.length] = new Option(TextArr[i],valueArr[i]);
|
||||
if (SearchArea==valueArr[i])
|
||||
document.all.SearchArea.options(i).selected=true;
|
||||
}
|
||||
//进行权限检查,对没有权限的搜索模块,进行屏蔽
|
||||
var n=0;
|
||||
for (var i=0;i<TextArr.length;++i)
|
||||
{ var removeTF=false;
|
||||
if (valueArr[i]!=SearchArea)
|
||||
{ if (valueArr[i]=='Article' && SearchArticlePower=='False')
|
||||
removeTF=true;
|
||||
if (valueArr[i]=='Picture' && SearchPicturePower=='False')
|
||||
removeTF=true;
|
||||
if (valueArr[i]=='DownLoad' && SearchDownLoadPower=='False')
|
||||
removeTF=true;
|
||||
if (valueArr[i]=='Flash' && SearchFlashPower=='False')
|
||||
removeTF=true;
|
||||
if (valueArr[i]=='Shop' && SearchShopPower=='False')
|
||||
removeTF=true;
|
||||
if (valueArr[i]=='Movie' && SearchMoviePower=='False')
|
||||
removeTF=true;
|
||||
if (valueArr[i]=='Supply' && SearchSupplyPower=='False')
|
||||
removeTF=true;
|
||||
if (valueArr[i]=='Special' && SearchSpecialPower=='False')
|
||||
removeTF=true;
|
||||
if (valueArr[i]=='Link' && SearchLinkPower=='False')
|
||||
removeTF=true;
|
||||
if (valueArr[i]=='SysLabel' && SearchSysLabelPower=='False')
|
||||
removeTF=true;
|
||||
if (valueArr[i]=='DIYFunctionLabel' && SearchDIYFunctionLabelPower=='False')
|
||||
removeTF=true;
|
||||
if (valueArr[i]=='FreeLabel' && SearchFreeLabelPower=='False')
|
||||
removeTF=true;
|
||||
if (valueArr[i]=='SysJS' && SearchSysJSPower=='False')
|
||||
removeTF=true;
|
||||
if (valueArr[i]=='FreeJS' && SearchFreeJSPower=='False')
|
||||
removeTF=true;
|
||||
if (valueArr[i]=='Manager' && SearchAdminPower=='False')
|
||||
removeTF=true;
|
||||
}
|
||||
if (removeTF==true)
|
||||
{document.all.SearchArea.options.remove(i-n);
|
||||
n++;
|
||||
}
|
||||
}
|
||||
SetSearchTypeOption(SearchArea);
|
||||
}
|
||||
function SetSearchTypeOption(AreaType)
|
||||
{ //Remove all Option
|
||||
var TextArr=new Array();
|
||||
document.all.SearchType.options.length=0
|
||||
switch (AreaType)
|
||||
{
|
||||
case 'Article':
|
||||
if (SearchArticlePower=='False') //搜索文章权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
DisabledSearchFluctuation(false);
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('文章(副)标题','文章内容','文章关键字','文章作者','文章录入')
|
||||
}
|
||||
break;
|
||||
case 'Special':
|
||||
if (SearchSpecialPower=='False') //搜索专题权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
DisabledSearchFluctuation(false);
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('专题名称','简要说明')
|
||||
}
|
||||
break;
|
||||
case 'Picture':
|
||||
if (SearchPicturePower=='False') //搜索图片权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
DisabledSearchFluctuation(false);
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('图片名称','图片简介','图片关键字','图片作者','图片录入')
|
||||
}
|
||||
break;
|
||||
case 'DownLoad':
|
||||
if (SearchDownLoadPower=='False') //搜索下载权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
DisabledSearchFluctuation(false);
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('下载名称','下载简介','下载关键字','下载作者/开发商','下载录入')
|
||||
}
|
||||
break;
|
||||
case 'Flash':
|
||||
if (SearchFlashPower=='False') //搜索Flash权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
DisabledSearchFluctuation(false);
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('动漫名称','动漫简介','动漫关键字','动漫作者','动漫录入')
|
||||
}
|
||||
break;
|
||||
case 'Shop':
|
||||
if (SearchShopPower=='False') //搜索商品权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
DisabledSearchFluctuation(false);
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('商品名称','商品介绍','商品关键字','厂商','价格')
|
||||
}
|
||||
break;
|
||||
case 'Movie':
|
||||
if (SearchMoviePower=='False') //搜索影片权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
DisabledSearchFluctuation(false);
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('影片名称','影片介绍','影片关键字','主要演员','添加者')
|
||||
}
|
||||
break;
|
||||
case 'Supply':
|
||||
if (SearchSupplyPower=='False') //搜索影片权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
DisabledSearchFluctuation(false);
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('信息主题','信息介绍','添加者')
|
||||
}
|
||||
break;
|
||||
case 'Special':
|
||||
if (SearchSpecialPower=='False') //搜索专题权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
DisabledSearchFluctuation(false);
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('专题名称','简要说明')
|
||||
}
|
||||
break;
|
||||
case 'Link':
|
||||
if (SearchLinkPower=='False') //搜索友情链接站点权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
DisabledSearchFluctuation(false);
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('站点名称','站点描述')
|
||||
}
|
||||
break;
|
||||
case 'SysLabel':
|
||||
if (SearchSysLabelPower=='False') //搜索系统标签权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
DisabledSearchFluctuation(false);
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('系统标签名称','系统标签描述')
|
||||
}
|
||||
break;
|
||||
case 'DIYFunctionLabel':
|
||||
if (SearchDIYFunctionLabelPower=='False') //搜索自定义函数标签权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
DisabledSearchFluctuation(false);
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('自定义函数标签名称','自定义函数标签描述')
|
||||
}
|
||||
break;
|
||||
case 'FreeLabel':
|
||||
if (SearchFreeLabelPower=='False') //搜索自定义静态标签权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('自定义静态标签名称','自定义静态标签描述','自定义静态标签内容')
|
||||
}
|
||||
break;
|
||||
case 'SysJS':
|
||||
if (SearchSysJSPower=='False') //搜索系统JS权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('系统JS 名称','系统JS 描述','系统JS 文件名')
|
||||
}
|
||||
break;
|
||||
case 'FreeJS' :
|
||||
if (SearchFreeJSPower=='False') //搜索自由JS权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
document.all.DateArea.style.display="";
|
||||
TextArr=new Array('自由JS 名称','自由JS 描述','自由JS 文件名')
|
||||
}
|
||||
break;
|
||||
case 'Manager':
|
||||
if (SearchAdminPower=='False') //搜索管理员权限检查
|
||||
{
|
||||
DisabledSearchFluctuation(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
DisabledSearchFluctuation(false);
|
||||
document.all.DateArea.style.display="none";
|
||||
TextArr=new Array('管理员名称','管理员简介')
|
||||
}
|
||||
break;
|
||||
}
|
||||
for (var i=0;i<TextArr.length;++i)
|
||||
document.all.SearchType.options[document.all.SearchType.length] = new Option(TextArr[i], i);
|
||||
}
|
||||
function setstatus(Obj)
|
||||
{var today=new Date()
|
||||
if (Obj.nextSibling.style.display=='none')
|
||||
{
|
||||
Obj.nextSibling.style.display='';
|
||||
document.all.StartDate.value=today.getYear()+'-'+eval(today.getMonth()+1)+'-'+today.getDate();
|
||||
}
|
||||
else
|
||||
{
|
||||
Obj.nextSibling.style.display='none';
|
||||
document.all.StartDate.value='';
|
||||
}
|
||||
if (Obj.nextSibling.nextSibling.style.display=='none')
|
||||
{
|
||||
Obj.nextSibling.nextSibling.style.display='';
|
||||
document.all.EndDate.value=today.getYear()+'-'+eval(today.getMonth()+1)+'-'+today.getDate();
|
||||
}
|
||||
else
|
||||
{
|
||||
Obj.nextSibling.nextSibling.style.display='none';
|
||||
document.all.EndDate.value='';
|
||||
}
|
||||
}
|
||||
function SearchFormSubmit()
|
||||
{ var form=document.forms[0];
|
||||
if (form.elements[0].value=='')
|
||||
{
|
||||
alert('请输入关键字!')
|
||||
form.elements[0].focus();
|
||||
return false;
|
||||
}
|
||||
switch (form.elements[1].value)
|
||||
{
|
||||
case 'Article':
|
||||
form.action="Admin_Article.asp";
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=文章管理 >> <font color=red>搜索文章结果</font>&ButtonSymbol=ArticleSearch';
|
||||
break;
|
||||
case 'Picture':
|
||||
form.action="Admin_Picture.asp";
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=图片管理 >> <font color=red>搜索图片结果</font>&ButtonSymbol=PictureSearch';
|
||||
break;
|
||||
case 'DownLoad':
|
||||
form.action="Admin_Down.asp";
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=下载管理 >> <font color=red>搜索下载结果</font>&ButtonSymbol=DownSearch';
|
||||
break;
|
||||
case 'Flash':
|
||||
form.action="Admin_Flash.asp";
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=动漫管理 >> <font color=red>搜索Flash结果</font>&ButtonSymbol=FlashSearch';
|
||||
break;
|
||||
case 'Shop':
|
||||
form.action="Admin_Shop.asp";
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=商城管理 >> <font color=red>搜索商品结果</font>&ButtonSymbol=ProductSearch';
|
||||
break;
|
||||
case 'Movie':
|
||||
form.action="Admin_Movie.asp";
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=影视管理 >> <font color=red>搜索影片结果</font>&ButtonSymbol=MovieSearch';
|
||||
break;
|
||||
case 'Supply':
|
||||
form.action="Admin_GQ.asp";
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=供求管理 >> <font color=red>搜索信息结果</font>&ButtonSymbol=Disabled';
|
||||
break;
|
||||
case 'Special':
|
||||
form.action="Admin_Special.asp?ChannelID="+ChannelID;
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=专题管理 >> <font color=red>搜索专题结果</font>&ButtonSymbol=SpecialSearch';
|
||||
break;
|
||||
case 'Link':
|
||||
form.action="Admin_FriendLink.asp";
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=常规管理 >> 友情链接管理 >> <font color=red>搜索友情链接站点结果</font>&ButtonSymbol=LinkSearch';
|
||||
break;
|
||||
case 'SysLabel' :
|
||||
form.action="Include/Label_Main.asp?LabelType=0";
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=标签管理 >> <font color=red>搜索系统函数标签结果</font>&ButtonSymbol=SysLabelSearch';
|
||||
break;
|
||||
case 'DIYFunctionLabel' :
|
||||
form.action="Include/Label_Main.asp?LabelType=5";
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=标签管理 >> <font color=red>搜索自定义函数标签结果</font>&ButtonSymbol=DIYFunctionSearch';
|
||||
break;
|
||||
case 'FreeLabel' :
|
||||
form.action="Include/Label_Main.asp?LabelType=1";
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=标签管理 >> <font color=red>搜索自由标签结果</font>&ButtonSymbol=FreeLabelSearch';
|
||||
break;
|
||||
case 'SysJS' :
|
||||
form.action="Include/JS_Main.asp?JSType=0";
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=JS管理 >> <font color=red>搜索系统JS结果</font>&ButtonSymbol=SysJSSearch';
|
||||
break;
|
||||
case 'FreeJS' :
|
||||
form.action="Include/JS_Main.asp?JSType=1";
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=JS管理 >> <font color=red>搜索自由JS结果</font>&ButtonSymbol=FreeJSSearch';
|
||||
break;
|
||||
case 'Manager' :
|
||||
form.action="Admin_Admin.asp";
|
||||
parent.frames['BottomFrame'].location.href='Split.asp?OpStr=管理员管理 >> <font color=red>搜索管理员结果</font>&ButtonSymbol=ManagerSearch';
|
||||
break;
|
||||
}
|
||||
form.submit();
|
||||
}
|
||||
function DisabledSearchFluctuation(Flag)
|
||||
{ if (Flag==true)
|
||||
document.all.KeyWord.value='对不起,权限不足!';
|
||||
var AllBtnArray=document.body.getElementsByTagName('INPUT'),CurrObj=null;
|
||||
for (var i=0;i<AllBtnArray.length;i++)
|
||||
{
|
||||
CurrObj=AllBtnArray[i];
|
||||
CurrObj.disabled=Flag;
|
||||
}
|
||||
AllBtnArray=document.body.getElementsByTagName('SELECT'),CurrObj=null;
|
||||
for (var i=0;i<AllBtnArray.length;i++)
|
||||
{
|
||||
CurrObj=AllBtnArray[i];
|
||||
CurrObj.disabled=Flag;
|
||||
}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
/*
|
||||
作用:使MainFrame始终获得焦点
|
||||
*/
|
||||
document.onkeydown=keyDown;
|
||||
function keyDown()
|
||||
{ // alert(typeof(parent.frames['MainFrame']));
|
||||
if ((event.ctrlKey)||(event.altKey)||(event.keyCode==46))
|
||||
{
|
||||
if (typeof(parent.frames['MainFrame'])=='object')
|
||||
{
|
||||
parent.frames['MainFrame'].focus();
|
||||
}
|
||||
else
|
||||
top.frames['MainFrame'].focus();
|
||||
}
|
||||
}
|
||||
|
||||
//鼠标右键绝对禁止法
|
||||
if (window.Event)
|
||||
document.captureEvents(Event.MOUSEUP);
|
||||
function nocontextmenu()
|
||||
{
|
||||
event.cancelBubble = true
|
||||
event.returnValue = false;
|
||||
return false;
|
||||
}
|
||||
function norightclick(e)
|
||||
{
|
||||
if (window.Event)
|
||||
{
|
||||
if (e.which == 2 || e.which == 3)
|
||||
return false;
|
||||
}
|
||||
else
|
||||
if (event.button == 2 || event.button == 3)
|
||||
{
|
||||
event.cancelBubble = true
|
||||
event.returnValue = false;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
document.oncontextmenu = nocontextmenu; // for IE5+
|
||||
document.onmousedown = norightclick; // for all others
|
After Width: | Height: | Size: 1.5 KiB |
@ -0,0 +1,86 @@
|
||||
var tt='start';
|
||||
var ii='start';
|
||||
function turnit(ss,bb) {
|
||||
|
||||
if (ss.style.display=="none") {
|
||||
if(tt!='start') tt.style.display="none";
|
||||
if(ii!='start') ii.src="";
|
||||
ss.style.display="";
|
||||
tt=ss;
|
||||
ii=bb;
|
||||
bb.src="";
|
||||
} else {
|
||||
ss.style.display="none";
|
||||
bb.src="";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function YinCangDiv(obj){
|
||||
document.all(obj).style.display = "none";
|
||||
}
|
||||
|
||||
function setroomsettingvalue(){
|
||||
var objlist = document.all("vallist");
|
||||
var i=0;
|
||||
var str = "";
|
||||
var pobj = document.getElementById("baseset");
|
||||
if(objlist)
|
||||
{
|
||||
if(objlist.length)
|
||||
{
|
||||
for(i=0; i <= objlist.length-1; i++)
|
||||
{
|
||||
var v1 = objlist[i].value;
|
||||
if (objlist[i].checked)
|
||||
{
|
||||
if ( "" == str)
|
||||
{
|
||||
str += objlist[i].value;
|
||||
}
|
||||
else
|
||||
{
|
||||
str += "¡¢" + objlist[i].value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
var v1 = objlist.value;
|
||||
if (objlist.checked)
|
||||
{
|
||||
if ( "" == str)
|
||||
{
|
||||
str += objlist.value;
|
||||
}
|
||||
else
|
||||
{
|
||||
str += "¡¢" + objlist.value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
pobj.value = str;
|
||||
document.getElementById("resetdiv").style.display = "none";
|
||||
}
|
||||
|
||||
|
||||
function ShowNopassDiv(obj,objdiv)
|
||||
{
|
||||
var ttop = obj.offsetTop;
|
||||
var tleft = obj.offsetLeft;
|
||||
var theight =obj.offsetHeight;
|
||||
var elem = obj;
|
||||
while (obj = obj.offsetParent)
|
||||
{
|
||||
ttop+=obj.offsetTop;
|
||||
tleft+=obj.offsetLeft;
|
||||
}
|
||||
var parm = document.getElementById(objdiv);
|
||||
parm.style.visibility = "visible";
|
||||
parm.style.display = "";
|
||||
parm.style.top = ttop+theight;
|
||||
parm.style.left = tleft;
|
||||
return false;
|
||||
}
|
After Width: | Height: | Size: 876 B |
After Width: | Height: | Size: 315 B |
After Width: | Height: | Size: 179 B |
@ -0,0 +1,441 @@
|
||||
var city = new Array();
|
||||
var num = 0;
|
||||
city[num++] = new Array("合肥" ,"安徽");
|
||||
city[num++] = new Array("安庆" ,"安徽");
|
||||
city[num++] = new Array("黄山" ,"安徽");
|
||||
city[num++] = new Array("芜湖" ,"安徽");
|
||||
city[num++] = new Array("铜陵" ,"安徽");
|
||||
city[num++] = new Array("马鞍山" ,"安徽");
|
||||
city[num++] = new Array("宿县" ,"安徽");
|
||||
city[num++] = new Array("六安" ,"安徽");
|
||||
city[num++] = new Array("淮北" ,"安徽");
|
||||
city[num++] = new Array("淮南" ,"安徽");
|
||||
city[num++] = new Array("蚌埠" ,"安徽");
|
||||
city[num++] = new Array("亳州" ,"安徽");
|
||||
city[num++] = new Array("巢湖" ,"安徽");
|
||||
city[num++] = new Array("阜阳" ,"安徽");
|
||||
city[num++] = new Array("池州" ,"安徽");
|
||||
city[num++] = new Array("滁州" ,"安徽");
|
||||
city[num++] = new Array("宣城" ,"安徽");
|
||||
|
||||
city[num++] = new Array("澳门" ,"澳门");
|
||||
|
||||
city[num++] = new Array("北京" ,"北京");
|
||||
|
||||
city[num++] = new Array("重庆" ,"重庆");
|
||||
|
||||
|
||||
city[num++] = new Array("福州" ,"福建");
|
||||
city[num++] = new Array("厦门" ,"福建");
|
||||
city[num++] = new Array("泉州" ,"福建");
|
||||
city[num++] = new Array("漳州" ,"福建");
|
||||
city[num++] = new Array("龙岩" ,"福建");
|
||||
city[num++] = new Array("莆田" ,"福建");
|
||||
city[num++] = new Array("宁德" ,"福建");
|
||||
city[num++] = new Array("南平" ,"福建");
|
||||
city[num++] = new Array("福清" ,"福建");
|
||||
city[num++] = new Array("武夷山" ,"福建");
|
||||
city[num++] = new Array("晋江" ,"福建");
|
||||
city[num++] = new Array("连城" ,"福建");
|
||||
city[num++] = new Array("福安" ,"福建");
|
||||
city[num++] = new Array("福鼎" ,"福建");
|
||||
city[num++] = new Array("三明" ,"福建");
|
||||
city[num++] = new Array("邵武" ,"福建");
|
||||
city[num++] = new Array("石狮" ,"福建");
|
||||
|
||||
city[num++] = new Array("广州" ,"广东");
|
||||
city[num++] = new Array("深圳" ,"广东");
|
||||
city[num++] = new Array("珠海" ,"广东");
|
||||
city[num++] = new Array("湛江" ,"广东");
|
||||
city[num++] = new Array("汕头" ,"广东");
|
||||
city[num++] = new Array("中山" ,"广东");
|
||||
city[num++] = new Array("佛山" ,"广东");
|
||||
city[num++] = new Array("东莞" ,"广东");
|
||||
city[num++] = new Array("惠州" ,"广东");
|
||||
city[num++] = new Array("肇庆" ,"广东");
|
||||
city[num++] = new Array("江门" ,"广东");
|
||||
city[num++] = new Array("韶关" ,"广东");
|
||||
city[num++] = new Array("顺德" ,"广东");
|
||||
city[num++] = new Array("台山" ,"广东");
|
||||
city[num++] = new Array("新会" ,"广东");
|
||||
city[num++] = new Array("清远" ,"广东");
|
||||
city[num++] = new Array("三水" ,"广东");
|
||||
city[num++] = new Array("开平" ,"广东");
|
||||
city[num++] = new Array("河源" ,"广东");
|
||||
city[num++] = new Array("茂名" ,"广东");
|
||||
city[num++] = new Array("梅州" ,"广东");
|
||||
city[num++] = new Array("南海" ,"广东");
|
||||
city[num++] = new Array("普宁" ,"广东");
|
||||
city[num++] = new Array("潮阳" ,"广东");
|
||||
city[num++] = new Array("番禺" ,"广东");
|
||||
city[num++] = new Array("潮州" ,"广东");
|
||||
city[num++] = new Array("从化" ,"广东");
|
||||
city[num++] = new Array("高要" ,"广东");
|
||||
city[num++] = new Array("鹤山" ,"广东");
|
||||
city[num++] = new Array("阳江" ,"广东");
|
||||
|
||||
city[num++] = new Array("兰州" ,"甘肃");
|
||||
city[num++] = new Array("天水" ,"甘肃");
|
||||
city[num++] = new Array("嘉峪关" ,"甘肃");
|
||||
city[num++] = new Array("酒泉" ,"甘肃");
|
||||
city[num++] = new Array("敦煌" ,"甘肃");
|
||||
city[num++] = new Array("定西" ,"甘肃");
|
||||
city[num++] = new Array("白银" ,"甘肃");
|
||||
city[num++] = new Array("金昌" ,"甘肃");
|
||||
city[num++] = new Array("甘南" ,"甘肃");
|
||||
city[num++] = new Array("临夏" ,"甘肃");
|
||||
city[num++] = new Array("陇南" ,"甘肃");
|
||||
city[num++] = new Array("平凉" ,"甘肃");
|
||||
city[num++] = new Array("庆阳" ,"甘肃");
|
||||
city[num++] = new Array("武威" ,"甘肃");
|
||||
city[num++] = new Array("张掖" ,"甘肃");
|
||||
|
||||
city[num++] = new Array("南宁" ,"广西");
|
||||
city[num++] = new Array("桂林" ,"广西");
|
||||
city[num++] = new Array("柳州" ,"广西");
|
||||
city[num++] = new Array("北海" ,"广西");
|
||||
city[num++] = new Array("百色" ,"广西");
|
||||
city[num++] = new Array("防城港" ,"广西");
|
||||
city[num++] = new Array("贵港" ,"广西");
|
||||
city[num++] = new Array("衡阳" ,"广西");
|
||||
city[num++] = new Array("桂平" ,"广西");
|
||||
city[num++] = new Array("凭祥" ,"广西");
|
||||
city[num++] = new Array("钦州" ,"广西");
|
||||
city[num++] = new Array("梧州" ,"广西");
|
||||
city[num++] = new Array("宜州" ,"广西");
|
||||
city[num++] = new Array("玉林" ,"广西");
|
||||
|
||||
city[num++] = new Array("贵阳" ,"贵州");
|
||||
city[num++] = new Array("遵义" ,"贵州");
|
||||
city[num++] = new Array("安顺" ,"贵州");
|
||||
city[num++] = new Array("兴义" ,"贵州");
|
||||
city[num++] = new Array("赤水" ,"贵州");
|
||||
city[num++] = new Array("都匀" ,"贵州");
|
||||
city[num++] = new Array("凯里" ,"贵州");
|
||||
city[num++] = new Array("铜仁" ,"贵州");
|
||||
|
||||
city[num++] = new Array("郑州" ,"河南");
|
||||
city[num++] = new Array("开封" ,"河南");
|
||||
city[num++] = new Array("洛阳" ,"河南");
|
||||
city[num++] = new Array("三门峡" ,"河南");
|
||||
city[num++] = new Array("商丘" ,"河南");
|
||||
city[num++] = new Array("南阳" ,"河南");
|
||||
city[num++] = new Array("信阳" ,"河南");
|
||||
city[num++] = new Array("登封" ,"河南");
|
||||
city[num++] = new Array("焦作" ,"河南");
|
||||
city[num++] = new Array("灵宝" ,"河南");
|
||||
city[num++] = new Array("安阳" ,"河南");
|
||||
city[num++] = new Array("项城" ,"河南");
|
||||
city[num++] = new Array("平顶山" ,"河南");
|
||||
city[num++] = new Array("沁阳" ,"河南");
|
||||
city[num++] = new Array("汝州" ,"河南");
|
||||
city[num++] = new Array("周口" ,"河南");
|
||||
city[num++] = new Array("新乡" ,"河南");
|
||||
city[num++] = new Array("许昌" ,"河南");
|
||||
city[num++] = new Array("益州" ,"河南");
|
||||
city[num++] = new Array("禹州" ,"河南");
|
||||
|
||||
city[num++] = new Array("武汉" ,"湖北");
|
||||
city[num++] = new Array("宜昌" ,"湖北");
|
||||
city[num++] = new Array("襄樊" ,"湖北");
|
||||
city[num++] = new Array("黄石" ,"湖北");
|
||||
city[num++] = new Array("神农架" ,"湖北");
|
||||
city[num++] = new Array("鄂州" ,"湖北");
|
||||
city[num++] = new Array("黄冈" ,"湖北");
|
||||
city[num++] = new Array("沙市" ,"湖北");
|
||||
city[num++] = new Array("蒲圻" ,"湖北");
|
||||
city[num++] = new Array("潜江" ,"湖北");
|
||||
city[num++] = new Array("荆门" ,"湖北");
|
||||
city[num++] = new Array("荆州" ,"湖北");
|
||||
city[num++] = new Array("麻城" ,"湖北");
|
||||
city[num++] = new Array("襄阳" ,"湖北");
|
||||
city[num++] = new Array("咸宁" ,"湖北");
|
||||
city[num++] = new Array("仙桃" ,"湖北");
|
||||
city[num++] = new Array("天门" ,"湖北");
|
||||
city[num++] = new Array("十堰" ,"湖北");
|
||||
city[num++] = new Array("随州" ,"湖北");
|
||||
city[num++] = new Array("孝感" ,"湖北");
|
||||
|
||||
city[num++] = new Array("石家庄" ,"河北");
|
||||
city[num++] = new Array("保定" ,"河北");
|
||||
city[num++] = new Array("秦皇岛" ,"河北");
|
||||
city[num++] = new Array("承德" ,"河北");
|
||||
city[num++] = new Array("邯郸" ,"河北");
|
||||
city[num++] = new Array("唐山" ,"河北");
|
||||
city[num++] = new Array("沧州" ,"河北");
|
||||
city[num++] = new Array("廊坊" ,"河北");
|
||||
city[num++] = new Array("衡水" ,"河北");
|
||||
city[num++] = new Array("清河县" ,"河北");
|
||||
city[num++] = new Array("任丘" ,"河北");
|
||||
city[num++] = new Array("张家口" ,"河北");
|
||||
city[num++] = new Array("邢台" ,"河北");
|
||||
|
||||
city[num++] = new Array("香港岛" ,"香港");
|
||||
city[num++] = new Array("九龙" ,"香港");
|
||||
city[num++] = new Array("新界" ,"香港");
|
||||
city[num++] = new Array("离岛" ,"香港");
|
||||
|
||||
city[num++] = new Array("哈尔滨" ,"黑龙江");
|
||||
city[num++] = new Array("齐齐哈尔" ,"黑龙江");
|
||||
city[num++] = new Array("绥芬河" ,"黑龙江");
|
||||
city[num++] = new Array("大庆" ,"黑龙江");
|
||||
city[num++] = new Array("牡丹江" ,"黑龙江");
|
||||
city[num++] = new Array("黑河" ,"黑龙江");
|
||||
city[num++] = new Array("佳木斯" ,"黑龙江");
|
||||
|
||||
city[num++] = new Array("长沙" ,"湖南");
|
||||
city[num++] = new Array("岳阳" ,"湖南");
|
||||
city[num++] = new Array("张家界" ,"湖南");
|
||||
city[num++] = new Array("株洲" ,"湖南");
|
||||
city[num++] = new Array("常德" ,"湖南");
|
||||
city[num++] = new Array("郴州" ,"湖南");
|
||||
city[num++] = new Array("大庸" ,"湖南");
|
||||
city[num++] = new Array("衡阳" ,"湖南");
|
||||
city[num++] = new Array("怀化" ,"湖南");
|
||||
city[num++] = new Array("汨罗" ,"湖南");
|
||||
city[num++] = new Array("湘潭" ,"湖南");
|
||||
city[num++] = new Array("梆州" ,"湖南");
|
||||
|
||||
city[num++] = new Array("海口" ,"海南");
|
||||
city[num++] = new Array("万宁" ,"海南");
|
||||
city[num++] = new Array("三亚" ,"海南");
|
||||
city[num++] = new Array("昌江" ,"海南");
|
||||
city[num++] = new Array("琼海" ,"海南");
|
||||
city[num++] = new Array("儋州" ,"海南");
|
||||
city[num++] = new Array("通什" ,"海南");
|
||||
city[num++] = new Array("文昌" ,"海南");
|
||||
|
||||
city[num++] = new Array("长春" ,"吉林");
|
||||
city[num++] = new Array("吉林" ,"吉林");
|
||||
city[num++] = new Array("抚顺" ,"吉林");
|
||||
city[num++] = new Array("白山" ,"吉林");
|
||||
city[num++] = new Array("龙井" ,"吉林");
|
||||
city[num++] = new Array("四平" ,"吉林");
|
||||
city[num++] = new Array("延吉市" ,"吉林");
|
||||
city[num++] = new Array("通化" ,"吉林");
|
||||
city[num++] = new Array("梅河口" ,"吉林");
|
||||
|
||||
city[num++] = new Array("南京" ,"江苏");
|
||||
city[num++] = new Array("苏州" ,"江苏");
|
||||
city[num++] = new Array("无锡" ,"江苏");
|
||||
city[num++] = new Array("常州" ,"江苏");
|
||||
city[num++] = new Array("徐州" ,"江苏");
|
||||
city[num++] = new Array("扬州" ,"江苏");
|
||||
city[num++] = new Array("连云港" ,"江苏");
|
||||
city[num++] = new Array("镇江" ,"江苏");
|
||||
city[num++] = new Array("张家港" ,"江苏");
|
||||
city[num++] = new Array("盐城" ,"江苏");
|
||||
city[num++] = new Array("锡山" ,"江苏");
|
||||
city[num++] = new Array("吴江" ,"江苏");
|
||||
city[num++] = new Array("泰州" ,"江苏");
|
||||
city[num++] = new Array("常熟" ,"江苏");
|
||||
city[num++] = new Array("丹阳" ,"江苏");
|
||||
city[num++] = new Array("高邮" ,"江苏");
|
||||
city[num++] = new Array("昆山" ,"江苏");
|
||||
city[num++] = new Array("淮阴" ,"江苏");
|
||||
city[num++] = new Array("江都" ,"江苏");
|
||||
city[num++] = new Array("江阴" ,"江苏");
|
||||
city[num++] = new Array("句容" ,"江苏");
|
||||
city[num++] = new Array("南通" ,"江苏");
|
||||
city[num++] = new Array("宜兴" ,"江苏");
|
||||
|
||||
city[num++] = new Array("南昌" ,"江西");
|
||||
city[num++] = new Array("九江" ,"江西");
|
||||
city[num++] = new Array("鹰潭" ,"江西");
|
||||
city[num++] = new Array("景德镇" ,"江西");
|
||||
city[num++] = new Array("赣州" ,"江西");
|
||||
city[num++] = new Array("上饶" ,"江西");
|
||||
city[num++] = new Array("井冈山" ,"江西");
|
||||
city[num++] = new Array("吉安" ,"江西");
|
||||
city[num++] = new Array("抚州" ,"江西");
|
||||
city[num++] = new Array("丰城" ,"江西");
|
||||
city[num++] = new Array("萍乡" ,"江西");
|
||||
city[num++] = new Array("新余" ,"江西");
|
||||
city[num++] = new Array("宜春" ,"江西");
|
||||
|
||||
city[num++] = new Array("沈阳" ,"辽宁");
|
||||
city[num++] = new Array("大连" ,"辽宁");
|
||||
city[num++] = new Array("铁岭" ,"辽宁");
|
||||
city[num++] = new Array("抚顺" ,"辽宁");
|
||||
city[num++] = new Array("锦州" ,"辽宁");
|
||||
city[num++] = new Array("阜新" ,"辽宁");
|
||||
city[num++] = new Array("丹东" ,"辽宁");
|
||||
city[num++] = new Array("鞍山" ,"辽宁");
|
||||
city[num++] = new Array("本溪" ,"辽宁");
|
||||
city[num++] = new Array("辽阳" ,"辽宁");
|
||||
city[num++] = new Array("葫芦岛" ,"辽宁");
|
||||
city[num++] = new Array("兴城" ,"辽宁");
|
||||
city[num++] = new Array("营口" ,"辽宁");
|
||||
|
||||
city[num++] = new Array("呼和浩特" ,"内蒙古");
|
||||
city[num++] = new Array("包头" ,"内蒙古");
|
||||
city[num++] = new Array("满洲里市" ,"内蒙古");
|
||||
city[num++] = new Array("海拉尔" ,"内蒙古");
|
||||
city[num++] = new Array("赤峰" ,"内蒙古");
|
||||
city[num++] = new Array("东胜" ,"内蒙古");
|
||||
city[num++] = new Array("扎兰屯" ,"内蒙古");
|
||||
city[num++] = new Array("锡林浩特" ,"内蒙古");
|
||||
city[num++] = new Array("牙克石" ,"内蒙古");
|
||||
|
||||
city[num++] = new Array("银川" ,"宁夏");
|
||||
city[num++] = new Array("中卫" ,"宁夏");
|
||||
city[num++] = new Array("固原" ,"宁夏");
|
||||
city[num++] = new Array("石嘴山" ,"宁夏");
|
||||
city[num++] = new Array("同心" ,"宁夏");
|
||||
|
||||
city[num++] = new Array("西宁" ,"青海");
|
||||
city[num++] = new Array("海南州" ,"青海");
|
||||
city[num++] = new Array("海东地区" ,"青海");
|
||||
city[num++] = new Array("海西" ,"青海");
|
||||
city[num++] = new Array("黄南州" ,"青海");
|
||||
city[num++] = new Array("果洛" ,"青海");
|
||||
city[num++] = new Array("海北" ,"青海");
|
||||
city[num++] = new Array("玉树" ,"青海");
|
||||
city[num++] = new Array("湟中县" ,"青海");
|
||||
|
||||
city[num++] = new Array("成都" ,"四川");
|
||||
city[num++] = new Array("宜宾" ,"四川");
|
||||
city[num++] = new Array("自贡" ,"四川");
|
||||
city[num++] = new Array("绵阳" ,"四川");
|
||||
city[num++] = new Array("峨嵋山" ,"四川");
|
||||
city[num++] = new Array("九寨沟" ,"四川");
|
||||
city[num++] = new Array("阿坝州" ,"四川");
|
||||
city[num++] = new Array("广元" ,"四川");
|
||||
city[num++] = new Array("甘孜" ,"四川");
|
||||
city[num++] = new Array("乐山" ,"四川");
|
||||
city[num++] = new Array("德阳" ,"四川");
|
||||
city[num++] = new Array("松潘" ,"四川");
|
||||
city[num++] = new Array("西昌" ,"四川");
|
||||
city[num++] = new Array("泸州" ,"四川");
|
||||
city[num++] = new Array("木里" ,"四川");
|
||||
city[num++] = new Array("攀枝花" ,"四川");
|
||||
city[num++] = new Array("广汉" ,"四川");
|
||||
city[num++] = new Array("剑阁" ,"四川");
|
||||
city[num++] = new Array("江油" ,"四川");
|
||||
city[num++] = new Array("康定" ,"四川");
|
||||
|
||||
city[num++] = new Array("济南" ,"山东");
|
||||
city[num++] = new Array("青岛" ,"山东");
|
||||
city[num++] = new Array("威海" ,"山东");
|
||||
city[num++] = new Array("烟台" ,"山东");
|
||||
city[num++] = new Array("淄博" ,"山东");
|
||||
city[num++] = new Array("潍坊" ,"山东");
|
||||
city[num++] = new Array("聊城" ,"山东");
|
||||
city[num++] = new Array("曲阜" ,"山东");
|
||||
city[num++] = new Array("泰安" ,"山东");
|
||||
city[num++] = new Array("枣庄" ,"山东");
|
||||
city[num++] = new Array("文登" ,"山东");
|
||||
city[num++] = new Array("日照" ,"山东");
|
||||
city[num++] = new Array("荣城" ,"山东");
|
||||
city[num++] = new Array("临沂" ,"山东");
|
||||
city[num++] = new Array("蓬莱" ,"山东");
|
||||
city[num++] = new Array("济宁" ,"山东");
|
||||
city[num++] = new Array("德州" ,"山东");
|
||||
|
||||
city[num++] = new Array("上海" ,"上海");
|
||||
|
||||
|
||||
city[num++] = new Array("西安" ,"陕西");
|
||||
city[num++] = new Array("延安" ,"陕西");
|
||||
city[num++] = new Array("咸阳" ,"陕西");
|
||||
city[num++] = new Array("宝鸡" ,"陕西");
|
||||
city[num++] = new Array("韩城" ,"陕西");
|
||||
city[num++] = new Array("汉中" ,"陕西");
|
||||
|
||||
city[num++] = new Array("太原" ,"山西");
|
||||
city[num++] = new Array("大同" ,"山西");
|
||||
city[num++] = new Array("运城" ,"山西");
|
||||
city[num++] = new Array("洪洞" ,"山西");
|
||||
city[num++] = new Array("侯马" ,"山西");
|
||||
city[num++] = new Array("临汾" ,"山西");
|
||||
city[num++] = new Array("朔州" ,"山西");
|
||||
city[num++] = new Array("忻州" ,"山西");
|
||||
city[num++] = new Array("阳泉" ,"山西");
|
||||
|
||||
city[num++] = new Array("天津" ,"天津");
|
||||
|
||||
|
||||
city[num++] = new Array("台北" ,"台湾");
|
||||
city[num++] = new Array("高雄" ,"台湾");
|
||||
city[num++] = new Array("基隆" ,"台湾");
|
||||
city[num++] = new Array("台中" ,"台湾");
|
||||
city[num++] = new Array("台南" ,"台湾");
|
||||
city[num++] = new Array("新竹" ,"台湾");
|
||||
city[num++] = new Array("嘉义" ,"台湾");
|
||||
|
||||
|
||||
city[num++] = new Array("乌鲁木齐" ,"新疆");
|
||||
city[num++] = new Array("吐鲁番" ,"新疆");
|
||||
city[num++] = new Array("喀什" ,"新疆");
|
||||
city[num++] = new Array("克拉玛依" ,"新疆");
|
||||
city[num++] = new Array("伊宁" ,"新疆");
|
||||
city[num++] = new Array("库尔勒" ,"新疆");
|
||||
city[num++] = new Array("哈密" ,"新疆");
|
||||
city[num++] = new Array("和田" ,"新疆");
|
||||
city[num++] = new Array("奎屯" ,"新疆");
|
||||
city[num++] = new Array("石河子" ,"新疆");
|
||||
|
||||
city[num++] = new Array("拉萨" ,"西藏");
|
||||
city[num++] = new Array("日喀则" ,"西藏");
|
||||
city[num++] = new Array("山南地区" ,"西藏");
|
||||
city[num++] = new Array("那曲" ,"西藏");
|
||||
city[num++] = new Array("林芝" ,"西藏");
|
||||
city[num++] = new Array("阿里" ,"西藏");
|
||||
city[num++] = new Array("昌都" ,"西藏");
|
||||
|
||||
city[num++] = new Array("昆明" ,"云南");
|
||||
city[num++] = new Array("大理" ,"云南");
|
||||
city[num++] = new Array("西双版纳" ,"云南");
|
||||
city[num++] = new Array("红河州" ,"云南");
|
||||
city[num++] = new Array("德宏/芒市" ,"云南");
|
||||
city[num++] = new Array("丽江" ,"云南");
|
||||
city[num++] = new Array("玉溪" ,"云南");
|
||||
city[num++] = new Array("怒江州" ,"云南");
|
||||
city[num++] = new Array("楚雄" ,"云南");
|
||||
city[num++] = new Array("瑞丽" ,"云南");
|
||||
city[num++] = new Array("腾冲" ,"云南");
|
||||
city[num++] = new Array("维西" ,"云南");
|
||||
|
||||
city[num++] = new Array("杭州" ,"浙江");
|
||||
city[num++] = new Array("绍兴" ,"浙江");
|
||||
city[num++] = new Array("宁波" ,"浙江");
|
||||
city[num++] = new Array("温州" ,"浙江");
|
||||
city[num++] = new Array("金华" ,"浙江");
|
||||
city[num++] = new Array("嘉兴" ,"浙江");
|
||||
city[num++] = new Array("舟山" ,"浙江");
|
||||
city[num++] = new Array("诸暨" ,"浙江");
|
||||
city[num++] = new Array("台州" ,"浙江");
|
||||
city[num++] = new Array("衢州" ,"浙江");
|
||||
city[num++] = new Array("丽水" ,"浙江");
|
||||
city[num++] = new Array("湖州" ,"浙江");
|
||||
var nCityCount = num;
|
||||
function ProvinceChange(cmbProvince, cmbCity)
|
||||
{
|
||||
var nSelProvince = cmbProvince.selectedIndex;
|
||||
var sProvince = cmbProvince.options[nSelProvince].value;
|
||||
|
||||
cmbCity.length = 0;
|
||||
cmbCity.options[0] = new Option('-请选择-', '');
|
||||
for(var i=0; i<nCityCount; i++)
|
||||
{
|
||||
if(city[i][1] == sProvince)
|
||||
{
|
||||
cmbCity.options[cmbCity.length] = new Option(city[i][0], city[i][0]);
|
||||
}
|
||||
}
|
||||
cmbCity.options[0].selected = true;
|
||||
}
|
||||
var city3 = new Array();
|
||||
var num3 = 0;
|
||||
city3[num3++] = new Array("合肥" ,"安徽");
|
||||
city3[num3++] = new Array("安庆" ,"安徽");
|
||||
city3[num3++] = new Array("黄山" ,"安徽");
|
||||
city3[num3++] = new Array("芜湖" ,"安徽");
|
||||
city3[num3++] = new Array("铜陵" ,"安徽");
|
||||
city3[num3++] = new Array("马鞍山" ,"安徽");
|
||||
city3[num3++] = new Array("宿县" ,"安徽");
|
||||
city3[num3++] = new Array("六安" ,"安徽");
|
||||
city3[num3++] = new Array("澳门" ,"澳门");
|
||||
city3[num3++] = new Array("北京" ,"北京");
|
||||
city3[num3++] = new Array("重庆" ,"重庆");
|
||||
var nCityCount2 = num3;
|
@ -0,0 +1,82 @@
|
||||
var bsYear;
|
||||
var bsDate;
|
||||
var bsWeek;
|
||||
var arrLen=8; //数组长度
|
||||
var sValue=0; //当年的秒数
|
||||
var dayiy=0; //当年第几天
|
||||
var miy=0; //月份的下标
|
||||
var iyear=0; //年份标记
|
||||
var dayim=0; //当月第几天
|
||||
var spd=86400; //每天的秒数
|
||||
var year1999="30;29;29;30;29;29;30;29;30;30;30;29"; //354
|
||||
var year2000="30;30;29;29;30;29;29;30;29;30;30;29"; //354
|
||||
var year2001="30;30;29;30;29;30;29;29;30;29;30;29;30"; //384
|
||||
var year2002="30;30;29;30;29;30;29;29;30;29;30;29"; //354
|
||||
var year2003="30;30;29;30;30;29;30;29;29;30;29;30"; //355
|
||||
var year2004="29;30;29;30;30;29;30;29;30;29;30;29;30"; //384
|
||||
var year2005="29;30;29;30;29;30;30;29;30;29;30;29"; //354
|
||||
var year2006="30;29;30;29;30;30;29;29;30;30;29;29;30";
|
||||
var month1999="正月;二月;三月;四月;五月;六月;七月;八月;九月;十月;十一月;十二月"
|
||||
var month2001="正月;二月;三月;四月;闰四月;五月;六月;七月;八月;九月;十月;十一月;十二月"
|
||||
var month2004="正月;二月;闰二月;三月;四月;五月;六月;七月;八月;九月;十月;十一月;十二月"
|
||||
var month2006="正月;二月;三月;四月;五月;六月;七月;闰七月;八月;九月;十月;十一月;十二月"
|
||||
var Dn="初一;初二;初三;初四;初五;初六;初七;初八;初九;初十;十一;十二;十三;十四;十五;十六;十七;十八;十九;二十;廿一;廿二;廿三;廿四;廿五;廿六;廿七;廿八;廿九;三十";
|
||||
var Ys=new Array(arrLen);
|
||||
Ys[0]=919094400;Ys[1]=949680000;Ys[2]=980265600;Ys[3]=1013443200;Ys[4]=1044028800;Ys[5]=1074700800;Ys[6]=1107878400;Ys[7]=1138464000;
|
||||
var Yn=new Array(arrLen); //农历年的名称
|
||||
Yn[0]="己卯年";Yn[1]="庚辰年";Yn[2]="辛巳年";Yn[3]="壬午年";Yn[4]="癸未年";Yn[5]="甲申年";Yn[6]="乙酉年";Yn[7]="丙戌年";
|
||||
var D=new Date();
|
||||
var yy=D.getYear();
|
||||
var mm=D.getMonth()+1;
|
||||
var dd=D.getDate();
|
||||
var ww=D.getDay();
|
||||
if (ww==0) ww="星期日";
|
||||
if (ww==1) ww="星期一";
|
||||
if (ww==2) ww="星期二";
|
||||
if (ww==3) ww="星期三";
|
||||
if (ww==4) ww="星期四";
|
||||
if (ww==5) ww="星期五";
|
||||
if (ww==6) ww="星期六";
|
||||
ww=ww;
|
||||
var ss=parseInt(D.getTime() / 1000);
|
||||
if(yy<100)yy="19"+yy;
|
||||
for(i=0;i<arrLen;i++)
|
||||
if(ss>=Ys[i]) {
|
||||
iyear=i;
|
||||
sValue=ss-Ys[i]; //当年的秒数
|
||||
}
|
||||
dayiy=parseInt(sValue/spd)+1; //当年的天数
|
||||
var dpm=year1999;
|
||||
if (iyear==1) dpm=year2000;
|
||||
if (iyear==2) dpm=year2001;
|
||||
if (iyear==3) dpm=year2002;
|
||||
if (iyear==4) dpm=year2003;
|
||||
if (iyear==5) dpm=year2004;
|
||||
if (iyear==6) dpm=year2005;
|
||||
if (iyear==7) dpm=year2006;
|
||||
dpm=dpm.split(";");
|
||||
var Mn=month1999;
|
||||
if (iyear==2) Mn=month2001;
|
||||
if (iyear==5) Mn=month2004;
|
||||
if (iyear==7) Mn=month2006;
|
||||
Mn=Mn.split(";");
|
||||
var Dn="初一;初二;初三;初四;初五;初六;初七;初八;初九;初十;十一;十二;十三;十四;十五;十六;十七;十八;十九;二十;廿一;廿二;廿三;廿四;廿五;廿六;廿七;廿八;廿九;三十";
|
||||
Dn=Dn.split(";");
|
||||
dayim=dayiy;
|
||||
var total=new Array(13);
|
||||
total[0]=parseInt(dpm[0]);
|
||||
for(i=1;i<dpm.length-1;i++)total[i]=parseInt(dpm[i])+total[i-1];
|
||||
for(i=dpm.length-1;i>0;i--)
|
||||
if(dayim>total[i-1]) {
|
||||
dayim=dayim-total[i-1];
|
||||
miy=i;
|
||||
}
|
||||
bsWeek=ww;
|
||||
bsDate=yy+"年"+mm+"月";
|
||||
bsDate2=dd;
|
||||
bsYear="农历"+Yn[iyear];
|
||||
bsYear2=Mn[miy]+Dn[dayim-1];
|
||||
if(ss>=Ys[7]||ss<Ys[0])bsYear=Yn[7];
|
||||
document.write(bsDate+bsDate2+"日 ");
|
||||
document.write(bsWeek+" ");
|
||||
document.write(bsYear+" "+bsYear2);
|
@ -0,0 +1,30 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||
<%
|
||||
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>
|
||||
|
||||
<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>
|
||||
<%
|
||||
response.sendRedirect(path+"/error.jsp");
|
||||
%>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
After Width: | Height: | Size: 897 B |
After Width: | Height: | Size: 85 B |
@ -0,0 +1,30 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||
<%
|
||||
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>
|
||||
|
||||
<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>
|
||||
<%
|
||||
response.sendRedirect(path+"/error.jsp");
|
||||
%>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
After Width: | Height: | Size: 883 B |
After Width: | Height: | Size: 899 B |
After Width: | Height: | Size: 57 B |
After Width: | Height: | Size: 63 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 861 B |
After Width: | Height: | Size: 861 B |
After Width: | Height: | Size: 1.6 KiB |
@ -0,0 +1,155 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>颜色</TITLE>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
|
||||
<STYLE TYPE="text/css">
|
||||
td {font-size: 10.8pt}
|
||||
body {font-size: 10.8pt}
|
||||
BUTTON {width:5em}
|
||||
</STYLE>
|
||||
|
||||
<SCRIPT LANGUAGE=JavaScript>
|
||||
var SelRGB = '';
|
||||
var DrRGB = '';
|
||||
var SelGRAY = '120';
|
||||
|
||||
var hexch = new Array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F');
|
||||
|
||||
function ToHex(n)
|
||||
{ var h, l;
|
||||
|
||||
n = Math.round(n);
|
||||
l = n % 16;
|
||||
h = Math.floor((n / 16)) % 16;
|
||||
return (hexch[h] + hexch[l]);
|
||||
}
|
||||
|
||||
function DoColor(c, l)
|
||||
{ var r, g, b;
|
||||
|
||||
r = '0x' + c.substring(1, 3);
|
||||
g = '0x' + c.substring(3, 5);
|
||||
b = '0x' + c.substring(5, 7);
|
||||
|
||||
if(l > 120)
|
||||
{
|
||||
l = l - 120;
|
||||
|
||||
r = (r * (120 - l) + 255 * l) / 120;
|
||||
g = (g * (120 - l) + 255 * l) / 120;
|
||||
b = (b * (120 - l) + 255 * l) / 120;
|
||||
}else
|
||||
{
|
||||
r = (r * l) / 120;
|
||||
g = (g * l) / 120;
|
||||
b = (b * l) / 120;
|
||||
}
|
||||
|
||||
return '#' + ToHex(r) + ToHex(g) + ToHex(b);
|
||||
}
|
||||
|
||||
function EndColor()
|
||||
{ var i;
|
||||
|
||||
if(DrRGB != SelRGB)
|
||||
{
|
||||
DrRGB = SelRGB;
|
||||
for(i = 0; i <= 30; i ++)
|
||||
GrayTable.rows(i).bgColor = DoColor(SelRGB, 240 - i * 8);
|
||||
}
|
||||
|
||||
SelColor.value = DoColor(RGB.innerText, GRAY.innerText);
|
||||
ShowColor.bgColor = SelColor.value;
|
||||
}
|
||||
</SCRIPT>
|
||||
|
||||
<SCRIPT LANGUAGE=JavaScript FOR=ColorTable EVENT=onclick>
|
||||
SelRGB = event.srcElement.bgColor;
|
||||
EndColor();
|
||||
</SCRIPT>
|
||||
|
||||
<SCRIPT LANGUAGE=JavaScript FOR=ColorTable EVENT=onmouseover>
|
||||
RGB.innerText = event.srcElement.bgColor;
|
||||
EndColor();
|
||||
</SCRIPT>
|
||||
|
||||
<SCRIPT LANGUAGE=JavaScript FOR=ColorTable EVENT=onmouseout>
|
||||
RGB.innerText = SelRGB;
|
||||
EndColor();
|
||||
</SCRIPT>
|
||||
|
||||
<SCRIPT LANGUAGE=JavaScript FOR=GrayTable EVENT=onclick>
|
||||
SelGRAY = event.srcElement.title;
|
||||
EndColor();
|
||||
</SCRIPT>
|
||||
|
||||
<SCRIPT LANGUAGE=JavaScript FOR=GrayTable EVENT=onmouseover>
|
||||
GRAY.innerText = event.srcElement.title;
|
||||
EndColor();
|
||||
</SCRIPT>
|
||||
|
||||
<SCRIPT LANGUAGE=JavaScript FOR=GrayTable EVENT=onmouseout>
|
||||
GRAY.innerText = SelGRAY;
|
||||
EndColor();
|
||||
</SCRIPT>
|
||||
|
||||
<SCRIPT LANGUAGE=JavaScript FOR=Ok EVENT=onclick>
|
||||
window.returnValue = SelColor.value;
|
||||
window.close();
|
||||
</SCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY bgcolor=menu>
|
||||
|
||||
<div align="center"><center><table border="0" cellspacing="10" cellpadding="0"><tr><td>
|
||||
<TABLE ID=ColorTable BORDER=0 CELLSPACING=0 CELLPADDING=0 style='cursor:hand'>
|
||||
<SCRIPT LANGUAGE=JavaScript>
|
||||
function wc(r, g, b, n)
|
||||
{
|
||||
r = ((r * 16 + r) * 3 * (15 - n) + 0x80 * n) / 15;
|
||||
g = ((g * 16 + g) * 3 * (15 - n) + 0x80 * n) / 15;
|
||||
b = ((b * 16 + b) * 3 * (15 - n) + 0x80 * n) / 15;
|
||||
|
||||
document.write('<TD BGCOLOR=#' + ToHex(r) + ToHex(g) + ToHex(b) + ' height=8 width=8></TD>');
|
||||
}
|
||||
|
||||
var cnum = new Array(1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0);
|
||||
|
||||
for(i = 0; i < 16; i ++)
|
||||
{
|
||||
document.write('<TR>');
|
||||
for(j = 0; j < 30; j ++)
|
||||
{
|
||||
n1 = j % 5;
|
||||
n2 = Math.floor(j / 5) * 3;
|
||||
n3 = n2 + 3;
|
||||
|
||||
wc((cnum[n3] * n1 + cnum[n2] * (5 - n1)),
|
||||
(cnum[n3 + 1] * n1 + cnum[n2 + 1] * (5 - n1)),
|
||||
(cnum[n3 + 2] * n1 + cnum[n2 + 2] * (5 - n1)), i);
|
||||
}
|
||||
|
||||
document.writeln('</TR>');
|
||||
}
|
||||
</SCRIPT>
|
||||
</TABLE></td><td>
|
||||
<TABLE ID=GrayTable BORDER=0 CELLSPACING=0 CELLPADDING=0 style='cursor:hand'>
|
||||
<SCRIPT LANGUAGE=JavaScript>
|
||||
for(i = 255; i >= 0; i -= 8.5)
|
||||
document.write('<TR BGCOLOR=#' + ToHex(i) + ToHex(i) + ToHex(i) + '><TD TITLE=' + Math.floor(i * 16 / 17) + ' height=4 width=20></TD></TR>');
|
||||
</SCRIPT>
|
||||
</TABLE></td></tr></table></center></div>
|
||||
|
||||
<div align="center"><center><table border="0" cellspacing="10" cellpadding="0">
|
||||
<tr><td rowspan="2" align="center">
|
||||
选中色彩<table ID=ShowColor border="1" width="40" height="30" cellspacing="0" cellpadding="0">
|
||||
<tr><td></td></tr></table></td>
|
||||
<td rowspan="2">基色: <SPAN ID=RGB></SPAN><BR>
|
||||
亮度: <SPAN ID=GRAY>120</SPAN><BR>
|
||||
代码: <INPUT TYPE=TEXT SIZE=7 ID=SelColor></td>
|
||||
<td><BUTTON ID=Ok TYPE=SUBMIT>确定</BUTTON></td></tr>
|
||||
<tr><td><BUTTON ONCLICK="window.close();">取消</BUTTON></td></tr></table></center></div>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,99 @@
|
||||
{
|
||||
FONT-SIZE: 12px; FONT-FAMILY: Tahoma
|
||||
}
|
||||
IMG {
|
||||
BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
|
||||
}
|
||||
BODY {
|
||||
SCROLLBAR-FACE-COLOR: #2b73f1; FONT-SIZE: 12px; BACKGROUND: #fdfdfd; MARGIN: 0px; SCROLLBAR-HIGHLIGHT-COLOR: #0650d2; SCROLLBAR-SHADOW-COLOR: #449ae8; COLOR: #111111; SCROLLBAR-3DLIGHT-COLOR: #449ae8; LINE-HEIGHT: 150%; SCROLLBAR-ARROW-COLOR: #02338a; SCROLLBAR-TRACK-COLOR: #8ebbea; FONT-FAMILY: "ËÎÌå"; SCROLLBAR-DARKSHADOW-COLOR: #0650d2; TEXT-DECORATION: none
|
||||
}
|
||||
INPUT {
|
||||
BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; COLOR: #222222; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #ffffff
|
||||
}
|
||||
SELECT {
|
||||
BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; COLOR: #222222; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #ffffff
|
||||
}
|
||||
TEXTAREA {
|
||||
BORDER-RIGHT: #cccccc 0px solid; BORDER-TOP: #cccccc 1px solid; SCROLLBAR-FACE-COLOR: #f0f0f0; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; BORDER-LEFT: #cccccc 1px solid; SCROLLBAR-SHADOW-COLOR: #ffffff; COLOR: #222222; SCROLLBAR-3DLIGHT-COLOR: #cccccc; SCROLLBAR-ARROW-COLOR: #ffffff; SCROLLBAR-TRACK-COLOR: #f9f9f9; BORDER-BOTTOM: #cccccc 1px solid; SCROLLBAR-DARKSHADOW-COLOR: #cccccc; BACKGROUND-COLOR: #ffffff
|
||||
}
|
||||
A:link {
|
||||
COLOR: #111111; LINE-HEIGHT: 100%; TEXT-DECORATION: none
|
||||
}
|
||||
A:visited {
|
||||
COLOR: #111111; TEXT-DECORATION: none
|
||||
}
|
||||
A:hover {
|
||||
COLOR: #666666; POSITION: relative; TOP: 0px; TEXT-DECORATION: underline
|
||||
}
|
||||
TD {
|
||||
FONT: 12px "ËÎÌå"; COLOR: #111111
|
||||
}
|
||||
TABLE {
|
||||
BORDER-RIGHT: #f3f3f3 0px solid; BORDER-TOP: #f3f3f3 0px solid; BACKGROUND: #ffffff; BORDER-LEFT: #f3f3f3 0px solid; BORDER-BOTTOM: #f3f3f3 0px solid
|
||||
}
|
||||
.tablewidth {
|
||||
BORDER-RIGHT: #1a5db0 1px solid; BORDER-TOP: #1a5db0 1px solid; BACKGROUND: #efefef; MARGIN-BOTTOM: 8px; BORDER-LEFT: #1a5db0 1px solid; WIDTH: 99%; BORDER-BOTTOM: #1a5db0 1px solid
|
||||
}
|
||||
.tablewidth TR {
|
||||
BACKGROUND: #fff
|
||||
}
|
||||
.tablewidth .head {
|
||||
BORDER-RIGHT: #449ae8 0px solid; BORDER-TOP: #449ae8 0px solid; BACKGROUND: green; BORDER-LEFT: #449ae8 0px solid; COLOR: #fff; BORDER-BOTTOM: #449ae8 0px solid
|
||||
}
|
||||
.tablewidth .head TD {
|
||||
PADDING-LEFT: 5px; PADDING-TOP: 5px
|
||||
}
|
||||
.tablewidth .head TD {
|
||||
COLOR: #fff
|
||||
}
|
||||
.tablewidth .head TD A {
|
||||
COLOR: #fff
|
||||
}
|
||||
.tdhelp {
|
||||
COLOR: #999
|
||||
}
|
||||
.map {
|
||||
BORDER-RIGHT: #ccc 1px dotted; BORDER-TOP: #ccc 1px dotted; FLOAT: left; MARGIN: 0px 5px 10px; BORDER-LEFT: #ccc 1px dotted; WIDTH: 48%; BORDER-BOTTOM: #ccc 1px dotted
|
||||
}
|
||||
.maphead {
|
||||
BORDER-RIGHT: #fff 2px solid; BORDER-TOP: #fff 2px solid; BACKGROUND: #eee; BORDER-LEFT: #fff 2px solid; BORDER-BOTTOM: #fff 2px solid; HEIGHT: 19px
|
||||
}
|
||||
.map .middle {
|
||||
LINE-HEIGHT: 21px; HEIGHT: 40px
|
||||
}
|
||||
.c_menu A.chooseModule {
|
||||
FONT-WEIGHT: bold; COLOR: red
|
||||
}
|
||||
#leftmenu {
|
||||
BORDER-RIGHT: #1a5db0 4px solid; BORDER-TOP: #1a5db0 2px solid; BORDER-LEFT: #1a5db0 2px solid; WIDTH: 164px; BORDER-BOTTOM: #1a5db0 2px solid
|
||||
}
|
||||
.c_menu TABLE {
|
||||
BORDER-RIGHT: #fff 2px solid; BORDER-TOP: #fff 2px solid; BORDER-LEFT: #fff 2px solid; BORDER-BOTTOM: #fff 1px solid
|
||||
}
|
||||
.c_menu TD {
|
||||
PADDING-LEFT: 5px; BACKGROUND: #deecf9; BORDER-BOTTOM: #fff 1px solid; HEIGHT: 18px
|
||||
}
|
||||
.tablewidth_menu {
|
||||
BORDER-TOP: #1a5db0 1px solid; BACKGROUND: #deecf9; WIDTH: 100%
|
||||
}
|
||||
.tablewidth_menu .head_menu {
|
||||
BORDER-RIGHT: #fff 0px solid; BORDER-TOP: #fff 0px solid; PADDING-LEFT: 5px; BACKGROUND: url(li_14.gif) #1a5db0 no-repeat right 50%; BORDER-LEFT: #fff 0px solid; BORDER-BOTTOM: #fff 0px solid; HEIGHT: 25px
|
||||
}
|
||||
.tablewidth_menu .head_menu A {
|
||||
FONT-WEIGHT: bold; COLOR: #0f42a6
|
||||
}
|
||||
.c_menu .leftA {
|
||||
BACKGROUND: #c1e3f0
|
||||
}
|
||||
.c_menu .leftB {
|
||||
BACKGROUND: #deecf9
|
||||
}
|
||||
#LeftTop TD {
|
||||
BACKGROUND: url(li_10.gif) #1a5db0 no-repeat right 50%; HEIGHT: 50px
|
||||
}
|
||||
.trA TD {
|
||||
BACKGROUND: #fff
|
||||
}
|
||||
.trB TD {
|
||||
BACKGROUND: #eee
|
||||
}
|
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 1.2 KiB |
@ -0,0 +1,35 @@
|
||||
<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
|
||||
<jsp:useBean id="sn" scope="page" class="com.bean.SystemBean" />
|
||||
<%
|
||||
List list = sn.getSiteInfo();
|
||||
String str = list.get(0).toString();
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>»áÔ±¹ÜÀíÖÐÐÄ---<%=str %></TITLE>
|
||||
<META http-equiv=Content-Type content="text/html; charset=gb2312">
|
||||
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
|
||||
<%
|
||||
String member=(String)session.getAttribute("member");
|
||||
String type=(String)session.getAttribute("type");
|
||||
if(member==null||type==null){
|
||||
response.sendRedirect(path+"/login.jsp");
|
||||
}
|
||||
else{
|
||||
%>
|
||||
<FRAMESET border=0 frameSpacing=0 rows=65,*,33 frameBorder=0>
|
||||
<FRAME name=FrameTop src="<%=basePath %>member/iframe/top.jsp" frameBorder=no noResize scrolling=no>
|
||||
<FRAMESET border=0 name=FrameMain frameSpacing=0 frameBorder=0 cols=165,*>
|
||||
<FRAME name=LeftFrame marginWidth=0 marginHeight=0 src="<%=basePath %>member/iframe/left.jsp" frameBorder=no scrolling=no>
|
||||
<FRAMESET border=0 frameSpacing=0 rows=*,26 frameBorder=0>
|
||||
<FRAME name=MainFrame marginWidth=0 marginHeight=0 src="<%=basePath %>member/iframe/main.jsp" frameBorder=no noResize scrolling=yes>
|
||||
<FRAME name=BottomFrame marginWidth=0 marginHeight=0 src="<%=basePath %>member/iframe/help.jsp" frameBorder=no scrolling=no>
|
||||
</FRAMESET>
|
||||
</FRAMESET>
|
||||
<FRAME name=FrameBottom marginWidth=0 marginHeight=0 src="<%=basePath %>member/iframe/foot.jsp" frameBorder=no noResize scrolling=no>
|
||||
</FRAMESET>
|
||||
<%} %>
|
||||
</HTML>
|
@ -0,0 +1,84 @@
|
||||
<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
|
||||
<jsp:useBean id="sn" scope="page" class="com.bean.SystemBean" />
|
||||
<jsp:useBean id="tb" scope="page" class="com.bean.HzpBean" />
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
String dir=sn.getDir();
|
||||
%>
|
||||
<HTML><HEAD><TITLE>后台操作区</TITLE>
|
||||
<LINK href="<%=basePath %><%=dir %>/images/Admin_Style.css" type=text/css rel=stylesheet>
|
||||
<LINK href="<%=basePath %><%=dir %>/images/style.css" type=text/css rel=stylesheet>
|
||||
<SCRIPT language=JavaScript src="<%=basePath %><%=dir %>/images/Common.js"></SCRIPT>
|
||||
<STYLE type=text/css>
|
||||
BODY {
|
||||
MARGIN-LEFT: 0px; BACKGROUND-COLOR: #ffffff
|
||||
}
|
||||
.STYLE1 {color: #ECE9D8}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<script type="text/javascript">
|
||||
function del()
|
||||
{
|
||||
pageform.submit();
|
||||
}
|
||||
</script>
|
||||
<%
|
||||
String message = (String)request.getAttribute("message");
|
||||
if(message == null){
|
||||
message = "";
|
||||
}
|
||||
if (!message.trim().equals("")){
|
||||
out.println("<script language='javascript'>");
|
||||
out.println("alert('"+message+"');");
|
||||
out.println("</script>");
|
||||
}
|
||||
request.removeAttribute("message");
|
||||
%>
|
||||
<%
|
||||
String member=(String)session.getAttribute("member");
|
||||
if(member==null){
|
||||
response.sendRedirect(path+"/error.jsp");
|
||||
}
|
||||
else{
|
||||
List pagelist3=tb.gegComMethod("select * from dd where member='"+member+"' and zt='已发货' order by id desc",6);
|
||||
%>
|
||||
<BODY >
|
||||
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
|
||||
<TBODY>
|
||||
<TR>
|
||||
<TD align="left" vAlign=top >
|
||||
<table width='100%' cellspacing='1' cellpadding='3' bgcolor='#CCCCCC' class="tablewidth">
|
||||
<tr class="head">
|
||||
<td width="10%" align="center">编号</td>
|
||||
<td align="center">订单编号</td>
|
||||
<td align="center">当前状态</td>
|
||||
<td align="center">付款方式</td>
|
||||
<td align="center">预订时间</td>
|
||||
<td align="center">查看详细</td>
|
||||
</tr>
|
||||
<%
|
||||
if(!pagelist3.isEmpty()){
|
||||
for(int i=0;i<pagelist3.size();i++){
|
||||
List pagelist2 =(ArrayList)pagelist3.get(i);
|
||||
%>
|
||||
<tr class="trA" onMouseOver="this.className='trB'" onMouseOut="this.className='trA'">
|
||||
<td width='10%' align="center" style="border-bottom:1px dotted #ccc;"><%=i+1 %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(1).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(3).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(4).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(5).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><a href="<%=basePath %>member/prep/info.jsp?ddid=<%=pagelist2.get(1).toString()%>">查看详细</a></td>
|
||||
</tr>
|
||||
<%
|
||||
}}
|
||||
%>
|
||||
</table>
|
||||
</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
|
||||
</BODY>
|
||||
<%} %>
|
||||
</HTML>
|
@ -0,0 +1,97 @@
|
||||
<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
|
||||
<jsp:useBean id="sn" scope="page" class="com.bean.SystemBean" />
|
||||
<jsp:useBean id="tb" scope="page" class="com.bean.HzpBean" />
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
String dir=sn.getDir();
|
||||
%>
|
||||
<HTML><HEAD><TITLE>后台操作区</TITLE>
|
||||
<LINK href="<%=basePath %><%=dir %>/images/Admin_Style.css" type=text/css rel=stylesheet>
|
||||
<LINK href="<%=basePath %><%=dir %>/images/style.css" type=text/css rel=stylesheet>
|
||||
<SCRIPT language=JavaScript src="<%=basePath %><%=dir %>/images/Common.js"></SCRIPT>
|
||||
<STYLE type=text/css>
|
||||
BODY {
|
||||
MARGIN-LEFT: 0px; BACKGROUND-COLOR: #ffffff
|
||||
}
|
||||
.STYLE1 {color: #ECE9D8}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<script type="text/javascript">
|
||||
function del()
|
||||
{
|
||||
pageform.submit();
|
||||
}
|
||||
</script>
|
||||
<%
|
||||
String message = (String)request.getAttribute("message");
|
||||
if(message == null){
|
||||
message = "";
|
||||
}
|
||||
if (!message.trim().equals("")){
|
||||
out.println("<script language='javascript'>");
|
||||
out.println("alert('"+message+"');");
|
||||
out.println("</script>");
|
||||
}
|
||||
request.removeAttribute("message");
|
||||
%>
|
||||
<%
|
||||
String member=(String)session.getAttribute("member");
|
||||
if(member==null){
|
||||
response.sendRedirect(path+"/error.jsp");
|
||||
}
|
||||
else{
|
||||
List pagelist3=tb.getMyPrep("select * from prep where member='"+member+"' and zt='未提交' order by id desc");
|
||||
%>
|
||||
<BODY >
|
||||
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
|
||||
<TBODY>
|
||||
<TR>
|
||||
<TD align="left" vAlign=top >
|
||||
<table width='100%' cellspacing='1' cellpadding='3' bgcolor='#CCCCCC' class="tablewidth">
|
||||
<tr class="head">
|
||||
<td width="10%" align="center">编号</td>
|
||||
<td align="center">菜品名称</td>
|
||||
<td align="center">订购数量</td>
|
||||
<td align="center">送货时间</td>
|
||||
<td align="center">送货地点</td>
|
||||
<td align="center">联系人</td>
|
||||
<td align="center">联系方式</td>
|
||||
<td align="center">预订时间</td>
|
||||
<td align="center">修改</td>
|
||||
<td align="center">删除</td>
|
||||
</tr>
|
||||
<%
|
||||
if(!pagelist3.isEmpty()){
|
||||
for(int i=0;i<pagelist3.size();i++){
|
||||
List pagelist2 =(ArrayList)pagelist3.get(i);
|
||||
%>
|
||||
<tr class="trA" onMouseOver="this.className='trB'" onMouseOut="this.className='trA'">
|
||||
<td width='10%' align="center" style="border-bottom:1px dotted #ccc;"><%=i+1 %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(1).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(2).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(3).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(4).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(5).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(6).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(7).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><a href="<%=basePath %>member/prep/up.jsp?id=<%=pagelist2.get(0).toString()%>">修改</a></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><a href="<%=basePath %>NewsServlet?method=delPrep&id=<%=pagelist2.get(0).toString()%>">删除</a></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
}}
|
||||
%>
|
||||
</table>
|
||||
</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
<form action="<%=basePath %>NewsServlet?method=addDD" method="post" name="form1" >
|
||||
<p align=center>付款方式:<input type=radio name=fkfs value="银行转账" checked> 银行转账 <input type=radio name=fkfs value="货到付款" > 货到付款
|
||||
<br><br>
|
||||
<p align=center><input type=submit onclick="f1()" value="生成订单并提交"></TD>
|
||||
</form>
|
||||
</BODY>
|
||||
<%} %>
|
||||
</HTML>
|
@ -0,0 +1,92 @@
|
||||
<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
|
||||
<jsp:useBean id="sn" scope="page" class="com.bean.SystemBean" />
|
||||
<jsp:useBean id="tb" scope="page" class="com.bean.HzpBean" />
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
String dir=sn.getDir();
|
||||
%>
|
||||
<HTML><HEAD><TITLE>后台操作区</TITLE>
|
||||
<LINK href="<%=basePath %><%=dir %>/images/Admin_Style.css" type=text/css rel=stylesheet>
|
||||
<LINK href="<%=basePath %><%=dir %>/images/style.css" type=text/css rel=stylesheet>
|
||||
<SCRIPT language=JavaScript src="<%=basePath %><%=dir %>/images/Common.js"></SCRIPT>
|
||||
<STYLE type=text/css>
|
||||
BODY {
|
||||
MARGIN-LEFT: 0px; BACKGROUND-COLOR: #ffffff
|
||||
}
|
||||
.STYLE1 {color: #ECE9D8}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<script type="text/javascript">
|
||||
function del()
|
||||
{
|
||||
pageform.submit();
|
||||
}
|
||||
</script>
|
||||
<%
|
||||
String message = (String)request.getAttribute("message");
|
||||
if(message == null){
|
||||
message = "";
|
||||
}
|
||||
if (!message.trim().equals("")){
|
||||
out.println("<script language='javascript'>");
|
||||
out.println("alert('"+message+"');");
|
||||
out.println("</script>");
|
||||
}
|
||||
request.removeAttribute("message");
|
||||
%>
|
||||
<%
|
||||
String member=(String)session.getAttribute("member");
|
||||
if(member==null){
|
||||
response.sendRedirect(path+"/error.jsp");
|
||||
}
|
||||
else{
|
||||
String ddid=request.getParameter("ddid");
|
||||
List pagelist3=tb.gegComMethod("select sale.dz,prep.* from sale,prep where prep.ddid='"+ddid+"' and prep.title=sale.title order by prep.id desc",11);
|
||||
%>
|
||||
<BODY >
|
||||
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
|
||||
<TBODY>
|
||||
<TR>
|
||||
<TD align="left" vAlign=top >
|
||||
<table width='100%' cellspacing='1' cellpadding='3' bgcolor='#CCCCCC' class="tablewidth">
|
||||
<tr class="head">
|
||||
<td width="10%" align="center">编号</td>
|
||||
<td align="center">菜品名称</td>
|
||||
<td align="center">价格</td>
|
||||
<td align="center">订购数量</td>
|
||||
<td align="center">送货时间</td>
|
||||
<td align="center">送货地点</td>
|
||||
<td align="center">联系人</td>
|
||||
<td align="center">联系方式</td>
|
||||
</tr>
|
||||
<%float f=0;
|
||||
if(!pagelist3.isEmpty()){
|
||||
|
||||
for(int i=0;i<pagelist3.size();i++){
|
||||
List pagelist2 =(ArrayList)pagelist3.get(i);
|
||||
f+=Float.parseFloat(pagelist2.get(0).toString())*Integer.parseInt(pagelist2.get(3).toString());
|
||||
%>
|
||||
<tr class="trA" onMouseOver="this.className='trB'" onMouseOut="this.className='trA'">
|
||||
<td width='10%' align="center" style="border-bottom:1px dotted #ccc;"><%=i+1 %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(2).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(0).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(3).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(4).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(5).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(6).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(7).toString() %></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
}}
|
||||
%>
|
||||
</table>
|
||||
</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
<p align=center>订单总金额:<%=f %> 元
|
||||
</BODY>
|
||||
<%} %>
|
||||
</HTML>
|
@ -0,0 +1,84 @@
|
||||
<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
|
||||
<jsp:useBean id="sn" scope="page" class="com.bean.SystemBean" />
|
||||
<jsp:useBean id="tb" scope="page" class="com.bean.HzpBean" />
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
String dir=sn.getDir();
|
||||
%>
|
||||
<HTML><HEAD><TITLE>后台操作区</TITLE>
|
||||
<LINK href="<%=basePath %><%=dir %>/images/Admin_Style.css" type=text/css rel=stylesheet>
|
||||
<LINK href="<%=basePath %><%=dir %>/images/style.css" type=text/css rel=stylesheet>
|
||||
<SCRIPT language=JavaScript src="<%=basePath %><%=dir %>/images/Common.js"></SCRIPT>
|
||||
<STYLE type=text/css>
|
||||
BODY {
|
||||
MARGIN-LEFT: 0px; BACKGROUND-COLOR: #ffffff
|
||||
}
|
||||
.STYLE1 {color: #ECE9D8}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<script type="text/javascript">
|
||||
function del()
|
||||
{
|
||||
pageform.submit();
|
||||
}
|
||||
</script>
|
||||
<%
|
||||
String message = (String)request.getAttribute("message");
|
||||
if(message == null){
|
||||
message = "";
|
||||
}
|
||||
if (!message.trim().equals("")){
|
||||
out.println("<script language='javascript'>");
|
||||
out.println("alert('"+message+"');");
|
||||
out.println("</script>");
|
||||
}
|
||||
request.removeAttribute("message");
|
||||
%>
|
||||
<%
|
||||
String member=(String)session.getAttribute("member");
|
||||
if(member==null){
|
||||
response.sendRedirect(path+"/error.jsp");
|
||||
}
|
||||
else{
|
||||
List pagelist3=tb.gegComMethod("select * from dd where member='"+member+"' and zt='未发货' order by id desc",6);
|
||||
%>
|
||||
<BODY >
|
||||
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
|
||||
<TBODY>
|
||||
<TR>
|
||||
<TD align="left" vAlign=top >
|
||||
<table width='100%' cellspacing='1' cellpadding='3' bgcolor='#CCCCCC' class="tablewidth">
|
||||
<tr class="head">
|
||||
<td width="10%" align="center">编号</td>
|
||||
<td align="center">订单编号</td>
|
||||
<td align="center">当前状态</td>
|
||||
<td align="center">付款方式</td>
|
||||
<td align="center">预订时间</td>
|
||||
<td align="center">查看详细</td>
|
||||
</tr>
|
||||
<%
|
||||
if(!pagelist3.isEmpty()){
|
||||
for(int i=0;i<pagelist3.size();i++){
|
||||
List pagelist2 =(ArrayList)pagelist3.get(i);
|
||||
%>
|
||||
<tr class="trA" onMouseOver="this.className='trB'" onMouseOut="this.className='trA'">
|
||||
<td width='10%' align="center" style="border-bottom:1px dotted #ccc;"><%=i+1 %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(1).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(3).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(4).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(5).toString() %></td>
|
||||
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><a href="<%=basePath %>member/prep/info.jsp?ddid=<%=pagelist2.get(1).toString()%>">查看详细</a></td>
|
||||
</tr>
|
||||
<%
|
||||
}}
|
||||
%>
|
||||
</table>
|
||||
</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
|
||||
</BODY>
|
||||
<%} %>
|
||||
</HTML>
|
@ -0,0 +1,115 @@
|
||||
<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
|
||||
<jsp:useBean id="mb" scope="page" class="com.bean.MemberBean"></jsp:useBean>
|
||||
<jsp:useBean id="tb" scope="page" class="com.bean.HzpBean" />
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
<HTML><HEAD>
|
||||
<LINK href="<%=basePath %>member/images/Admin_Style.css" type=text/css rel=stylesheet>
|
||||
<LINK href="<%=basePath %>member/images/style.css" type=text/css rel=stylesheet>
|
||||
<SCRIPT language=JavaScript src="<%=basePath %>images/css/Common.js"></SCRIPT>
|
||||
<SCRIPT language=JavaScript src="<%=basePath %>member/images/calendar.js"></SCRIPT>
|
||||
<STYLE type=text/css>
|
||||
BODY {
|
||||
MARGIN-LEFT: 0px; BACKGROUND-COLOR: #ffffff
|
||||
}
|
||||
.STYLE1 {color: #ECE9D8}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
|
||||
<SCRIPT language=JavaScript src="<%=basePath %>member/images/city.js"></SCRIPT>
|
||||
<script type="text/javascript">
|
||||
function f1()
|
||||
{//rs sj ts lxr lxfs
|
||||
if(document.form1.rs.value=="")
|
||||
{
|
||||
alert("请填写订购数量!");
|
||||
document.form1.rs.focus();
|
||||
return false;
|
||||
}
|
||||
if(isNaN(document.form1.rs.value))
|
||||
{
|
||||
alert("订购数量只能为整数!");
|
||||
document.form1.rs.focus();
|
||||
return false;
|
||||
}
|
||||
if(document.form1.sj.value=="")
|
||||
{
|
||||
alert("请填写送货时间!");
|
||||
document.form1.sj.focus();
|
||||
return false;
|
||||
}if(document.form1.ts.value=="")
|
||||
{
|
||||
alert("请填写送货地点!");
|
||||
document.form1.ts.focus();
|
||||
return false;
|
||||
}if(document.form1.lxr.value=="")
|
||||
{
|
||||
alert("请填写联系人!");
|
||||
document.form1.lxr.focus();
|
||||
return false;
|
||||
}if(document.form1.lxfs.value=="")
|
||||
{
|
||||
alert("请填写联系方式!");
|
||||
document.form1.lxfs.focus();
|
||||
return false;
|
||||
}
|
||||
form1.submit();
|
||||
}
|
||||
</script>
|
||||
<%
|
||||
String message = (String)request.getAttribute("message");
|
||||
if(message == null){
|
||||
message = "";
|
||||
}
|
||||
if (!message.trim().equals("")){
|
||||
out.println("<script language='javascript'>");
|
||||
out.println("alert('"+message+"');");
|
||||
out.println("</script>");
|
||||
}
|
||||
request.removeAttribute("message");
|
||||
%>
|
||||
<%
|
||||
String member=(String)session.getAttribute("member");
|
||||
String type=(String)session.getAttribute("type");
|
||||
if(member==null||type==null){
|
||||
response.sendRedirect(path+"/error.jsp");
|
||||
}
|
||||
else{
|
||||
String id=request.getParameter("id");
|
||||
List list=tb.getMy11Prep("select * from prep where id='"+id+"'");
|
||||
%>
|
||||
<BODY >
|
||||
<br><br>
|
||||
<form action="<%=basePath %>NewsServlet?method=upPrep" method="post" name="form1" >
|
||||
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
|
||||
<TBODY>
|
||||
|
||||
<TR><input type=hidden name=id value=<%=id%>>
|
||||
<TD width=45% align=right>菜品名称:</TD><TD align=left><%=list.get(1).toString() %></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD width=45% align=right>订购数量:</TD><TD align=left><input type=text name=rs value=<%=list.get(2).toString() %>></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD align=right>送货时间:</TD><TD align=left><input type=text name=sj value=<%=list.get(3).toString() %>></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD align=right>送货地点:</TD><TD align=left><input type=text name=ts value=<%=list.get(4).toString() %>></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD align=right>联 系 人:</TD><TD align=left><input type=text name=lxr value=<%=list.get(5).toString() %>></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD align=right>联系方式:</TD><TD align=left><input type=text name=lxfs value=<%=list.get(6).toString() %>></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD align=center colspan=2><br><input type=button onclick="f1()" value="提交预订"></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</form>
|
||||
</BODY>
|
||||
<%} %>
|
||||
</HTML>
|
@ -0,0 +1,28 @@
|
||||
<%@ 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 'MyJsp.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>
|
||||
This is my JSP page. <br>
|
||||
</body>
|
||||
</html>
|
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 810 KiB |
After Width: | Height: | Size: 261 KiB |
After Width: | Height: | Size: 321 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 84 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 67 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 7.3 KiB |