51,7 → 51,7 |
{ |
%> |
<div id="flashCenterNews"> |
<table class="container" cellpadding="0" cellspacing="0"> |
<table class="container" cellspacing="0"> |
<tr> |
<% |
int i; |
59,7 → 59,8 |
{ |
AnnouncementView announcementView = announcementViews.get(i); |
request.setAttribute("item",announcementView); |
%> |
%> <td class="cont"> |
<table class="flashNew" cellpadding="0" cellspacing="0"><tr> |
<th class="imageContainer"> |
<logic:present name="item" property="smallImage"> |
<img alt="${item.title}" src="<%=request.getContextPath()%>/imageStream/${item.smallImage.id}"> |
93,6 → 94,7 |
</logic:equal> |
</logic:notEmpty> |
</td> |
</tr></table> |
<% |
} |
%> |
104,7 → 106,7 |
{ |
%> |
<div id="flashBottomNews"> |
<table class="container" cellpadding="0" cellspacing="0"> |
<table class="container" cellspacing="0"> |
<% |
while(i < announcementViews.size()) |
{ |
117,44 → 119,49 |
AnnouncementView announcementView = announcementViews.get(j); |
request.setAttribute("item",announcementView); |
%> |
<th class="imageContainer"> |
<logic:present name="item" property="smallImage"> |
<img alt="${item.title}" src="<%=request.getContextPath()%>/imageStream/${item.smallImage.id}"> |
</logic:present> |
</th> |
<td class="textContainer"> |
<logic:empty name="item" property="url"> |
<h2> |
<html:link action="/loadAnnouncement?id=${item.id}&dispatch=load">${item.title}</html:link> |
</h2> |
<p> |
<html:link action="/loadAnnouncement?id=${item.id}&dispatch=load">${item.textSummarySmall}</html:link> |
</p> |
</logic:empty> |
<logic:notEmpty name="item" property="url"> |
<logic:equal value="false" name="item" property="haveAllText"> |
<td class="cont"> |
<table class="flashNew" cellpadding="0" cellspacing="0"><tr> |
<th class="imageContainer"> |
<logic:present name="item" property="smallImage"> |
<img alt="${item.title}" src="<%=request.getContextPath()%>/imageStream/${item.smallImage.id}"> |
</logic:present> |
</th> |
<td class="textContainer"> |
<logic:empty name="item" property="url"> |
<h2> |
<html:link href="${item.url}">${item.title}</html:link> |
</h2> |
<p> |
<html:link href="${item.url}">${item.textSummarySmall}</html:link> |
</p> |
</logic:equal> |
<logic:equal value="true" name="item" property="haveAllText"> |
<h2> |
<html:link action="/loadAnnouncement?id=${item.id}&dispatch=load">${item.title}</html:link> |
</h2> |
<p> |
<html:link action="/loadAnnouncement?id=${item.id}&dispatch=load">${item.textSummarySmall}</html:link> |
</p> |
</logic:equal> |
</logic:notEmpty> |
</logic:empty> |
<logic:notEmpty name="item" property="url"> |
<logic:equal value="false" name="item" property="haveAllText"> |
<h2> |
<html:link href="${item.url}">${item.title}</html:link> |
</h2> |
<p> |
<html:link href="${item.url}">${item.textSummarySmall}</html:link> |
</p> |
</logic:equal> |
<logic:equal value="true" name="item" property="haveAllText"> |
<h2> |
<html:link action="/loadAnnouncement?id=${item.id}&dispatch=load">${item.title}</html:link> |
</h2> |
<p> |
<html:link action="/loadAnnouncement?id=${item.id}&dispatch=load">${item.textSummarySmall}</html:link> |
</p> |
</logic:equal> |
</logic:notEmpty> |
</td> |
</tr></table> |
<% |
} |
i = j; |
%> |
</td> |
<% |
} |
i = j; |
%> |
</tr> |
|
<% |
} |
%> |