[%if espcms_count($array)>0%]

[%pack:public_pack-espcms_lable_select_name%] | [%pack:public_pack-espcms_lable_id_name%] | [%pack:order_pack-espcms_order_ordersn%] | [%pack:member_pack-espcms_lable_user_id%] | [%pack:order_pack-espcms_order_consignee%] | [%pack:order_pack-espcms_order_productmoney%] | [%pack:order_pack-espcms_order_total%] | [%pack:order_pack-espcms_order_addtime%] | [%pack:order_pack-espcms_order_isinvoice%] | [%pack:order_pack-espcms_order_ispay%] | [%pack:order_pack-espcms_order_isshipping%] | [%pack:order_pack-espcms_order_ordertype%] | [%pack:order_pack-espcms_order_islock%] | [%pack:public_pack-espcms_lable_control_name%]
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
[%forlist from=$array key=i%]
[%if $array[i].islock==0%] [%else%] [%/if%] | [%$array[i].oid%] | [%$array[i].ordersn%] | [%if $array[i].username%][%$array[i].username%][%else%]/[%/if%] | [%$array[i].consignee%] | [%$array[i].productmoney|espcms_format_money(2)%] | [%$array[i].orderamount|espcms_format_money(2)%] | [%$array[i].addtime|espcms_timeformat(9)%] | [%if $array[i].isinvoice==1%] [%else%] [%/if%] | [%if $array[i].ispay==0%][%pack:order_pack-espcms_order_ispay_0%][%/if%] [%if $array[i].ispay==1%][%pack:order_pack-espcms_order_ispay_1%][%/if%] [%if $array[i].ispay==2%][%pack:order_pack-espcms_order_ispay_2%][%/if%] | [%if $array[i].isshipping==0%][%pack:order_pack-espcms_order_isshipping_0%][%/if%] [%if $array[i].isshipping==1%][%pack:order_pack-espcms_order_isshipping_1%][%/if%] [%if $array[i].isshipping==2%][%pack:order_pack-espcms_order_isshipping_2%][%/if%] | [%if $array[i].ordertype==0 || $array[i].ordertype==6%][%pack:order_pack-espcms_order_ordertype_0%][%/if%] [%if $array[i].ordertype==1%][%pack:order_pack-espcms_order_ordertype_1%][%/if%] [%if $array[i].ordertype==2%][%pack:order_pack-espcms_order_ordertype_2%][%/if%] | [%if $array[i].islock==0%][%pack:order_pack-espcms_order_islock_0%][%/if%] [%if $array[i].islock==1%][%pack:order_pack-espcms_order_islock_1%][%/if%] | [%if @this->power('editOrder')%] [%if $array[i].islock==0%] [%/if%] [%/if%]
[%/forlist%]

[%else%]

[%pack:public_pack-espcms_no_infomessage%]

[%/if%]