📄 title.jsp
字号:
<%@ page contentType="text/html;charset=GBK" %>
<%@ page import="epod.app.module.helper.*"%>
<%@ page import="epod.framework.*"%>
<%
if( session.getAttribute(epod.framework.constant.SessionKey.USER) == null ) {
out.write(epod.util.HtmlUtil.getMsgHtml("会话超时,请重新登录。", "/", "parent"));
return;
}
epod.auth.User user= (epod.auth.User)session.getAttribute(epod.framework.constant.SessionKey.USER);
EpodContext context = new EpodContext(request,this.getServletConfig());
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<SCRIPT LANGUAGE="JavaScript" src="../../page/lib/common.js"></SCRIPT>
<title>OSPOD开发平台</title>
<link href="image/title/style.css" rel="stylesheet" type="text/css" />
</head>
<style type="text/css">
<!--
table.title a{
color:#000;
text-decoration: none;
}
table.title a:hover{
text-decoration: underline;
}
-->
</style>
<body>
<table width="100%" height="60" border="0" cellpadding="0" cellspacing="0">
<tr id="logo">
<td valign="top"><img src="image/title/logo.gif"/></td>
<td ><img src="image/title/title.jpg" /></td>
<td valign="top"><div align="right"><img src="image/title/logo2.gif" width="280" height="35" /></div></td>
</tr>
<tr id="banner">
<td><img src="image/title/banner.jpg" width="169" height="23" /></td>
<td> </td>
<td><table border="0" align="right" cellpadding="0" cellspacing="0" class="title">
<tr>
<td><%= user.getUsername()%>,欢迎进入管理中心! </td>
<td>【<a href="<%=context.getContextPath()%>/epod/skins/m_default/epodframe.html">管理中心首页</a>】 </td>
<td>【<a href="<%=context.getContextPath(false)%>/index.do" target="_blank">论坛首页</a>】</td>
<td>【<A HREF="<%=context.getContextPath()%>/c?_logout=true" target="_parent">退出</a>】</td>
</tr>
</table></td>
</tr>
<tr id="banner2">
<td colspan="3"></td>
</tr>
</table>
</body>
</html>
<SCRIPT LANGUAGE="JavaScript">
<!--
function setDefaultRole() {
var r = document.all('roleid');
var opts = r.options;
for(var i=0;i<opts.length;i++){
if(opts[i].selected){
var hint = "将当前角色["+ opts[i].text+"]设置为默认角色,下次登录时自动用此角色登录,您确认吗?"
if(window.confirm(hint)){
window.location = "setdefaultrole.jsp?eroleid=" + document.all('roleid').value;
}
}
}
}
function setRole(obj) {
var r = document.all('roleid');
var opts = r.options;
for(var i=0;i<opts.length;i++){
if(opts[i].selected){
var hint = "切换到选中角色["+ opts[i].text+"],此操作将导致页面重新刷新,您确认吗?\n\n说明:如果您希望这个角色能成为你默认登录角色,请按“设为默认”。"
if(window.confirm(hint)){
parent.location="rolepro.jsp?eroleid=" + obj.value
}
}
}
}
//-->
</SCRIPT>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -