require "../include/common.inc.php"; require "../FCKeditor/fckeditor.php"; require "../function/AutogetFileimg.php"; require "../third_api/readshopname.php"; $getFileimg = new AutogetFile(); $db = new DB_test(); $gourl = "tb_author_b.php"; $gotourl = $gourl . $tempurl; require "../include/alledit.1.php"; $t = new Template(".", "keep"); //调用一个模版 $t->set_file("author", "authorsetmeal.html"); //费率套餐 $arr_payfee = getauthorset('tb_payfeeset', 'payfset'); //额度套餐 $arr_scardmoney = getauthorset('tb_slotcardmoneyset', 'scdmset'); $query = "select * from tb_author where fd_author_id='{$listid}' "; $db->query($query); if ($db->nf()) { $db->next_record(); $truename = $db->f(fd_author_truename); $slotpayfsetid = $db->f(fd_author_slotpayfsetid); $slotscdmsetid = $db->f(fd_author_slotscdmsetid); $bkcardpayfsetid = $db->f(fd_author_bkcardpayfsetid); $bkcardscdmsetid = $db->f(fd_author_bkcardscdmsetid); } $arr_payfeename = array("fd_payfset_name" => "套餐名", "fd_auindustry_name" => "商户所属行业", "fd_arrive_name" => "到帐周期", "fd_payfset_defeedirct" => "费率扣款方向", "fd_payfset_mode" => "费率类型", "fd_payfset_fee" => "费率百分比(%)", "fd_payfset_minfee" => "最低费率", "fd_payfset_maxfee" => "封顶费率", "fd_payfset_fixfee" => "固定手续费"); $arr_scardmoneyname = array("fd_scdmset_name" => "套餐名", "fd_auindustry_name" => "商户所属行业", "fd_scdmset_neverymoney" => "日额度(元)", "fd_scdmset_nallmoney" => "月额度(元)", "fd_scdmset_everymoney" => "每日每笔限额", "fd_scdmset_everycounts" => "每日刷卡次数", "fd_scdmset_severymoney" => "审批日额度(元)", "fd_scdmset_sallmoney" => "审批月额度(元)"); $arr_authoruse = array("fd_scdmset_neverymoney" => "今日已用额度(元)", "fd_scdmset_nallmoney" => "今月已用额度(元)", "fd_scdmset_everymoney" => "", "fd_scdmset_everycounts" => "每日已刷卡次数", "fd_scdmset_severymoney" => "今日已审批额度(元)", "fd_scdmset_sallmoney" => "今月审批额度(元)"); //商户信用卡费率套餐--"; $showslotpayfsetid = getpayfeedata($arr_payfeename, $arr_payfee, $slotpayfsetid);
function makeshow() { // 将值转为显示值 $this->bwfd_show = getauthorset("tb_slotcardmoneyset", "scdmset", $this->bwfd_value); return $this->bwfd_show; }