}
    if (isset($temp_prods[$i]['attributes'])) {
        //Dokuman - 2012-05-31 - fix paypal_checkout notices
        $attributes_model = '';
        reset($temp_prods[$i]['attributes']);
        while (list($option, $value) = each($temp_prods[$i]['attributes'])) {
            $attributes_model .= xtc_get_attributes_model($temp_prods[$i]['id'], $value['value'], $value['option']);
        }
        if ($attributes_model) {
            $temp_prods[$i]['model'] .= $attributes_model;
        }
    }
}
$smarty->assign('products_data', $temp_prods);
if (MODULE_ORDER_TOTAL_INSTALLED) {
    $smarty->assign('total_block', $order_total_modules->pp_output());
}
if (isset($checkout_payment_modules->modules) && is_array($checkout_payment_modules->modules)) {
    //Dokuman - 2012-05-31 - fix paypal_checkout notices
    if ($confirmation = $checkout_payment_modules->confirmation()) {
        for ($i = 0, $n = sizeof($confirmation['fields']); $i < $n; $i++) {
            $payment_info[] = array('TITLE' => $confirmation['fields'][$i]['title'], 'FIELD' => stripslashes($confirmation['fields'][$i]['field']));
        }
        $smarty->assign('PAYMENT_INFORMATION', $payment_info);
    }
}
if (isset(${$_SESSION}['payment']->form_action_url) && !${$_SESSION}['payment']->tmpOrders) {
    $form_action_url = ${$_SESSION}['payment']->form_action_url;
} else {
    $form_action_url = xtc_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL');
}