{$includes}
{include_if_exists file="include/header.php"}
{doevent name="SearchOnLoad"}
##@TABLE.strCaption h##
##message ADVANCED_SEARCH##
##message ALL_CONDITIONS##
##message ANY_CONDITION##
NOT
##foreach Fields as @f filter @f.bAdvancedSearch order @f.nAdvSearchPageOrder##
##@f.strLabel h##
{$searchtype_##@f.strName g##}
{build_edit_control field="##@f.strName s##" value=$value_##@f.strName g## mode="search"}
{build_edit_control field="##@f.strName s##" second=true value=$value1_##@f.strName g## mode="search"}
##endfor##
{include_if_exists file="include/footer.php"} {$linkdata}