{template 'public/header'} {template 'public/comhead'}
{loop $list $key $item} {php $cg = pdo_fetch("select sum(tx_cost) as tx_cost from " . tablename("zh_jdgjb_commission_withdrawal")." WHERE state=2 and user_id=".$item['user_id']);} {php $lei = pdo_fetch("select sum(money) as tx_cost from " . tablename("zh_jdgjb_earnings")." WHERE state=2 and user_id=".$item['user_id'] );} $item['user_id'])); $res2=array(); for($i=0;$i$res[$i]['fx_user'])); $res2[]=$res3; } $res4=array(); for($k=0;$k {if $item['state']==1} {elseif $item['state']==2} {elseif $item['state']==3} {/if} {/loop} {if empty($list)} {/if}
粉丝 手机号码 累计佣金
打款佣金
下级分销商 申请时间 审核状态 操作
{$item['user_name']} {$item['user_tel']} {if $lei['tx_cost']}{$lei['tx_cost']}{else}0.00{/if}
{if $cg['tx_cost']}{$cg['tx_cost']}{else}0.00{/if}
一级:{php echo count($res)}
{if $sys['is_ej']==2} 二级:{php echo count($res4)} {/if}
{php echo date("Y-m-d H:i:s",$item['time'])} 待审核 已通过 已拒绝 {if $item['state']==1} 通过 拒绝 {/if} {if $item['state']==2} 充值佣金 {/if} 查看 删除
暂无分销商
{$pager}
{template 'common/footer'}