{template 'header', 'member'}
返回
{if $action=='grade'}会员升级{elseif $action=='vip'}{VIP}续费{else}账户详情{/if}
{if $action=='grade' || $action=='vip'} 取消 {else} 升级 {/if}
{if $action == 'grade'}

- {$GROUP[$_groupid][groupname]}当前组
- {$GROUP[$groupid][groupname]}升级为
{if $fee>0}
- {$fee}{$DT[money_unit]}应付总额
{else}
- 公司名称
{/if}

{if $fee>0}

- {$_money}{$DT[money_unit]}账户余额

{php $PAYLIST = get_paylist();}

{loop $PAYLIST $k $v}
- {$v[name]} {if $v[percent]>0}手续费 {$v[percent]}%{/if}
{/loop}

{/if}
{elseif $action == 'vip'}

- {$todate}到期时间
- {$havedays}天剩余时间
- 续费年限
- {$fee}{$DT[money_unit]}应付总额

- {$_money}{$DT[money_unit]}账户余额

{php $PAYLIST = get_paylist();}

{loop $PAYLIST $k $v}
- {$v[name]} {if $v[percent]>0}手续费 {$v[percent]}%{/if}
{/loop}

{else}

{if $user[truename]}
- {$user[truename]} （{if $user[gender]==1}先生{else}女士{/if}）姓名
{/if} {if $MG[type]}
- {$company}公司
{/if}
- {$username}会员名
- {$passport}昵称
- {$MG[groupname]}会员组
- {timetodate($logintime, 5)}上次登录
- {timetodate($regtime, 5)}注册时间
{if $support}
- {$support}客服专员
{/if}

{if $vip} {elseif $groupid>4}
{/if}
{if $vip}

- {$vip}级{VIP}级别
- {timetodate($fromtime, 3)}服务开始
- {timetodate($totime, 3)}服务结束
- {$havedays}天剩余时间

{/if}
{/if}
{template 'footer', 'member'}