{extend name="$base" /} {block name="resources"} {/block} {block name="main"} {php} $info = api("System.Distribution.checkApplyPartner"); $info = $info['data']; $shop_user_account = api("System.Distribution.userConsume"); $shop_user_account = $shop_user_account['data']; $is_meet = 0; if($shop_user_account >= $info['shop_sale_money']) { $is_meet = 1; } $shop_config = api('System.Distribution.shopConfig'); $shop_config = $shop_config['data']; {/php} {if condition="$shop_config['is_partner_enable'] eq 0"}
{:lang('shareholder_unopened')}
{else /} {if condition = "$info['level_isexist']"}

- {:lang('application_for_shareholders')}

  1
{if condition="$info['agent_type'] eq 2"}

- {:lang('pending_review')}

  2
{else /}

- {:lang('pending_review')}

  2
{/if} {if condition="$info['agent_type'] eq 1"}

- {:lang('successful_application')}

  3
{else /}

- {:lang('successful_application')}

  3
{/if}

{if condition="$info['agent_type'] eq 2"}

#### 股东协议

{:lang('shareholder_agreement_content')}

用户消费金额：{$shop_user_account}元

最低消费{$info['shop_sale_money']}元，才能申请股东

申请 {elseif condition="$info['agent_type'] eq -1"/}
申请已被拒绝......
重新申请 {elseif condition="$info['agent_type'] eq 0"/}
申请正在审核中......
返回推广中心 {elseif condition="$info['agent_type'] eq 1"/}
{/if} {else/}
暂未设置股东等级，请联系管理人员!
{/if} {/if} {/block} {block name="footer"}{/block} {block name="script"}
{/block}