$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();
        }
    }
}