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

📄 if_005fstat_jsp.java

📁 Email营销是在用户事先许可的前提下
💻 JAVA
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import com.qq.content.*;
import java.util.*;
import java.text.SimpleDateFormat;
import java.io.*;

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

  private static java.util.Vector _jspx_dependants;

  public java.util.List getDependants() {
    return _jspx_dependants;
  }

  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');
      out.write('\n');
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "header.jsp", out, false);
      out.write("\r\n");
      out.write("<script language=\"JavaScript\" src=\"calendar.js\"></script>\r\n");

/*
	String gid = (String)session.getAttribute("groupID");
	String uid = (String)session.getAttribute("userID");
	String uname = (String)session.getAttribute("userName");

	if ( (gid == null)||(uname==null))
	{
		System.out.println("rdirect from main.jsp to login.jsp");
		response.sendRedirect("if_login.jsp"); 
		return;
	}
	*/

      out.write("\r\n");
      out.write("<!--");
      com.qq.content.StatTools stat_tool = null;
      synchronized (session) {
        stat_tool = (com.qq.content.StatTools) _jspx_page_context.getAttribute("stat_tool", PageContext.SESSION_SCOPE);
        if (stat_tool == null){
          stat_tool = new com.qq.content.StatTools();
          _jspx_page_context.setAttribute("stat_tool", stat_tool, PageContext.SESSION_SCOPE);
        }
      }
      out.write("-->\r\n");

/*
int count = 0;
count = stat_tool.getUsersNum();
String showcount = "";
if(count>=0)
	showcount = "" + count;
else 
	showcount = "查询出错";
*/
String showcount="";

int count=0;

      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<br>\r\n");
      out.write("<div class=\"mainbar4\" id=\"boardmaster\">\r\n");
      out.write("<div id=\"boardmanage\"></div>\r\n");
      out.write("<div style=\"float:center;text-indent:5px;\" id=\"masterpic\"></div>系统总用户数:");
      out.print(showcount);
      out.write("&nbsp;&nbsp;&nbsp;&nbsp;\r\n");
      out.write("<a href=\"if_maildetail.jsp\">已发邮件信息</a>&nbsp;&nbsp;|&nbsp;&nbsp;\r\n");
      out.write("<a href=\"if_bestusers.jsp\">按接收邮件数查询用户信息</a>&nbsp;&nbsp;|&nbsp;&nbsp;\r\n");
      out.write("<a href=\"if_source.jsp\">统计用户来源页面</a>\r\n");
      out.write("</div>\r\n");
      out.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"text-indent:0px; \r\n");
      out.write("border: 1px solid #6595d6;\r\n");
      out.write("width : 98%;min-width :760px;margin : 0 auto;background-color : buttonface;\">\r\n");
      out.write("  <tr><TD height=20></TD></tr>\r\n");
      out.write("  <tr >\r\n");
      out.write("   <td   style=\"border-bottom : 0px; width : 98%;min-width :760px;margin : 0 auto;\r\n");
      out.write("      background-color : buttonface;font-size : 12px;line-height : 20px; text-align : center;text-indent: 5px;\">      \r\n");
      out.write("   查询用户增量:  \r\n");
      out.write("       <form name=\"form1\" method=\"post\" action=\"if_everyday.jsp\">\r\n");
      out.write("       从<input class=\"BBSTXT\" onClick=\"calendar();\" name=\"date_begin\" type=\"text\" class=\"textbox-bg\" size=\"12\">     \r\n");
      out.write("       到<input class=\"BBSTXT\" onClick=\"calendar();\" name=\"date_end\" type=\"text\" class=\"textbox-bg\" size=\"12\">    \r\n");
      out.write("                    <input onClick=\"form1.submit();\" class=\"mybutton\" value=\"提交\" type=\"button\">                                        \r\n");
      out.write("       </form>\r\n");
      out.write("   </td>\r\n");
      out.write(" </tr>\r\n");
      out.write("</table>\r\n");
      out.write("<br>\r\n");
      out.write("\r\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "footer.html", out, false);
      out.write('\r');
      out.write('\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);
    }
  }
}

⌨️ 快捷键说明

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