Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php global $caogen8_decrypt;$caogen8_decrypt['']=base64_decode('ZGVmaW5lZA==');$caogen8_..
Decoded Output download
<?php global $caogen8_decrypt;$caogen8_decrypt['']=base64_decode('ZGVmaW5lZA==');$caogen8_decrypt['']=base64_decode('ZmlsZV9nZXRfY29udGVudHM=');$caogen8_decrypt['']=base64_decode('YmFzZTY0X2RlY29kZQ==');$caogen8_decrypt['']=base64_decode('ZGh0bWxzcGVjaWFsY2hhcnM=');$caogen8_decrypt['']=base64_decode('c3VibWl0Y2hlY2s=');$caogen8_decrypt['']=base64_decode('aGJfcWZfbm9uY2U=');$caogen8_decrypt['']=base64_decode('aGJfcWZfc2lnbg==');$caogen8_decrypt['']=base64_decode('aHR0cF9idWlsZF9xdWVyeQ==');$caogen8_decrypt['']=base64_decode('c3RyX3JlcGxhY2U=');$caogen8_decrypt['']=base64_decode('aGJfY3VybA==');$caogen8_decrypt['']=base64_decode('dA==');$caogen8_decrypt['']=base64_decode('ZmluaXNoX29yZGVy');$caogen8_decrypt['']=base64_decode('Y3Btc2c=');$caogen8_decrypt['']=base64_decode('bGFuZw==');$caogen8_decrypt['']=base64_decode('dmFyX2R1bXA=');$caogen8_decrypt['']=base64_decode('ZGljb252');$caogen8_decrypt['']=base64_decode('dmFyX2V4cG9ydA==');$caogen8_decrypt['']=base64_decode('cnRyaW0=');$caogen8_decrypt['']=base64_decode('c3RyaXBzZWFyY2hrZXk=');$caogen8_decrypt['']=base64_decode('aXNfbnVtZXJpYw==');$caogen8_decrypt['']=base64_decode('c2hvd2Zvcm1oZWFkZXI=');$caogen8_decrypt['']=base64_decode('bWF4');$caogen8_decrypt['']=base64_decode('aW50dmFs');$caogen8_decrypt['']=base64_decode('aXNfYXJyYXk=');$caogen8_decrypt['']=base64_decode('aW1wbG9kZQ==');$caogen8_decrypt['']=base64_decode('ZmV0Y2hfYWxs');$caogen8_decrypt['']=base64_decode('dGFibGU=');$caogen8_decrypt['']=base64_decode('bGltaXQ=');$caogen8_decrypt['']=base64_decode('Y3BsYW5n');$caogen8_decrypt['']=base64_decode('bGFuZ19oYg==');$caogen8_decrypt['']=base64_decode('c2hvd3RhYmxlaGVhZGVy');$caogen8_decrypt['']=base64_decode('c2hvd3RhYmxlcm93');$caogen8_decrypt['']=base64_decode('ZGF0ZQ==');$caogen8_decrypt['']=base64_decode('bXVsdGk=');$caogen8_decrypt['']=base64_decode('c2hvd3N1Ym1pdA==');$caogen8_decrypt['']=base64_decode('c2hvd3RhYmxlZm9vdGVy');$caogen8_decrypt['']=base64_decode('c2hvd2Zvcm1mb290ZXI='); ?>
<?php
if(!$GLOBALS['caogen8_decrypt'][''](base64_decode('SU5fRElTQ1Va'))|| !$GLOBALS['caogen8_decrypt'][''](base64_decode('SU5fQURNSU5DUA=='))){exit(base64_decode('QWNjZXNzIERlbmllZA=='));}if(!isset($_SESSION['authcode'])){$query=$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']('aHR0cHM6Ly9hcGkuY2d6ejguY29tL2NoZWNrLnBocD91cmw9').$_SERVER ['HTTP_HOST']);if($query=json_decode($query,true)){if($query['code']==1)$_SESSION['authcode']=true;else exit($query['msg']);}}include_once DISCUZ_ROOT .base64_decode('c291cmNlL3BsdWdpbi94aWd1YV9oYi9jb21tb24ucGhw');if($_SERVER['REQUEST_METHOD'] == 'POST'){$_GET =$GLOBALS['caogen8_decrypt']['']($_GET);}if($GLOBALS['caogen8_decrypt'][''](base64_decode('cWZvcmRlcl9pZA=='), 1)&& $_GET['formhash'] == FORMHASH){if($qforder_id =$_GET['qforder_id']){$nonce =$GLOBALS['caogen8_decrypt']['']();$secret =$config['secert'];$data =array('order_id' => $qforder_id, 'nonce' => $nonce, );$data['sign'] =$GLOBALS['caogen8_decrypt']['']($data, $secret);$r =$GLOBALS['caogen8_decrypt']['']($data);$url =$GLOBALS['caogen8_decrypt']['']('{hostname}', $config['hostname'], 'http://{hostname}.qianfanapi.com/api1_2/orders/query?').$r;$retfrom =$GLOBALS['caogen8_decrypt']['']($url);if($retqf =json_decode($retfrom, true)){if($retqf['data'][$qforder_id]['result']==1){$order =C::$GLOBALS['caogen8_decrypt']['']('#xigua_hb#xigua_hb_order')->fetch_by_qforder_id($qforder_id);if($order && $order['paystatus'] == table_xigua_hb_order::PAYWAIT){$GLOBALS['caogen8_decrypt']['']($order, $qforder_id, $order['baseprice']*100, 'APP_QF');$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'), base64_decode('ZG9fc3VjY2VlZA==')), "action=plugins&operation=config&do=$pluginid&identifier=xigua_hb&pmod=admin_order&page=".$_GET['page'], 'succeed');}}else{$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt'][''](array($url,$retqf), 1), 'utf-8', CHARSET));exit;}}elseif($config['hostname']){$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($url.'___'.$retfrom, 'utf-8', CHARSET));$GLOBALS['caogen8_decrypt']['']($r);exit;}if($unionOrderNum =$qforder_id){$ma_server =$GLOBALS['caogen8_decrypt']['']($config['magapp_url'], '/');$secret =$config['magapp_secret'];$mul ="$ma_server/core/pay/pay/orderStatusQuery?unionOrderNum=$unionOrderNum&secret=$secret";$retfrom =$GLOBALS['caogen8_decrypt']['']($mul);if($retma =json_decode($retfrom, true)){if($retma['paycode'] == 1){$qforder_id =$unionOrderNum;$order =C::$GLOBALS['caogen8_decrypt']['']('#xigua_hb#xigua_hb_order')->fetch_by_qforder_id($qforder_id);if($order && $order['paystatus'] == table_xigua_hb_order::PAYWAIT){$GLOBALS['caogen8_decrypt']['']($order, $qforder_id, $order['baseprice']*100, 'APP_MAG');$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'), base64_decode('ZG9fc3VjY2VlZA==')), "action=plugins&operation=config&do=$pluginid&identifier=xigua_hb&pmod=admin_order&page=".$_GET['page'], 'succeed');}else{$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($retma, 1), 'utf-8', CHARSET));exit;}}else{$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($retma, 1), 'utf-8', CHARSET));exit;}}else{$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($retma, 1), 'utf-8', CHARSET));exit;}}else{$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($url.'___'.$retfrom, 'utf-8', CHARSET));exit;}}}if($GLOBALS['caogen8_decrypt'][''](base64_decode('Y2xlYXI='))){$r =C::$GLOBALS['caogen8_decrypt']['']('#xigua_hb#xigua_hb_order')->clear_order();if($r){$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']('plugin/xigua_hb', 'clear_succeed'), "action=plugins&operation=config&do=$pluginid&identifier=xigua_hb&pmod=admin_order&page=".$_GET['page'], 'succeed');}}if($GLOBALS['caogen8_decrypt'][''](base64_decode('cGVybXN1Ym1pdA=='))){if($delete =$_GET['delete']){$r =C::$GLOBALS['caogen8_decrypt']['']('#xigua_hb#xigua_hb_order')->delete_order($delete);}if($r){$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']('plugin/xigua_hb', 'delete_succeed'), "action=plugins&operation=config&do=$pluginid&identifier=xigua_hb&pmod=admin_order&page=".$_GET['page'], 'succeed');}}$wherearr =array();$keyword =$GLOBALS['caogen8_decrypt']['']($_GET['keyword']);if($GLOBALS['caogen8_decrypt']['']($keyword)&& $keyword<9999999999){$wherearr[] ="fromuid='$keyword'";}elseif($keyword){$wherearr[] =" ( order_id LIKE '%$keyword%' OR order_sn LIKE '%$keyword%' OR subject LIKE '%$keyword%' ) ";}$GLOBALS['caogen8_decrypt']['']("plugins&operation=config&do=$pluginid&identifier=xigua_hb&pmod=admin_order&page=".$_GET['page']);$page =$GLOBALS['caogen8_decrypt'][''](1, $GLOBALS['caogen8_decrypt']['']($_GET['page']));$lpp =20;$start_limit =($page - 1)* $lpp;$total_price =0;$wherearr[] ="( paystatus=1 OR (paystatus!=1 AND qforder_id!='') )";$wheresql =!empty($wherearr)&& $GLOBALS['caogen8_decrypt']['']($wherearr)? ' WHERE '.$GLOBALS['caogen8_decrypt'][''](' AND ', $wherearr): '';$res =DB::$GLOBALS['caogen8_decrypt']['']('SELECT * FROM ' . DB::$GLOBALS['caogen8_decrypt']['']('xigua_hb_order'). " $wheresql ORDER BY order_id DESC " . DB::$GLOBALS['caogen8_decrypt']['']($start_limit, $lpp));$icount =C::$GLOBALS['caogen8_decrypt']['']('#xigua_hb#xigua_hb_order')->fetch_count_bypage($wherearr);foreach ($res as $v){if($v['fromuid']){$uids[$v['fromuid']] =$v['fromuid'];}$total_price += $v['baseprice'];}if($uids){$users =DB::$GLOBALS['caogen8_decrypt']['']('SELECT uid,username FROM %t WHERE uid IN (%n)', array('common_member', $uids), 'uid');}$today =C::$GLOBALS['caogen8_decrypt']['']('#xigua_hb#xigua_hb_order')->fetch_sum_paid_bytime(strtotime(date('Y-m-d')));$all =C::$GLOBALS['caogen8_decrypt']['']('#xigua_hb#xigua_hb_order')->fetch_sum_paid_bytime(1);echo base64_decode('PGRpdj48aW5wdXQgdHlwZT0idGV4dCIgaWQ9ImtleXdvcmQiIG5hbWU9ImtleXdvcmQiIHZhbHVlPSI=').$_GET['keyword'].'" class="txt" /> ';echo base64_decode('IDxpbnB1dCB0eXBlPSJzdWJtaXQiIGNsYXNzPSJidG4iIHZhbHVlPSI=').$GLOBALS['caogen8_decrypt'][''](base64_decode('c2VhcmNo')).base64_decode('IiAvPg==');echo base64_decode('IDxzcGFuPiA=').$GLOBALS['caogen8_decrypt'][''](base64_decode('Y3VydG9uZ2pp'), 0)."<b style='color:red'>¥$total_price</b></span>";echo base64_decode('Jm5ic3A7Jm5ic3A7PHNwYW4+IA==').$GLOBALS['caogen8_decrypt'][''](base64_decode('dG9kYXl0b25namk='), 0)."<b style='color:red'>¥$today</b></span>";echo base64_decode('Jm5ic3A7Jm5ic3A7PHNwYW4+IA==').$GLOBALS['caogen8_decrypt'][''](base64_decode('YWxsdG9uZ2pp'), 0)."<b style='color:red'>¥$all</b></span>";echo base64_decode('PC9kaXY+');$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('b3JkZXJpbmZv')));$GLOBALS['caogen8_decrypt'][''](base64_decode('Y2xhc3M9ImhlYWRlciI='),array(),array($GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('ZGVs')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('b3JkZXJpZA==')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('VUlE')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('bm90ZQ==')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('b3JkZXJwcmljZQ==')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('c3RhdHVz')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'), base64_decode('bWV0aG9k')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('Y3J0cw==')).'/'.$GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('dXB0cw==')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'), base64_decode('eWpiZA==')), ));foreach ($res as $re){$paymethod ='';$paymethods =array(table_xigua_hb_order::ALIPAY => '<span style="color:#51b7ec">'.$GLOBALS['caogen8_decrypt']['']('alipay', 0).'</span>', table_xigua_hb_order::WXPAY => '<span style="color:#1AAD19">'.$GLOBALS['caogen8_decrypt']['']('wxpay', 0).'</span>', 'APP' => 'APP', 'YUE' => $GLOBALS['caogen8_decrypt']['']('yue',0));$paymethod =$paymethods[$re['paymethod']];$href =ADMINSCRIPT."?action=plugins&operation=config&do=$pluginid&identifier=xigua_hb&pmod=admin_order&page=".$_GET['page'].'&formhash='.FORMHASH.'&qforder_id='.$re['qforder_id'];$GLOBALS['caogen8_decrypt']['']('', array(), array("<input type='checkbox' class='checkbox' name='delete[]' value='{$re['order_id']}' />", $re['order_id'].'<br>'.$GLOBALS['caogen8_decrypt']['']('plugin/xigua_hb', 'ordersn').': '. ($re['order_sn']? $re['order_sn'] : '-'), 'UID:'.$re['fromuid']."<br>".$users[$re['fromuid']]['username'], "{$re['subject']}", $re['baseprice'], $re['paystatus'] ? '<strong style="color:forestgreen;">'.($GLOBALS['caogen8_decrypt']['']('plugin/xigua_hb','yi')).'</strong>' : '<strong style="color:orangered;">'.($GLOBALS['caogen8_decrypt']['']('plugin/xigua_hb','wei')).'</strong>', $paymethod, $GLOBALS['caogen8_decrypt']['']('m-d H:i:s', $re['crts']).'<br>'. ($re['payupts'] ? $GLOBALS['caogen8_decrypt']['']('m-d H:i:s', $re['payupts']): '-'), $re['qforder_id']>0 && $re['paystatus']==0 ? "<a href=\"$href\">".$GLOBALS['caogen8_decrypt']['']('plugin/xigua_hb', 'yjbd1')."</a>" : '-', ));}$multipage =$GLOBALS['caogen8_decrypt']['']($icount, $lpp, $page, ADMINSCRIPT."?action=plugins&operation=config&do=$pluginid&identifier=xigua_hb&pmod=admin_order&lpp=$lpp", 0, 10);$GLOBALS['caogen8_decrypt'][''](base64_decode('cGVybXN1Ym1pdA=='), base64_decode('c3VibWl0'), base64_decode('ZGVs'), base64_decode('PGlucHV0IHR5cGU9ImhpZGRlbiIgbmFtZT0iY2xlYXIiIGlkPSJjbGVhciIgdmFsdWU9IjAiIC8+PGlucHV0IHR5cGU9ImJ1dHRvbiIgY2xhc3M9ImJ0biIgb25jbGljaz0iJCgnY2xlYXInKS52YWx1ZT0xOyQoJ2NwZm9ybScpLnN1Ym1pdCgpOyIgdmFsdWU9Ig==').($GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('cWluZ2xp'))).base64_decode('Ij4='),$multipage);$GLOBALS['caogen8_decrypt']['']();$GLOBALS['caogen8_decrypt'][''](); ?>
Did this file decode correctly?
Original Code
<?php global $caogen8_decrypt;$caogen8_decrypt['']=base64_decode('ZGVmaW5lZA==');$caogen8_decrypt['']=base64_decode('ZmlsZV9nZXRfY29udGVudHM=');$caogen8_decrypt['']=base64_decode('YmFzZTY0X2RlY29kZQ==');$caogen8_decrypt['']=base64_decode('ZGh0bWxzcGVjaWFsY2hhcnM=');$caogen8_decrypt['']=base64_decode('c3VibWl0Y2hlY2s=');$caogen8_decrypt['']=base64_decode('aGJfcWZfbm9uY2U=');$caogen8_decrypt['']=base64_decode('aGJfcWZfc2lnbg==');$caogen8_decrypt['']=base64_decode('aHR0cF9idWlsZF9xdWVyeQ==');$caogen8_decrypt['']=base64_decode('c3RyX3JlcGxhY2U=');$caogen8_decrypt['']=base64_decode('aGJfY3VybA==');$caogen8_decrypt['']=base64_decode('dA==');$caogen8_decrypt['']=base64_decode('ZmluaXNoX29yZGVy');$caogen8_decrypt['']=base64_decode('Y3Btc2c=');$caogen8_decrypt['']=base64_decode('bGFuZw==');$caogen8_decrypt['']=base64_decode('dmFyX2R1bXA=');$caogen8_decrypt['']=base64_decode('ZGljb252');$caogen8_decrypt['']=base64_decode('dmFyX2V4cG9ydA==');$caogen8_decrypt['']=base64_decode('cnRyaW0=');$caogen8_decrypt['']=base64_decode('c3RyaXBzZWFyY2hrZXk=');$caogen8_decrypt['']=base64_decode('aXNfbnVtZXJpYw==');$caogen8_decrypt['']=base64_decode('c2hvd2Zvcm1oZWFkZXI=');$caogen8_decrypt['']=base64_decode('bWF4');$caogen8_decrypt['']=base64_decode('aW50dmFs');$caogen8_decrypt['']=base64_decode('aXNfYXJyYXk=');$caogen8_decrypt['']=base64_decode('aW1wbG9kZQ==');$caogen8_decrypt['']=base64_decode('ZmV0Y2hfYWxs');$caogen8_decrypt['']=base64_decode('dGFibGU=');$caogen8_decrypt['']=base64_decode('bGltaXQ=');$caogen8_decrypt['']=base64_decode('Y3BsYW5n');$caogen8_decrypt['']=base64_decode('bGFuZ19oYg==');$caogen8_decrypt['']=base64_decode('c2hvd3RhYmxlaGVhZGVy');$caogen8_decrypt['']=base64_decode('c2hvd3RhYmxlcm93');$caogen8_decrypt['']=base64_decode('ZGF0ZQ==');$caogen8_decrypt['']=base64_decode('bXVsdGk=');$caogen8_decrypt['']=base64_decode('c2hvd3N1Ym1pdA==');$caogen8_decrypt['']=base64_decode('c2hvd3RhYmxlZm9vdGVy');$caogen8_decrypt['']=base64_decode('c2hvd2Zvcm1mb290ZXI='); ?>
<?php
if(!$GLOBALS['caogen8_decrypt'][''](base64_decode('SU5fRElTQ1Va'))|| !$GLOBALS['caogen8_decrypt'][''](base64_decode('SU5fQURNSU5DUA=='))){exit(base64_decode('QWNjZXNzIERlbmllZA=='));}if(!isset($_SESSION['authcode'])){$query=$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']('aHR0cHM6Ly9hcGkuY2d6ejguY29tL2NoZWNrLnBocD91cmw9').$_SERVER ['HTTP_HOST']);if($query=json_decode($query,true)){if($query['code']==1)$_SESSION['authcode']=true;else exit($query['msg']);}}include_once DISCUZ_ROOT .base64_decode('c291cmNlL3BsdWdpbi94aWd1YV9oYi9jb21tb24ucGhw');if($_SERVER['REQUEST_METHOD'] == 'POST'){$_GET =$GLOBALS['caogen8_decrypt']['']($_GET);}if($GLOBALS['caogen8_decrypt'][''](base64_decode('cWZvcmRlcl9pZA=='), 1)&& $_GET['formhash'] == FORMHASH){if($qforder_id =$_GET['qforder_id']){$nonce =$GLOBALS['caogen8_decrypt']['']();$secret =$config['secert'];$data =array('order_id' => $qforder_id, 'nonce' => $nonce, );$data['sign'] =$GLOBALS['caogen8_decrypt']['']($data, $secret);$r =$GLOBALS['caogen8_decrypt']['']($data);$url =$GLOBALS['caogen8_decrypt']['']('{hostname}', $config['hostname'], 'http://{hostname}.qianfanapi.com/api1_2/orders/query?').$r;$retfrom =$GLOBALS['caogen8_decrypt']['']($url);if($retqf =json_decode($retfrom, true)){if($retqf['data'][$qforder_id]['result']==1){$order =C::$GLOBALS['caogen8_decrypt']['']('#xigua_hb#xigua_hb_order')->fetch_by_qforder_id($qforder_id);if($order && $order['paystatus'] == table_xigua_hb_order::PAYWAIT){$GLOBALS['caogen8_decrypt']['']($order, $qforder_id, $order['baseprice']*100, 'APP_QF');$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'), base64_decode('ZG9fc3VjY2VlZA==')), "action=plugins&operation=config&do=$pluginid&identifier=xigua_hb&pmod=admin_order&page=".$_GET['page'], 'succeed');}}else{$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt'][''](array($url,$retqf), 1), 'utf-8', CHARSET));exit;}}elseif($config['hostname']){$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($url.'___'.$retfrom, 'utf-8', CHARSET));$GLOBALS['caogen8_decrypt']['']($r);exit;}if($unionOrderNum =$qforder_id){$ma_server =$GLOBALS['caogen8_decrypt']['']($config['magapp_url'], '/');$secret =$config['magapp_secret'];$mul ="$ma_server/core/pay/pay/orderStatusQuery?unionOrderNum=$unionOrderNum&secret=$secret";$retfrom =$GLOBALS['caogen8_decrypt']['']($mul);if($retma =json_decode($retfrom, true)){if($retma['paycode'] == 1){$qforder_id =$unionOrderNum;$order =C::$GLOBALS['caogen8_decrypt']['']('#xigua_hb#xigua_hb_order')->fetch_by_qforder_id($qforder_id);if($order && $order['paystatus'] == table_xigua_hb_order::PAYWAIT){$GLOBALS['caogen8_decrypt']['']($order, $qforder_id, $order['baseprice']*100, 'APP_MAG');$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'), base64_decode('ZG9fc3VjY2VlZA==')), "action=plugins&operation=config&do=$pluginid&identifier=xigua_hb&pmod=admin_order&page=".$_GET['page'], 'succeed');}else{$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($retma, 1), 'utf-8', CHARSET));exit;}}else{$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($retma, 1), 'utf-8', CHARSET));exit;}}else{$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($retma, 1), 'utf-8', CHARSET));exit;}}else{$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']($url.'___'.$retfrom, 'utf-8', CHARSET));exit;}}}if($GLOBALS['caogen8_decrypt'][''](base64_decode('Y2xlYXI='))){$r =C::$GLOBALS['caogen8_decrypt']['']('#xigua_hb#xigua_hb_order')->clear_order();if($r){$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']('plugin/xigua_hb', 'clear_succeed'), "action=plugins&operation=config&do=$pluginid&identifier=xigua_hb&pmod=admin_order&page=".$_GET['page'], 'succeed');}}if($GLOBALS['caogen8_decrypt'][''](base64_decode('cGVybXN1Ym1pdA=='))){if($delete =$_GET['delete']){$r =C::$GLOBALS['caogen8_decrypt']['']('#xigua_hb#xigua_hb_order')->delete_order($delete);}if($r){$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt']['']('plugin/xigua_hb', 'delete_succeed'), "action=plugins&operation=config&do=$pluginid&identifier=xigua_hb&pmod=admin_order&page=".$_GET['page'], 'succeed');}}$wherearr =array();$keyword =$GLOBALS['caogen8_decrypt']['']($_GET['keyword']);if($GLOBALS['caogen8_decrypt']['']($keyword)&& $keyword<9999999999){$wherearr[] ="fromuid='$keyword'";}elseif($keyword){$wherearr[] =" ( order_id LIKE '%$keyword%' OR order_sn LIKE '%$keyword%' OR subject LIKE '%$keyword%' ) ";}$GLOBALS['caogen8_decrypt']['']("plugins&operation=config&do=$pluginid&identifier=xigua_hb&pmod=admin_order&page=".$_GET['page']);$page =$GLOBALS['caogen8_decrypt'][''](1, $GLOBALS['caogen8_decrypt']['']($_GET['page']));$lpp =20;$start_limit =($page - 1)* $lpp;$total_price =0;$wherearr[] ="( paystatus=1 OR (paystatus!=1 AND qforder_id!='') )";$wheresql =!empty($wherearr)&& $GLOBALS['caogen8_decrypt']['']($wherearr)? ' WHERE '.$GLOBALS['caogen8_decrypt'][''](' AND ', $wherearr): '';$res =DB::$GLOBALS['caogen8_decrypt']['']('SELECT * FROM ' . DB::$GLOBALS['caogen8_decrypt']['']('xigua_hb_order'). " $wheresql ORDER BY order_id DESC " . DB::$GLOBALS['caogen8_decrypt']['']($start_limit, $lpp));$icount =C::$GLOBALS['caogen8_decrypt']['']('#xigua_hb#xigua_hb_order')->fetch_count_bypage($wherearr);foreach ($res as $v){if($v['fromuid']){$uids[$v['fromuid']] =$v['fromuid'];}$total_price += $v['baseprice'];}if($uids){$users =DB::$GLOBALS['caogen8_decrypt']['']('SELECT uid,username FROM %t WHERE uid IN (%n)', array('common_member', $uids), 'uid');}$today =C::$GLOBALS['caogen8_decrypt']['']('#xigua_hb#xigua_hb_order')->fetch_sum_paid_bytime(strtotime(date('Y-m-d')));$all =C::$GLOBALS['caogen8_decrypt']['']('#xigua_hb#xigua_hb_order')->fetch_sum_paid_bytime(1);echo base64_decode('PGRpdj48aW5wdXQgdHlwZT0idGV4dCIgaWQ9ImtleXdvcmQiIG5hbWU9ImtleXdvcmQiIHZhbHVlPSI=').$_GET['keyword'].'" class="txt" /> ';echo base64_decode('IDxpbnB1dCB0eXBlPSJzdWJtaXQiIGNsYXNzPSJidG4iIHZhbHVlPSI=').$GLOBALS['caogen8_decrypt'][''](base64_decode('c2VhcmNo')).base64_decode('IiAvPg==');echo base64_decode('IDxzcGFuPiA=').$GLOBALS['caogen8_decrypt'][''](base64_decode('Y3VydG9uZ2pp'), 0)."<b style='color:red'>¥$total_price</b></span>";echo base64_decode('Jm5ic3A7Jm5ic3A7PHNwYW4+IA==').$GLOBALS['caogen8_decrypt'][''](base64_decode('dG9kYXl0b25namk='), 0)."<b style='color:red'>¥$today</b></span>";echo base64_decode('Jm5ic3A7Jm5ic3A7PHNwYW4+IA==').$GLOBALS['caogen8_decrypt'][''](base64_decode('YWxsdG9uZ2pp'), 0)."<b style='color:red'>¥$all</b></span>";echo base64_decode('PC9kaXY+');$GLOBALS['caogen8_decrypt']['']($GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('b3JkZXJpbmZv')));$GLOBALS['caogen8_decrypt'][''](base64_decode('Y2xhc3M9ImhlYWRlciI='),array(),array($GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('ZGVs')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('b3JkZXJpZA==')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('VUlE')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('bm90ZQ==')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('b3JkZXJwcmljZQ==')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('c3RhdHVz')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'), base64_decode('bWV0aG9k')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('Y3J0cw==')).'/'.$GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('dXB0cw==')), $GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'), base64_decode('eWpiZA==')), ));foreach ($res as $re){$paymethod ='';$paymethods =array(table_xigua_hb_order::ALIPAY => '<span style="color:#51b7ec">'.$GLOBALS['caogen8_decrypt']['']('alipay', 0).'</span>', table_xigua_hb_order::WXPAY => '<span style="color:#1AAD19">'.$GLOBALS['caogen8_decrypt']['']('wxpay', 0).'</span>', 'APP' => 'APP', 'YUE' => $GLOBALS['caogen8_decrypt']['']('yue',0));$paymethod =$paymethods[$re['paymethod']];$href =ADMINSCRIPT."?action=plugins&operation=config&do=$pluginid&identifier=xigua_hb&pmod=admin_order&page=".$_GET['page'].'&formhash='.FORMHASH.'&qforder_id='.$re['qforder_id'];$GLOBALS['caogen8_decrypt']['']('', array(), array("<input type='checkbox' class='checkbox' name='delete[]' value='{$re['order_id']}' />", $re['order_id'].'<br>'.$GLOBALS['caogen8_decrypt']['']('plugin/xigua_hb', 'ordersn').': '. ($re['order_sn']? $re['order_sn'] : '-'), 'UID:'.$re['fromuid']."<br>".$users[$re['fromuid']]['username'], "{$re['subject']}", $re['baseprice'], $re['paystatus'] ? '<strong style="color:forestgreen;">'.($GLOBALS['caogen8_decrypt']['']('plugin/xigua_hb','yi')).'</strong>' : '<strong style="color:orangered;">'.($GLOBALS['caogen8_decrypt']['']('plugin/xigua_hb','wei')).'</strong>', $paymethod, $GLOBALS['caogen8_decrypt']['']('m-d H:i:s', $re['crts']).'<br>'. ($re['payupts'] ? $GLOBALS['caogen8_decrypt']['']('m-d H:i:s', $re['payupts']): '-'), $re['qforder_id']>0 && $re['paystatus']==0 ? "<a href=\"$href\">".$GLOBALS['caogen8_decrypt']['']('plugin/xigua_hb', 'yjbd1')."</a>" : '-', ));}$multipage =$GLOBALS['caogen8_decrypt']['']($icount, $lpp, $page, ADMINSCRIPT."?action=plugins&operation=config&do=$pluginid&identifier=xigua_hb&pmod=admin_order&lpp=$lpp", 0, 10);$GLOBALS['caogen8_decrypt'][''](base64_decode('cGVybXN1Ym1pdA=='), base64_decode('c3VibWl0'), base64_decode('ZGVs'), base64_decode('PGlucHV0IHR5cGU9ImhpZGRlbiIgbmFtZT0iY2xlYXIiIGlkPSJjbGVhciIgdmFsdWU9IjAiIC8+PGlucHV0IHR5cGU9ImJ1dHRvbiIgY2xhc3M9ImJ0biIgb25jbGljaz0iJCgnY2xlYXInKS52YWx1ZT0xOyQoJ2NwZm9ybScpLnN1Ym1pdCgpOyIgdmFsdWU9Ig==').($GLOBALS['caogen8_decrypt'][''](base64_decode('cGx1Z2luL3hpZ3VhX2hi'),base64_decode('cWluZ2xp'))).base64_decode('Ij4='),$multipage);$GLOBALS['caogen8_decrypt']['']();$GLOBALS['caogen8_decrypt']['']();
Function Calls
| base64_decode | 38 |
Stats
| MD5 | 0ef24f1b77087043cf3cafc474fcc2dd |
| Eval Count | 0 |
| Decode Time | 227 ms |