IsError) ParamError(); //妫鏌ラ槄璇?#37833;冮檺 $needMoney = $arc->Fields['money']; $needRank = $arc->Fields['arcrank']; require_once(DEDEINC.'/memberlogin.class.php'); $cfg_ml = new MemberLogin(); if($needRank < 0 && $arc->Fields['mid'] != $cfg_ml->M_ID) { ShowMsg('鏂囩珷灏?#37832;?#28729;℃牳,闈炰綔鑰?#37832;?#27996;?#37827;?#37833;?#37836;?#37930;?', 'javascript:;'); exit(); } //璁剧疆浜?#37833;冮檺?#27322;?#22487;鐨?#37826;囩珷 //arctitle msgtitle moremsg if($needMoney>0 || $needRank>1) { $arctitle = $arc->Fields['title']; /* $arclink = GetFileUrl($arc->ArcID,$arc->Fields["typeid"],$arc->Fields["senddate"], $arc->Fields["title"],$arc->Fields["ismake"],$arc->Fields["arcrank"]); */ $arclink = $cfg_phpurl.'/view.php?aid='.$arc->ArcID; $arcLinktitle = "".$arctitle.""; $description = $arc->Fields["description"]; $pubdate = GetDateTimeMk($arc->Fields["pubdate"]); //?#32048;鍛樼骇鍒?#28051;嶈冻 if(($needRank>1 && $cfg_ml->M_Rank < $needRank && $arc->Fields['mid']!=$cfg_ml->M_ID)) { $dsql->Execute('me' , "SELECT * FROM `#@__arcrank` "); while($row = $dsql->GetObject('me')) { $memberTypes[$row->rank] = $row->membername; } $memberTypes[0] = "娓?#28729;?#37812;栨病鏉冮檺?#32048;鍛?; $msgtitle = "浣犳病鏈?#37833;冮檺娴忚鏂?#22935;?#38171;歿$arctitle} 锛?; $moremsg = "杩欑瘒鏂?#22935;?#38343;瑕?".$memberTypes[$needRank]." 鎵嶈兘璁块棶锛?#28003;?#37929;墠鏄?#38171;?font color='red'>".$memberTypes[$cfg_ml->M_Rank]." 锛?; include_once(DEDETEMPLATE.'/plus/view_msg.htm'); exit(); } //闇瑕侀噾甯?#37928;?#37807;呭喌 if($needMoney > 0 && $arc->Fields['mid'] != $cfg_ml->M_ID) { $sql = "SELECT aid,money FROM `#@__member_operation` WHERE buyid='ARCHIVE".$aid."' AND mid='".$cfg_ml->M_ID."'"; $row = $dsql->GetOne($sql); //鏈喘涔拌?#22248;鏂囩珷 if(!is_array($row)) { if($cfg_ml->M_Money=='' || $needMoney > $cfg_ml->M_Money) { $msgtitle = "浣犳病鏈?#37833;冮檺娴忚鏂?#22935;?#38171;歿$arctitle} 锛?; $moremsg = "杩欑瘒鏂?#22935;?#38343;瑕?".$needMoney." ?#22142;甯?/font> 鎵嶈兘璁块棶锛?#28003;?#37929;墠鎷?#37832;夐噾甯?#38171;?font color='red'>".$cfg_ml->M_Money." ?#37340; 锛?; include_once(DEDETEMPLATE.'/plus/view_msg.htm'); $arc->Close(); exit(); } else { if($dopost=='buy') { $inquery = "INSERT INTO `#@__member_operation`(mid,oldinfo,money,mtime,buyid,product,pname) VALUES ('".$cfg_ml->M_ID."','$arctitle','$needMoney','".time()."', 'ARCHIVE".$aid."', 'archive',''); "; if($dsql->ExecuteNoneQuery($inquery)) { $inquery = "UPDATE `#@__member` SET money=money-$needMoney WHERE mid='".$cfg_ml->M_ID."'"; if(!$dsql->ExecuteNoneQuery($inquery)) { showmsg('?#21912;涔板け璐? 璇?#26473;?#37733;?, -1); exit; } #api{{ if(defined('UC_APPID')) { include_once DEDEROOT.'/api/uc.func.php'; $row = $dsql->GetOne("SELECT `scores`,`userid` FROM `#@__member` WHERE `mid`='".$cfg_ml->M_ID."'"); uc_credit_note($row['userid'],-$needMoney,'money'); } #/aip}} showmsg('?#21912;涔?#37812;愬姛锛岃喘涔?#37813;?#37904;?#28051;嶄細閲?#37813;i噾甯?#38171;岃阿璋?#38171;?, '/plus/view.php?aid='.$aid); exit; } else { showmsg('?#21912;涔板け璐? 璇?#26473;?#37733;?, -1); exit; } } $msgtitle = "鎵i噾甯佽喘涔伴槄璇?#38171;?; $moremsg = "?#27076;璇?#29831;?#37826;?#22935;e?#21613;闇瑕佷粯璐?#38171;?br>杩欑瘒鏂?#22935;?#38343;瑕?".$needMoney." ?#22142;甯?/font> 鎵嶈兘璁块棶锛?#28003;?#37929;墠鎷?#37832;夐噾甯?".$cfg_ml->M_Money." ?#37340;锛?br>纭?#29825;ら槄璇?#29831;?#37904;?[纭?#29825;?#28000;樼?#24402;槄璇?/a>]" ; include_once($cfg_basedir.$cfg_templets_dir."/plus/view_msg.htm"); $arc->Close(); exit(); } } }//?#22142;甯?#28598;勭?#21973;粯澶勭悊 } $arc->Display(); 时时彩走势图快乐十分
秒个145dt跑环赚钱吗 92千炮捕鱼 抖音和美拍那个赚钱快 深海捕鱼大师 攻略 优信二手平台如何赚钱 中福彩票安卓 哪个地区工作比较赚钱 奕趣贵州麻将公众号 679彩票网址 看新闻推广怎么赚钱 海王捕鱼游戏下载 钢笔培训培训赚钱吗 彩名堂彩票游戏 欧洲卡车赚钱mod 湖北孝感麻将卡五星 口袋农场赚钱是真的吗