📄 in.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@taglib uri="/WEB-INF/bbscs.tld" prefix="bbscs"%>
<%@page import="com.laoer.bbscs.comm.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>社区首页</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<link href="css/css1.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td width="63%" class="bgColor3"><strong class="font1"><bbscs:webinfo type="forumname"/></strong></td>
<td width="37%" class="bgColor3">
<div align="right">
<html:link action="/reg" target="_top">注册</html:link>
<html:link action="/login" target="_top">登录</html:link>
<html:link action="/inCoverManage?action=inmanage&bid=0">管理</html:link>
<html:link action="/logout" target="_top">注销</html:link>
</div>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="2" cellspacing="0">
<tr>
<td width="76%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="bgColor5"><table width="100%" border="0" cellpadding="5" cellspacing="1">
<tr>
<td colspan="2" class="bgColor3">欢迎登录:<strong><bean:write name="user_session" property="userName" scope="session"/></strong></td>
</tr>
<tr>
<td width="30%" class="bgColor4"><div align="center"><bbscs:face name="user_session" property="id" scope="session"/></div></td>
<td width="70%" valign="top" class="bgColor2"><table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td>上次登录:<bean:write name="lastLoginTime" format="yyyy-MM-dd HH:mm:ss"/></td>
</tr>
<tr>
<td>您的积分:<bean:write name="titleValue"/>(<bean:write name="userTitle"/>)</td>
</tr>
<tr>
<td>悄悄话:<html:link action="/note"><bean:write name="newNoteNumInbox"/>/<bean:write name="noteAllNumInbox"/></html:link></td>
</tr>
<tr>
<td>好友:<html:link action="/online?action=friend"><bean:write name="friendOnlineNum"/></html:link>/<html:link action="/friendSet"><bean:write name="friendNum"/></html:link></td>
</tr>
<tr>
<td>当前在线:注册用户 <html:link action="/online?action=user"><bean:write name="onlineNum"/></html:link> 游客 <bean:write name="onlineGuestNum"/></td>
</tr>
<tr>
<td><bbscs:webinfo type="onlinehighest" sysStatServiceName="sysStatService"/></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" class="bgColor2">
个人中心:
<html:link action="/signSet">修改签名</html:link>
<html:link action="/nickNameSet">修改昵称</html:link>
<html:link action="/userConfig">个人参数</html:link>
<html:link action="/friendSet">编辑好友</html:link>
<html:link action="/bookMark">书签管理</html:link>
<html:link action="/userFace?action=index">编辑头像</html:link>
<html:link action="/userDetailSet?action=index">个人资料</html:link>
<html:link action="/cpasswd?action=index">修改密码</html:link>
<html:link action="/boardSaveManage">珍藏管理</html:link>
</td>
</tr>
<tr>
<td colspan="2" class="bgColor4"><bbscs:webinfo type="sysinfo" sysStatServiceName="sysStatService"/></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" height="2" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="bgColor5"><table width="100%" border="0" cellpadding="5" cellspacing="1">
<tr>
<td class="bgColor3">
<strong class="font1">最新文章</strong>
<a href="rss" target="_blank"><img alt="Rss" src="images/rss200.png" border="0" align="absmiddle"/></a>
<!--<html:link action="/rss" target="_blank"><img alt="Rss" src="images/rss200.png" border="0" align="absmiddle"/></html:link>-->
</td>
</tr>
<tr>
<td class="bgColor2">
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<logic:iterate id="newf" name="newfs" type="com.laoer.bbscs.bean.Forum" indexId="index">
<logic:lessThan value="20" name="index">
<tr>
<td>
<logic:equal value="true" name="URR" scope="request">
<a href="read-topic-<%=newf.getBoardID()%>-<%=newf.getMainID()%>-0-1-index-1.html"><span class="font1"><bean:write name="newf" property="title"/></span></a>
[<a href="forum-index-<%=newf.getBoardID()%>.html"><bean:write name="newf" property="boardName"/></a>]
</logic:equal>
<logic:notEqual value="true" name="URR" scope="request">
<a href="<%=BBSCSUtil.getActionMappingURL("/read?action=topic&id="+newf.getMainID()+"&bid="+newf.getBoardID(),request)%>"><span class="font1"><bean:write name="newf" property="title"/></span></a>
[<html:link action="/forum?action=index" paramId="bid" paramName="newf" paramProperty="boardID"><bean:write name="newf" property="boardName"/></html:link>]
</logic:notEqual>
</td>
</tr>
</logic:lessThan>
</logic:iterate>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" height="2" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="bgColor5"><table width="100%" border="0" cellpadding="5" cellspacing="1">
<tr>
<td class="bgColor3"><strong class="font1">斑主推荐</strong></td>
</tr>
<tr>
<td class="bgColor2"><table width="100%" border="0" cellpadding="3" cellspacing="0">
<bbscs:in type="commend"/>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" height="2" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="bgColor5"><table width="100%" border="0" cellpadding="5" cellspacing="1">
<tr>
<td class="bgColor3"><strong class="font1">精选文章</strong></td>
</tr>
<tr>
<td class="bgColor2">
<bbscs:in type="choice"/>
</td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" height="2" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
</td>
<td width="24%" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="bgColor5"><table width="100%" border="0" cellpadding="5" cellspacing="1">
<tr>
<td class="bgColor3"><strong class="font1">积分排行[周增加]</strong></td>
</tr>
<tr>
<td class="bgColor2"><table width="100%" border="0" cellpadding="3" cellspacing="0">
<bbscs:in type="userexp"/>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" height="2" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="bgColor5"><table width="100%" border="0" cellpadding="5" cellspacing="1">
<tr>
<td class="bgColor3"><strong class="font1">文采排行[周增加]</strong></td>
</tr>
<tr>
<td class="bgColor2"><table width="100%" border="0" cellpadding="3" cellspacing="0">
<bbscs:in type="userlit"/>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" height="2" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="bgColor5"><table width="100%" border="0" cellpadding="5" cellspacing="1">
<tr>
<td class="bgColor3"><strong class="font1">人缘排行[周增加]</strong></td>
</tr>
<tr>
<td class="bgColor2"><table width="100%" border="0" cellpadding="3" cellspacing="0">
<bbscs:in type="userknow"/>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" height="2" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="bgColor5"><table width="100%" border="0" cellpadding="5" cellspacing="1">
<tr>
<td class="bgColor3"><strong class="font1">搜索用户</strong></td>
</tr>
<tr>
<td class="bgColor2">
<html:form action="/userInfo">
<html:hidden property="action" value="name"/>
<div align="center">
用户名
<html:text property="username" styleClass="input2" size="10">
</html:text>
<input name="Submit" type="submit" class="button1" value="搜索" />
</div>
</html:form>
</td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" height="2" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="bgColor5"><table width="100%" border="0" cellpadding="5" cellspacing="1">
<tr>
<td class="bgColor3"><strong class="font1">全文搜索</strong></td>
</tr>
<tr>
<td class="bgColor2"><html:form action="/search">
<div align="center">
<input name="query" type="text" class="input2" size="10"/>
<input name="Submit" type="submit" class="button1" value="搜索" />
</div>
</html:form></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td>
<div align="center">
</div>
</td>
</tr>
<tr>
<td>
<div align="center">
<bbscs:webinfo type="pagefoot"/>
</div>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -