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(); 时时彩走势图快乐十分
期货里买跌怎么赚钱 网贷赚钱工作室 北京滴滴什么车最赚钱 龙王捕鱼2需要切换大炮的技巧 山东德州麻将app 梦幻西游bb装备打造赚钱吗 边工作边玩怎么赚钱 易博网网址 广东麻将怎么样算胡牌 安然钻石国际赚钱吗 麻将技巧变牌 小鱼赚钱怎么查询提现 大连金州干什么可以赚钱 赚钱是认知层面的事 668彩票游戏 推荐几款手机赚钱软件是什么