{if isset($filters)}
{php}$columns = \load_columns();{/php}

{$columns[$column.parent_id]['name']|default=$column.name}
  全部 {if $column.parent_id} {foreach $columns[$column.parent_id]['child'] as $v} {$v.name} {/foreach} {else} {if isset($columns[$column.id]['child'])} {foreach $columns[$column.id]['child'] as $v} {$v.name} {/foreach} {/if} {/if}

{if !empty($search_fields)} {foreach $search_fields as $k=>$v} {switch v.search} {case 1}

{$v.name}
  {if !empty($v.filter)} {foreach $v.filter[$v['key']]['option'] as $kk=>$vv} {$vv.name} {/foreach} {/if}

{/case} {case 2}

{$v.name}
  {if !empty($v.filter)} {foreach $v.filter[$v['key']]['option'] as $kk=>$vv} {$vv.name} {/foreach} {/if}
  -

{/case} {case 3}

{$v.name}
{if !empty($v['options'])}
{/if}

{/case} {case 4}

{$v.name}
{if !empty($v['options'])} {foreach $v['options'] as $kk=>$vv} {$vv.value} {/foreach}
{/if}

{/case} {/switch} {/foreach} {/if} {if isset($filters['lists'])} {foreach $filters['lists'] as $k=>$v} {php}if ($k=='selected') continue;{/php}

{$v.name}
  {foreach $v['option'] as $kk=>$vv} {$vv.name} {/foreach}

{/foreach} {/if} {if !empty($filters['lists']['selected'])}

条件
  {foreach $filters['lists']['selected'] as $k=>$v} {$v['name']}：{$v['value']} × {/foreach}

{/if} {if isset($filters['selects'])}

{foreach $filters['selects'] as $k=>$v} {php}if ($k=='selected') continue;{/php}
- {$v['value']|default=$v.name}
{/foreach}

{/if}
{/if}