%@ page contentType="text/html; charset=utf-8" %>
<%@include file="/taglib.jsp"%>
<%@ page import="com.kenfor.bbs.Config,java.util.HashMap,java.util.Date" %>
<%
String template = null;
String cLogo = null;
String cHeaderPicture = null;
String cShowStyle=null;
Config cfg = (Config)request.getSession().getAttribute("BBSConfig");
cLogo = cfg.getCLogo();
cHeaderPicture =cfg.getCHeaderPicture();
template =cfg.getCStyle();
int trade_id = cfg.getCTradeID();
cShowStyle =cfg.getCshowStyle();
String logo_url = cfg.getLogo_url();
String header_picture_url = cfg.getHeader_picture_url();
String cFrontPageLink=cfg.getCfrontPageLink();
Short is_use_pass=cfg.getIs_use_pass();
String login_url=cfg.getLogin_url();
String logout_url=cfg.getLogout_url();
String register_url=cfg.getRegister_url();
String lost_pwd_url=cfg.getLost_pwd_url();
String h_ad_url = cfg.getCad();
String h_ad_height = cfg.getCad_height();
String logo_height = cfg.getLogo_height();
String logo_width = cfg.getLogo_width();
String hpic_height = cfg.getHpic_height();
String hpic_width = cfg.getHpic_width();
if(logo_height==null || !logo_height.trim().matches("\\d+")) logo_height = "70";
if(logo_width==null || !logo_width.trim().matches("\\d+")) logo_width = "145";
if(hpic_height==null || !hpic_height.trim().matches("\\d+")) hpic_height = "70";
if(hpic_width==null || !hpic_width.trim().matches("\\d+")) hpic_width = "470";
System.out.println("===is_use_pass=====" + is_use_pass);
if(is_use_pass==null) is_use_pass = 0;
%>
<%System.out.println("error1");%>
<% if(cFrontPageLink!=null&&cFrontPageLink.length()!=0){%>
企业首页
<%} %>
查看新贴 |
帮助中心
<%if(trade_id==25){%>
|
会员列表
<%}else{%>
|
会员列表
<%}%>
|
<%if (is_use_pass==0){ %>
注册
<%} else{%>
注册
<% } %>
|
论坛 | 在线搜索
| <%if(trade_id!=43){%>系统设定 <%}else{%>系统设定 <%}%>
<%if(trade_id==36){%>| 威王QQ群22580602<%}%>
<%if (is_use_pass==0){ %>
用户名:
密码:
|
<%} else{%>
登录
<%}if (is_use_pass==0){ %>
忘记密码
<%}else{ %>
忘记密码
<%} %>
已登录
<%if(is_use_pass==0){ %>
退出论坛
<%}else{ %>
退出论坛
<%} %>
<%if(trade_id!=25){%>会员总数:deleted=0 and trade_id=<%=trade_id%> 人<%}%>
deleted=0 and trade_id=<%=trade_id%> order by regtime desc
最新会员:[
]
帖子总数:isthread!=1 and trade_id=<%=trade_id%> 篇
今日发帖:cr_date>=convert(char(10),getdate(),120) and cr_date< convert(char(10),dateadd(dd,1,getdate()),120) and trade_id=<%=trade_id%> 篇
昨日发帖:cr_date>=convert(char(10),getdate()-1,120) and cr_date< convert(char(10),dateadd(dd,1,getdate()-1),120) and trade_id=<%=trade_id%> 篇
主题总数:isthread=1 and trade_id=<%=trade_id%> 篇
<%System.out.println("error2");%>
<%System.out.println("error3");
System.out.println(new Date());%>
trade_id = <%=trade_id%> and deleted<>1 and isShow=1
<%
int folder_id = 0;
long fid = 0;
%>
<%
HashMap hashMap = (HashMap)pageContext.getAttribute("folder");
int id = (Integer)hashMap.get("folder_id");
long id2 = (Long)hashMap.get("fid");
if(folder_id != id){
folder_id = id;
%>
<% }
if(fid != id2){
fid = id2;
%>
『
』
<%-- add by ukai 2007-07-25 --%>
pfid=
主题:
回复者: 发贴:
日期:
<%}%>
<%--<%
HashMap hm = (HashMap)pageContext.getAttribute("folder");
String moder = "";
if(hm!=null){
moder = (String)hm.get("moderator");
if(moder!=null && moder.length()>0){
moder ="'" + moder.replaceAll(",","','")+"'";
}
}%>
--%>
版主:
<%--
<%if (moder!=null && moder.length()>0) { %>
trade_id = <%=trade_id%> and bas_no in (<%=moder %>)
test4444444
<%} %>
--%>
文章:
主题:
<%--
今天主题:
deleted=0 and fid =' ' and cr_date>=convert(char(10),getdate(),120) and cr_date< convert(char(10),dateadd(dd,1,getdate()),120)
添加查看今日新发帖 add by ukai 2007-07-25
今日回复:
cr_date>=convert(char(10),getdate(),120) and cr_date< convert(char(10),dateadd(dd,1,getdate()),120) and fid=
--%>
<%--
<%if (hm!=null)
{ hm.clear();
hm = null;}
%>
--%>
<%} %>
=> 论坛在线情况
当前在线:online_status=1 and trade_id=<%=trade_id%> 人
您的IP是:
在线会员:online_status=1 and is_guest=0 and trade_id=<%=trade_id%> 人
操作系统:
在线访客:online_status=1 and is_guest=1 and trade_id=<%=trade_id%> 人
浏 览 器:
论坛最新状态
<%if(trade_id!=25){%>会员总数:deleted=0 and trade_id=<%=trade_id%> 人<%}%>
deleted=0 and trade_id=<%=trade_id%> order by regtime desc
最新会员:[
]
今日发帖:cr_date>=convert(char(10),getdate(),120) and cr_date< convert(char(10),dateadd(dd,1,getdate()),120) and trade_id=<%=trade_id%>
篇
主题总数:isthread=1 and trade_id=<%=trade_id%> 篇
昨日发帖:cr_date>=convert(char(10),getdate()-1,120) and cr_date< convert(char(10),dateadd(dd,1,getdate()-1),120) and trade_id=<%=trade_id%> 篇
帖子总数:isthread!=1 and trade_id=<%=trade_id%> 篇