main.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:9k
- <%@ page language="java" contentType="text/html;charset=UTF-8" %>
- <%@ include file="./GVinc/gvImport.jsp" %>
- <jsp:useBean id="ccu" scope="page" class="com.gamvan.club.ClubCounter"/>
- <jsp:useBean id="cci" scope="application" class="com.gamvan.club.classed.ClubClassInfo"/>
- <jsp:useBean id="ccc" scope="session" class="com.gamvan.club.classed.ClubClassCollection"/>
- <jsp:useBean id="cca" scope="request" class="com.gamvan.club.ClubAffiche"/>
- <jsp:useBean id="ctc" scope="request" class="com.gamvan.club.topic.ClubTopicCollection"/><%@
- include file="GVinc/gvOnlineArea.jsp" %><%
- int clubBoy=0, clubGirl=0, clubMostOnline=0, clubTopic=0, clubReply=0, clubTodayTopic=0, clubTodayReply=0;
- int clubYesterTopic=0, clubYesterReply=0;
- int clubTodayPV=0, clubYesterPV=0;
- String clubNewUser="";
- ccu.counterUpdate(1, 0, 0, 0, 0, 0, TypeChange.stringToInt(String.valueOf(application.getAttribute("onlines"))), "");
- hm = ccu.counterHashMap();
- clubBoy = TypeChange.stringToInt(ccu.getCounterInfo(hm,"clubBoy"));
- clubGirl = TypeChange.stringToInt(ccu.getCounterInfo(hm,"clubGirl"));
- clubMostOnline = TypeChange.stringToInt(ccu.getCounterInfo(hm,"clubMostOnline"));
- clubTopic = TypeChange.stringToInt(ccu.getCounterInfo(hm,"clubTopic"));
- clubReply = TypeChange.stringToInt(ccu.getCounterInfo(hm,"clubReply"));
- clubTodayTopic = TypeChange.stringToInt(ccu.getCounterInfo(hm,"clubTodayTopic"));
- clubTodayReply = TypeChange.stringToInt(ccu.getCounterInfo(hm,"clubTodayReply"));
- clubYesterTopic = TypeChange.stringToInt(ccu.getCounterInfo(hm,"clubYesterTopic"));
- clubYesterReply = TypeChange.stringToInt(ccu.getCounterInfo(hm,"clubYesterReply"));
- clubTodayPV = TypeChange.stringToInt(ccu.getCounterInfo(hm,"clubTodayPV"));
- clubYesterPV = TypeChange.stringToInt(ccu.getCounterInfo(hm,"clubYesterPV"));
- clubNewUser = ccu.getCounterInfo(hm,"clubNewUser");
- hm = null;
- /* test
- com.gamvan.club.ClubInfo ci = new com.gamvan.club.ClubInfo();
- ci.clubInfoHashMap();
- out.print(ci.getMessage());
- ci.clubInfoHashMap();
- out.print(ci.getMessage());
- */
- %>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title><%=clubTitle%></title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <META content=<%=clubMeta%> name=keywords>
- <link href="./GVimgs/favicon.ico" rel="Bookmark">
- <link rel="icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
- <link rel="shortcut icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
- <STYLE type=text/css media=screen>
- @import url(./GVinc/main.css);
- @import url(./GVinc/newStyle.css);
- </STYLE>
- </head>
- <body>
- <IFRAME id=hiddenframe style="DISPLAY: none" src="about:blank" width=0 height=0></IFRAME>
- <DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP:30%; TEXT-ALIGN: center">
- <TABLE cellPadding=6 border=0>
- <TBODY><TR><TD align=middle>
- <IMG src="GVimgs/loading.gif" alt="数据载入中……" width="30" height="30">
- <BR>
- <FONT color="red">数据载入中,请稍候...</FONT></TD></TR></TBODY></TABLE></DIV>
- <script language="javascript" type="text/javascript" src="GVscript/GVtopCode.js"></script>
- <script language="javascript" type="text/javascript" src="GVscript/GVshowMenu.js"></script>
- <script language="javascript" type="text/javascript" src="GVscriptInc/topBar.js"></script>
- <SCRIPT language="javascript">gv_showWait('waitDiv', 1);</SCRIPT>
- <script language="javascript" type="text/javascript">
- prtie2('<%=clubTitle%>__进站画面');
- </script>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1">
- <tr><td><img src="GVimgs/mainLogo.gif" />
- </td><td align="right">
- <script language="javascript" type="text/javascript" src="./GVscript/GVad.js"></script>
- <script language="javascript" type="text/javascript" src="./GVscriptInc/GVad_1.js"></script>
- </td></tr></table>
- <table width="99%" height="86" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <tr class="tab3">
- <td width="50%" valign="top">
- <%
- if(gvUserID>0){
- %>
- <table width="99%" border="0" cellpadding="2" cellspacing="2">
- <tr class="tab3">
- <td valign="top"><strong>
- <%
- out.print(gvUserName);
- %>
- </strong><span class="style1"> 欢迎莅临 <%=clubName%> </span>
- </td>
- </tr>
- <tr class="tab3">
- <td width="50%" valign="top">
- <strong>信誉:</strong><%=gvUserCredit%>
-
- <strong>积分:</strong><%=gvUserMark%>
- </td>
- </tr>
- <tr class="tab3">
- <td valign="top">
- <strong>金币:</strong><%=gvUserMoney%>
- </td>
- </tr>
- </table>
- <%
- }else{
- %>
- <script type="text/javascript" src="GVscript/GVuserLogin.js"></script>
- <table width="99%" border="0" cellpadding="2" cellspacing="2">
- <form name="Gforms" id="Gforms" onSubmit="return CheckForm();" method="post" action="userLogin.jsp" target="_self">
- <tr>
- <td height="28" colspan="2">
- 欢迎诸君莅临:<%=clubName%> <br />
- <a href="userAgree.jsp">如果你还没注册,请先注册,享受更多服务>></a></td>
- </tr>
- <tr>
- <td width="50" height="20"><strong>登陆</strong></td>
- <td>
- <input name="gvUserName" type="text" id="gvUserName" maxlength="20" style="width:120px;height:20px"/>
- <input name="gvUserSave" type="hidden" id="gvUserSave" value="0" />
- <input name="gvUserStyle" type="hidden" value="0" />
- <input name="backUrl" type="hidden" value="main.jsp"></td></tr>
- <tr>
- <td height="20"><strong>密码</strong></td>
- <td>
- <input name="gvUserPass" type="password" id="gvUserPass" value="" maxlength="20" style="width:120px;height:20px"/>
- <input name="gvSubmit" type="submit" class="btn" id="gvSubmit2" value="登陆" /></td>
- </tr>
- </form></table>
- <%}%></td>
- <td valign="top">
- <table width="100%" height="100" border="0" cellpadding="6" cellspacing="1">
- <tr>
- <td align="left" valign="top"> 社区共有注册用户<strong>
- <%out.print(clubBoy+clubGirl);%>
- </strong> 最新登记『<span style="color:#bb0000"><%=clubNewUser%></span>』<br />
- 共有帖子 <strong>
- <%out.print(clubTopic+clubReply);%>
- </strong> 篇 其中主题 <strong>
- <%out.print(clubTopic);%>
- </strong> 篇<br />
- 今日发帖 <strong>
- <%out.print(clubTodayTopic+clubTodayReply);%>
- </strong> 篇 昨日发帖 <strong>
- <%out.print(clubYesterTopic+clubYesterReply);%>
- </strong> 篇 <br />
- 当前在线 <strong>
- <%out.print(application.getAttribute("onlines"));%>
- </strong> 人 历史最高在线 <strong>
- <%out.print(clubMostOnline);%>
- 人</strong> </td>
- </tr>
- </table></td>
- </tr>
- </table>
- <table width="99%" border="0" align="center" cellpadding="1" cellspacing="1" class="tab">
- <tr class="tr">
- <td width="50%" height="25"><strong><img src="GVimgs/affiche.gif" align="absmiddle" />社区公告</strong></td>
- <td height="22"><strong><img src="GVimgs/topicPro/hot.gif" align="absmiddle" />今晚关注</strong></td>
- </tr>
- <tr valign="top" class="tab3">
- <td>
- <%cca.setCcID(-1);%>
- <c:forEach var="a" items="<%=cca.afficheList(1,8)%>">
- <img src="GVimgs/GamVanMood/0.gif" align="absmiddle"><club:affiche type="caTopic" value="${a.caTopic}" idIs="${a.caID}" linkId="${a.ccID}" />
- <br>
- </c:forEach>
- </td>
- <td height="22">
- <script language="javascript" src="clubListUTF.jsp?tLen=0&tList=8&tPro=2&mood=1&tOrder=0"></script>
- </td></tr>
- </table>
- <DIV class="list_tab_0">
- <DIV class="list_left_1"><span class="text_bold">版面</span></DIV>
- <DIV class="list_r_2">
- <DIV class="vertical"></DIV>
- <DIV class="list_3"><span class="text_bold">作者</span></DIV>
- <DIV class="list_none"><span class="text_bold">型别</span></DIV>
- </DIV>
- <DIV class="list_center"><span class="text_bold">主题</span></DIV>
- </DIV>
- <c:set value="-1" target="${ctc}" property="topicReID" />
- <%
- String tUrl = "clubPage.jsp?ccStyle="+ccStyle+"";
- ctc.setCcID(-1);
- ctc.setTopicReID(-1);
- List list = ctc.topicList(1,30);
- ClubClassItem ccit = null;
- %>
- <c:forEach var="t" items="<%=list%>">
- <DIV class="list_tab_1">
- <DIV class="list_left_1">
- <c:set value="${t.ccID}" target="${cci}" property="ccID" />
- <%ccit = cci.getClubClassInfo();%>
- <club:classinfo type="className" value="<%=ccit.getCcName()%>" idIs="<%=ccit.getCcID()%>"/>
- </DIV>
- <DIV class="list_r_2">
- <DIV class="vertical"></DIV>
- <DIV class="list_3">
- <club:users type="userName" idIs="${t.userID}" value="${t.userName}"/>
- </DIV>
- <DIV class="list_none">
- <club:topic type="img_listType" idIs="${t.topicType}" value="${t.topicTypeNum}"/>
- </DIV>
- </DIV>
- <DIV class="list_topic">
- <club:topic type="img_listMood" value="${t.topicMood}"/>
- <club:topic type="topic" url="<%=tUrl%>" ccID="${t.ccID}" idIs="${t.topicID}" value="${t.topic}" bea="<%=true%>"/>
- </DIV>
- </DIV>
- </c:forEach>
- <script language="javascript" type="text/javascript" src="GVscriptInc/links.js"></script>
- <%=Gfoot()%>
- </body>
- </html>
- <!-- Powered by www.GamVan.com -->