[ LIVEDATA ]
|
[ /if ]
[ $thisChannel.ChannelName ] | [ * Create the "Previous" link only if we are not starting from the beginning of the query results * ] [ if $viewParams.offset > 0 ][ assign var="PREV_PAGE" value=$viewParams.offset-$viewParams.max ] ◄ | [ /if ][ if $POST_COUNT > 0 ] [ assign var="ITEM_COUNT" value=$viewParams.offset+$POST_COUNT ] You are viewing [ if $ITEM_COUNT > 1 ] [ $viewParams.max ] [ if $viewParams.max > 1 ] to [ $viewParams.offset+$viewParams.max ] [ /if ] of [ /if ] [ $ITEM_COUNT ] total [ "item"|plural:$ITEM_COUNT ]. [ /if ] [ * Create the sort box only if we have more than one query result * ] [ if $RESULT_COUNT > 1 ] Sort by: date ◅ title="Sort by date (oldest posts first)" onMouseOver="window.status='Sort by date (oldest posts first)';return true" onMouseOut="window.status='';return true">◅ | title [ /if ] | [ * Create the "Next" link only if clicking it won't take us past the end of our query results * ] [ if $viewParams.max < $POST_COUNT ][ assign var="NEXT_PAGE" value=$viewParams.offset+$viewParams.max ] ► | [ /if ]
[ * If the user has write permissions to this channel, display the "Post" link * ]
[ if $thisSession.UserRights|indexOf:"w" !== false ]
[ * Include the new post form * ]
[ include file="../templates/site/post.tpl.html" ]
![]() ![]() ![]() |