Jump to content

Elena86

Пользователи
  • Content Count

    175
  • Joined

  • Last visited

Community Reputation

8 Обычный

About Elena86

  • Rank
    Продвинутый пользователь

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. я его изменила примерно год назад
  2. <!DOCTYPE html> <!--[if IE]><![endif]--> <!--[if IE 8 ]><html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" class="ie8"><![endif]--> <!--[if IE 9 ]><html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" class="ie9"><![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>"> <!--<![endif]--> <head> <meta charset="UTF-8" /> <meta name="format-detection" content="telephone=no" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title><?php echo $title; ?></title> <base href="<?php echo $base; ?>" /> <?php if ($description) { ?> <meta name="description" content="<?php echo $description; ?>" /> <?php } ?> <?php if ($keywords) { ?> <meta name="keywords" content= "<?php echo $keywords; ?>" /> <?php } ?> <script src="catalog/view/theme/royal/js/jquery/jquery-2.1.1.min.js"></script> <link href="catalog/view/javascript/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen" /> <script src="catalog/view/javascript/bootstrap/js/bootstrap.min.js"></script> <link href="catalog/view/javascript/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> <link href="//fonts.googleapis.com/css?family=Open+Sans:400,400i,300,700" rel="stylesheet" type="text/css" /> <link href="catalog/view/theme/royal/stylesheet/skins/stylesheet<?php echo $royal_cssstyle; ?>.css" rel="stylesheet"> <link href="catalog/view/theme/royal/stylesheet/skins/royal<?php echo $royal_cssstyle; ?>.css" rel="stylesheet"> <link href="catalog/view/theme/royal/stylesheet/skins/module_col_left.css" rel="stylesheet"> <link href="catalog/view/theme/royal/stylesheet/stickers.css" rel="stylesheet"> <link href='https://fonts.googleapis.com/css?family=Roboto:300,400,500' rel='stylesheet' type='text/css'> <link href="catalog/view/theme/royal/js/jquery/owl-carousel/owl.carousel.css" rel="stylesheet" type="text/css" /> <script src="catalog/view/theme/royal/js/jquery/owl-carousel/owl.carousel.min.js"></script> <link href="catalog/view/theme/royal/js/jquery/owl-carousel/owl.transitions.css" rel="stylesheet" type="text/css" /> <script src="catalog/view/theme/royal/js/wow.min.js"></script> <script src="catalog/view/javascript/jquery/magnific/jquery.magnific-popup.min.js"></script> <link href="catalog/view/javascript/jquery/magnific/magnific-popup.css" rel="stylesheet"> <link href="catalog/view/theme/royal/stylesheet/animate.min.css" rel="stylesheet" type="text/css" /> <?php foreach ($styles as $style) { ?> <link href="<?php echo $style['href']; ?>" type="text/css" rel="<?php echo $style['rel']; ?>" media="<?php echo $style['media']; ?>" /> <?php } ?> <script src="catalog/view/theme/royal/js/common.js"></script> <script src="catalog/view/theme/royal/js/aridius/aridiusquickview.js"></script> <?php foreach ($links as $link) { ?> <link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" /> <?php } ?> <?php foreach ($scripts as $script) { ?> <script src="<?php echo $script; ?>"></script> <?php } ?> <?php foreach ($analytics as $analytic) { ?> <?php echo $analytic; ?> <?php } ?> <style> <?php echo $royal_css; ?> .product-thumb h4 { height: <?php echo $royal_height_symbolst ?>px; } <?php if ($royal_description_cat ==1) { ?> .product-grid .description_cat{ display: none; } <?php } ?> <?php if ($royal_seevmenu_menu !=1) { ?> @media (min-width: 992px) { .hidem{ display: none!important; } } <?php } ?> </style> </head> <body class="<?php echo $class; ?>"> <?php if ($royal_arrowup !=1) { ?> <span class="visible-md visible-lg"><a href="#" class="scup"><i class="fa fa-angle-up active"></i></a></span> <?php } ?> <nav id="top"> <div class="container nobackground"> <div id="addtocart" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> </div> <div class="modal-body"> <p></p> </div> <div class="modal-footer"> <button type="button" class="btn-cart" data-dismiss="modal"><?php echo $text_continue; ?></button> <a href="<?php echo $checkout; ?>" class="btn-cart"><?php echo $text_checkout; ?></a> </div> </div> </div> </div> <div id="wishlist" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> </div> <div class="modal-body"> <p></p> </div> <div class="modal-footer"> <button type="button" class="btn-cart" data-dismiss="modal"><?php echo $text_continue2; ?></button> <a href="<?php echo $wishlist; ?>" class="btn-cart"><?php echo $text_wishlist2; ?></a> </div> </div> </div> </div> <div id="compare" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> </div> <div class="modal-body"> <p></p> </div> <div class="modal-footer"> <button type="button" class="btn-cart" data-dismiss="modal"><?php echo $text_continue2; ?></button> <a href="<?php echo $compare; ?>" class="btn-cart"><?php echo $text_compare2; ?></a> </div> </div> </div> </div> <?php echo $currency; ?> <?php echo $language; ?> <div class="prmn-cmngr" data-confirm="true"></div> <div id="top-links" class="nav pull-right"> <ul class="list-inline top"> <?php if ($royal_account_top !=1) { ?><li class="dropdown dropdown-toggle"><a href="<?php echo $account; ?>" title="<?php echo $text_account; ?>" data-toggle="dropdown"><i class="fa fa-user hidden-lg"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_account; ?></span> <i class="fa fa-caret-down"></i></a> <ul class="dropdown-menu dropdown-menu-left"> <?php if ($logged) { ?> <li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li> <?php if ($royal_order_top !=1) { ?><li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li><?php } ?> <?php if ($royal_transaction_top !=1) { ?> <li><a href="<?php echo $transaction; ?>"><?php echo $text_transaction; ?></a></li><?php } ?> <?php if ($royal_download_top !=1) { ?><li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li><?php } ?> <li><a href="<?php echo $logout; ?>"><?php echo $text_logout; ?></a></li> <?php } else { ?> <li><a href="<?php echo $register; ?>"><?php echo $text_register; ?></a></li> <li><a href="<?php echo $login; ?>"><?php echo $text_login; ?></a></li> <?php } ?> </ul> </li><?php } ?> <?php if ($royal_wishlist_top !=1) { ?><li><a href="<?php echo $wishlist; ?>" id="wishlist-total" title="<?php echo $text_wishlist; ?>"><i class="fa fa-heart hidden-lg"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_wishlist; ?></span></a></li><?php } ?> <?php if ($royal_compare_top !=1) { ?><li><a href="<?php echo $compare; ?>" id="compare-total" title="<?php echo $text_compare; ?>"><i class="fa fa-exchange hidden-lg"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_compare; ?></span></a></li><?php } ?> <?php if ($royal_cart_top !=1) { ?><li><a href="<?php echo $shopping_cart; ?>" title="<?php echo $text_shopping_cart; ?>"><i class="fa fa-shopping-cart hidden-lg"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_shopping_cart; ?></span></a></li><?php } ?> <?php if ($royal_checkout_top !=1) { ?> <li><a href="<?php echo $checkout; ?>" title="<?php echo $text_checkout; ?>"><i class="fa fa-share hidden-lg"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_checkout; ?></span></a></li><?php } ?> <?php if ($royal_top_links6 ) { ?> <?php foreach ($royal_top_links6 as $royal_top_link6) { ?> <li> <a <?php if ($royal_top_link6['link_top'][$language_id]) { ?> href="<?php echo $royal_top_link6['link_top'][$language_id]; ?>"<?php } ?> title="<?php echo $royal_top_link6['title'][$language_id]; ?>"><?php if ($royal_top_link6['faicons_top']) { ?> <i class="<?php echo $royal_top_link6['faicons_top']; ?> hidden-lg"></i><?php } ?><?php if ($royal_top_link6['title']) { ?><span class="hidden-xs hidden-sm hidden-md"> <?php echo $royal_top_link6['title'][$language_id]; ?></span><?php } ?></a> </li> <?php } ?> <?php } ?> </ul> </div> </div> </nav> <header> <div class="top-header"> <div class="container"> <div class="row"> <div class="col-sm-3"> <div id="logo"> <?php if ($logo) { ?> <a href="<?php echo $home; ?>"><img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" class="img-responsive" /></a> <?php } else { ?> <h1><a href="<?php echo $home; ?>"><?php echo $name; ?></a></h1> <?php } ?> </div> </div> <!--noindex--><div class="col-sm-6 navcentr"> <?php if ($royal_top_links3 || $royal_top_links5 || $royal_mail_header[$language_id] ) { ?> <div class="dropdown phone"> <div class="listunstyled btn-lg dropdown-toggle" data-toggle="dropdown"><span class="tell_nav"><?php echo $royal_telephone_mainheader[$language_id]; ?></span><b class="caret"></b> <span class="line"><?php echo $royal_worktime[$language_id]; ?></span></div> <ul class="dropdown-menu fixxsmenu"> <?php if ($royal_top_links3 ) { ?> <?php foreach ($royal_top_links3 as $royal_top_link3) { ?> <li> <a <?php if ($royal_top_link3['title'][$language_id]) { ?> href="tel:<?php echo $royal_top_link3['title'][$language_id]; ?>"<?php } ?> ><?php if ($royal_top_link3['faicons_top']) { ?><i class="<?php echo $royal_top_link3['faicons_top']; ?>"></i><?php } ?> <?php echo html_entity_decode ($royal_top_link3['title'][$language_id], ENT_QUOTES, 'UTF-8'); ?></a> </li> <?php } ?> <?php } ?> <?php if ($royal_top_links5 ) { ?> <?php foreach ($royal_top_links5 as $royal_top_link5) { ?> <li> <a <?php if ($royal_top_link5['title'][$language_id]) { ?> href="callto:<?php echo $royal_top_link5['title'][$language_id]; ?>"<?php } ?> ><?php if ($royal_top_link5['faicons_top']) { ?><i class="<?php echo $royal_top_link5['faicons_top']; ?>"></i><?php } ?> <?php echo html_entity_decode ($royal_top_link5['title'][$language_id], ENT_QUOTES, 'UTF-8'); ?></a> </li> <?php } ?> <?php } ?> <?php if ($royal_mail_header[$language_id] ) { ?> <li><a onClick="javascript:window.open('mailto:<?php echo $royal_mail_header[$language_id];?>', 'Mail');event.preventDefault()" ><i class="fa fa-envelope-o "></i> <?php echo $royal_mail_header[$language_id];?></a></li> <?php } ?> <li> <?php if ($aridiuscallback_status && $royal_calltop !=1) { ?> <a class = "call-order"><?php echo $button_title; ?></a> <?php } ?> </li> </ul> </div><!--/noindex--> <?php } else { ?> <div class="phone"> <div class="listunstyled btn-lg"><span class="tell_nav"><?php echo $royal_telephone_mainheader[$language_id]; ?></span> <span class="line"><?php echo $royal_worktime[$language_id]; ?></span></div> </div> <?php } ?> <?php echo $search; ?> </div> <!--noindex--><div class="col-sm-3"><?php echo $cart; ?></div><!--/noindex--> </div> </div> </div> </header> <div class="top-menu"> <div id="top-menu" <?php if ($royal_sticky_menu !=1) { ?> data-spy="affix" data-offset-top="208" <?php } ?>> <div class="container nobackground"> <nav id="menu" class="navbar"> <div class="navbar-header"><span id="category" class="visible-xs visible-sm"><?php echo $text_category; ?></span> <button type="button" class="btn btn-navbar navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"><i class="fa fa-bars"></i></button> </div> <div class="collapse navbar-collapse navbar-ex1-collapse"> <ul class="nav navbar-nav"> <?php if ($royal_ico_home !=1) { ?> <li><a href="<?php echo $base; ?>"><i class="fa fa-home" style="font-size: 16px;"></i></a></li> <?php } ?> <?php if ($royal_seevmenu_menu !=1) { ?> <li class="dropdown hidev"><a class="with-child dropdown-toggle" <?php if (!empty($royal_link_menucatalog)) { ?> href="<?php echo $royal_link_menucatalog; ?>" <?php } ?> data-hover="dropdown" data-delay="1" data-close-others="false"> <?php if ($royal_seevmenuico !=1) { ?> <i class="fa fa-bars"></i>&nbsp;&nbsp; <?php } ?> <?php echo $royal_vmenu_menu[$language_id]; ?><span class="fa fa-angle-down menu"></span></a> <ul class="dropdown-menu multi-level" role="menu"> <?php foreach ($categories as $category) { ?> <?php if ($category['children']) { ?> <li class="dropdown-submenu" > <a style="white-space: normal; margin: 0; padding: 0; left: 12px; position: relative; line-height: 30px;" tabindex="-1" href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?><span class="arrowvertmenu"></span> <?php if ($royal_sticker_menu !=1) { ?><?php if ($category['stickers'] == '1') { ?><span class="stickersmenu1v"><?php echo $royal_name_sticker_menu_new[$language_id];?></span><?php } ?><?php if ($category['stickers'] == '2') { ?><span class="stickersmenu2v"><?php echo $royal_name_sticker_menu_sale[$language_id];?></span><?php } ?><?php if ($category['stickers'] == '3') { ?><span class="stickersmenu3v"><?php echo $royal_name_sticker_menu_top[$language_id];?></span><?php } ?><?php } ?></a> <?php if ($category['image_main'] && $royal_main_photos_menu !=1 && $category['column'] > 1) { ?> <?php if ($category['column'] < 2) { ?> <?php $column_class = 'col-sm-12'; ?> <?php $column_width = 'column_width1_noimg'; ?> <?php $column_clear = 1; ?> <?php } elseif ($category['column'] == 2) { ?> <?php $column_class = 'col-sm-6'; ?> <?php $column_width = 'column_width2'; ?> <?php $column_clear = 2; ?> <?php } elseif ($category['column'] > 2) { ?> <?php $column_class = 'col-sm-4'; ?> <?php $column_width = 'column_width3'; ?> <?php $column_clear = 3; ?> <?php } ?> <?php } else { ?> <?php if ($category['column'] < 2) { ?> <?php $column_class = 'col-sm-12'; ?> <?php $column_width = 'column_width1_noimg'; ?> <?php $column_clear = 1; ?> <?php } elseif ($category['column'] == 2) { ?> <?php $column_class = 'col-sm-6'; ?> <?php $column_width = 'column_width2_noimg'; ?> <?php $column_clear = 2; ?> <?php } elseif ($category['column'] > 2) { ?> <?php $column_class = 'col-sm-4'; ?> <?php $column_width = 'column_width3_noimg'; ?> <?php $column_clear = 3; ?> <?php } ?> <?php } ?> <ul class="dropdown-menu2 <?php echo $column_width; ?>" > <?php $i = 0; ?> <?php if ($category['image_main'] && $royal_main_photos_menu !=1 && $category['column'] > 1) { ?> <li class="col-md-12 col-lg-9"> <?php } else { ?> <li class="col-md-12"> <?php } ?> <?php foreach ($category['children'] as $child) { ?> <div class="<?php echo $column_class; ?> mcol"> <span class = "hidden-xs hidden-sm"><?php if ($royal_photos_menu !=1 && (!empty($child['image2']))) { ?><a href="<?php echo $child['href']; ?>"><img class="vopmen img-responsive" src="<?php echo $child['image2']; ?>" alt="<?php echo $child['name']; ?>" title="<?php echo $child['name']; ?>" ></a><?php } ?></span> <div class="clearfix"></div> <a class="submenu_main" href="<?php echo $child['href']; ?>"><?php echo $child['name']; ?></a> <?php if ($royal_sticker_menu !=1) { ?><?php if ($child['stickers'] == '1') { ?><span class="stickersmenu1v"><?php echo $royal_name_sticker_menu_new[$language_id];?></span><?php } ?><?php if ($child['stickers'] == '2') { ?><span class="stickersmenu2v"><?php echo $royal_name_sticker_menu_sale[$language_id];?></span><?php } ?><?php if ($child['stickers'] == '3') { ?><span class="stickersmenu3v"><?php echo $royal_name_sticker_menu_top[$language_id];?></span><?php } ?><?php } ?> <?php if (isset($child['children_lv3']) && $child['children_lv3'] && $royal_3lv_menu !=1) { ?> <?php $v = 0; ?> <?php foreach ($child['children_lv3'] as $child_lv3) { ?> <?php $v++; ?> <?php if($v >$royal_countvmenulv) break; ?> <a class = "menuv_3lv " href="<?php echo $child_lv3['href']; ?>">&nbsp;&nbsp;- <?php echo $child_lv3['name']; ?></a> <?php if ($v >($royal_countvmenulv -1)) { ?> <a class="menuv-allv" href="<?php echo $child['href']; ?>"><?php echo $royal_seeall_menu[$language_id]; ?></a> <?php } ?> <?php } ?> <?php } ?> </div> <?php $i++; ?> <?php if (($i == $column_clear)&&($i != 1)) { ?> <div class="clearfix visible-md visible-lg"></div> <?php $i = 0; ?> <?php } ?> <?php } ?> </li> <?php if ($category['image_main'] && $royal_main_photos_menu !=1 && $category['column'] > 1) { ?> <li class="col-lg-3 hidden-md"> <a href="<?php echo $category['href']; ?>"><img class="image_main img-responsive" alt="<?php echo $category['name']; ?>" title="<?php echo $category['name']; ?>" src="<?php echo $category['image_main']; ?>"></a> </li> <?php } ?> </ul> </li> <?php } else { ?> <li class="v3hover"><a style="white-space: normal; margin: 0; padding: 0; left: 12px; position: relative; line-height: 30px;" href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?> <?php if ($royal_sticker_menu !=1) { ?><?php if ($category['stickers'] == '1') { ?><span class="stickersmenu1"><?php echo $royal_name_sticker_menu_new[$language_id];?></span><?php } ?><?php if ($category['stickers'] == '2') { ?><span class="stickersmenu2v"><?php echo $royal_name_sticker_menu_sale[$language_id];?></span><?php } ?><?php if ($category['stickers'] == '3') { ?><span class="stickersmenu3"><?php echo $royal_name_sticker_menu_top[$language_id];?></span><?php } ?><?php } ?></a> </li> <?php } ?> <?php } ?> </ul> </li> <?php } ?> </ul> <div class="menu_mob_plus"> <div class="hidem"> <ul class="nav navbar-nav"> <?php foreach ($categories as $category) { ?> <?php if ($category['children']) { ?> <li class="plus"><i class="fa fa-plus"></i><i class="fa fa-minus"></i></li> <li class="<?php if($category['category_id']==$category_id) {echo 'activetopmenu';}?> dropdown"><a class="with-child dropdown-toggle" href="<?php echo $category['href']; ?>" data-hover="dropdown" data-delay="1" data-close-others="false"><?php echo $category['name']; ?><?php if ($royal_sticker_menu !=1) { ?><?php if ($category['stickers'] == '1') { ?><span class="stickersmenu1"><?php echo $royal_name_sticker_menu_new[$language_id];?></span><?php } ?><?php if ($category['stickers'] == '2') { ?><span class="stickersmenu2"><?php echo $royal_name_sticker_menu_sale[$language_id];?></span><?php } ?><?php if ($category['stickers'] == '3') { ?><span class="stickersmenu3"><?php echo $royal_name_sticker_menu_top[$language_id];?></span><?php } ?><?php } ?><span class="fa fa-angle-down menu"></span></a> <div class="dropdown-menu"> <div class="dropdown-inner children-category"> <?php if ($category['image_main'] && $royal_main_photos_menu !=1) { ?> <a href="<?php echo $category['href']; ?>"><img class="image_main img-responsive" alt="<?php echo $category['name']; ?>" title="<?php echo $category['name']; ?>" src="<?php echo $category['image_main']; ?>"></a> <?php } ?> <?php foreach ($category['children'] as $child) { ?> <ul class="list-unstyled" style="width: <?php if ($category['image_main'] && $royal_main_photos_menu !=1) {echo (82/$category['column'])-1;} else {echo (100/$category['column'])-1;} ?>%"> <?php if (isset($child['children_lv3']) && $child['children_lv3']) { ?> <li class="with-child" > <span class = "hidden-xs hidden-sm"><?php if ($royal_photos_menu !=1 && (!empty($child['image2']))) { ?><a href="<?php echo $child['href']; ?>"><img class="opacityhv img-responsive" src="<?php echo $child['image2']; ?>" alt="<?php echo $child['name']; ?>" title="<?php echo $child['name']; ?>" ></a><?php } ?></span> <a href="<?php echo $child['href']; ?>"><span class="style2lv"><?php echo $child['name']; ?><?php if ($royal_sticker_menu !=1) { ?><?php if ($child['stickers'] == '1') { ?><span class="stickersmenu-2lvnew"><?php echo $royal_name_sticker_menu_new[$language_id];?></span><?php } ?><?php if ($child['stickers'] == '2') { ?><span class="stickersmenu-2lvsale"><?php echo $royal_name_sticker_menu_sale[$language_id];?></span><?php } ?><?php if ($child['stickers'] == '3') { ?><span class="stickersmenu-2lvtop"><?php echo $royal_name_sticker_menu_top[$language_id];?></span><?php } ?><?php } ?></span></a></li> <?php if ($royal_3lv_menu !=1) { ?> <?php $m = 0; ?> <?php foreach ($child['children_lv3'] as $child_lv3) { ?> <?php $m++; ?> <?php if($m >$royal_countvmenulv) break; ?> <li class="children_lv3"><a href="<?php echo $child_lv3['href']; ?>">&nbsp;&nbsp;- <?php echo $child_lv3['name']; ?></a> <?php if ($m >($royal_countvmenulv -1)) { ?> <a class="menuv-all" href="<?php echo $child['href']; ?>"><?php echo $royal_seeall_menu[$language_id]; ?></a> <?php } ?> </li> <?php } ?> <?php } ?> <?php } else { ?> <li><?php if ($royal_photos_menu !=1 && (!empty($child['image2']))) { ?><span class = "hidden-xs hidden-sm"><a href="<?php echo $child['href']; ?>"><img class="opacityhv img-responsive" src="<?php echo $child['image2']; ?>" alt="<?php echo $child['name']; ?>" title="<?php echo $child['name']; ?>" ></a></span><?php } ?><a href="<?php echo $child['href']; ?>"><span class="style2lv"><?php echo $child['name']; ?><?php if ($royal_sticker_menu !=1) { ?><?php if ($child['stickers'] == '1') { ?><span class="stickersmenu-2lvnew"><?php echo $royal_name_sticker_menu_new[$language_id];?></span><?php } ?><?php if ($child['stickers'] == '2') { ?><span class="stickersmenu-2lvsale"><?php echo $royal_name_sticker_menu_sale[$language_id];?></span><?php } ?><?php if ($child['stickers'] == '3') { ?><span class="stickersmenu-2lvtop"><?php echo $royal_name_sticker_menu_top[$language_id];?></span><?php } ?><?php } ?></span></a></li> <?php } ?> </ul> <?php } ?> </div> </div> <div class="clearfix"></div> </li> <?php } else { ?> <li class="<?php if($category['category_id']==$category_id) {echo 'activetopmenu';}?>"><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?><?php if ($royal_sticker_menu !=1) { ?><?php if ($category['stickers'] == '1') { ?><span class="stickersmenu1"><?php echo $royal_name_sticker_menu_new[$language_id];?></span><?php } ?><?php if ($category['stickers'] == '2') { ?><span class="stickersmenu2"><?php echo $royal_name_sticker_menu_sale[$language_id];?></span><?php } ?><?php if ($category['stickers'] == '3') { ?><span class="stickersmenu3"><?php echo $royal_name_sticker_menu_top[$language_id];?></span><?php } ?><?php } ?></a></li> <?php } ?> <?php } ?> </ul> </div> <ul class="nav navbar-nav"> <!--add menu link--> <?php if ($royal_top_links8 ) { ?> <?php foreach ($royal_top_links8 as $royal_top_link8) { ?> <li> <a <?php if ($royal_top_link8['link_top'][$language_id]) { ?> href="<?php echo $royal_top_link8['link_top'][$language_id]; ?>"<?php } ?>><?php if ($royal_top_link8['faicons_top']) { ?> <i class="<?php echo $royal_top_link8['faicons_top']; ?>"></i> <?php } ?><?php if ($royal_top_link8['title']) { ?><?php echo $royal_top_link8['title'][$language_id]; ?><?php } ?></a> </li> <?php } ?> <?php } ?> <!--add menu link--> <!--other link--> <?php if ($royal_main_link_menu[$language_id]) { ?> <li class="plus"><i class="fa fa-plus"></i><i class="fa fa-minus"></i></li> <li class="dropdown"><a class="with-child dropdown-toggle" href="<?php echo $royal_main_link_href_menu[$language_id]; ?>" data-hover="dropdown" data-delay="1" data-close-others="false"><?php echo $royal_main_link_menu[$language_id]; ?><span class="fa fa-angle-down menu"></span></a> <div class="dropdown-menu"> <div class="dropdown-inner1 children-category"> <ul class="list-unstyled"> <?php if ($royal_top_links4 ) { ?> <?php foreach ($royal_top_links4 as $royal_top_link4) { ?> <li> <a <?php if ($royal_top_link4['link_top'][$language_id]) { ?> href="<?php echo $royal_top_link4['link_top'][$language_id]; ?>"<?php } ?> title="<?php echo $royal_top_link4['title'][$language_id]; ?>"><?php if ($royal_top_link4['faicons_top']) { ?> <i class="<?php echo $royal_top_link4['faicons_top']; ?>"></i><?php } ?><?php if ($royal_top_link4['title']) { ?> <?php echo $royal_top_link4['title'][$language_id]; ?><?php } ?></a> </li> <?php } ?> <?php } ?> </ul> </div> </div> </li> <?php } ?> <!--other link END--> <!--informations--> <?php if ($royal_info_menu !=1) { ?> <?php if ($informations) { ?> <li class="plus"><i class="fa fa-plus"></i><i class="fa fa-minus"></i></li> <li class="dropdown"><a class="with-child dropdown-toggle" data-hover="dropdown" data-delay="1" data-close-others="false"><?php echo $text_information; ?><span class="fa fa-angle-down menu"></span></a> <div class="dropdown-menu"> <div class="dropdown-inner1 children-category"> <ul class="list-unstyled"> <?php foreach ($informations as $information) { ?> <li><a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a></li> <?php } ?> </ul> </div> </div> </li> <?php } ?> <?php } ?> <!--informations END--> <!--manufacturer--> <?php if ($royal_man_menu !=1) { ?> <?php if ($manufacturers) { ?> <li class="plus"><i class="fa fa-plus"></i><i class="fa fa-minus"></i></li> <li class="dropdown"><a class="with-child dropdown-toggle" href="<?php echo $href_manufacturer; ?>" data-hover="dropdown" data-delay="1" data-close-others="false"><?php echo $text_manufacturer; ?><span class="fa fa-angle-down menu"></span></a> <div class="dropdown-menu"> <div class="dropdown-inner children-category"> <?php foreach ($manufacturers as $manufacturer) { ?> <ul class="list-unstyled" style="width: <?php echo (100/$royal_menuman_column)-1; ?>%"> <li><?php if ($royal_photos_menu_manuf !=1) { ?><span class = "hidden-xs hidden-sm "><a class = "manufac-menu" href="<?php echo $manufacturer['href']; ?>"><img class="opacityhv manimgmen" src="<?php echo $manufacturer['manufacturer_image']; ?>" alt="<?php echo $manufacturer['name']; ?>" title="<?php echo $manufacturer['name']; ?>" ></a></span><?php } ?><a class = "manufac-menu" href="<?php echo $manufacturer['href']; ?>"><?php echo $manufacturer['name']; ?></a></li> </ul> <?php } ?> </div> </div> </li> <?php } ?> <?php } ?> <!--manufacturer END--> </ul> </div> </div> </nav> </div> </div></div> <script><!-- $('#menu .menu_mob_plus li').bind().click(function(e) { $(this).toggleClass("open").find('>ul').stop(true, true).slideToggle(3000) .end().siblings().find('>ul').slideUp().parent().removeClass("open"); e.stopPropagation(); // Замена + на - во время открытия меню $(this).prev().find('.fa-plus').toggle(); $(this).prev().find('.fa-minus').toggle(); }); $('#menu li a').click(function(e) { e.stopPropagation(); }); // Раскрытие/скрытие пунктов меню 3го уровня $('.children-category > ul > li').each(function(i, elem){ if( $(elem).hasClass('children_lv3') ) { var ulElements = $(elem).parent().find('li'); if( $(ulElements[0]).find('a.plus-link').length == 0 ) { $(ulElements[0]).append('<a href="#" class="plus-link"><i class="fa fa-plus" style="display: inline; "></i><i class="fa fa-minus" style="display: none;"></i></a>'); $(ulElements[0]).find('a.plus-link').click(function(e){ $(ulElements[0]).find('a.plus-link > .fa-plus').toggle(); $(ulElements[0]).find('a.plus-link > .fa-minus').toggle(); $(ulElements[0]).parent().find('.children_lv3').toggle(); return false; }); } } }); //--></script> <?php if ($royal_arrowup !=1) { ?> <!--scrollUp--> <script><!-- $(document).ready(function() { $(window).scroll(function(){ if ($(this).scrollTop() > 100) { $('.scup').fadeIn(); } else { $('.scup').fadeOut(); } }); $('.scup').click(function(){ $("html, body").animate({ scrollTop: 0 }, 900); return false; }); }); //--></script> <?php } ?> <!--for sticky--> <script><!-- $(function () { if ($(window).width() > 992) { onResize(); } function onResize(){ if ($(window).width() > 992) { var heighttopmenu = $("#top-menu").height(); $('.top-menu').css({position: 'relative',height: heighttopmenu}); } else { $('.top-menu').css({position: 'relative',height: 'auto'}); } } window.addEventListener('resize', onResize); document.body.addEventListener('resize', onResize); }) //--></script>
  3. К сожалению мой поиск не дал результатов( 1. Дополнения > Статистика - установлен только скрипт Jivo Site 2. Модули Seo: только #SEO | Full IndeX⁴ и Microdata PRO ↵ [Microdata/JSON-LD, hCard, Open Graph, Twitter cards] - v 7.0, 3. В настойках шаблона стоит только новый скрипт 4. Код сайта:footer <?php if ($royal_show_fluid_map_footer == '0') { ?> <div class="line1"></div> <div class="container"> <div id="map-canvas2" style="position:relative; margin: 0 auto;"> <?php if ($royal_show_contactblock == '0') { ?> <div class="block-contacts visible-md visible-lg"> <div class="info-block"> <div class="footer_contacts"> <?php echo $text_footer_contacts; ?> </div> <ul class="fa-ul" style="margin-left;13px;"> <?php if (!empty($royal_telephone_footer[$language_id])) { ?> <li><i class="fa-li fa fa-phone"></i><a href="tel:<?php echo $royal_telephone_footer[$language_id]; ?>"><?php echo $royal_telephone_footer[$language_id]; ?></a></li> <?php } ?> <?php if (!empty($royal_telephone1_footer[$language_id])) { ?> <li><i class="fa-li fa fa-phone"></i><a href="tel:<?php echo $royal_telephone1_footer[$language_id]; ?>"><?php echo $royal_telephone1_footer[$language_id]; ?></a></li> <?php } ?> <?php if (!empty($royal_telephone2_footer[$language_id])) { ?> <li><i class="fa-li fa fa-phone"></i><a href="tel:<?php echo $royal_telephone2_footer[$language_id]; ?>"><?php echo $royal_telephone2_footer[$language_id]; ?></a></li> <?php } ?> <?php if (!empty($royal_skype_footer[$language_id])) { ?> <li><i class="fa-li fa fa-skype"></i><a href="callto:<?php echo $royal_skype_footer[$language_id]; ?>"><?php echo $royal_skype_footer[$language_id]; ?></a></li> <?php } ?> <?php if (!empty($royal_mail_footer[$language_id])) { ?> <li><i class="fa-li fa fa-envelope-o "></i><a onClick="javascript:window.open('mailto:<?php echo $royal_mail_footer[$language_id];?>', 'Mail');event.preventDefault()" ><?php echo $royal_mail_footer[$language_id];?></a></li> <?php } ?> <?php if (!empty($royal_addres_footer[$language_id])) { ?> <li><i class="fa-li fa fa-home launch-show"></i><?php echo $royal_addres_footer[$language_id];?></li> <?php } ?> <?php if (!empty($royal_time_footer[$language_id])) { ?> <li><i class="fa-li fa fa-check-circle-o "></i><?php echo $royal_time_footer[$language_id]; ?></li> <?php } ?> </ul> </div> </div> <?php } ?> </div></div> <div id="map_canvas" style="width:auto; height:255px;position:relative;"></div> <div class="line12"></div> <?php } ?> <footer> <div class="container nobackground wow fadeInDown" data-wow-duration="3000ms" data-wow-delay="10ms"> <div class="row"> <div class="col-sm-3 visible-md visible-lg"> <h5><?php echo $text_footer_aboutus; ?></h5> <div class="aboutus_footer"> <?php echo html_entity_decode($royal_description[$language_id]); ?> </div> </div> <div class="col-sm-3 visible-xs visible-sm"> <h5><?php echo $text_footer_contacts; ?></h5> <ul class="list-unstyled liposition fa-ul"> <?php if (!empty($royal_telephone_footer[$language_id])) { ?> <li><i class="fa-li fa fa-phone"></i><a href="tel:<?php echo $royal_telephone_footer[$language_id]; ?>"><?php echo $royal_telephone_footer[$language_id]; ?></a></li> <?php } ?> <?php if (!empty($royal_telephone1_footer[$language_id])) { ?> <li><i class="fa-li fa fa-phone"></i><a href="tel:<?php echo $royal_telephone1_footer[$language_id]; ?>"><?php echo $royal_telephone1_footer[$language_id]; ?></a></li> <?php } ?> <?php if (!empty($royal_telephone2_footer[$language_id])) { ?> <li><i class="fa-li fa fa-phone"></i><a href="tel:<?php echo $royal_telephone2_footer[$language_id]; ?>"><?php echo $royal_telephone2_footer[$language_id]; ?></a></li> <?php } ?> <?php if (!empty($royal_skype_footer[$language_id])) { ?> <li><i class="fa-li fa fa-skype"></i><a href="callto:<?php echo $royal_skype_footer[$language_id]; ?>"><?php echo $royal_skype_footer[$language_id]; ?></a></li> <?php } ?> <?php if (!empty($royal_mail_footer[$language_id])) { ?> <li><i class="fa-li fa fa-envelope-o "></i><a onClick="javascript:window.open('mailto:<?php echo $royal_mail_footer[$language_id];?>', 'Mail');event.preventDefault()" ><?php echo $royal_mail_footer[$language_id];?></a></li> <?php } ?> <?php if (!empty($royal_addres_footer[$language_id])) { ?> <li><i class="fa-li fa fa-home launch-show"></i><?php echo $royal_addres_footer[$language_id];?></li> <?php } ?> <?php if (!empty($royal_time_footer[$language_id])) { ?> <li><i class="fa-li fa fa-check-circle-o "></i><?php echo $royal_time_footer[$language_id]; ?></li> <?php } ?> </ul> </div> <div class="col-sm-3"> <h5><?php echo $text_extra; ?></h5> <ul class="list-unstyled" > <?php if ($royal_manufacturer_footer !=1) { ?><li><a href="<?php echo $manufacturer; ?>"><?php echo $text_manufacturer; ?></a></li><?php } ?> <?php if ($royal_voucher_footer !=1) { ?><li><a href="<?php echo $voucher; ?>"><?php echo $text_voucher; ?></a></li><?php } ?> <?php if ($royal_affiliate_footer !=1) { ?><li><a href="<?php echo $affiliate; ?>"><?php echo $text_affiliate; ?></a></li><?php } ?> <?php if ($royal_sitemap_footer !=1) { ?><li><a href="<?php echo $sitemap; ?>"><?php echo $text_sitemap; ?></a></li><?php } ?> <?php if ($royal_special_footer !=1) { ?> <li><a href="<?php echo $special; ?>"><?php echo $text_special; ?></a></li><?php } ?> </ul> </div> <div class="col-sm-3"> <h5><?php echo $text_account; ?></h5> <ul class="list-unstyled"> <?php if ($royal_account_footer !=1) { ?><li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li><?php } ?> <?php if ($royal_order_footer !=1) { ?><li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li><?php } ?> <?php if ($royal_wishlist_footer !=1) { ?><li><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a></li><?php } ?> <?php if ($royal_newsletter_footer !=1) { ?><li><a href="<?php echo $newsletter; ?>"><?php echo $text_newsletter; ?></a></li><?php } ?> <?php if ($royal_return_footer !=1) { ?><li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li><?php } ?> </ul> </div> <div class="col-sm-3"> <?php if (!empty($content_mail)) { ?> <h5><?php echo $text_footer_send; ?></h5> <div class="footer_mailtext"><?php echo $text_footer_mailtext; ?></div> <?php echo $content_mail; ?> <?php } ?> <div class="setifooter"> <?php if ($royal_top_links2 ) { ?> <?php foreach ($royal_top_links2 as $royal_top_link2) { ?> <a <?php if ($royal_top_link2['link_top']) { ?> href="<?php echo $royal_top_link2['link_top']; ?>" target="_blank" <?php } ?>><?php if ($royal_top_link2['faicons_top']) { ?><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x" style=""></i><i style="font-size: 15px; margin-top: 4px; cursor: pointer;" data-toggle="tooltip" title="<?php echo $royal_top_link2['tooltipseti']; ?>" class="<?php echo $royal_top_link2['faicons_top']; ?> fa-stack-1x fa-inverse"></i></span><?php } ?></a> <?php } ?> <?php } ?> </div> </div> </div> <div class="aboutus_footer visible-xs visible-sm"> <h5><?php echo $text_footer_aboutus; ?></h5> <?php echo html_entity_decode($royal_description[$language_id]); ?> </div> </div> <div class="footer-bottom"> <div class="container nobackground"> <div class="row"> <div class="pay"></div> <div class="col-sm-9"> <div class="footerbottomlink"> <?php if ($informations) { ?> <?php foreach ($informations as $information) { ?> <a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a> <?php } ?> <?php if ($royal_contact_footer !=1) { ?><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a><?php } ?> <?php } ?> </div> <p><?php echo html_entity_decode($royal_license_text[$language_id]); ?></p> <a href="https://clck.yandex.ru/redir/dtype=stred/pid=47/cid=2508/*https://market.yandex.ru/shop/435222/reviews" target = "_blank"><img src="https://clck.yandex.ru/redir/dtype=stred/pid=47/cid=2507/*https://grade.market.yandex.ru/?id=435222&action=image&size=2" border="0" width="150" height="81" alt="Читайте отзывы покупателей и оценивайте качество магазина на Яндекс.Маркете" /></a> </div> <div class="col-sm-3"> <?php if (!empty($footer_pay)) { ?> <img class="img-responsive rigimg" alt="payment" title="payment" src="<?php echo $footer_pay; ?>"> <?php } ?> </div> <span class="col-sm-12 counter-footer"> <?php echo html_entity_decode($royal_counter); ?> </span> </div> </div> </div> </footer> <!--WOW JS--> <script><!-- new WOW().init(); //--></script> <!-- OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practise to make a small donation. Please donate via PayPal to [email protected] //--> <!-- Theme created by Welford Media for OpenCart 2.0 www.welfordmedia.co.uk --> <!--код tooltip--> <script><!-- $(document).ready(function(){ $(".tooltip-examples a").tooltip(); $(".tooltip-examples button").tooltip(); }); //--></script> <?php if ($royal_show_fluid_map_footer == '0') { ?> <script src="https://maps.googleapis.com/maps/api/js?key=<?php echo $royal_fluid_map_key; ?>"></script> <script><!-- function initialize() { var latlng = new google.maps.LatLng(<?php echo $royal_latitude_fluid_map[$language_id]; ?>, <?php echo $royal_longitude_fluid_map[$language_id]; ?>); <?php if(isset($royal_map_links) && is_array($royal_map_links)) foreach ($royal_map_links as $key => $royal_map_link) { ?> var pos<?php echo $key; ?> = new google.maps.LatLng(<?php echo $royal_map_link['latitude'][$language_id]; ?>, <?php echo $royal_map_link['longitude'][$language_id]; ?>); <?php } ?> var settings = { zoom: <?php echo $royal_fluid_map_zoom; ?>, center: latlng, zoomControl: true, scrollwheel: false, mapTypeControl: true, mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU}, navigationControl: true, navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL}, mapTypeId: google.maps.MapTypeId.ROADMAP}; var map = new google.maps.Map(document.getElementById("map_canvas"), settings); <?php if ($royal_description_map_logo) { ?> var contentString = '<div id="content">'+ '<div id="siteNotice">'+ '</div>'+ '<div id="bodyContent">'+ '<?php echo html_entity_decode($royal_description_map_logo[$language_id]); ?>'+ '</div>'+ '</div>'; var infowindow = new google.maps.InfoWindow({ content: contentString }); <?php } ?> <?php if(isset($royal_map_links) && is_array($royal_map_links)) foreach ($royal_map_links as $key => $royal_map_link) { ?> <?php if ($royal_map_link['title'][$language_id]) { ?> var contentString<?php echo $key; ?> = '<div id="content<?php echo $key; ?>">'+ '<div id="siteNotice<?php echo $key; ?>">'+ '</div>'+ '<div id="bodyContent<?php echo $key; ?>">'+ '<?php echo ($royal_map_link['title'][$language_id]); ?>'+ '</div>'+ '</div>'; var infowindow<?php echo $key; ?> = new google.maps.InfoWindow({ content: contentString<?php echo $key; ?> }); <?php } ?> <?php } ?> var companyImage = new google.maps.MarkerImage('<?php echo $map_img; ?>', new google.maps.Size(80,80), new google.maps.Point(0,0), new google.maps.Point(50,50) ); var companyMarker = new google.maps.Marker({ position: latlng, map: map, icon: companyImage, zIndex: 3}); <?php if(isset($royal_map_links) && is_array($royal_map_links)) foreach ($royal_map_links as $key => $royal_map_link) { ?> var marker<?php echo $key; ?> = new google.maps.Marker({ position: pos<?php echo $key; ?>, map: map, icon: companyImage, zIndex: 3}); <?php } ?> <?php if ($royal_show_info_marker_block !=1) { ?> google.maps.event.addListener(companyMarker, 'mouseover', function() { infowindow.open(map,companyMarker); }); <?php if(isset($royal_map_links) && is_array($royal_map_links)) foreach ($royal_map_links as $key => $royal_map_link) { ?> google.maps.event.addListener(marker<?php echo $key; ?>, 'mouseover', function() { infowindow<?php echo $key; ?>.open(map,marker<?php echo $key; ?>); }); <?php } ?> <?php } ?> } google.maps.event.addDomListener(window, 'load', initialize); //--></script> <?php } ?> </body></html>
  4. В настройках шаблона был установлен счетчик метрики, позже я его удалила и заменила на новый, однако консоль активно показывает, что на сайте два счетчика новый и старый. Подскажите, где найти старый счеткик, чтобы его удалить? Необходимо удалить код первого скриншота.
  5. Интересует установка цели в яндекс метрики при нажатии кнопки "Быстрый Заказ", как можно реализовать с помощью Java Script события?
  6. Не вижу в данном модуле некоторые обязательные элементы которые хочет видеть маркетплейс: manufacturer, country_of_origin ссылка на описание элементов: https://yandex.ru/support/marketplace/catalog/yml-simple.html
  7. Интересует модуль интеграции по api в маркетплейсе Маркета по модели «Витрина + доставка». Есть готовые решения?
  8. При парсинге в ИМ возникает проблема: при записи артикула и модели кол-во символов "режет" согласно настройкам в БД, настройки изменила в БД, кол-во символов увеличила, модификаторы обновила, кеш почистила, однако проблема актуальна:
  9. Еще вопрос по поводу правила замены. В атрибутах донора тег <td> используется по разному: например <td style="height: 20px; width: 219px;">, <td>, <td style="width: 243px;"> Можно ли создать общее правило, которое будет убирать все, что начинается на <td..> или же необходимо прописывать каждый случай отдельно: <td style="height: 20px; width: 219px;">|, <td>| и т д
  10. Добрый день! Подскажите пжт как спарсить фото? https://controlcam.ru/catalog/ctv-m4105ahd-tsvetnoj-monitor/ Делаю так: фото дублируются, что предполагает код страницы и текст начала парсинга. В чем моя ошибка: я не правильно выбираю начала парсинга или необходимо правило замены?
×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.