本文整理匯總了PHP中payment::ec_step1方法的典型用法代碼示例。如果您正苦於以下問題:PHP payment::ec_step1方法的具體用法?PHP payment::ec_step1怎麽用?PHP payment::ec_step1使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類payment
的用法示例。
在下文中一共展示了payment::ec_step1方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: payment
$conditions = '<textarea name="blabla" cols="60" rows="10" readonly="readonly">' . strip_tags(str_replace(HTML_BR, NEW_LINE, $shop_content_data['content_text'])) . '</textarea>';
}
$smarty->assign('FORM_ACTION', olc_draw_form('ec_checkout', FILENAME_EC_PROCESS, olc_href_link(FILENAME_CHECKOUT_CONFIRMATION, EMPTY_STRING, SSL), 'post', 'action=process'));
$smarty->assign('AGB', $conditions);
$smarty->assign('AGB_checkbox', olc_draw_checkbox_field('conditions', TRUE_STRING_S));
$checkout_payment = 'checkout_payment';
$accept_agb = 'accept_agb';
$s = olc_get_smarty_config_variable($smarty, $checkout_payment, 'text_' . $accept_agb);
$smarty->assign(strtoupper($accept_agb), str_replace('@', SESSION_LANGUAGE, $s));
// W. Kaiser
$smarty->assign('FERNAG_checkbox', olc_draw_checkbox_field('fernag', TRUE_STRING_S));
$accept_fernag = 'accept_fernag';
$s = olc_get_smarty_config_variable($smarty, $checkout_payment, 'text_' . $accept_fernag);
$smarty->assign(strtoupper($accept_fernag), str_replace('@', SESSION_LANGUAGE, $s));
// W. Kaiser
$smarty->assign('BUTTON_CONTINUE', olc_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE));
$main_content = $smarty->fetch(CURRENT_TEMPLATE_MODULE . 'ec_process' . HTML_EXT, SMARTY_CACHE_ID);
$smarty->assign(MAIN_CONTENT, $main_content);
$smarty->display(INDEX_HTML);
} else {
$process = true;
}
}
if ($process) {
require DIR_WS_LANGUAGES . SESSION_LANGUAGE . SLASH . FILENAME_EC_PROCESS;
require DIR_WS_CLASSES . 'payment.php';
$payment_modules = new payment('paypal_wpp');
$payment_modules->ec_step1();
}
}
}