<s:iterator value="userList" id="ksUser">
<tr οnmοuseοver="javascript:changBG(this,'topic')" id="topic" title="<s:property value="signature" />">
<td><INPUT type="checkbox" align="right" value="<s:property value="userid" />" name="userids" id="userids" <s:if test="userid==#session.user.userid">disabled</s:if> /></td>
<td><a href="editUserInit.action?ksUser.userid=<s:property value="userid" />" title="编辑用户信息"><img src="icon/<s:property value="icon" />" width="50" height="50" border="0" /></a></td>
//单个字符的判等不能用<s:if test="isadmin=='Y'">,必须使用/对"转义
<td><span class="t5smallred"><s:if test="isadmin==/"Y/"">管理员</s:if><s:else>普通用户</s:else></span></td>
<td><a href="editUserInit.action?ksUser.userid=<s:property value="userid" />" title="编辑用户信息"><span class="t5small"><s:property value="userid" /></span></td>
<td><a href="editUserInit.action?ksUser.userid=<s:property value="userid" />" title="编辑用户信息"><span class="t5small"><s:property value="name" /></span></a></td>
<td><span class="t5small"><s:property value="topicnumber" /></span></td>
<td><span class="t5small"><s:property value="replynumber" /></span></td>
<td><span class="t5small"><s:date name="regdate" /></span></td>
<td><span class="t5small"><s:date name="lastlogin" /></span></td>
<td><span class="t5small"><s:if test="status==0">正常</s:if><s:elseif test="status==1">已禁言</s:elseif><s:else>禁止登录</s:else></span></td>
</tr>
</s:iterator>