{{if is_array(MyLang('layout.view_base_structure_list'))}}
{{foreach :MyLang('layout.view_base_structure_list') as $k=>$v}}
{{/foreach}}
{{/if}}
{{if is_array(MyLang('layout.view_base_module_list'))}}
{{foreach :MyLang('layout.view_base_module_list') as $k=>$v}}
{{/foreach}}
{{/if}}
{{if !empty($layout_data) and is_array($layout_data)}}
{{foreach $layout_data as $k=>$v}}
{{if !empty($v['value']) and !empty($v['children']) and is_array($v['children']) and !empty($v['value_arr']) and count($v['children']) eq count($v['value_arr'])}}