2001-02-11 18:50:10 -07:00
|
|
|
<%--
|
|
|
|
The contents of this file are subject to the Mozilla Public License Version 1.1
|
|
|
|
(the "License"); you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.
|
|
|
|
|
|
|
|
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
|
|
|
|
WARRANTY OF ANY KIND, either express or implied. See the License for the specific
|
|
|
|
language governing rights and limitations under the License.
|
|
|
|
|
|
|
|
The Original Code is the Venice Web Communities System.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
|
|
|
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
|
|
|
Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
|
|
|
--%>
|
|
|
|
<%@ page import = "java.util.*" %>
|
|
|
|
<%@ page import = "com.silverwrist.util.StringUtil" %>
|
|
|
|
<%@ page import = "com.silverwrist.venice.core.*" %>
|
|
|
|
<%@ page import = "com.silverwrist.venice.servlets.Variables" %>
|
|
|
|
<%@ page import = "com.silverwrist.venice.servlets.format.*" %>
|
|
|
|
<%
|
|
|
|
ConferenceActivity data = ConferenceActivity.retrieve(request);
|
|
|
|
Variables.failIfNull(data);
|
|
|
|
RenderData rdat = RenderConfig.createRenderData(application,request,response);
|
|
|
|
%>
|
2001-04-08 21:20:58 -06:00
|
|
|
<%
|
|
|
|
if (data.isTopicReport())
|
|
|
|
rdat.writeContentHeader(out,(data.isPosterReport() ? "Posters in Topic:"
|
|
|
|
: "Readers in Topic:"),
|
|
|
|
data.getTopicName() + " in " + data.getConfName());
|
|
|
|
else
|
|
|
|
rdat.writeContentHeader(out,(data.isPosterReport() ? "Posters in Conference:"
|
|
|
|
: "Readers in Conference:"),data.getConfName());
|
|
|
|
%>
|
2001-10-22 16:11:58 -06:00
|
|
|
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
|
2001-04-08 21:20:58 -06:00
|
|
|
<A HREF="<%= rdat.getEncodedServletPath("confops?" + data.getLocator() + "&cmd=QR") %>">Return to
|
|
|
|
Conference Reports Menu</A>
|
2001-02-11 18:50:10 -07:00
|
|
|
</FONT><P>
|
|
|
|
|
|
|
|
<% if (data.anyElements()) { %>
|
|
|
|
<TABLE BORDER=0 ALIGN=CENTER CELLPADDING=0 CELLSPACING=6>
|
|
|
|
<TR VALIGN=TOP>
|
2001-10-22 16:11:58 -06:00
|
|
|
<TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>User Name</U></B></FONT></TH>
|
2001-02-11 18:50:10 -07:00
|
|
|
<% if (data.isPosterReport()) { %>
|
2001-10-22 16:11:58 -06:00
|
|
|
<TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>Last Posted</U></B></FONT></TH>
|
|
|
|
<TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>Last Read</U></B></FONT></TH>
|
2001-02-11 18:50:10 -07:00
|
|
|
<% } else { %>
|
2001-10-22 16:11:58 -06:00
|
|
|
<TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>Last Read</U></B></FONT></TH>
|
|
|
|
<TH ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><B><U>Last Posted</U></B></FONT></TH>
|
2001-02-11 18:50:10 -07:00
|
|
|
<% } // end if %>
|
|
|
|
</TR>
|
|
|
|
<% Iterator it = data.getRecordsIterator(); %>
|
|
|
|
<% while (it.hasNext()) { %>
|
|
|
|
<% ActiveUser usr = (ActiveUser)(it.next()); %>
|
|
|
|
<TR VALIGN=TOP>
|
2001-10-22 16:11:58 -06:00
|
|
|
<TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
|
2001-02-11 18:50:10 -07:00
|
|
|
<A HREF="<%= rdat.getEncodedServletPath("user/" + usr.getName()) %>" TARGET="_blank"><%= usr.getName() %></A>
|
|
|
|
</FONT></TD>
|
|
|
|
<% if (data.isPosterReport()) { %>
|
2001-10-22 16:11:58 -06:00
|
|
|
<TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
|
2001-02-11 18:50:10 -07:00
|
|
|
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(usr.getLastWrite())) %>
|
|
|
|
</FONT></TD>
|
2001-10-22 16:11:58 -06:00
|
|
|
<TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
|
2001-02-11 18:50:10 -07:00
|
|
|
<% if (usr.getLastRead()==null) { %>
|
|
|
|
Never
|
|
|
|
<% } else { %>
|
|
|
|
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(usr.getLastRead())) %>
|
|
|
|
<% } // end if %>
|
|
|
|
</FONT></TD>
|
|
|
|
<% } else { %>
|
2001-10-22 16:11:58 -06:00
|
|
|
<TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
|
2001-02-11 18:50:10 -07:00
|
|
|
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(usr.getLastRead())) %>
|
|
|
|
</FONT></TD>
|
2001-10-22 16:11:58 -06:00
|
|
|
<TD ALIGN=LEFT><%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %>
|
2001-02-11 18:50:10 -07:00
|
|
|
<% if (usr.getLastWrite()==null) { %>
|
|
|
|
Never
|
|
|
|
<% } else { %>
|
|
|
|
<%= StringUtil.encodeHTML(rdat.formatDateForDisplay(usr.getLastWrite())) %>
|
|
|
|
<% } // end if %>
|
|
|
|
</FONT></TD>
|
|
|
|
<% } // end if %>
|
|
|
|
</TR>
|
|
|
|
<% } // end while %>
|
|
|
|
</TABLE>
|
|
|
|
<% } else { %>
|
2001-10-22 16:11:58 -06:00
|
|
|
<%= rdat.getStdFontTag(ColorSelectors.CONTENT_FOREGROUND,2) %><EM>
|
2001-04-08 21:20:58 -06:00
|
|
|
<% if (data.isTopicReport()) { %>
|
|
|
|
<% if (data.isPosterReport()) { %>
|
|
|
|
No posters to topic "<%= data.getTopicName() %>" found.
|
|
|
|
<% } else { %>
|
|
|
|
No readers of topic "<%= data.getTopicName() %>" found.
|
|
|
|
<% } // end if %>
|
2001-02-11 18:50:10 -07:00
|
|
|
<% } else { %>
|
2001-04-08 21:20:58 -06:00
|
|
|
<% if (data.isPosterReport()) { %>
|
|
|
|
No posters to conference "<%= StringUtil.encodeHTML(data.getConfName()) %>" found.
|
|
|
|
<% } else { %>
|
|
|
|
No readers of conference "<%= StringUtil.encodeHTML(data.getConfName()) %>" found.
|
|
|
|
<% } // end if %>
|
2001-02-11 18:50:10 -07:00
|
|
|
<% } // end if %>
|
|
|
|
</EM></FONT>
|
|
|
|
<% } // end if %>
|