• 解决方案:
    html
     
    {pboot:search num=12 order=sorting scode=* field='title|content'}
    {/pboot:search}
  • 多条件搜索示例:
    html
     
    标题:<input type="text" name="search[title]">
    作者:<input type="text" name="search[author]">
    <button type="submit">搜索</button>
  • 搜索结果列表:
    html
     
    {pboot:search}
    [search:title]
    {/pboot:search}