{foreach item=structure from=$structure_tree} {if $parent_id == $structure->parent_id}
  • {$structure->name}
  • {/if} {/foreach} {if !$structure_data->id}
  • [actual item]
  • {else if $structure_data->parent_id != $parent_id}
  • [{$structure_data->name}]
  • {/if}