Correction générale

This commit is contained in:
Frederic Debuire
2008-02-25 23:22:25 +00:00
parent 90f615cbab
commit 87e8364511
32 changed files with 372 additions and 242 deletions

View File

@@ -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>