{template "mheader.html"}
我的权限

用户组 | 级别 | 有效期 |
--- | --- | --- | ---
{loop $ci->member_cache['group'] $gid $t} {if $member['groupid'][$gid]}

{$t.name}

{if $t['level']}{$t['level'][$member['levelid'][$gid]]['name']}{else}无{/if}

{dr_date($member['group'][$gid]['stime'], 'Y-m-d')} ~ {if $member['group'][$gid]['etime']}{dr_date($member['group'][$gid]['etime'], 'Y-m-d')}{else}永久{/if}

{php $next = dr_level_next_value($t.level, $member['levelid'][$gid]);} {if $next} {if $t['setting']['level']['auto']} 升级要求: {if $t['setting']['level']['unit']} 消费额{$member.spend} >= {$next.value} {else} {SITE_EXPERIENCE} >= {$next.value} {/if} {else} {if $member['group'][$gid]['etime'] && $member['group'][$gid]['etime'] - SYS_TIME < 0} 续费 {else} 已开通 {/if} {/if} {else} 已开通 {/if}

{else} {if $t.apply}
{$t.name} | 无 | {if !$t.setting.timetype}{if $t.days}{$t.days}{dr_member_group_dtype($t.setting.dtype)}{else}永久{/if}{else}按需{/if} | {php $sq=\Phpcmf\Service::M()->table('member_group_verify')->where('uid', $member.uid)->where('gid', $t.id)->getRow();} {if $sq} {if $sq.status}被拒绝{else}审核中{/if} {else} 申请开通 {/if}
{/if} {/if} {/loop}

{template "mfooter.html"}