{template 'header', $module}
{if $action == 'update'} {if $step == 'detail'}

| {$td[title]}
| {$td[itemid]}
{if $td[seller] == $_username}
| {if $DT[im_web]}{im_web($td[buyer])} {/if}{$td[buyer]}
{elseif $td[buyer] == $_username}
| {if $DT[im_web]}{im_web($td[seller])} {/if}{$td[seller]}
{/if}
| {$td[buyer_mobile]} {if $DT[sms]} {/if}
{if $td[logistic]}
| {$td[buyer_postcode]}
| {$td[buyer_address]}
| {$td[buyer_name]}
´Â | {$td[buyer_phone]}
| {$td[buyer_receive]}
| {$td[note]}
{/if}
| {$td[adddate]}
| {$td[updatedate]}
| {$td[password]}
| {$td[price]}
| {$td[number]}
| {$td[amount]}
{if $td[logistic]}
| {$td[send_type]}
| {$td[send_no]}{if $td[send_no]} []{/if}
| {$td[send_time]}
{/if}
| {$_status[$td[status]]}

{elseif $step == 'send'}

{if $td[buyer_receive]}
| {$td[buyer_receive]}
{/if}

{elseif $step == 'refund'}

| T{$td[itemid]} {if $DT[group]}({$DT[group_nm]}:{$td[group_no]}){/if}
| {$td[title]}
| {$td[seller]}
| {$td[adddate]}
| {$td[updatedate]}
| {$td[note]}
| {$td[amount]} {$DT[money_unit]}
{if $td[fee]>0.1}
{$td[fee_name]} | {$td[fee]} {$DT[money_unit]}
{/if}
| {$money} {$DT[money_unit]}
* | {deditor($moduleid, 'content', 'Simple', '98%', 200)}
* | {template 'password', 'chip'}

{/if} {elseif $action == 'order'}
{$fields_select} {$status_select} {dcalendar('fromtime', $fromtime)} {dcalendar('totime', $totime)}
ID

{loop $lists $k $v}
| {$v[title]} | {$v[money]} | {$v[number]} | {$v[seller]} | {if $DT[im_web]}{im_web($v[seller].'&mid=16&itemid='.$v[gid])} {/if} | {$v[addtime]} | {$v[updatetime]} | {$v[dstatus]}
| {if $v[status] == 1} {elseif $v[status] == 2} {/if} {$v[itemid]} {$v[password]} {$v[price]} {$v[note]} {/loop} {if $lists}
| §³ | {$money} | ¦Ê
{/if}

{$pages}
{else}
{$fields_select} {$status_select} {dcalendar('fromtime', $fromtime)} {dcalendar('totime', $totime)}
ID

{loop $groups $k $v}
| {$v[title]}{if $v[status] == 0} {/if} | {$v[amount]} | {$v[number]} | {$v[buyer]} | {if $DT[im_web]}{im_web($v[buyer].'&mid=16&itemid='.$v[gid])} {/if} | {$v[addtime]} | {$v[updatetime]} | {$v[dstatus]}
| {if $v[status] == 0} {if $v[logistic]} {else} {/if} {/if} {$v[itemid]} {$v[password]} {$v[price]} {$v[note]} {/loop} {if $groups}
| §³ | {$money} | ¦Ê
{/if}

{$pages}
{/if} {template 'footer', $module}