📄 codecoldhot_jsp.java
字号:
package org.apache.jsp.trend._3d;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class codeColdHot_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(1);
_jspx_dependants.add("/WEB-INF/tld/c.tld");
}
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_varStatus_end_begin;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_c_forEach_varStatus_end_begin = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_forEach_varStatus_end_begin.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,
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("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n");
out.write("<head>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n");
out.write("<title>新疆福利彩票 - 3D冷热分析</title>\r\n");
out.write("<link href=\"../../css/tools.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n");
out.write("<script src=\"/trend/openprizetrend.js\"></script>\r\n");
out.write("<script type=\"text/javascript\">\r\n");
out.write("<!--\r\n");
out.write("function changeSelect(obj){\r\n");
out.write("var page=obj.value;\r\n");
out.write("window.location.href='/trend/analyse3d.do?operator=codeColdHot&pageCount='+page;\r\n");
out.write("}\r\n");
out.write("function changequery(){\r\n");
out.write("var drawBegin=document.all('drawBegin').value;\r\n");
out.write("if(drawBegin==''){\r\n");
out.write("alert('请输入开始期号!');\r\n");
out.write("document.all('drawBegin').focus();\r\n");
out.write("return false;\r\n");
out.write("}\r\n");
out.write("var drawEnd=document.all('drawEnd').value;\r\n");
out.write("if(drawEnd==''){\r\n");
out.write("alert('请输入终止期号!');\r\n");
out.write("document.all('drawEnd').focus();\r\n");
out.write("return false;\r\n");
out.write("}\r\n");
out.write("if(!validateCharEare3(drawBegin)){\r\n");
out.write("alert('开始期号只允许数字!');\r\n");
out.write("document.all('drawBegin').value='';\r\n");
out.write("document.all('drawBegin').focus();\r\n");
out.write("return false;\r\n");
out.write("}\r\n");
out.write("if(!validateCharEare3(drawEnd)){\r\n");
out.write("alert('终止期号只允许数字!');\r\n");
out.write("document.all('drawEnd').value='';\r\n");
out.write("document.all('drawEnd').focus();\r\n");
out.write("return false;\r\n");
out.write("}\r\n");
out.write("if(parseInt(drawBegin)>parseInt(drawEnd)){\r\n");
out.write("alert('开始期号不能大于终止期号!!');\r\n");
out.write("document.all('drawEnd').focus();\r\n");
out.write("return false;\r\n");
out.write("}\r\n");
out.write("window.location.href='/trend/analyse3d.do?operator=codeColdHot&type=draw&drawBegin='+drawBegin+'&drawEnd='+drawEnd;\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");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../../inc/header_trend_3d.jsp", out, true);
out.write("\r\n");
out.write("<div id=\"main\">\r\n");
out.write(" <div id=\"m2\">\r\n");
out.write(" <table width=\"960\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td class=\"li2_3d\"><a href=\"/trend/analyse3d.do?operator=codeTrend\">号码走势</a></td>\r\n");
out.write(" <td class=\"li2_3d\"><a href=\"/trend/analyse3d.do?operator=codedistributing\"> 号码分布</a></td>\r\n");
out.write(" <td class=\"li2_3d\"><a href=\"/trend/analyse3d.do?operator=codeSumValue\"> 和值走势</a></td>\r\n");
out.write(" <td class=\"li2_3d\"><a href=\"/trend/analyse3d.do?operator=codeSpan\">跨度走势</a></td>\r\n");
out.write(" <td class=\"li2_3d\"><a href=\"/trend/analyse3d.do?operator=codeOddEven\">奇偶分布</a></td>\r\n");
out.write(" <td class=\"li2_3d\"><a href=\"/trend/analyse3d.do?operator=codeBigSmall\"> 大小分布</a></td>\r\n");
out.write(" <td class=\"li2_3d\"><a href=\"/trend/analyse3d.do?operator=codeOmit\">遗漏分析</a></td>\r\n");
out.write(" <td class=\"li2_3d\"><a href=\"/trend/3d/3d_danmayilou.jsp\">胆码明细表</a></td>\r\n");
out.write(" <td class=\"li1_3d\"> 冷热分析</td>\r\n");
out.write(" <td class=\"li2_3d\"><a href=\"/trend/analyse3d.do?operator=codeNotAppear\">未出号码</a></td>\r\n");
out.write(" <td class=\"li2_3d\"><a href=\"/trend/analyse3d.do?operator=code012\">012路走势</a></td>\r\n");
out.write(" <td class=\"li2_3d\"><a href=\"/trend/analyse3d.do?operator=twoCodeOmit\">二码遗漏</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" </div>\r\n");
out.write(" <div id=\"m3\">\r\n");
out.write(" \r\n");
out.write(" <table width=\"930\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mytable\" id=\"tab\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"24\" colspan=\"3\"><div class=\"biaoti\"><div class=\"biaoti_1\">3D 冷热分析 请选择\r\n");
out.write(" <select name=\"pageCount\" onchange=\"changeSelect(this)\">\r\n");
out.write(" <option value=\"\" >请选择</option> \r\n");
out.write(" <option value=\"10\" >前10期</option>\r\n");
out.write(" <option value=\"20\">前20期</option>\r\n");
out.write(" <option value=\"30\">前30期</option>\r\n");
out.write(" <option value=\"50\">前50期</option>\r\n");
out.write(" <option value=\"100\">前100期</option>\r\n");
out.write(" </select>\r\n");
out.write(" <script type=\"text/javascript\">\r\n");
out.write("\t\tdocument.all('pageCount').value='");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageCount}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("';\r\n");
out.write("\t\t</script>\r\n");
out.write(" 开始期\r\n");
out.write(" \t\t<input name=\"drawBegin\" type=\"text\" size=\"10\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${drawBegin}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"/>\r\n");
out.write(" \t\t 终止期\r\n");
out.write(" \t\t<input name=\"drawEnd\" type=\"text\" size=\"10\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${drawEnd}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"/>\r\n");
out.write(" \t\t </div>\r\n");
out.write(" \t\t <div class=\"biaoti_2\">\r\n");
out.write(" \t\t <input type=\"image\" src=\"/img/member/search1.gif\" width=\"49\" height=\"20\" onclick=\"changequery();\" ></div></div>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td class=\"yellow1\">百位</td>\r\n");
out.write(" <td class=\"yellow1\">十位</td>\r\n");
out.write(" <td class=\"yellow1\">个位</td>\r\n");
out.write(" </tr>\r\n");
out.write("\t");
if (_jspx_meth_c_forEach_0(_jspx_page_context))
return;
out.write("\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" </div>\r\n");
out.write(" <div class=\"tools_detail\">\r\n");
out.write(" <ul>\r\n");
out.write(" <li>本图显示福彩3D的开奖号码冷热统计。</li>\r\n");
out.write(" <li>本图可统计近10期、20期、30期、50期、100期冷热号码;可统计某期段冷热号码,为保证您的浏览速度,查询起始期和终止期间隔 <span class=\"red3\">建议不超过150期以上</span>。</li>\r\n");
out.write("\t\t<li>显示格式:号码—出现次数。</li>\r\n");
out.write(" </ul>\r\n");
out.write(" </div>\r\n");
out.write("</div>\r\n");
out.write("</div>\r\n");
out.write("<!--\r\n");
out.write("<script type=\"text/javascript\">\r\n");
out.write("\r\n");
out.write("var Ptr=document.getElementById(\"tab\").getElementsByTagName(\"tr\");\r\n");
out.write("function $() {\r\n");
out.write(" for (i=1;i<Ptr.length+1;i++) { \r\n");
out.write(" Ptr[i-1].className = (i%2>0)?\"t1\":\"t2\"; \r\n");
out.write("var TRsel = Ptr[i-1].getElementsByTagName(\"select\");\r\n");
out.write("for(var k=0; k<TRsel.length;k++){\r\n");
out.write("TRsel[k].className = Ptr[i-1].className;\r\n");
out.write("}\r\n");
out.write(" }\r\n");
out.write("}\r\n");
out.write("window.onload=$;\r\n");
out.write("for(var i=0;i<Ptr.length;i++) {\r\n");
out.write(" Ptr[i].onmouseover=function(){\r\n");
out.write(" this.tmpClass=this.className;\r\n");
out.write(" this.className = \"t3\";\r\n");
out.write("var TRsel = this.getElementsByTagName(\"select\");\r\n");
out.write("for(var k=0; k<TRsel.length;k++){\r\n");
out.write("TRsel[k].className = this.className;\r\n");
out.write("}\r\n");
out.write(" };\r\n");
out.write(" Ptr[i].onmouseout=function(){\r\n");
out.write(" this.className=this.tmpClass;\r\n");
out.write("var TRsel = this.getElementsByTagName(\"select\");\r\n");
out.write("for(var k=0; k<TRsel.length;k++){\r\n");
out.write("TRsel[k].className = this.className;\r\n");
out.write("}\r\n");
out.write(" };\r\n");
out.write("}\r\n");
out.write("//\r\n");
out.write("</script>-->\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_c_forEach_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:forEach
org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_varStatus_end_begin.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
_jspx_th_c_forEach_0.setPageContext(_jspx_page_context);
_jspx_th_c_forEach_0.setParent(null);
_jspx_th_c_forEach_0.setBegin(0);
_jspx_th_c_forEach_0.setEnd(9);
_jspx_th_c_forEach_0.setVarStatus("cou");
int[] _jspx_push_body_count_c_forEach_0 = new int[] { 0 };
try {
int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag();
if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write(" <tr>\r\n");
out.write(" <td >");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${rtnStr[cou.index] }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write(" <td >");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${rtnStr1[cou.index] }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write(" </td>\r\n");
out.write(" <td >");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${rtnStr2[cou.index] }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" ");
int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
} catch (Throwable _jspx_exception) {
while (_jspx_push_body_count_c_forEach_0[0]-- > 0)
out = _jspx_page_context.popBody();
_jspx_th_c_forEach_0.doCatch(_jspx_exception);
} finally {
_jspx_th_c_forEach_0.doFinally();
_jspx_tagPool_c_forEach_varStatus_end_begin.reuse(_jspx_th_c_forEach_0);
}
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -