window.location.href='./login.php';"); if(isset($_GET['value']) && !empty($_GET['value'])) { $sql=" `{$_GET['column']}`='{$_GET['value']}'"; $numrows=$DB->getColumn("SELECT count(*) from pre_record WHERE{$sql}"); $con='包含 '.$_GET['value'].' 的共有 '.$numrows.' 条记录'; $link='&my=search&column='.$_GET['column'].'&value='.$_GET['value']; }else{ $numrows=$DB->getColumn("SELECT count(*) from pre_record WHERE 1"); $sql=" 1"; $con='共有 '.$numrows.' 条记录'; } ?>
| 商户号 | 操作类型 | 变更金额 | 变更前金额 | 变更后金额 | 时间 | 关联订单号 |
|---|---|---|---|---|---|---|
| '.$res['uid'].' | '.($res['action']==2?''.$res['type'].'':''.$res['type'].'').' | '.($res['action']==2?'- ':'+ ').$res['money'].' | '.$res['oldmoney'].' | '.$res['newmoney'].' | '.$res['date'].' | '.($res['trade_no']?''.$res['trade_no'].'':'无').' |