[data var=msgs tool=guestbook func=list arg_1=('msg', 'search page 10', 'order dt desc', 'by parentid Лицевой', 'by show 1') arg_2=()]
[if count($msgs.lines) ]
[for item=m from=$msgs.lines i=i name=msg]
[$m.author] [$m.dt|mdate('d.m.Y H:i')]
[if $m.note2 != ''][$m.note2|html][/if]
|
[/for]
[if $sct.get.p < 1][assign var=$sct.get.p value=1][/if]
[data var=cmsgs tool=guestbook func=one arg_1=('msg', 'by parentid Лицевой', 'by show 1', 'fields empty', 'count') arg_2=()]
[data var=pages tool=guestbook func=guestbook_Pages arg_1=$cmsgs..count arg_2=10]
[if count($pages)]
[capture tmp2]
[/capture]
[php]$V_11['tmp2'] = str_replace('
[/capture]
[php]$V_11['tmp3'] = str_replace('
[/capture]
[php]$V_11['tmp4'] = str_replace('
[/if]
[/if]