<?php global $zym_decrypt;$zym_decrypt['ýÁŽˆý”ÖýÃÖÃ‹Á®ˆÖÀ”¥¥‹”ÄÁ”¯¥Á¾¯ÃŽ']=base64_decode('c3RydG90aW1l');$zym_decrypt['ŽÁýýÃ¯¥‹¯‹®”ýÃ®ÃÁÄŽ”ÀŽÖ‹Ã¯ÖÖý¥Ö‹']=base64_decode('dGltZQ==');$zym_decrypt['ˆ¾ÖÄÖ”¯ÄÄ‹¥ÃÃÄÃÖýˆ¥Ä”ˆÄ®ÁÄ®‹”Ž®ˆ']=base64_decode('Z2V0c2hvcA=='); ?>
<?php
 $mod='blank';$nosecu=true;require_once(base64_decode('Li4vaW5jbHVkZXMvY29tbW9uLnBocA=='));require_once(SYSTEM_ROOT.base64_decode('YWxpcGF5L2FsaXBheS5jb25maWcucGhw'));require_once(SYSTEM_ROOT.base64_decode('YWxpcGF5L2FsaXBheV9ub3RpZnkuY2xhc3MucGhw'));$alipayNotify =new AlipayNotify($alipay_config);$verify_result =$alipayNotify->verifyNotify();if($verify_result){$out_trade_no =$_POST['out_trade_no'];$trade_no =$_POST['trade_no'];$trade_status =$_POST['trade_status'];$srow=$DB->get_row("SELECT * FROM ".DBQZ."_pay WHERE orderid='{$out_trade_no}' limit 1");$uid=$srow['uid'];$sql="insert into `".DBQZ."_order` (`type`,`orderid`,`trade_no`,`time`,`name`,`money`,`status`) values ('alipay','".$out_trade_no."','".$trade_no."','".$date."','".$srow['name']."','".$srow['money']."','2')";$DB->query($sql);if($_POST['trade_status'] == 'TRADE_FINISHED'){}else if ($_POST['trade_status'] == 'TRADE_SUCCESS' && $srow['status']==0){$DB->query("update `".DBQZ."_pay` set `status` ='1',`endtime` ='$date' where `orderid`='$out_trade_no'");$msg ='OK';$row=$DB->get_row("select userid,coin,vip,vipdate from ".DBQZ."_user where userid='".$uid."' limit 1");if($row['vip']==1 && $GLOBALS['zym_decrypt']['ýÁŽˆý”ÖýÃÖÃ‹Á®ˆÖÀ”¥¥‹”ÄÁ”¯¥Á¾¯ÃŽ']($row['vipdate'])>$GLOBALS['zym_decrypt']['ŽÁýýÃ¯¥‹¯‹®”ýÃ®ÃÁÄŽ”ÀŽÖ‹Ã¯ÖÖý¥Ö‹']()|| $row['vip']==2){$isvip=1;}else{$isvip=0;}$GLOBALS['zym_decrypt']['ˆ¾ÖÄÖ”¯ÄÄ‹¥ÃÃÄÃÖýˆ¥Ä”ˆÄ®ÁÄ®‹”Ž®ˆ']($srow['shopid'],$srow['qq'],$msg);}echo base64_decode('c3VjY2Vzcw==');}else {echo base64_decode('ZmFpbA==');}?>