[%if count($array)>0 || count($array_top)>0 %]

[%pack:public_pack-espcms_lable_select_name%] | [%pack:public_pack-espcms_lable_id_name%] | [%pack:advert_pack-espcms_advertisemen_type_adtypename%] | [%pack:advert_pack-espcms_advertisemen_type_num%] | [%pack:public_pack-espcms_lable_isclass_name%] [%if @this->power('editAdvertisementType')%] | [%pack:public_pack-espcms_lable_control_name%] [%/if%]
--- | --- | --- | --- | --- | ---
[%forlist from=$array key=i%]
| [%$array[i].atid%] | [%$array[i].adtypename%] | [%$array[i].adtypesum%] | [%if $array[i].isclass==1%] [%else%] [%/if%] | [%if @this->power('editAdvertisementType')%] [%/if%]
[%/forlist%]

[%else%]

[%pack:public_pack-espcms_no_infomessage%]

[%/if%]