<%@ page import="fhweb.*" errorPage="error.jsp" %> <% int entriesPerPage = 8; Parser p = new Parser(request); GuestbookEntry[] guestbook = DBAccess.guestbookLoad(-1); int start = p.defInt("start", 0); start = (Math.max(0, Math.min(guestbook.length - 1, start)) / entriesPerPage) * entriesPerPage; %> Gästebuch
 

Startseite

Neuer Eintrag

Nächste Seite
Vorige Seite

Copyright
 
Gästebuch - Seite <%= start / entriesPerPage + 1%> von <%= (guestbook.length - 1) / entriesPerPage + 1%>
<%-- <% if (start != 0) { %> <% } %> --%> <% for (int i = start; i < Math.min(start + entriesPerPage, guestbook.length); i++) { %> <% if (i != start) { %> <% } %> <% } %> <%-- <% if (start + entriesPerPage < guestbook.length) { %> <% } %> --%>
Vorige Seite
 
 
 
<%= guestbook[i].name %> <% if (guestbook[i].email.length() > 0) { %> - <%= guestbook[i].email %> <% } %> <% if (guestbook[i].homepage.length() > 0) { %> - <%= guestbook[i].homepage %> <% } %>
<%= Format.date(guestbook[i].entryDate) %>, <%= Format.time(guestbook[i].entryTime) %>
 
<%= Format.text(guestbook[i].message) %>
 
Nächste Seite