data['product_template'])); $t_main_content = $coo_product_info_view->get_html($product, $current_category_id); $coo_layout_control = MainFactory::create_object('LayoutContentControl'); $coo_layout_control->set_data('GET', $_GET); $coo_layout_control->set_data('POST', $_POST); $coo_layout_control->set_('coo_breadcrumb', $GLOBALS['breadcrumb']); $coo_layout_control->set_('coo_product', $GLOBALS['product']); $coo_layout_control->set_('coo_xtc_price', $GLOBALS['xtPrice']); $coo_layout_control->set_('c_path', $GLOBALS['cPath']); $coo_layout_control->set_('main_content', $t_main_content); $coo_layout_control->set_('request_type', $GLOBALS['request_type']); $coo_layout_control->proceed(); $t_redirect_url = $coo_layout_control->get_redirect_url(); if(empty($t_redirect_url) === false) { xtc_redirect($t_redirect_url); } else { echo $coo_layout_control->get_response(); }