<%@ include file="/WEB-INF/decorators/include.jsp"%>

<html>
<head>
</head>
<body>

<h4 class="title">Forum</h4>


<table style="width: 100%">

	<tr bgcolor="#FFCE64">
		<td width="10%" align="center"><b>Details</b></td>
		<td width="80%" align="center"><b>Articles</b></td>
		<td width="10%" align="center"><b>Replies</b></td>
	</tr>

	<c:forEach items="${listArticle}" var="article" varStatus="status">
		<c:choose>
			<c:when test="${(status.index%2)==0}">
				<tr bgcolor="white">
					<td width="10%" align="center"><a href="<c:url value='detailArticle.htm?id=${article.a.id}'/>"><img src="./images/cc-kghostview-24x24.png"></a></td>
					<td width="80%" align="center"><a
						href="<c:url value="/forumArticle.htm"><c:param name="articleId" value="${article.a.id}"/></c:url>"><b>${article.a.title}</b></a></td>
					<td width="10%" align="center"><b>${article.numberMessage}</b></td>
				</tr>
			</c:when>
			<c:otherwise>
				<tr bgcolor="#FDF2D8">
					<td width="10%" align="center"><a href="<c:url value='detailArticle.htm?id=${article.a.id}'/>"><img src="./images/cc-kghostview-24x24.png"></a></td>
					<td width="80%" align="center"><a
						href="<c:url value="/forumArticle.htm"><c:param name="articleId" value="${article.a.id}"/></c:url>"><b>${article.a.title}</b></a></td>
					<td width="10%" align="center"><b>${article.numberMessage}</b></td>
				</tr>
			</c:otherwise>
		</c:choose>

	</c:forEach>

</table>

</body>
</html>