Correction générale
This commit is contained in:
@@ -8,19 +8,33 @@
|
||||
<h4 class="title">Forum</h4>
|
||||
|
||||
|
||||
<table style="width: 100%; border: 1px solid orange;">
|
||||
<table style="width: 100%">
|
||||
|
||||
<tr>
|
||||
<th>Article</th>
|
||||
<th>Message's number</th>
|
||||
<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">
|
||||
|
||||
<tr>
|
||||
<td><a href="<c:url value="/forumArticle.htm"><c:param name="articleId" value="${article.id}"/></c:url>"><b>${article.title}</b></a></td>
|
||||
<td>?</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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user