<%@ page contentType="text/html; charset=GBK" %>
<%@ page import = "zr.zrpower.entity.sys.SessionUser" %>
<%@ page import = "zr.zrpower.ejb.sys.UIService" %>

<%@ page import = "java.lang.Object"%>
<HTML>
<%
SessionUser user = (SessionUser)session.getAttribute("userinfo");
UIService userUI =new UIService();
%>
<HTML>
<HEAD>
<TITLE></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" src="../../../zrsysmanage/script/Public.js" ></SCRIPT>

<LINK type="text/css" rel="stylesheet" href="../../html5/css/style_tables.css">
<SCRIPT LANGUAGE="JavaScript" src="../../html5/script/jquery-2.0.3.min.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" src="../../html5/layer/layer.js"></SCRIPT>


<SCRIPT LANGUAGE="javascript" type="text/jscript" >
function Check(theForm)
{
  var Content=theForm.CONTENT.value;
  if (trim(Content).length<1){

    <%if(user.getUserWINDOWTYPE().equals("6")){ %>
         layer.alert('请输入意见内容!', {icon: 7});
    <%}else{%>
         alert("请输入意见内容!");
    <%}%>

    theForm.CONTENT.focus();
    return false;
  }
  return true;
}
</SCRIPT>
</HEAD>
<BODY class="BodyMain">
<FORM name="RegForm" method="post" Action="../../../actionuseridea.do" onsubmit="return Check(this);">
<input type="hidden" name="ISSYSTEM" value="0">
<input type="hidden" name="USER_NO" value="<%=user.getUserID()%>">
<input type="hidden" name="Act" value="add">

<%if(!user.getUserWINDOWTYPE().equals("6")){ %>
<!--HTML Head表单头显示[显示内容,图标文件,用户肤色的图片文件夹]-->
<%=userUI.ShowHeadHtml("处理意见信息管理","IcoTitle.gif",user.getUserImage())%>
<!--HTML Body Start显示表单开始部分-->
<%=userUI.ShowBodyStartHtml()%>
<%}%>
           <DIV id="divMessage" style='padding-left:0;padding-top:0;width:100%;height:100%;overflow:auto'>
            <br>&nbsp;
           <fieldset style="width: 98%">
           <legend>增加意见信息</legend>
             <TABLE border='0' width="100%"  cellspacing="0" cellpadding="0" align="center">
            <TR>
               <TD class="PutdSet" valign="top" width="30%">内容：</TD>
               <TD class="inputTd">
                 <input class="text" type="text" name="CONTENT" size="60" maxlength="200">
                 <Font class="WriteSign">*</Font></TD>
             </TR>

           </TABLE>
             <br>
          </fieldset>



              <center><br>
                 <table cellspacing="0" cellpadding="0" border='0'><tr>
                 <%=userUI.ClickButton("保 存","JavaScript:if(Check(document.RegForm)){document.RegForm.submit();}","buttonSave.gif",user.getUserImage())%>
                 <%=userUI.ClickButton("重 填","JavaScript:document.RegForm.reset();","buttonReset.gif",user.getUserImage())%>
                 <%=userUI.ClickButton("返 回","JavaScript:history.back();","buttonReturn.gif",user.getUserImage())%>
                 </tr></table>
                 </center>
           </DIV>
<%if(!user.getUserWINDOWTYPE().equals("6")){ %>
<!--HTML Foot显示表单尾-->
<%=userUI.ShowFootHtml()%>

<%}%>
</FORM>
</BODY>
</HTML>
<%
//清空相关对象
user = null;
userUI = null;
%>
