{assign var="title" value="Messages"} {include file="top.tpl"} Messages in this room: [ Any room ] {html_options options=$rooms selected=$smarty.request.roomid} between these dates: and (YYYY-MM-DD hh:mm:ss) from the past X days: by this user: [ Any user ] {html_options options=$users selected=$smarty.request.userid} containing this keyword: {if $messages} id sent from user to room to user txt {foreach from=$messages item=message} {$message.id} {$message.sent} {$message.user} {$message.toroom} {$message.touser} {$message.txt} {/foreach} {else} No messages found {/if} {include file="bottom.tpl"}