[%assign var="SELECTED_BUTTON" value="DETAILS1"%] [%import preparser file="hbuttonlist.html"%]

[%foreach item=ROW from=$ROWS%] [%assign var="UPPER_PRIMARY_KEY" value=$PRIMARY_KEY|upper%]
[%if $ROW.GUESTBOOK_NAME%] [%if $ROW.GUESTBOOK_IS_REGISTERED%] [%$ROW.GUESTBOOK_NAME%] [%else%] [%$ROW.GUESTBOOK_NAME%] [%/if%] [%/if%] [%if $ROW.GUESTBOOK_MAIL%] [%mailto address=$ROW.GUESTBOOK_MAIL text=$ROW.GUESTBOOK_MAIL%] [%/if%] [%if $ROW.GUESTBOOK_HOMETOWN%] [%$ROW.GUESTBOOK_HOMETOWN|embeddedTags|smilies%] [%/if%] [%if $ROW.GUESTBOOK_HOMEPAGE%] [%$ROW.GUESTBOOK_HOMEPAGE|embeddedTags|smilies%] [%/if%] [%if $ROW.GUESTBOOK_MESSENGER%] [%if $ROW.GUESTBOOK_MSGTYP%] [%assign var="SELECTED_INDEX" value=$ROW.GUESTBOOK_MSGTYP|upper%] [%$DATABASE.TABLES.GUESTBOOK.CONTENT.GUESTBOOK_MSGTYP.DEFAULT.$SELECTED_INDEX%] [%/if%] [%$ROW.GUESTBOOK_MESSENGER|embeddedTags|smilies%] [%/if%] [%if $ROW.GUESTBOOK_OPINION%] %LANGUAGE.1% [%if $ROW.GUESTBOOK_OPINION==1%][%$LANGUAGE.RATE_1%] [%elseif $ROW.GUESTBOOK_OPINION==2%][%$LANGUAGE.RATE_2%] [%elseif $ROW.GUESTBOOK_OPINION==3%][%$LANGUAGE.RATE_3%] [%elseif $ROW.GUESTBOOK_OPINION==4%][%$LANGUAGE.RATE_4%] [%elseif $ROW.GUESTBOOK_OPINION==5%][%$LANGUAGE.RATE_5%] [%else%][%$ROW.GUESTBOOK_OPINION%][%/if%] [%/if%] [%if $ROW.GUESTBOOK_DATE%][%$ROW.GUESTBOOK_DATE|date%][%/if%]
[%if $ROW.GUESTBOOK_MESSAGE%]
[%$ROW.GUESTBOOK_MESSAGE|embeddedTags|smilies%]
[%/if%] [%if $ROW.GUESTBOOK_COMMENT%]
%LANGUAGE.5%:
[%$ROW.GUESTBOOK_COMMENT|embeddedTags|smilies%]
[%/if%]
[%foreachelse%]
[%$LANGUAGE.7%]
[%/foreach%]

[%if $PAGE > 0 %] [%$LANGUAGE.ZURUECK%] [%/if%] [%foreach item="ENTRY" from=$LIST_OF_ENTRIES%] [%if $ENTRY.TOO_MANY %] ... [%elseif $PAGE < $ENTRY.FIRST - 1 || $PAGE > $ENTRY.LAST - 1 %] [[%$ENTRY.FIRST%]-[%$ENTRY.LAST%]] [%else%] [[%$ENTRY.FIRST%]-[%$ENTRY.LAST%]] [%/if%] [%/foreach%] [%if $PAGE + $ENTRIES_PER_PAGE < $LAST_PAGE %] [%$LANGUAGE.VOR%] [%/if%]