 返回上一页  首页  {$category['title']}列表{$model['title']}列表

  - ๠ 添 加
  >{$field[1]} $map=array( 'model_id'=>$model['id'], 'name'=>$v['field'] ); $extra=M('attribute')->where($map)->getField('extra'); $extra=preg_split("/[,\n\r]+/s",$extra ,-1,PREG_SPLIT_NO_EMPTY); foreach($extra as $k1=>$v1){ $re=preg_split("/[:]+/s",$v1 ,-1,PREG_SPLIT_NO_EMPTY); $extra[$re[0]]=$re[1]; } $ids=I($v['field'].'s','0'); $list_reids_mod=M($extra['table'])->order("field(id,".$ids.")")->where(array('id',array('id'=>array('in',$ids))))->select();
  //申请提现金额 $total=M('cash')->where($where)->sum('amount'); //已审金额 $where['status']=1; $yishenhe=M('cash')->where($where)->sum('amount'); //已支付金额 $where['status']=3; $yizhifu=M('cash')->where($where)->sum('amount'); //支付失败金额 $where['status']=2; $shibai=M('cash')->where($where)->sum('amount');

  申请提现金额 | 已审金额 | 已支付金额 | 支付失败金额
  --- | --- | --- | ---
  {$total|default=0} | {$yishenhe|default=0} | {$yizhifu|default=0} | {$shibai|default=0}

| {$v.title} | 操作
--- | --- | ---
foreach($v1['fun_param'] as $k2=>&$v2){ if($v2=='###'){ $v2=$v[$v1['field']]; }else if(preg_match("/[\[]+([^\[\]]+)[\]]+/i", $v2, $matches)){ $v2=I($matches[1]); } } | {:call_user_func_array($v1['fun'],$v1['fun_param'])} | {$v[$v1['field']]} | 编辑 支付成功 ---------- 支付失败 ----------

{$page|default=''}