📄 mainframe.jsp.svn-base
字号:
<%@ page contentType="text/html; charset=utf-8" language="java" errorPage="" %>
<%@ taglib uri="/WEB-INF/tlds/frametag.tld" prefix="xt"%>
<jsp:directive.page import="java.util.*" />
<jsp:directive.page import="com.stframe.form.DataForm" />
<%
String path = request.getContextPath();
String bath=request.getLocalAddr();
int post=request.getLocalPort();
List mList=(List)request.getAttribute("MODULELIST");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<title>亿能达社区卫生服务管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<style type="text/css">
/* CSS for the demo. CSS needed for the scripts are loaded dynamically by the scripts */
A:link
{
text-decoration: none;
}
A:visited
{
font-size: 12px;
font-family:宋体;
color: #1f5dc4;
text-decoration: none;
}
A:hover
{
color:#c00;
text-decoration: none;
}
A:active {
color:#c00;
}
h1{
margin-top:0px;
}
#northContent{
background:url(<%= path%>/IMAGES/top.jpg)
}
h3{
margin-top:30px;
}
.DHTMLSuite_paneContent .paneContentInner p{
margin-top:0px;
}
html,body{
width:100%;
height:100%;
margin:0px;
padding:0px;
}
#by_dhtmlgoodies{
position:absolute;
right:10px;
top:2px;
}
#by_dhtmlgoodies img{
border:0px;
}
#dhtmlgoodies_xpPane{
background-color:#7190e0;
float:left;
width:200px;
}
.STYLE2 {
font-size: 15px;
font-weight: bolder;
color: #1f5dc4;
}
.STYLE1 {
font-size: 1px;
color: #00319a;
}
</style>
<script type="text/javascript" src="/E_CHIS/JS/dhtml.js"></script>
<script type="text/javascript">
// <xt:logic col1="${msg}" col2="1" logic="==">
// var MSG1 = new CLASS_MSN_MESSAGE("aa",200,120,"短消息提示:","${emailMsg}","${eventMsg}");
// MSG1.rect(null,null,null,screen.height-50);
// MSG1.speed = 25;
// MSG1.step = 5;
// MSG1.show();
// </xt:logic>
</script>
</head>
<body topmargin="0" >
<!-- START DATASOURCES FOR THE PANES -->
<div id="westContent">
<div id="dhtmlgoodies_xpPane">
<xt:forby name="MODULELIST" id="F">
<xt:logic col1="${F.GRADE}" col2="1" logic="==">
<div id="${F.ID}">
<div>
<table>
<xt:forby name="MODULELIST" id="C">
<xt:logic col1="${C.PATER_CODE}" col2="${F.CODE}" logic="==">
<tr height="20">
<td >
<a href="#" onclick="return openPage('<%=path%>/${C.URL}')"><span style="FONT-SIZE: 9pt; WIDTH: 100%; font-family:宋体 ;"> ・${C.NAME}</span></a>
</td>
</tr>
</xt:logic>
</xt:forby>
</table>
</div>
</div>
</xt:logic>
</xt:forby>
</div>
</div>
<div id="northContent" style="BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; OVERFLOW: auto; BORDER-LEFT: 0px; WIDTH: 100%; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; HEIGHT: 100%">
<table height=45 width="100%" border=0 cellspacing=0 cellpadding=0 style="FONT-SIZE: 9pt;">
<tr height=40>
<td nowrap align="center">
<span style="FONT-WEIGHT: bold; FONT-SIZE: 18pt; WIDTH: 100%; COLOR: #2e618b;font-family:宋体 ;"> 亿能达社区卫生服务管理平台</span>
</td>
</tr>
</table>
<table width="100%" border=0 cellspacing=0 cellpadding=0 height=20>
<tr>
<td align="left" height=20>
<a href="#" onclick="return openPage('<%= path%>/Selevet.do?action=GET_SYS_USER_INFO')"><img src="<%= path%>/IMAGES/zj.gif" border="0" align="absmiddle"> <span style="FONT-SIZE: 10pt; WIDTH: 100%; font-family:宋体 ;">${USER_NAME}</span></a>
<script language=JavaScript>
/*
today=new Date();
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments[i] }
var d=new initArray(
"星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六");
document.write(
"<font color=#D16801 style='font-size:12px;font-family: 宋体'> ",
today.getYear(),"年",
today.getMonth()+1,"月",
today.getDate(),"日 ",
d[today.getDay()+1],
"</font>" ); */
</script>
</td>
<td align="right" height=20>
<a href="#" onclick="return openPage('<%= path%>/Selevet.do?action=SYS_WELCOME')"><img src="<%= path%>/IMAGES/home.gif" height="16" border="0" align="absmiddle"> <span style="FONT-SIZE: 10pt; WIDTH: 100%; font-family:宋体 ;">首页</span></a>
<a href="#" onclick="return openPage('<%= path%>/Selevet.do?action=SYS_USER_INI')"><img src="<%= path%>/IMAGES/my.gif" height="16" border="0" align="absmiddle"> <span style="FONT-SIZE: 10pt; WIDTH: 100%; font-family:宋体 ;">用户资料</span></a>
<a href="javascript:re_login();"><img src="<%= path%>/IMAGES/login.gif" height="16" border="0" align="absmiddle"> <span style="FONT-SIZE: 10pt; WIDTH: 100%; font-family:宋体 ;">注销</span></a>
</td>
</tr>
</table>
</div>
<div id="center" style="height:98%;width:98.5%;background-color: white" >
<iframe id="workspace" name="workspace" onload="this.height=workspace.document.body.scrollHeight;" border="0" style="height:98%;width:100%" frameborder="0" src="<%=path%>/Selevet.do?action=SYS_WELCOME"></iframe>
</div>
<!-- END DATASOURCES -->
<script type="text/javascript">
/* STEP 1 */
/* Create the data model for the panes */
var paneModel = new DHTMLSuite.paneSplitterModel();
DHTMLSuite.commonObj.setCssCacheStatus(false);
var paneWest = new DHTMLSuite.paneSplitterPaneModel( { position : "west", id:"westPane",size:220,minSize:100,maxSize:220,scrollbars:false,callbackOnCollapse:'callbackFunction',callbackOnExpand:'callbackFunction',callbackOnShow:'callbackFunction',callbackOnHide:'callbackFunction',callbackOnSlideIn:'callbackFunction',callbackOnSlideOut:'callbackFunction' } );
paneWest.addContent( new DHTMLSuite.paneSplitterContentModel( { id:"westContent",htmlElementId:'westContent',title:'<span class="STYLE2">功能区</span>',tabTitle:'West pane',closable:false } ) );
var paneNorth = new DHTMLSuite.paneSplitterPaneModel( { position : "north", id:"northPane",size:70,scrollbars:false,resizable:false } );
paneNorth.addContent( new DHTMLSuite.paneSplitterContentModel( { id:"northContent",htmlElementId:'northContent'} ) );
var paneCenter = new DHTMLSuite.paneSplitterPaneModel( { position : "center", id:"centerPane",size:150,minSize:100,maxSize:200,callbackOnCloseContent:'callbackFunction',callbackOnTabSwitch:'callbackFunction' } );
paneCenter.addContent( new DHTMLSuite.paneSplitterContentModel( { id: 'center',htmlElementId:'center',tabTitle: 'Main',closable:false} ) );
//上
paneModel.addPane(paneNorth);
//左
paneModel.addPane(paneWest);
//中
paneModel.addPane(paneCenter);
/* STEP 2 */
/* Create the pane object */
var paneSplitter = new DHTMLSuite.paneSplitter();
paneSplitter.addModel(paneModel); // Add the data model to the pane splitter
paneSplitter.init(); // Add the data model to the pane splitter
var infoPane = new DHTMLSuite.infoPanel();
DHTMLSuite.commonObj.setCssCacheStatus(true);
<% for(int i=0; i<mList.size();i++) {
DataForm df=(DataForm)mList.get(i);
if(null!=df.get("GRADE")&&"1".equals(df.get("GRADE").toString())){
%>
infoPane.addPane('<%=df.get("ID")%>',"<span style='font-family:宋体;font-size:13px;'>"+'<%=df.get("NAME")%>'+"</span>",true,'cookie_dj');
<%
}}
%>
infoPane.init();
/* This is a demo for a call back function for the panes */
function callbackFunction(modelObj,action,contentObj)
{
//self.status = 'Event "' + action + '" triggered for pane with id "' + modelObj.id + (contentObj?'" - content id: ' + contentObj.id + '(' + contentObj.contentUrl + ')':'');
}
//openPage('center','myFolderTree2','includes/pane-drag-drop-folder-tree-demo2.inc','Drag\'n drop folder tree','Folder tree')
function openNewPage(position,id,contentUrl,title,tabTitle,closable)
{
var inputArray = new Array();
inputArray['id'] = id;
inputArray['position'] = position;
inputArray['contentUrl'] = contentUrl;
inputArray['title'] = title;
inputArray['tabTitle'] = tabTitle;
inputArray['closable'] = closable;
paneSplitter.addContent(position, new DHTMLSuite.paneSplitterContentModel( inputArray ) );
paneSplitter.showContent(id);
return(false);
}
function openPage(contentUrl){
workspace.location.href = contentUrl;
return(true);
}
window.onload=function(){
DHTMLSuite.variableStorage.arrayOfDhtmlSuiteObjects[2].contentDiv.style.overflowX = 'hidden';
DHTMLSuite.variableStorage.arrayOfDhtmlSuiteObjects[2].contentDiv.style.overflowY = 'auto';
}
function re_login()
{
msg="您好,<%=request.getSession().getAttribute("USERNAME")%>,您正在使用\亿能达财务管理平台\n\n确认要注销么?";
if(window.confirm(msg))
location.href="<%= path%>/Selevet.do?action=SYS_LOGONOUT";
}
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -