{template admin_header}
{if $_GET['get']=='store'}
{$getName}

请输入关键词 |

消费编号 | 消费订单号 | 消费用户 | 商户名称 | 购买商品 | 购买数量 | 消费金额 | 让利金额 | 消费时间
--- | --- | --- | --- | --- | --- | --- | --- | ---
{$value[id]} | {$value['orderid']} | {echo $this->mysql->value($this->pre."user","username","uid=".$value['uid'])} | {echo $this->mysql->value($this->pre."company","name","uid=".$value['cid'])} | {$value['shopname']} | {$value['shopnum']} | {echo fnum($value['money'])}元 | {echo fnum($value['yfmoney'])}元 | {echo formattime($value['addtime'])}

{self pagetotal}条记录/{eval echo $_GET['page'] ? $_GET['page'] : 1 }页{self showpage}
{/if} {if $_GET['get']=='atmlog'}
{$getName}

导出提现记录： | 状态： {form('checked',$_GET['checked'],'radio','[<><全部>][<0><未付款>][<1><已付款>]')} 时间段： {form('time','','datas','','class=\'skey\' style=\'width:50px;\'')}

| 序号 | 提现金额 | 申请用户 | 收款信息 | 申请时间 | 操作
--- | --- | --- | --- | --- | --- | ---
{eval $user = $this->mysql->select_one("select * from ".$this->pre."user where uid=".$value['uid']); $value['checkurl'] = rewrite::request("?mod=".$this->module."&act=".$this->action."&get=atmlog&id=".$value['id']); }
| {$value[id]} | {echo fnum($value['lognum'])}元 | 用户：{$user['username']} 姓名：{$user['truename']} 电话：{$user['userphone']} | 开户名：{$user['truename']} 开户行：{$value['bankname']} 银行卡号：{$value['bankcard']} | {echo formattime($value['addtime'])} | {if $value['checked']} 已经付款 {else} 确认付款 {/if}

{form('button','批量确认付款','submit','','class=\'button\'')}
{self pagetotal}条记录/{eval echo $_GET['page'] ? $_GET['page'] : 1 }页{self showpage}
{/if} {if $_GET['get']=='reslog'}
{$getName}

序号 | 返利类型 | 返利金额 | 返利说明 | 返利用户 | 返利时间
--- | --- | --- | --- | --- | ---
{$value[id]} | {echo reslog($value['type'])} | {echo fnum($value['lognum'])}元 | {$value['content']} | {echo $this->mysql->value($this->pre."user","username","uid=".$value['uid'])} | {echo formattime($value['addtime'])}

{self pagetotal}条记录/{eval echo $_GET['page'] ? $_GET['page'] : 1 }页{self showpage}
{/if} {if $_GET['get']=='payorder'}
{$getName}

序号 | 充值订单号 | 充值金额 | 充值方式 | 目前状态 | 充值用户 | 充值时间
--- | --- | --- | --- | --- | --- | ---
{$value[id]} | {$value['orderid']} | {echo fnum($value['total_fee'])}元 | {$value['paytype']} | {echo paycheck($value['checked'],$value['orderid'],$value['id'])} | {echo $this->mysql->value($this->pre."user","username","uid=".$value['uid'])} | {eval echo formattime($value['addtime'])}

{self pagetotal}条记录/{eval echo $_GET['page'] ? $_GET['page'] : 1 }页{self showpage}
{/if} {if $_GET['get']=='res'}
{$getName}

昨天总营业额 | {self ztyye}元 | 共需返现总金额 | {self allje}元 | 已返现总金额 | {self yfanje}元 | 剩余返现总金额 | {self sfanje}元 | 今天结算将返利 | {self todayje}元

序号 | 返现总额 | 剩余返现 | 已返金额 | 下次返现 | 当前状态 | 所属用户 | 创建时间
--- | --- | --- | --- | --- | --- | --- | ---
{$value[id]} | {echo fnum($value['money'])}元 | {echo fnum($value['money']-$value['resmoney'])}元 | {echo fnum($value['resmoney'])}元 | {echo rescheck($value['checked'],$value['restime'])} | {echo rescheck($value['checked'])} | {echo $this->mysql->value($this->pre."user","username","uid=".$value['uid'])} | {eval echo formattime($value['addtime'])}

{self pagetotal}条记录/{eval echo $_GET['page'] ? $_GET['page'] : 1 }页{self showpage}
{/if}
{$getName}

昨天营业额 | {self allmoney} 元
共需返现金额 | {self allje} 元
已返现总金额 | {self yfanje}元
剩余返现金额 | {self sfanje}元
分红权 | 分红中：{self _unumber}个 排队中：{echo $this->unumber-$this->_unumber}个 总分红权：{self unumber}个
{if !is_array($this->restemp)}
要拿多少分 |
分红权分红 | {self onemoney}元
{else}
要拿多少分 | 今天已经结算过，如未结算完毕， 继续结算
说明： | 此为演示版，本页面功能已经被阉割，需要请联系QQ2116198029购买。
分红权分红 | {self restemp['onemoney']}元
{/if}

{if !is_array($this->restemp)} {form('button','马上结算','submit','','class=\'button\'')} {else} {form('button','继续上次结算','submit','','class=\'button\'')} {/if}
{template admin_footer}