📄 user.jsp
字号:
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ page contentType='text/html;charset=GBK'%>
<logic:notPresent name="username">
<logic:forward name="login" />
</logic:notPresent>
<logic:equal name="user" value="guest">
这为老兄是匿名登陆,没有个人资料!
</logic:equal>
<logic:notEqual name="user" value="guest">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type=text/css>
<!--
td,select,input,.p1{font-size:12px;}
p,div,.p2{font-size:12px;line-height:130%;}
.vip{color:ffffff;font-size:12px}
.p3{font-size:14.8px;}
.p4{font-size:14.8px;line-height:130%;}
.p5{font-size:10px;font-family:arial}
.p6{line-height:160%}
.p7{line-height:180%}
.hot{color:ff3300}
a:link{color:000066}
a:visited{color:000066}
a.lb:link,a.lb:visited{color:black}
a.lg:link,a.lg:visited{color:#717171}
a:hover,a.lb:hover{color:red;}
.pw,a.lw:link,a.lw:visited{color:white}
a.ch:link,a.ch:visited{color:697111}
.sinput {border-left:1 ridge #ffffff;border-top:1 ridge #ffffff;border-bottom:1;border-right:1;border-style:ridge;background-color:#cccccc}
.ring{font-family: webdings;font-size:12px;color:000066;}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000" background="images/back.gif">
<table width="596" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td height="44">
<div align="center"><font size="2">雨季情缘 -- 查看网友</font></div>
</td>
</tr>
<tr>
<td height="15">
<hr>
</td>
</tr>
<tr>
<td height="58" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
</table>
<logic:present name="userinfolist">
<logic:iterate id="userinfo" name="userinfolist">
<bean:write name="userinfo" property="username" /> 共上站<bean:write name="userinfo" property="number" /> 次,发表文章<bean:write name="userinfo" property="topicnum" />篇<br>上次在 [<bean:write name="userinfo" property="logintime" />] 从 [<bean:write name="userinfo" property="ip" />] 到本站一游。<br> 经验值:[<bean:write name="userinfo" property="jingyan" />] <logic:greaterThan name="userinfo" property="jingyan" value="500"><logic:lessThan name="userinfo" property="jingyan" value="1000"> (初级站友)</logic:lessThan></logic:greaterThan><logic:greaterThan name="userinfo" property="jingyan" value="1000"><logic:lessThan name="userinfo" property="jingyan" value="2000"> (中级站友)</logic:lessThan></logic:greaterThan><logic:greaterThan name="userinfo" property="jingyan" value="2000"><logic:lessThan name="userinfo" property="jingyan" value="5000"> (高级站友)</logic:lessThan></logic:greaterThan> 表现值:[<bean:write name="userinfo" property="biaoxian" />] <br><p><br><logic:notEqual name="userinfo" property="instru" value="0"><bean:write name="userinfo" property="instru" /></logic:notEqual><logic:equal name="userinfo" property="instru" value="0">没有个人说明</logic:equal></p><p>
</logic:iterate>
</logic:present>
<logic:notPresent name="userinfolist">
对不起,无此用户
</logic:notPresent>
<br></p>
</td>
</tr>
<tr>
<td height="58" valign="top">
<div align="center"><a href="send.do">[写信问候]</a> <a href="message.do?fromuser=<bean:write name='username'/>&&touser=<bean:write name='user' />">[发送讯息]</a>
<a href="addfriend.do?friend=<bean:write name='user' />">[加入好友]</a> <a href="delfriend.do?friend=<bean:write name='user' />">[删除好友]</a></div>
</td>
</tr>
<tr> </tr>
</table>
<div align="right"></div>
</body>
</html>
</logic:notEqual>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -