⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 notifyadd.jsp

📁 我费了好大劲才找到的一款非常全的OA办公自动化软件源码
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<jsp:useBean id="dbc" scope="session" class="net.dmresearch.util.DBConnection" />
<jsp:useBean id="charset" scope="session" class="net.dmresearch.util.Charset" />
<jsp:useBean id="dateformat" scope="session" class="net.dmresearch.util.Dateformat" />
<%@include file="check.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>XSAAS OA 后台管理</title>
<link href="css/oa.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {font-family: "Courier New", Courier, mono}
.style2 {color: #FF0000}
-->
</style>
<script type="text/javascript" src="js/AlicnTree.js"></script>
<link rel="stylesheet" rev="stylesheet" href="css/AlicnTree.css" type="text/css" />
</head>
<%
	String message = "",t = request.getParameter("t");
	if((t==null)){
		
	}
	else if(t.compareTo("0")==0){
		message="发送完成!";
	}
	else if(t.compareTo("1")==0){
		message="发送出错,请检查通知的完整性!";
	}

%>
<body>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="2" valign="top"><div align="left">
        <%@include file="include/xtop.jsp"%>
    </div></td>
  </tr>
  <tr>
    <td width="125" valign="top"><div align="left">
        <%@include file="xoa_left.jsp" %>
    </div></td>
    <td width="882" valign="top" align="left">
  <table width="100%" height="500"  border="0" cellpadding="0" cellspacing="0" bordercolor="#78BFD9" class="tableallframe">
    <tr>
      <td align="left" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="2%">&nbsp;</td>
		<script type="text/javascript" language="javascript" >
			function check(){
				if(document.form1.title.value==""){
					alert("请填写通知标题!");
					return false;
				}
			}
		</script>
		
		
        <td width="98%"><form name="form1"  onSubmit="return check()" method="post" enctype="multipart/form-data" action="admin/xnotifyadd.jsp">
          <table width="100%"  border="0" cellspacing="0" cellpadding="2">
		  <tr><td colspan="2" ><div align="center" class="littlered"><%= message %></div></td></tr>
           <tr>
              <td width="12%"><div align="right">通知标题</div></td>
              <td width="88%"><input name="title" type="text" id="title" value="" size="60"></td>
            </tr>
<!--            <tr>
              <td><div align="right">通知内容 </div></td>
              <td>
 <textarea name="fckeditor" style="display:none"></textarea>
<IFRAME ID="eWebEditor" src="/webedit/ewebeditor.htm?id=fckeditor&style=coolblue&" frameborder="0" scrolling="no" width="550" height="350">
</IFRAME> 
			  
			  
			  </td>
            </tr>-->
            <tr>
              <td><div align="right">通知附件 </div></td>
              <td><input name="file" type="file" id="file" size="50"></td>
            </tr>
           <tr>
              <td width="12%"><div align="right">通知属性</div></td>
              <td width="88%"><select name="xvisible" style="width:150px ">
                <option value="0"  selected>非会员不可见</option>
                <option value="1"  >对外公开</option>
              </select></td>
            </tr>
           
            <tr>
              <td colspan="2"><div align="center">
                <input name="Submit" type="submit" class="xbutton" value="  通知发布  ">
</div></td>
            </tr>
          </table>
        </form></td>
      </tr>
    </table></td>
    </tr>
  </table>
</td>
  </tr>
</table>
<%@include file="include/foot.jsp" %>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -