<%@ page contentType="text/html;charset=GBK"%>
<%@ page import = "zr.zrpower.common.util.SysPreperty"%>
<%@ page import = "zr.zrpower.entity.sys.SessionUser"%>
<%@ page import = "zr.zrpower.flowengine.service.FlowControl" %>
<%@ page import = "zr.zrpower.flowengine.mode.config.FLOW_CONFIG_ACTIVITY"%>
<%@ page import = "zr.zrpower.ejb.sys.UIService"%>

<%
SessionUser user = (SessionUser)session.getAttribute("userinfo");
FlowControl FControl = new FlowControl();
UIService userUI =new UIService();
String strID = request.getParameter("ID");
String strISMESSAGE = request.getParameter("ISMESSAGE");

FLOW_CONFIG_ACTIVITY activity = null;
activity = FControl.GetFlowActivity(strID);
//得到当前活动的流程处理提示信息
String strMessage = activity.getMESSAGE();
%>
<HTML>
<HEAD>
<TITLE><%=SysPreperty.getProperty().SystemName%><%=SysPreperty.getProperty().Versoin%></TITLE>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META http-equiv="Content-Type" content="text/html; charset=GBK">
<link REL="stylesheet" type="text/css" href="../../zrsysmanage/css/<%=user.getUserCSS()%>">

<script language="javascript">
setTimeout("show();",500);
function show(){
   var Message = document.webform.Message.value;
   var ISMESSAGE = document.webform.ISMESSAGE.value;

   if (Message.length>10 && ISMESSAGE!="1")
   {
     var x = screen.availWidth/2-150;
     var y = screen.availHeight/2-100;
     window.resizeTo(388,308);
     window.moveTo(x,y);
   }
   else
   {
      window.close();
   }
}
</script>
</HEAD>
<body class="UserListBody" onunload="opener.location.reload();">
<Form name="webform" method="post" action="">
<input type="hidden" name="ISMESSAGE" value="<%=strISMESSAGE%>">
<input type="hidden" name="Message" value="<%=strMessage.trim()%>">

<table border="0" width="100%" cellspacing="0" cellpadding="0" height="100%">
<tr><td align="center" valign="middle">
<table border="0" width="378" cellspacing="0" cellpadding="0" height="296" background="<%=SysPreperty.getProperty().AppUrl%>zrsysmanage/images/<%=user.getUserImage()%>/flowmessageback.jpg">
	<tr>
		<td width="24" height="37">　</td>
		<td height="37">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='titleFont'>流程处理消息提示</font></td>
		<td width="26" height="37">　</td>
	</tr>
	<tr>
		<td width="24" ></td>
		<td>
                  <br>
                  <DIV id="divMessage" style='padding-left:0;padding-top:0;width:100%;height:100%;overflow:auto'>
                  <%=strMessage%>
                  </Div>

                </td>
		<td width="26">　</td>
	</tr>
	<tr>
		<td width="24" height="37">　</td>
		<td height="37" align="center">

                <table cellspacing="0" cellpadding="0" border='0'><tr>
                 <%=userUI.ClickButton1("关 闭","window.close();","buttonClose.gif",user.getUserImage())%>
                </tr></table>

                </td>
		<td width="26" height="37">　</td>
	</tr>
	<tr>
		<td width="24" height="32">　</td>
		<td height="32">　</td>
		<td width="26" height="32">　</td>
	</tr>
</table>
</td></tr></table>
</Form>
</body>
</HTML>
<%
//清空相关对象
user = null;
userUI = null;
activity = null;
FControl = null;
%>
