本文整理汇总了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();
}
}
}