{literal} {/literal} {php} $is_recurring = @constant('XT_VRPAYECOMMERCE_GENERAL_RECURRING') == 1; $is_customer = $_SESSION['customer']->customer_info['account_type'] == 0; $sort_number = array(@constant('XT_VRPAYECOMMERCE_CCSAVED_SORT'), @constant('XT_VRPAYECOMMERCE_CC_SORT'), @constant('XT_VRPAYECOMMERCE_DC_SORT'), @constant('XT_VRPAYECOMMERCE_DDSAVED_SORT'), @constant('XT_VRPAYECOMMERCE_DD_SORT'), @constant('XT_VRPAYECOMMERCE_EPS_SORT'),@constant('XT_VRPAYECOMMERCE_GIROPAY_SORT'),@constant('XT_VRPAYECOMMERCE_IDEAL_SORT'), @constant('XT_VRPAYECOMMERCE_KLARNAPAYLATER_SORT'), @constant('XT_VRPAYECOMMERCE_KLARNASLICEIT_SORT'), @constant('XT_VRPAYECOMMERCE_MASTERPASS_SORT'), @constant('XT_VRPAYECOMMERCE_PAYPALSAVED_SORT'), @constant('XT_VRPAYECOMMERCE_PAYPAL_SORT'), @constant('XT_VRPAYECOMMERCE_KLARNAOBT_SORT'), @constant('XT_VRPAYECOMMERCE_SWISSPOSTFINANCE_SORT'),@constant('XT_VRPAYECOMMERCE_PAYDIREKT_SORT'),@constant('XT_VRPAYECOMMERCE_EASYCREDIT_SORT')); asort($sort_number); $sort_number = array_unique($sort_number); foreach ($sort_number as $sort) { if (@constant('XT_VRPAYECOMMERCE_CCSAVED_SORT') == $sort && $is_recurring && $is_customer) { {/php} {if $smarty.const.XT_VRPAYECOMMERCE_CCSAVED_ACTIVATE eq '1'}
{form type=radio name=selected_payment value=$payment_code:CCSAVED}
{if $smarty.const.XT_VRPAYECOMMERCE_CCSAVED_VISA eq '1'}
{/if}
{if $smarty.const.XT_VRPAYECOMMERCE_CCSAVED_MASTER eq '1'}
{/if}
{if $smarty.const.XT_VRPAYECOMMERCE_CCSAVED_AMEX eq '1'}
{/if}
{if $smarty.const.XT_VRPAYECOMMERCE_CCSAVED_DINERS eq '1'}
{/if}
{if $smarty.const.XT_VRPAYECOMMERCE_CCSAVED_JCB eq '1'}
{/if}
{form type=radio name=selected_payment value=$payment_code:CC}
{if $smarty.const.XT_VRPAYECOMMERCE_CC_VISA eq '1'}
{/if}
{if $smarty.const.XT_VRPAYECOMMERCE_CC_MASTER eq '1'}
{/if}
{if $smarty.const.XT_VRPAYECOMMERCE_CC_AMEX eq '1'}
{/if}
{if $smarty.const.XT_VRPAYECOMMERCE_CC_DINERS eq '1'}
{/if}
{if $smarty.const.XT_VRPAYECOMMERCE_CC_JCB eq '1'}
{/if}
{form type=radio name=selected_payment value=$payment_code:DC}
{form type=radio name=selected_payment value=$payment_code:DDSAVED}
{form type=radio name=selected_payment value=$payment_code:DD}
{form type=radio name=selected_payment value=$payment_code:EPS}
{form type=radio name=selected_payment value=$payment_code:GIROPAY}
{form type=radio name=selected_payment value=$payment_code:IDEAL}
{form type=radio name=selected_payment value=$payment_code:MASTERPASS}
{form type=radio name=selected_payment value=$payment_code:PAYPALSAVED}
{form type=radio name=selected_payment value=$payment_code:PAYPAL}
{form type=radio name=selected_payment value=$payment_code:PAYDIREKT}
{form type=radio name=selected_payment value=$payment_code:KLARNAOBT}
{php} if ($_SESSION['selected_language'] == 'de') { {/php}
{php} } else { {/php}
{php} } {/php}
{if $disable_easycredit}
{form type=radio name=selected_payment value=$payment_code:EASYCREDIT disabled=true unchecked=true}
{else}
{form type=radio name=selected_payment value=$payment_code:EASYCREDIT}
{/if}
{form type=radio name=selected_payment value=$payment_code:SWISSPOSTFINANCE}