{$method->exe_noauth("report","get_user_criteria")}
{foreach from=$userCriteria item=field} {/foreach}
{$field.display} {if $field.type == 'date'} {html_menu_search_expr type=date module=report field=$field.name} {$list->calender_add("report[conditions][`$field.name`][value][]", "", "")}
{html_menu_search_expr type=date module=report field=$field.name} {$list->calender_add("report[conditions][`$field.name`][value][]", "", "")} {elseif $field.type == 'date_year'} {html_menu_search_expr type=dateex module=report field=$field.name}   Example: 2005
{html_menu_search_expr type=dateex module=report field=$field.name}   Example: 2006 {elseif $field.type == 'date_year_month'} {html_menu_search_expr type=dateex module=report field=$field.name}   Example: 2005
{html_menu_search_expr type=dateex module=report field=$field.name}   Example: 2006 {elseif $field.type == 'bool'} {html_menu_search_expr type=exact module=report field=$field.name} {elseif $field.type == 'text'} {html_menu_search_expr type=text module=report field=$field.name} {elseif $field.type == 'menu' } {html_menu_search_expr type=exact module=report field=$field.name} {if $field.values} {else if $field.table} { $list->menu("no", "report[conditions][`$field.name`][value][]", "`$field.table`", "`$field.col_name`", "all", "") } {/if} {elseif $field.type == 'auto_account' } {html_menu_search_expr type=exact module=report field=$field.name} {html_select_account name="report[conditions][`$field.name`][value][]"} {elseif $field.type == 'auto_affiliate' } {html_menu_search_expr type=exact module=report field=$field.name} {html_select_affiliate name="report[conditions][`$field.name`][value][]"} {/if}
Rendering Format: