function janolaw_content()
 {
     if (defined('MODULE_JANOLAW_USER_ID')) {
         $this->m_user_id = xtc_cleanName(MODULE_JANOLAW_USER_ID);
     }
     if (defined('MODULE_JANOLAW_SHOP_ID')) {
         $this->m_shop_id = xtc_cleanName(MODULE_JANOLAW_SHOP_ID);
     }
     $this->enabled = MODULE_JANOLAW_STATUS == 'True' ? true : false;
     if ($this->enabled) {
         if (MODULE_JANOLAW_LAST_UPDATED + MODULE_JANOLAW_UPDATE_INTERVAL <= time() || defined('RUN_MODE_ADMIN')) {
             $this->get_page_content('datenschutzerklaerung', 2);
             $this->get_page_content('agb', 3);
             $this->get_page_content('impressum', 4);
             $this->get_page_content('widerrufsbelehrung', REVOCATION_ID);
             xtc_db_query("UPDATE " . TABLE_CONFIGURATION . " SET configuration_value='" . xtc_db_input(time()) . "', last_modified = NOW() where configuration_key='MODULE_JANOLAW_UPDATED'");
         }
     }
 }
            }
            if ($imagesliders_data['imagesliders_url_typ'] == '0') {
                $url = $imagesliders_data['imagesliders_url'];
            } elseif ($imagesliders_data['imagesliders_url_typ'] == '1') {
                $url = xtc_href_link($imagesliders_data['imagesliders_url']);
            } elseif ($imagesliders_data['imagesliders_url_typ'] == '2') {
                $url = xtc_href_link(FILENAME_PRODUCT_INFO, xtc_product_link((int) $imagesliders_data['imagesliders_url'], xtc_get_products_name((int) $imagesliders_data['imagesliders_url'])));
            } elseif ($imagesliders_data['imagesliders_url_typ'] == '3') {
                $url = xtc_href_link(FILENAME_DEFAULT, xtc_category_link((int) $imagesliders_data['imagesliders_url'], xtc_get_categories_name((int) $imagesliders_data['imagesliders_url'])));
            } elseif ($imagesliders_data['imagesliders_url_typ'] == '4') {
                $content_querys = "SELECT content_title FROM " . TABLE_CONTENT_MANAGER . " WHERE languages_id='" . (int) $_SESSION['languages_id'] . "' and content_group = '" . (int) $imagesliders_data['imagesliders_url'] . "' and content_status=1 order by sort_order";
                $content_querys = xtDBquery($content_querys);
                $content_title = xtc_db_fetch_array($content_querys, true);
                $SEF = '';
                if (SEARCH_ENGINE_FRIENDLY_URLS == 'true') {
                    $SEF = '&content=' . xtc_cleanName($content_title['content_title']);
                }
                $url = xtc_href_link(FILENAME_CONTENT, 'coID=' . (int) $imagesliders_data['imagesliders_url'] . $SEF);
            }
        }
        $imagesliders_data['imagesliders_image_url'] = DIR_WS_IMAGES . $imagesliders_data['imagesliders_image'];
        $imagesliders_data['imagesliders_image_url_link'] = $url;
        $imagesliders_data['imagesliders_image_url_target'] = $target;
        $imagesliders_array[] = $imagesliders_data;
    }
    if (count($imagesliders_array) > 0) {
        $box_smarty->assign('BOX_IMAGESLIDER_ARRAY', $imagesliders_array);
    }
}
if (!$cache) {
    $box_imagesliders = $box_smarty->fetch(CURRENT_TEMPLATE . '/boxes/box_imagesliders.html');
    $box_smarty->cache_modified_check = CACHE_CHECK;
    $cache_id = $_SESSION['language'] . $_SESSION['customers_status']['customers_status_id'];
}
if (!$box_smarty->is_cached(CURRENT_TEMPLATE . '/boxes/box_information.html', $cache_id) || !$cache) {
    $box_smarty->assign('tpl_path', 'templates/' . CURRENT_TEMPLATE . '/');
    //$rebuild = true; //DokuMan - 2010-02-28 - fix Smarty cache error on unlink
    if (GROUP_CHECK == 'true') {
        $group_check = "and group_ids LIKE '%c_" . $_SESSION['customers_status']['customers_status_id'] . "_group%'";
    }
    $content_query = "SELECT\n\t \t\t\t\t\tcontent_id,\n\t \t\t\t\t\tcategories_id,\n\t \t\t\t\t\tparent_id,\n\t \t\t\t\t\tcontent_title,\n\t \t\t\t\t\tcontent_group\n\t \t\t\t\t\tFROM " . TABLE_CONTENT_MANAGER . "\n\t \t\t\t\t\tWHERE languages_id='" . (int) $_SESSION['languages_id'] . "'\n\t \t\t\t\t\tand file_flag=0 " . $group_check . " and content_status=1 order by sort_order";
    $content_query = xtDBquery($content_query);
    $content_string = '<ul class="list-unstyled">';
    while ($content_data = xtc_db_fetch_array($content_query, true)) {
        $SEF_parameter = '';
        if (SEARCH_ENGINE_FRIENDLY_URLS == 'true') {
            $SEF_parameter = '&product=' . xtc_cleanName($content_data['content_title']);
        }
        $content_string .= '<li><a href="' . xtc_href_link(FILENAME_CONTENT, 'coID=' . $content_data['content_group'] . $SEF_parameter) . '">' . $content_data['content_title'] . '</a></li>';
    }
    if ($content_string != '') {
        $content_string .= '</ul>';
        $box_smarty->assign('BOX_CONTENT', $content_string);
    }
}
//BOF - DokuMan - 2010-02-28 - fix Smarty cache error on unlink
//if ($rebuild) $box_smarty->clear_cache(CURRENT_TEMPLATE.'/boxes/box_information.html', $cache_id);
//$box_information = $box_smarty->fetch(CURRENT_TEMPLATE.'/boxes/box_information.html',$cache_id);
if (!$cache) {
    $box_information = $box_smarty->fetch(CURRENT_TEMPLATE . '/boxes/box_information.html');
} else {
    $box_information = $box_smarty->fetch(CURRENT_TEMPLATE . '/boxes/box_information.html', $cache_id);