%STARTINCLUDE% *~~ %~~ DBQUERY{ ~~~ order="modified" ~~~ limit="%IFDEFINED{"%LIMIT%" then="%LIMIT%" else="10"}%" ~~~ reverse="on" ~~~ skip="%SKIP%" ~~~ header="<noautolink>$n ~~~ | * * | *Topic* | *Type* | *Changed* | *Author* |" ~~~ format=" ~~~ | $index ~~~ | [[$web.$topic][$topic]] ~~~ | $percntFORMATLIST{\"$formfield(TopicType)\" sort=\"on\" format=\"[[$web.$1][$1]]\"}$percnt ~~~ | <span style=\"white-space:nowrap\">$formatTime(info.date)</span> | [[%MAINWEB%.$expand(info.author)][$expand(info.author)]] |$n ~~~ | | <div style=\"margin:2px 10px 5px 0px;\">$flatten($expand(Teaser or Headline or TopicDescription or Text or 'no description')) </div>||||" ~~~ footer="$percntCALC{\"$dollarSET(nrTopics,$count)\"}$percnt$n</noautolink>" ~~~ }% %~~ DBCALL{"RenderPageNavigation" ~~~ SKIP="%SKIP%" ~~~ MAX="%CALC{"$GET(nrTopics)"}%" ~~~ LIMIT="%IFDEFINED{"%LIMIT%" then="%LIMIT%" else="10"}%" ~~~ }% *~~ %STOPINCLUDE%