📄 top.jsp
字号:
<%@ page contentType="text/html;charset=utf-8"%>
<%@ page import="com.cwc.app.api.AdminLoggerBean"%>
<%@ include file="../include.jsp"%>
<%
AdminLoggerBean adminLoggerBean = memberMgr.getAdminLogerInfo(session);
DBRow detailGroup = adminMgr.getDetailAdminGroup( adminLoggerBean.getAdgid() );
%>
<HTML>
<HEAD>
<TITLE>TOP</TITLE>
<script type="text/javascript" src="js/jquery-latest.js"></script>
<script>
function checkAdminLogin()
{
$.post("<%=ConfigBean.getStringValue("systenFolder")%>appController/adminIslogin", {Action:"post",Name:"checkform"}, function (data, textStatus){
//返回的 data 可以是 xmlDoc, jsonObj, html, text, 等等.
this; // 在这里this指向的是Ajax请求的选项配置信息,请参考下图
if (data*1==0)
{
top.location="<%=systemConfig.getStringConfigValue("admin_login_path")%>";
}
//alert(data);
//alert(textStatus);//请求状态:success,error等等。 当然这里捕捉不到error,因为error的时候根本不会运行该回调函数
//alert(this);
});
}
</script>
<SCRIPT language=JavaScript>
<!--
function logout()
{
if (confirm("确认退出系统吗?"))
{
document.logout_form.submit();
}
}
//-->
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<style type="text/css">
<!--
td {
font-size: 12px;
}
.tpl {
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 1px;
border-left-width: 0px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: c8c8c8;
border-right-color: #c8c8c8;
border-bottom-color: #c8c8c8;
border-left-color: #c8c8c8;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #f0f0f0;
}
a.blue:link {
font-family: "Geneva", "Arial", "Helvetica", "sans-serif";
color: #666666;
text-decoration: none;
}
a.blue:visited {
font-family: "Geneva", "Arial", "Helvetica", "sans-serif";
color: 666666;
text-decoration: none;
}
a.blue:hover {
font-family: "Geneva", "Arial", "Helvetica", "sans-serif";
color: #FF0000;
text-decoration: none;
}
a.blue:active {
font-family: "Geneva", "Arial", "Helvetica", "sans-serif";
color: 666666;
text-decoration: none;
}
a.pre:link {
font-size: 12px;
color: #000000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/pre.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.pre:visited {
font-size: 12px;
color: #000000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/pre.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.pre:hover {
font-size: 12px;
color: #FF0000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/pre_on.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.pre:active {
font-size: 12px;
color: #000000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/pre.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.ne:link {
font-size: 12px;
color: #000000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/ne.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.ne:visited {
font-size: 12px;
color: #000000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/ne.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.ne:hover {
font-size: 12px;
color: #FF0000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/ne_on.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.ne:active {
font-size: 12px;
color: #000000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/ne.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.flush:link {
font-size: 12px;
color: #000000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/flush.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.flush:visited {
font-size: 12px;
color: #000000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/flush.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.flush:hover {
font-size: 12px;
color: #FF0000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/flush_on.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.flush:active {
font-size: 12px;
color: #000000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/flush.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.logout:link {
font-size: 12px;
color: #000000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/logout.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.logout:visited {
font-size: 12px;
color: #000000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/logout.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.logout:hover {
font-size: 12px;
color: #FF0000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/logout_on.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
a.logout:active {
font-size: 12px;
color: #000000;
text-decoration: none;
background-attachment: fixed;
background-image: url(imgs/logout.gif);
background-repeat: no-repeat;
background-position: 1px center;
height: 23px;
width: 60px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 0px;
padding-left: 28px;
}
-->
</style>
<style type="text/css">a {blr:expression(this.onFocus=this.blur())}</style>
</HEAD>
<BODY oncontextmenu="window.event.returnValue=false" onselectstart="event.returnValue=false" ondragstart="window.event.returnValue=false" onsource="event.returnValue=false" >
<table width="100%" height="36" border="0" cellpadding="3" cellspacing="0">
<form name="logout_form" method="post" action="<%=ConfigBean.getStringValue("systenFolder")%>appController/adminLogout" target="_top">
</form>
<tr>
<td height="2" colspan="2"></td>
</tr>
<tr>
<td width="45%" height="36" background="imgs/forum_r1_c1.gif" style="padding-left:10px;"><a href="http://www.turboshop.cn/" target="_blank"><img src="imgs/admin_logo.gif" border="0"></a></td>
<td width="55%" align="right" valign="middle" background="imgs/forum_r1_c1.gif" style="padding-right:5px;font-size:11px;"><a href="http://www.turboshop.cn/" target="_blank" class="blue">Version: V3.6 | ©2006-2008
Powered By TurboShop</a></td>
</tr>
</table>
<table width="100%" height="34" border="0" cellpadding="3" cellspacing="0">
<tr>
<td height="2"></td>
<td align="right" valign="middle" ></td>
</tr>
<tr>
<td width="51%" height="32" bgcolor="#FFFFFF" class="tpl" style="padding-left:10px;"><a class="pre" href="javascript:top.main.history.go(-1);">后退</a> <a class="ne" href="javascript:top.main.history.go(1);">前进</a> <a class="flush" href="javascript:top.main.location.reload();">刷新</a> <a class="logout" href="javascript:logout();">退出</a></td>
<td width="49%" align="right" valign="middle" bgcolor="#FFFFFF" class="tpl"><span style="font-size:12px;padding-right:12px;"><img src="imgs/account.gif" alt="当前登录" width="19" height="20" align="absmiddle"> <%=adminLoggerBean.getAccount()%> <img src="imgs/group.gif" alt="角色" width="26" height="19" align="absmiddle"> <%=detailGroup.getString("name")%></span></td>
</tr>
</table>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -