$db->next_record(); //读取记录数据 $arrdata['reqno'] = $db->f(fd_pmreq_reqno); //编号 $arrdata['truename'] = $db->f(fd_author_truename); $arrdata['paymsetname'] = $db->f(fd_scdmset_name); $arrdata['scope'] = $db->f(fd_scdmset_scope); $arrdata['nallmoney'] = $db->f(fd_scdmset_nallmoney); $arrdata['sallmoney'] = $db->f(fd_scdmset_sallmoney); $arrdata['reqmoney'] = $db->f(fd_pmreq_reqmoney); $arrdata['reqdatetime'] = $db->f(fd_pmreq_reqdatetime); $arrdata['memo'] = $db->f(fd_pmreq_memo); $arrdata['qrdatetime'] = date("Y-m-d H:i:s"); $arrdata['qrman'] = $loginstaname; $authorid = $db->f(fd_pmreq_authorid); $arrdata['usemoney'] = getusemoney($authorid); $arrdata['restmoney'] = getrestmoney($authorid); if ($arrdata['scope'] == "creditcard") { $arrdata['scope'] = "信用卡"; } if ($arrdata['scope'] == "bankcard") { $arrdata['scope'] = "储蓄卡"; } } $t->set_var("listid", $listid); $t->set_var($arrdata); $t->set_var("gotourl", $gotourl); // 转用的地址 $t->set_var("error", $error); // 判断权限 include "../include/checkqx.inc.php";
function makeshow() { // 将值转为显示值 $this->bwfd_show = getusemoney($this->bwfd_value); return $this->bwfd_show; }