");
+
+ if (mids.size() > 0) {
+ out.println("
");
+ PageTemplates.printMessages(out, sql, null, mids, visitor, locale, visitor == null ? 2 : 3);
+ out.println("
");
+ }
+
+ if (mids.size() == 20) {
+ String nextpage = "?before=" + mids.get(mids.size() - 1);
+ if (paramShow != null) {
+ nextpage += "&show=" + paramShow;
+ }
+ if (paramSearch != null) {
+ nextpage += "&search=" + URLEncoder.encode(paramSearch, "UTF-8");
+ }
+ out.println("
Older →
");
+ }
+ PageTemplates.pageFooter(request, out, locale, visitor, true);
+ out.println("