<?php $strUrl = "index.php?do=user&view=finance&op=withdraw"; $arrStepLists = array("1" => array('第一步'), "2" => array('第二步'), "3" => array('第三步'), "4" => array('第四步'), "5" => array('第五步')); if ($intWithdrawId) { $arrWithdrawInfo = db_factory::get_one("select * from " . TABLEPRE . "witkey_withdraw where withdraw_id=" . intval($intWithdrawId)); if ($arrWithdrawInfo['withdraw_status'] == 2) { $strStep = 5; } } $strStep or $strStep = '1'; $arrPays = kekezu::get_table_data("k,v", "witkey_pay_config", '', '', '', '', 'k'); $arrPaymentLists = kekezu::get_payment_config(); $booVerify = kekezu::reset_secode_session($ver ? 0 : 1); if (isset($action) && $action == 'safe_secode') { $strSeccode = keke_user_class::get_password($sec_code, $gUserInfo['rand_code']); $strRefer = 'index.php?do=user&view=finance&op=withdraw&ver=1'; if ($strSeccode == $gUserInfo['sec_code']) { $_SESSION['check_secode_' . $gUserInfo['uid']] = 1; kekezu::show_msg('', $strRefer, NULL, NULL, 'ok'); } else { $tips['errors']['sec_code'] = '安全码输入错误'; kekezu::show_msg($tips, NULL, NULL, NULL, 'error'); } } switch ($strStep) { case "1": if ($intReset) { $_SESSION['withdraw_cash'] = ''; } elseif ($intChooseCash) { if ($intWithdrawCash) {