<%@ page contentType="text/html;charset=utf-8"%> <%@ page import="java.util.*" %> <%@ page import="java.util.Date" %> <%@ page import="com.cippe.common.utils.DateTool" %> <%@ page import="com.cippe.common.config.Constants" %> <%@ page import="com.cippe.user.dao.*" %> <%@ page import="com.cippe.user.web.form.*" %> <%@ page import="com.cippe.common.login.*" %> <%@page import="com.cippe.common.utils.GCookie"%> <%@page import="com.cippe.common.utils.Encrypt"%> <% response.setHeader("Pragma","No-Cache"); response.setHeader("Cache-Control","No-Cache"); response.setDateHeader("Expires", 0); String target=(String)request.getParameter("target"); if(target==null){ target="_top"; } LoginForm lform=LoginHandler.getLoginFormFromSession(request); //自动登录 String username=Encrypt.decryptString(GCookie.getCookieValue(request,"userName1","")); String passwd=Encrypt.decryptString(GCookie.getCookieValue(request,"userPwd","")); ZUserDaoFacade user_facade=new ZUserDaoImpl(); String time=DateTool.DateTimeToString(new Date(), "yyyy-MM-dd"); Date date=DateTool.stringToDate(time, "yyyy-MM-dd"); //今日注册数 int todayRegnum = user_facade.getTodayNum(date,0); //昨日注册数 Calendar ca = Calendar.getInstance(); ca.setTime(date); ca.add(Calendar.DAY_OF_YEAR,-1); Date date2 = ca.getTime(); int yesterdayRegnum = user_facade.getTodayNum(date2,0); %> <% String reg_url=request.getHeader("Referer"); %> 登录 - 千赢国际娱乐,千盈国际官方网站,千盈国际首页,千盈国际娱乐官网登录,千盈国际官网登录 <% if(lform==null){ %>
用户名:
密码:
  
<% }else{ %>    您好 <%=lform.getUserName() %>!     退出 <%}%> 博评网