package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import java.sql.*;
import java.sql.*;
import org.oat50.user.dao.*;
import java.util.*;
import org.oat50.news.dao.*;
import java.util.*;
import org.oat50.user.dao.*;
import org.oat50.news.dao.*;
import java.util.*;
import org.oat50.user.dao.*;
import org.oat50.user.dao.*;
import java.util.*;
import org.oat50.user.dao.*;
import java.util.*;
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
static {
_jspx_dependants = new java.util.Vector(4);
_jspx_dependants.add("/allinformadd.jsp");
_jspx_dependants.add("/userinformadd.jsp");
_jspx_dependants.add("/departmentinformadd.jsp");
_jspx_dependants.add("/groupinformadd.jsp");
}
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_out_value;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_out_value_nobody;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_c_forEach_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_out_value = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_out_value_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_forEach_var_items.release();
_jspx_tagPool_c_out_value.release();
_jspx_tagPool_c_out_value_nobody.release();
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<title>无标题文档</title>\r\n");
out.write("</head>\r\n");
out.write("<body>\r\n");
out.write("\r\n");
out.write("<table width=\"790\" height=\"450\" border=\"0\" bgcolor=\"#719AFB\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"797\" height=\"36\"><table width=\"721\" height=\"34\" border=\"0\" >\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"85\">发送组别</td>\r\n");
out.write(" <td width=\"108\">全体员工<a href=\"index.jsp?id=1\"><img src=\"1.jpg\" width=\"12\" height=\"12\"></a></td>\r\n");
out.write(" <td width=\"108\">部分员工<a href=\"index.jsp?id=2\"><img src=\"1.jpg\" width=\"12\" height=\"12\"></a></td>\r\n");
out.write(" <td width=\"108\">部门<a href=\"index.jsp?id=3\"><img src=\"1.jpg\" width=\"12\" height=\"12\"></a></td>\r\n");
out.write(" <td width=\"108\">通讯组<a href=\"index.jsp?id=4\"><img src=\"1.jpg\" width=\"12\" height=\"12\"></a></td>\r\n");
out.write(" <td width=\"239\">指定人员<a href=\"index.jsp?id=5\"><img src=\"1.jpg\" width=\"12\" height=\"12\"></a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td>");
if (request.getParameter("id")==null) {
out.write("\r\n");
out.write(" ");
out.write("\r\n");
out.write("<html>\r\n");
out.write(" <head>\r\n");
out.write(" \r\n");
out.write(" <title>无标题文档</title>\r\n");
out.write("<script type=\"\" language=\"javascript\">\r\n");
out.write(" function pankong(){\r\n");
out.write(" var biaoti=document.form1.title.value;//标题\r\n");
out.write(" var leirong=document.form1.content.value;//主题内容\r\n");
out.write(" if(biaoti==\"\"){\r\n");
out.write(" alert('标题不能为空?');\r\n");
out.write(" return false;\r\n");
out.write(" }\r\n");
out.write(" if(leirong==\"\"){\r\n");
out.write(" alert('主题内容不能为空?');\r\n");
out.write(" return false;\r\n");
out.write(" }\r\n");
out.write(" }\r\n");
out.write("</script>\r\n");
out.write(" </head>\r\n");
out.write(" <body>\r\n");
out.write(" ");
String id=request.getParameter("id");
String sort=request.getParameter("sort");
if (sort==null) {
sort="0";
}
System.out.println("id:"+id);
String messshow;
messshow = (String) session.getAttribute("Message");
out.write("\r\n");
out.write(" ");
if (messshow != null) {
out.write("\r\n");
out.write("<script type=\"\" language=\"javascript\">\r\n");
out.write(" alert('");
out.print(messshow);
out.write("');\r\n");
out.write(" </script>\r\n");
out.write(" ");
session.removeAttribute("Message");
out.write("\r\n");
out.write(" ");
}
out.write("\r\n");
out.write(" <form name=\"form1\" method=\"post\" action=\"allinformservlet?cmd=tongfa&id=");
out.print(id);
out.write("&sort=");
out.print(sort);
out.write("\" onsubmit=\"return pankong()\">\r\n");
out.write(" <table width=\"761\" height=\"510\" border=\"0\" bgcolor=\"#DEE7FF\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"131\" height=\"28\">通知类别</td>\r\n");
out.write(" <td width=\"580\"> 重要\r\n");
out.write(" <label>\r\n");
out.write(" <input type=\"radio\" name=\"informtype\" value=\"2\" checked=\"checked\"/>\r\n");
out.write(" 一般\r\n");
out.write(" <input type=\"radio\" name=\"informtype\" value=\"1\"/>\r\n");
out.write(" 当对方看到时给以回复\r\n");
out.write(" <input type=\"checkbox\" name=\"informtype\" value=\"1\"/>\r\n");
out.write(" </label>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"29\">标题</td>\r\n");
out.write(" <td>\r\n");
out.write(" <label>\r\n");
out.write(" <input type=\"text\" name=\"title\"/>\r\n");
out.write(" </label>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"201\" rowspan=\"2\" valign=\"top\">详细内容</td>\r\n");
out.write(" <td height=\"403\" valign=\"top\">\r\n");
ou