/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: ......
 * Generated at: 2020-07-17 07:07:25 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import wiseoa.*;
import wiseoa.util.*;
import java.sql.*;
import educ.exam.*;
import java.util.*;
import java.net.*;
import wiseoa.*;
import jun.db.util.*;
import wiseoa.mail.jstl.*;

public final class edu_005flibrary_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  static {
    _jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(1);
    _jspx_dependants.put("/rightverify_teacher.jsp", Long.valueOf(1476341628561L));
  }

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody;

  private volatile javax.el.ExpressionFactory _el_expressionfactory;
  private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
    if (_el_expressionfactory == null) {
      synchronized (this) {
        if (_el_expressionfactory == null) {
          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        }
      }
    }
    return _el_expressionfactory;
  }

  public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
    if (_jsp_instancemanager == null) {
      synchronized (this) {
        if (_jsp_instancemanager == null) {
          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
        }
      }
    }
    return _jsp_instancemanager;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.release();
  }

  public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
        throws java.io.IOException, javax.servlet.ServletException {

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html; charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, 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(" \r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");

	//æ¯ä¸æ¯èå¸çæ ¡éª

	//æ£æµæ¯å¦å¯¹æªç»å½ç¨æ·å¼æ¾
	User user_teacher = User.getUserFromRequest(request);
	if (user_teacher.getId() > 0)
	{

		boolean isteacher = User.getUserInfo(User.getUserFromRequest(request).getId(), "isteacher").toString().equals("1");
		if (!isteacher)
		{
			String s = User.TIP_CANTUSEOA;
			s = URLEncoder.encode(s, "UTF-8");
			response.sendRedirect("SystemTip.jsp?info=" + s);
			return;
		}
	}
	else
	{

		String subpath = (String) session.getAttribute("wiseoaappsubpath");
		if (subpath == null) subpath = "";
		String url = request.getRequestURI();
		String qs = request.getQueryString();
		if (qs == null) qs = "";
		if (!qs.equals("")) qs = "?" + qs;
		url = jun.db.util.Escape.escape(url + qs);

		response.sendRedirect(subpath + "/login.jsp?url=" + url);
		return;

	}

      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("\r\n");


DBF dbf = DBF.getInstance();
Connection con = null;

try
{

	con = dbf.getConnection();
	String libraryId = FF.GetStringFromRequest(request, "id","");
 	String name = educ.util.EducCache.getLibraryConfig(con, libraryId).getString("name", "");
 	FF.pageContextSetAttribute(pageContext , "libraryname",name);
}
catch (Exception e)
{
 
}
finally
{
	dbf.ReleaseConnection(con);
}


      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("<head><meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\" />\r\n");
      out.write("    <title>题目维护</title>\r\n");
      out.write("    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
      out.write("      <META http-equiv=\"pragma\" content=\"no-cache\">\r\n");
      out.write("    <META http-equiv=\"cache-control\" content=\"no-cache\">\r\n");
      out.write("    <META http-equiv=\"expires\" content=\"0\">\r\n");
      out.write("    \r\n");
      out.write("    <link rel=\"stylesheet\" type=\"text/css\" href=\"css/normal.css\"/>\r\n");
      out.write("    \r\n");
      out.write("    <link rel=\"stylesheet\" type=\"text/css\" href=\"extjs/resources/css/ext-all.css\"/>\r\n");
      out.write("    <script type=\"text/javascript\" src=\"extjs/adapter/yui/yui-utilities.js\"></script>\r\n");
      out.write("    <script type=\"text/javascript\" src=\"extjs/adapter/yui/ext-yui-adapter.js\"></script>\r\n");
      out.write("    <script type=\"text/javascript\" src=\"extjs/ext-all-debug.js\"></script>\r\n");
      out.write("    \r\n");
      out.write("\r\n");
      out.write("    \r\n");
      out.write("    <script type=\"text/javascript\" src=\"js/json.js\"></script>\r\n");
      out.write("    <script type=\"text/javascript\" src=\"js/jquery.js\"></script>\r\n");
      out.write("    <script type=\"text/javascript\" src=\"js/validator.js\"></script>\r\n");
      out.write("    <script type=\"text/javascript\" src=\"js/zrpc.js.jsp\"></script>\r\n");
      out.write("    <script type=\"text/javascript\" src=\"js/jst.js\"></script>\r\n");
      out.write("    <script type=\"text/javascript\" src=\"js/util.js\"></script>    \r\n");
      out.write("    <script type=\"text/javascript\" src=\"htmledit/fckeditor.js\"></script>\r\n");
      out.write("    <script type=\"text/javascript\" src=\"js/blockUI.js\"></script>     \r\n");
      out.write("    <script type=\"text/javascript\" src=\"js/edu/EducUtil.js\"></script>     \r\n");
      out.write("         \r\n");
      out.write("     <script type=\"text/javascript\" >\r\n");
      out.write("     \tvar  gsLibraryId = '");
      if (_jspx_meth_c_005fout_005f0(_jspx_page_context))
        return;
      out.write("';\r\n");
      out.write("     </script>\r\n");
      out.write("     \r\n");
      out.write("    <script type=\"text/javascript\" src=\"js/edu/library.js\"></script>\r\n");
      out.write(" \r\n");
      out.write("    \r\n");
      out.write("    <script type=\"text/javascript\" src=\"js/autoheight.js\"></script><!-- 需要最后包含此文件 -->\r\n");
      out.write(" \r\n");
      out.write("    \r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body scroll=no style=\"\">\r\n");
      out.write("<table border=0 cellpadding=\"0\" cellspacing=\"0\" style=\" background-color:#e5effc ;\" width=100%>\r\n");
      out.write("<tr><td width=60><img src=\"image/home.png\"  align=\"absmiddle\"></td><td style=\"font-size:14px;\">\r\n");
      out.write("<span id=libraryname style=\"font-color:blue\"></span>题目维护:<b>");
      if (_jspx_meth_c_005fout_005f1(_jspx_page_context))
        return;
      out.write("</b></td></tr>\r\n");
      out.write("\r\n");
      out.write("</table>\r\n");
      out.write("\r\n");
      out.write("<div id=\"container\" style=\"  \">\r\n");
      out.write("    <div id=\"toolbar\" ></div>\r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("<div id=\"grid\" style=\"border:0px solid #99bbe8;overflow: hidden;  width: 100%; height: 450px;\"></div>\r\n");
      out.write("\r\n");
      out.write(" <div id=\"dlg\"   >\r\n");
      out.write("    <div class=\"x-dlg-hd\">题目信息</div>\r\n");
      out.write("        <div class=\"x-dlg-bd\">\r\n");
      out.write("         \r\n");
      out.write("         <table border=0  width=100%>\r\n");
      out.write("         <form id=itemform>\r\n");
      out.write("         <input type=\"hidden\" name=\"itemid\" , id=\"itemid\">\r\n");
      out.write("          \r\n");
      out.write("         <tr><td nowrap>题目类型：</td>\r\n");
      out.write("         <td>\r\n");
      out.write("\t         <select name=\"  name=\"itemtype\"  id=\"itemtype\"   readonly>\r\n");
      out.write("\t         \t<option value=\"PD\">判断题</option>\r\n");
      out.write("\t         \t<option value=\"GC\">判断改错题</option>\r\n");
      out.write("\t         \t<option value=\"DX\">单选题</option>\r\n");
      out.write("\t         \t<option value=\"FX\">多选题</option>\r\n");
      out.write("\t         \t<option value=\"TK\">填空题</option>\r\n");
      out.write("\t         \t<option value=\"JS\">计算题</option>\r\n");
      out.write("\t         \t<option value=\"JD\">简答题</option>\r\n");
      out.write("\t         \t<option value=\"MC\">名词解释</option>\r\n");
      out.write("\t         \t<option value=\"LS\">论述题</option>\r\n");
      out.write("\t         \t<option value=\"AL\">案例分析</option>\r\n");
      out.write("\t         \t<option value=\"\"></option>\r\n");
      out.write("\t         \t\r\n");
      out.write("\t         </select>\r\n");
      out.write("\t         </td>\r\n");
      out.write("\t         <td>题目难度：</td>\r\n");
      out.write("\t         <td>\r\n");
      out.write("\t         <select name=\"  name=\"difficulty\"  id=\"difficulty\">\r\n");
      out.write("\t         \t<option value=\"1\">简单</option>\r\n");
      out.write("\t         \t<option value=\"2\">基础</option>\r\n");
      out.write("\t         \t<option value=\"3\">中等</option>\r\n");
      out.write("\t         \t<option value=\"4\">较难</option>\r\n");
      out.write("\t         \t<option value=\"5\">极难</option>\r\n");
      out.write("\t         </select>\r\n");
      out.write("\t          \r\n");
      out.write("         \r\n");
      out.write("         </td></tr>\r\n");
      out.write("         \r\n");
      out.write("         \r\n");
      out.write("         <tr><td colspan=\"4\">题目内容：\r\n");
      out.write("         <input type=\"hidden\" name=\"itemtype\" , id=\"itemtype\">\r\n");
      out.write("         <input type=\"hidden\" name=\"id\" , id=\"id\">\r\n");
      out.write("         </td></tr>\r\n");
      out.write("         <tr><td colspan=\"4\" valign=\"top\" height='270'>\r\n");
      out.write("         <textarea rows=2 style=\"width:100%; height:100%\" id=itembody name=itembody  ></textarea>\r\n");
      out.write("       \r\n");
      out.write("         </td></tr>\r\n");
      out.write("         <tr><td colspan=\"4\">知识点：</td></tr>\r\n");
      out.write("         <tr><td colspan=\"4\">\r\n");
      out.write("         <textarea rows=2 style=\"width:100%; \" id=knowledgepoint name=knowledgepoint  ></textarea>\r\n");
      out.write("         </td></tr>\r\n");
      out.write("         \r\n");
      out.write("         \r\n");
      out.write("          </form>\r\n");
      out.write("         </table>\r\n");
      out.write("         \r\n");
      out.write("        </div>\r\n");
      out.write("    </div>\r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write("<!--  用来显示答案候选项的模板 -->\r\n");
      out.write("<textarea id='candidateTemplate' rows=1 style=\"display:none\">\r\n");
      out.write("\r\n");
      out.write("<table border=\"1\" cellspacing=\"0\"  cellpadding=\"5\" width=\"100%\"  style=\"border-collapse: collapse\" bordercolor=\"#b2cbf2\" > \r\n");
      out.write("{foreach c in candidate}\r\n");
      out.write("<tr> \r\n");
      out.write("<td nowrap bgcolor=\"#efefef\" >&nbsp;");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ String.fromCharCode( c.no+64)}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("&nbsp;</td>\r\n");
      out.write("<td width=\"99%\">");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${c.content}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write(" \r\n");
      out.write("<div style=\"float:right; background-color:#f3f3f3 ; width:100% ;  text-align: right;\">\r\n");
      out.write("{if (c.no>1 ) }<span class='asbutton' onclick=\"candidateDialog.onMove('");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${c.candidateId}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("', 'up')\"><img src='image/ico_up.gif' align='absmiddle'>上移</span>&nbsp;{/if}\r\n");
      out.write("{if (c.no< candidate.length)}<span class='asbutton' onclick=\"candidateDialog.onMove('");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${c.candidateId}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("', 'down')\"><img src='image/ico_down.gif' align='absmiddle'>下移</span>&nbsp;{/if}\r\n");
      out.write("<span class='asbutton' onclick=\"candidateDialog.onDelete('");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${c.candidateId}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("')\"><img src='image/cancel.gif' align='absmiddle'>删除</span>&nbsp;\r\n");
      out.write("<span class='asbutton' onclick=\"candidateDialog.onEdit('");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${c.candidateId}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("' )\"><img src='image/edit4.gif' align='absmiddle'>修改</span>\r\n");
      out.write("</div>\r\n");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write(" \r\n");
      out.write("{/foreach}\r\n");
      out.write(" \r\n");
      out.write("</table> \r\n");
      out.write("{if (candidate.length==0)}请点击“增加答案候选项”来增加候选项目{/if}\r\n");
      out.write("\r\n");
      out.write("</textarea>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write(" <div id=\"candidateDialog\"  >\r\n");
      out.write("    <div class=\"x-dlg-hd\">题目答案候选项列表</div>\r\n");
      out.write("        <div class=\"x-dlg-bd\" >\r\n");
      out.write("        <div id=\"candidatepanel\" style=\" overflow: auto; background-color: white\">\r\n");
      out.write("             \r\n");
      out.write("        </div>\r\n");
      out.write("        </div>\r\n");
      out.write("    </div>\r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write(" <div id=\"candidateEditDialog\"  >\r\n");
      out.write("    <div class=\"x-dlg-hd\">题目答案候选项设置</div>\r\n");
      out.write("        <div class=\"x-dlg-bd\" >\r\n");
      out.write("        <div id=\"candidateEditPanel\">\r\n");
      out.write("        <form id=\"candidateEditForm\">\r\n");
      out.write("        <input id=\"candidateId\" type=\"hidden\">\r\n");
      out.write("        <table border=0 width=100%>\r\n");
      out.write("        <tr>\r\n");
      out.write("        <td height='270'>\r\n");
      out.write("        <textarea id=candidateItem name=candidateItem  style=\"width:100%; height:100%\" rows=\"2\"></textarea>\r\n");
      out.write("       \r\n");
      out.write("      </td>\r\n");
      out.write("      </tr>\r\n");
      out.write("      </table>\r\n");
      out.write("       </form>\r\n");
      out.write("       </div>\r\n");
      out.write("        \r\n");
      out.write("        </div>\r\n");
      out.write("    </div>\r\n");
      out.write("</div>\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("<!--  用来设置单选题答案的显示模板 -->\r\n");
      out.write("<textarea id='DXAnswerTemplate' rows=1 style=\"display:none\">\r\n");
      out.write("\r\n");
      out.write("<table border=\"1\" cellspacing=\"0\"  width=\"100%\"  style=\"border-collapse: collapse\" bordercolor=\"#b2cbf2\" cellpadding=\"5\"> \r\n");
      out.write("{foreach c in candidate}\r\n");
      out.write("<tr> \r\n");
      out.write("<td nowrap bgcolor=\"#efefef\"   height='30'>&nbsp;<input type='radio' id=\"dxAnswer\" name=\"dxAnswer\"  value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${c.candidateId }", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\">\r\n");
      out.write("&nbsp;");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ String.fromCharCode( c.no+64) }", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("&nbsp;</td>\r\n");
      out.write("<td width=\"99%\">");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${c.content}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write(" \r\n");
      out.write(" \r\n");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write(" \r\n");
      out.write("{/foreach}\r\n");
      out.write(" \r\n");
      out.write("</table> \r\n");
      out.write("{if (candidate.length==0)}请先增加候选项目{/if}\r\n");
      out.write("\r\n");
      out.write("</textarea>\r\n");
      out.write("     \r\n");
      out.write("\r\n");
      out.write("<!--  用来设置复选题答案的显示模板 -->\r\n");
      out.write("<textarea id='FXAnswerTemplate' rows=1 style=\"display:none\">\r\n");
      out.write("\r\n");
      out.write("<table border=\"1\" cellspacing=\"0\"   cellpadding=\"5\" width=\"100%\"  style=\"border-collapse: collapse\" bordercolor=\"#b2cbf2\"> \r\n");
      out.write("{foreach c in candidate}\r\n");
      out.write("<tr> \r\n");
      out.write("<td nowrap bgcolor=\"#efefef\"  height='30'>&nbsp;<input type='checkbox' id=\"fxAnswer\" name=\"fxAnswer\"  value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${c.candidateId }", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("\">\r\n");
      out.write("&nbsp;");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ String.fromCharCode( c.no+64) }", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write("&nbsp;</td>\r\n");
      out.write("<td width=\"99%\">");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${c.content}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
      out.write(" \r\n");
      out.write(" \r\n");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write(" \r\n");
      out.write("{/foreach}\r\n");
      out.write(" \r\n");
      out.write("</table> \r\n");
      out.write("{if (candidate.length==0)}请先增加候选项目{/if}\r\n");
      out.write("\r\n");
      out.write("</textarea>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<!--  用来设置判断题答案的显示模板 -->\r\n");
      out.write("<textarea id='PDAnswerTemplate' rows=1 style=\"display:none\">\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<table border=\"1\" cellspacing=\"0\"  width=\"100%\"  style=\"border-collapse: collapse\" bordercolor=\"#b2cbf2\" cellpadding=\"5\"> \r\n");
      out.write(" \r\n");
      out.write("<tr> \r\n");
      out.write("<td nowrap bgcolor=\"#efefef\"   height='30'>&nbsp;\r\n");
      out.write("<input type='radio' id=\"pdAnswer\" name=\"pdAnswer\"  value=\"true\">&nbsp;</td>\r\n");
      out.write("<td width=\"99%\">正确</td>\r\n");
      out.write("</tr>\r\n");
      out.write("\r\n");
      out.write("<tr> \r\n");
      out.write("<td nowrap bgcolor=\"#efefef\"   height='30'>&nbsp;\r\n");
      out.write("<input type='radio' id=\"pdAnswer\" name=\"pdAnswer\"  value=\"false\">&nbsp;</td>\r\n");
      out.write("<td width=\"99%\">错误</td>\r\n");
      out.write("</tr>\r\n");
      out.write("  \r\n");
      out.write("</table> \r\n");
      out.write(" \r\n");
      out.write("</textarea>\r\n");
      out.write("     \r\n");
      out.write("\r\n");
      out.write("<!--  用来设置判断题答案的显示模板 -->\r\n");
      out.write("<textarea id='GCAnswerTemplate' rows=1 style=\"display:none\">\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<table border=\"1\" cellspacing=\"0\"  width=\"100%\"  style=\"border-collapse: collapse\" bordercolor=\"#b2cbf2\" cellpadding=\"5\"> \r\n");
      out.write("\r\n");
      out.write("<tr> \r\n");
      out.write("<td nowrap bgcolor=\"#efefef\"   height='30'>&nbsp;\r\n");
      out.write("<input type='radio' id=\"gcAnswer\" name=\"gcAnswer\"  value=\"true\">&nbsp;</td>\r\n");
      out.write("<td width=\"99%\">正确</td>\r\n");
      out.write("</tr>\r\n");
      out.write("\r\n");
      out.write("<tr> \r\n");
      out.write("<td nowrap bgcolor=\"#efefef\"   height='30'>&nbsp;\r\n");
      out.write("<input type='radio' id=\"gcAnswer\" name=\"gcAnswer\"  value=\"false\">&nbsp;</td>\r\n");
      out.write("<td width=\"99%\">错误</td>\r\n");
      out.write("</tr>\r\n");
      out.write("   \r\n");
      out.write("</table> \r\n");
      out.write(" \r\n");
      out.write("</textarea>\r\n");
      out.write("     \r\n");
      out.write(" <!--  用来设置填空题答案的显示模板 -->\r\n");
      out.write("<textarea id='TKAnswerTemplate' rows=1 style=\"display:none\">\r\n");
      out.write("<div>\r\n");
      out.write("先输入有<input value=\"\"  id=tkanswercount  size=5>个填空需要设置答案(并按回车)，然后分别输入每个填空的答案\r\n");
      out.write(" <div  id= tkanswerpanel>\r\n");
      out.write(" </div>\r\n");
      out.write(" </div> \r\n");
      out.write("</textarea>\r\n");
      out.write("\r\n");
      out.write(" <div id=\"answerDialog\"  >\r\n");
      out.write("    <div class=\"x-dlg-hd\">设置答案</div>\r\n");
      out.write("        <div class=\"x-dlg-bd\" >\r\n");
      out.write("        <div  style=\" overflow: auto; background-color: #f1f1e7\">\r\n");
      out.write("        <table border=0 width='100%' cellpadding=\"0\"  cellspacing=\"0\">\r\n");
      out.write("        <form>\r\n");
      out.write("        <tr><td  id=\"answerpanel\"></td></tr>\r\n");
      out.write("        <tr><td height=20 id=answerRichEditTip></td></tr>   \r\n");
      out.write("        <tr><td  height='210'  id='richEditContainer'>\r\n");
      out.write("                     <textarea id='richEdit'  name='richEdit'  style=\"width:100%; height:100%\" rows=\"2\"></textarea>\r\n");
      out.write("             </td></tr>\r\n");
      out.write("          <tr><td height=20 id=answerSetTip></td></tr>   \r\n");
      out.write("        </form>\r\n");
      out.write("        </table>     \r\n");
      out.write("        </div>\r\n");
      out.write("        </div>\r\n");
      out.write("    </div>\r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_c_005fout_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f0 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f0.setParent(null);
    // /edu_library.jsp(64,26) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f0.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.id}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f0 = _jspx_th_c_005fout_005f0.doStartTag();
    if (_jspx_th_c_005fout_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f0);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f1 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f1.setParent(null);
    // /edu_library.jsp(78,60) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f1.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${libraryname}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f1 = _jspx_th_c_005fout_005f1.doStartTag();
    if (_jspx_th_c_005fout_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f1);
    return false;
  }
}
