$registration_url = "/my/registration/";
$compare_url = "/compare/";
$nc_auth_profile_url = $AUTH_USER_ID && function_exists('nc_auth_profile_url') ? nc_auth_profile_url($AUTH_USER_ID) : '';
$browse_top_menu[0]['prefix'] = '
';
$browse_top_menu[0]['active'] = '';
$browse_top_menu[0]['unactive'] = '';
$browse_top_menu[1]['prefix'] = "\n";
$browse_top_menu[1]['active'] = "\t\n";
$browse_top_menu[1]['unactive'] = "\t\n";
$browse_top_menu[2]['prefix'] = "";
$browse_top_menu[2]['suffix'] = "";
$browse_top_menu[2]['active'] = "";
$browse_top_menu[2]['unactive'] = "";
$browse_top_menu_mobile[0]['prefix'] = "\n";
$browse_top_menu_mobile[0]['active'] = "";
$browse_top_menu_mobile[0]['unactive'] = "";
$bottom_menu[0]['prefix'] = "";
$bottom_menu[0]['active'] = "%NAME";
$bottom_menu[0]['unactive'] = "%NAME";
$footer_menu[0]['prefix'] = '';
$footer_menu[0]['suffix'] = '';
$footer_menu[0]['active'] = '';
$footer_menu[0]['unactive'] = '';
// хлебные крошки
$browse_path['prefix'] = "";
$browse_path['suffix'] = "
";
$browse_path['active'] = "";
$browse_path['unactive'] = " ";
$browse_path['divider'] = "";
// хлебные крошки для тайтла
$browse_path_title['active'] = "%NAME ";
$browse_path_title['active_link'] = "%NAME";
$browse_path_title['unactive'] = "%NAME";
$browse_path_title['divider'] = " / ";
// меню слева
$browse_sub[1]['prefix'] = "";
$browse_sub[1]['suffix'] = "
";
$browse_sub[1]['active'] = "%NAME";
$browse_sub[1]['unactive'] = "%NAME";
$browse_sub[0]['prefix'] = "";
$browse_sub[0]['active_link'] = "%NAME%NEXT_LEVEL";
$browse_sub[0]['active'] = "%NAME";
$browse_sub[0]['unactive'] = "%NAME";
$mobile_menu = array(
'prefix' => "",
);
// шаблон вывода навигации по страницам
$pages_template['prefix'] = "";
$pages_template['suffix'] = "";
$pages_template['active'] = "%PAGE";
$pages_template['unactive'] = "%PAGE";
$pages_template['divider'] = " ";
$netshop = nc_netshop::get_instance();
// Тема оформления: может быть передана через cookie, get-параметр (для Store) или взята из настроек шаблона
if (strpos($_SERVER["SERVER_NAME"], ".store.netcat.ru")) {
$tpl_theme = $nc_core->input->fetch_get('tpl_theme');
if (preg_match("/^[\\w-]+$/", $tpl_theme)) { setcookie('tpl_theme', $tpl_theme, time()+60*60*24*365, '/'); }
else { $tpl_theme = $nc_core->input->fetch_cookie('tpl_theme'); }
if (!preg_match("/^[\\w-]+$/", $tpl_theme)) { $tpl_theme = null; }
}
else {
$tpl_theme = null;
}
$tpl_theme = $tpl_theme ? $tpl_theme : $template_settings['theme'];
if (empty($template_settings['logo'])) {
$theme_image_dir = $tpl_theme ? "theme-{$tpl_theme}/" : "";
$template_settings['logo']['path'] = "{$nc_parent_template_folder_path}assets/i/{$theme_image_dir}logo.png";
}