增加提交

wlk_branch
IE-WEB 8 months ago
parent 7c9b0c1e2e
commit bce74d82c3

@ -0,0 +1,74 @@
<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%
String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml"> <!-- 管理员界面 -->
<head>
<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 href="<%=path %>/css/cont.css" rel="stylesheet" type="text/css"/> <!-- 调用一个外部的CSS样式文件,css的链接路径是path/css/cont.css,调用的样式为stylesheet类型是css -->
<!--脚本类型是JavaScript-->
<script type="text/javascript">
function switchSysBar(){
var locate=location.href.replace('<%=path %>/admin/cont.jsp',''); //定义一个变量locate取得当前url地址代替上述域名
var ssrc=document.all("img1").src.replace(locate,''); //将所有name = img1的图片地址中去掉刚才上面得到的路径 只留下类似images/*.gif的字符串
if (ssrc=="/jiaju/images/cont_19.gif") //如果图片是/jiaju/images/cont_19.gif则将它换成/jiaju/images/cont_1_19.gif并隐藏frmTitle
{
document.all("img1").src="/jiaju/images/cont_1_19.gif";
document.all("frmTitle").style.display="none"
}
else
{
document.all("img1").src="/jiaju/images/cont_19.gif";
document.all("frmTitle").style.display=""
} //否则将图片替换成/jiaju/images/cont_19.gif并显示frmTitle
}
</script>
</head>
<body>
<body style="overflow:hidden"> <!-- 隐藏滚动条 -->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" class="cont_tab"> <!--表格宽度为100% 高度为100% 表中小格子边框为0小格子中文字距离小格子距离为0小格子之间距离为0小格子紧密的靠在一起样式为css中的cont_tab-->
<tr>
<td width="180" id="frmTitle" align="center" valign="top">
<iframe name="left" height="100%" width="180" src="<%=path %>/admin/left.jsp" frameborder="0" scrolling="no">
浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe> </td>
<!-- <td width="8" valign="middle" onClick="switchSysBar()"><img src="/jiaju/images/cont_19.gif" width="8" height="64" name="img1" id="img1" title="打开/关闭左侧栏" style="cursor:hand;"></td> -->
<td align="center" valign="top" style="padding-right:8px;"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed;">
<tr>
<td height="13" style=" line-height:13px;"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;">
<tr>
<td class="cont_tab_l">&nbsp;</td>
<td class="cont_tab_m">&nbsp;</td>
<td class="cont_tab_r">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed;">
<tr>
<td><iframe name="I1" height="100%" width="100%" src="<%=path %>/admin/right.jsp" border="0" frameborder="0" scrolling="auto"> 浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
</tr>
</table></td>
</tr>
<tr>
<td height="13" style="line-height:13px;"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;">
<tr>
<td class="cont_tab_bl">&nbsp;</td>
<td class="cont_tab_bm">&nbsp;</td>
<td class="cont_tab_br">&nbsp;</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>

@ -0,0 +1,20 @@
<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%
String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<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 href="<%=path %>/css/cont.css" rel="stylesheet" type="text/css" /> <!-- 调用一个外部的CSS样式文件,css的链接路径是path/css/cont.css,调用的样式为stylesheet类型是css -->
</head>
<body>
<div id="foot"></div> <!-- div起到分割作用div的id=food 颜色为蓝色-->
</body>
</html>

@ -0,0 +1,23 @@
<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%
String path = request.getContextPath(); //获得当前的项目根目录路径赋值给path
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <!-- XHTML namespace命名空间 通过http://www.w3.org/1999/xhtml来识别网页标记-->
<head>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="expires" content="0"/> <!-- 清除浏览器中的缓存它和其它几句合起来用就可以使你再次进入曾经访问过的页面时ie浏览器必须从服务端下载最新的内容达到刷新的效果。 -->
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/> <!-- 向搜索引擎说明你的网页的关键词 -->
<meta http-equiv="description" content="This is my page"/> <!-- 告诉搜索引擎你的站点的主要内容 -->
</head>
<frameset rows="100,*,20" cols="*" framespacing="0" frameborder="no" border="0"> <!-- 设置浏览器划分成左右100像素剩余20像素上下不分框架与框架间保留的空白的距离为0没有框架边框框架边框厚度为0 -->
<frame src="<%=path %>/admin/top.jsp" name="topFrame" scrolling="no" noresize="noresize" id="topFrame" frameborder="0" />
<frame src="<%=path %>/admin/cont.jsp" name="mainFrame" id="mainFrame" frameborder="0" />
<frame src="<%=path %>/admin/foot.jsp" name="footFrame" id="footFrame" frameborder="0" />
</frameset> <!--框架显示的界面分别是path的值/admin/top.jspcont.jspfoot.jsp 框架没有滚动条 无法调整框架的大小id="topframe",框架边框厚度为0-->
<noframes><body></body></noframes> <!--noframes 元素可为那些不支持框架的浏览器显示文本 body中无文本-->
</html>

@ -0,0 +1,295 @@
<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%
String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<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 href="<%=path %>/css/cont.css" rel="stylesheet" type="text/css"> <!-- 调用一个外部的CSS样式文件,css的链接路径是path/css/cont.css,调用的样式为stylesheet类型是css -->
<style type="text/css">
.STYLE1 {color: #FFFFFF;font-size: 12px;}
</style>
<script type="text/javascript">
function show(str)
{
var str1="td"+str;
var str="show"+str;
document.getElementById("td1").style.background="url('/dingcan/images/l_b_03.gif')";//每添加一个菜单,都要在这里添加。 getElementById得到id=td1的值即修改登录密码
document.getElementById("td2").style.background="url('/dingcan/images/l_b_03.gif')";
document.getElementById("td3").style.background="url('/dingcan/images/l_b_03.gif')";
document.getElementById("td4").style.background="url('/dingcan/images/l_b_03.gif')";
document.getElementById("td5").style.background="url('/dingcan/images/l_b_03.gif')";
document.getElementById("td6").style.background="url('/dingcan/images/l_b_03.gif')";
document.getElementById("show1").style.display="none";
document.getElementById("show2").style.display="none";
document.getElementById("show3").style.display="none";
document.getElementById("show4").style.display="none";
document.getElementById("show5").style.display="none";
document.getElementById("show6").style.display="none";
document.getElementById(str1).style.background="url('/dingcan/images/l_b_05.gif')";
document.getElementById(str).style.display="block";//变成块级元素
}//迭代使用show函数使用show函数完成叠菜单
function sho(str)
{
var str1="t"+str;
var str="sho"+str;
document.getElementById("t1").style.background="url('/dingcan/images/2_14.gif')";
document.getElementById("t2").style.background="url('/dingcan/images/2_14.gif')";
document.getElementById("t3").style.background="url('/dingcan/images/2_14.gif')";
document.getElementById("t4").style.background="url('/dingcan/images/2_14.gif')";
document.getElementById("t5").style.background="url('/dingcan/images/2_14.gif')";
document.getElementById("t6").style.background="url('/dingcan/images/2_14.gif')";
document.getElementById("sho1").style.display="none";
document.getElementById("sho2").style.display="none";
document.getElementById("sho3").style.display="none";
document.getElementById("sho4").style.display="none";
document.getElementById("sho5").style.display="none";
document.getElementById("sho6").style.display="none";
document.getElementById(str1).style.background="url('/dingcan/images/3_13.gif')";
document.getElementById(str).style.display="block";
}
</script>
</head>
<body>
<table width="180" height="100%" border="0" cellpadding="0" cellspacing="0"> <!--表格宽度为180 高度为100% 表中小格子边框为0无边框小格子中文字距离小格子距离为0小格子之间距离为0小格子紧密的靠在一起-->
<tr>
<td height="34">
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <!-- 在表中再建立一个表分成3部分放入图片组成一栏 -->
<tr>
<td width="48"><img src="/dingcan/images/left_09.gif" width="48" height="34"></td>
<td align="center" background="/dingcan/images/left_10.gif"><span class="STYLE1">导航菜单</span></td> <!--定义行内元素导航菜单样式为STYLE1-->
<td width="48"><img src="/dingcan/images/l_09.gif" width="48" height="34"></td> <!--在34高度上插入3个图片组成一栏 -->
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" background="/dingcan/images/left_bg_03.gif" class="left_mid"> <!-- 放置顶端图片 为left_mid类型-->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="menu_first_img mouse" id="td1" onClick="show(1)">&nbsp; <!-- 点击触发show1即打开下拉菜单 -->
<span style="margin-left: 30px;font-family: 微软雅黑;color: white;font-size: 15px;"> <!-- 这一行左边距30px -->
修改登录密码
</span>
</td>
</tr>
<!-- 1111 -->
<tr>
<td id="show1" style="display:none;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="left">
<table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140" align="center">
<span style="margin-left: 50px;font-family: 微软雅黑;font-size: 14px;">
<a href="<%=path %>/admin/userinfo/userPw.jsp" target="I1" style="color: black;">修改登录密码</a> <!-- 点击修改密码进入path/admin/userinfo/userPw.jsp界面 -->
</span>
</td>
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- 1111 -->
<!-- 1111 -->
<tr>
<td class="menu_first_img mouse" id="td2" onClick="show(2)">&nbsp;
<span style="margin-left: 30px;font-family: 微软雅黑;color: white;font-size: 15px;">
菜品类别管理
</span>
</td>
</tr>
<tr>
<td id="show2" style="display:none;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="left">
<table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140" align="center">
<span style="margin-left: 50px;font-family: 微软雅黑;font-size: 14px;">
<a href="<%=path %>/catelog?type=catelogMana" target="I1" style="color: black;">菜品类别管理</a> <!-- ?是AJAX技术后面可以接传递的参数 -->
</span>
</td>
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="left">
<table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140" align="center">
<span style="margin-left: 50px;font-family: 微软雅黑;font-size: 14px;">
<a href="<%=path %>/admin/catelog/catelogAdd.jsp" target="I1" style="color: black;">添加菜品类别</a>
</span>
</td>
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- 1111 -->
<!-- 1111 -->
<tr>
<td class="menu_first_img mouse" id="td3" onClick="show(3)">&nbsp;
<span style="margin-left: 30px;font-family: 微软雅黑;color: white;font-size: 15px;">
菜品信息管理
</span>
</td>
</tr>
<tr>
<td id="show3" style="display:none;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="left">
<table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140" align="center">
<span style="margin-left: 50px;font-family: 微软雅黑;font-size: 14px;">
<a href="<%=path %>/goods?type=goodsMana" target="I1" style="color: black;">菜品信息管理</a>
</span>
</td>
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="left">
<table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140" align="center">
<span style="margin-left: 50px;font-family: 微软雅黑;font-size: 14px;">
<a href="<%=path %>/admin/goods/goodsAdd.jsp" target="I1" style="color: black;">菜品信息添加</a>
</span>
</td>
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- 1111 -->
<!-- 1111 -->
<tr>
<td class="menu_first_img mouse" id="td4" onClick="show(4)">&nbsp;
<span style="margin-left: 30px;font-family: 微软雅黑;color: white;font-size: 15px;">
会员信息管理
</span>
</td>
</tr>
<tr>
<td id="show4" style="display:none;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="left">
<table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140" align="center">
<span style="margin-left: 50px;font-family: 微软雅黑;font-size: 14px;">
<a href="<%=path %>/user?type=userMana" target="I1" style="color: black;">会员信息管理</a>
</span>
</td>
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- 1111 -->
<!-- 1111 -->
<tr>
<td class="menu_first_img mouse" id="td5" onClick="show(5)">&nbsp;
<span style="margin-left: 30px;font-family: 微软雅黑;color: white;font-size: 15px;">
订单信息管理
</span>
</td>
</tr>
<tr>
<td id="show5" style="display:none;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="left">
<table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140" align="center">
<span style="margin-left: 50px;font-family: 微软雅黑;font-size: 14px;">
<a href="<%=path %>/order?type=orderMana" target="I1" style="color: black;">订单信息管理</a>
</span>
</td>
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- 1111 -->
<!-- 1111 -->
<tr>
<td class="menu_first_img mouse" id="td6" onClick="show(6)">&nbsp;
<span style="margin-left: 30px;font-family: 微软雅黑;color: white;font-size: 15px;">
留言信息管理
</span>
</td>
</tr>
<tr>
<td id="show6" style="display:none;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="left">
<table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140" align="center">
<span style="margin-left: 50px;font-family: 微软雅黑;font-size: 14px;">
<a href="<%=path %>/liuyan?type=liuyanMana" target="I1" style="color: black;">留言信息管理</a>
</span>
</td>
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- 1111 -->
</table>
</td>
</tr>
<tr>
<td height="13"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="48"><img src="/dingcan/images/left_31.gif" width="48" height="13"></td>
<td background="/dingcan/images/left_32.gif" class="left_b_m">&nbsp;</td>
<td width="48"><img src="/dingcan/images/left_31_l.gif" width="48" height="13"></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>

@ -0,0 +1,21 @@
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<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">
</head>
<body>
welcome. <br>
</body>
</html>

@ -0,0 +1,41 @@
<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%
String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<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 href="<%=path %>/css/cont.css" rel="stylesheet" type="text/css" /> <!-- 调用一个外部的CSS样式文件,css的链接路径是path/css/cont.css,调用的样式为stylesheet类型是css -->
<script type="text/javascript">
function logout()
{
if(confirm("确定要退出本系统吗??"))
{
window.parent.location="<%=path %>/login.jsp";
} //点击确定返回后台登录界面
}
function index()
{
window.parent.location="<%=path %>/site/default.jsp";
}//返回首页
</script>
</head>
<body style="background:url(/dingcan/images/top_05.jpg)">
<span style="float:left;margin-left: 20px;color: white;font-size: 30px;margin-top: 30px;">基于JSP的高校快餐店订餐系统</span>
<!-- 标题向左浮动距离左边20像素白色字体30像素距离顶端30像素 -->
<span style="float:right;margin-right: 30px;margin-top: 30px;">
<a href="#" style="color: white;font-size: 16px;font-family: 微软雅黑" onclick="logout()">注销退出</a> <!-- 向右浮动 -->
<a href="#" style="color: white;font-size: 16px;font-family: 微软雅黑" onclick="index()">返回首页</a>
</span>
</body>
</html>
Loading…
Cancel
Save