Leaderboard


Popular Content

Showing content with the highest reputation on 12/09/18 in Сообщения

  1. 1 point
    Вот мой файл header.tpl, собственно в него всё и вставляем... <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>{if $meta_title != ''}{$meta_title}{else}{$title}{/if}</title> <script type="text/javascript"> var estate_folder = '{$estate_folder}'; </script> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="description" content="{$meta_description}" /> <meta name="keywords" content="{$meta_keywords}" /> <meta name="robots" content="index, follow"> <meta name="revisit-after" content="1 day"> <meta name="language" content="Russian"> <meta name="generator" content="N/A"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta property="og:title" content="{$meta_title}"/> <meta property="og:description" content="{if $meta_description != ''}{$meta_description}{else}{$data.text.value|truncate:250}{/if}"/> <meta property="og:image" content="http{if $smarty.server.HTTPS ne ''}s{/if}://{$smarty.server.HTTP_HOST}/img/data/{$photo[0].normal}" alt="Фото-{$title}"/> <meta property="og:type" content="website"/> <meta property="og:url" content="http{if $smarty.server.HTTPS ne ''}s{/if}://{$smarty.server.HTTP_HOST}/{$REQUESTURIPATH}"/> <meta property="og:site_name" content="Центр недвижимости - недвижимость Москвы и Подмосковья"/> <meta property="og:locale" content="ru_RU"/> <script type='application/ld+json'> { "@context": "http://www.schema.org", "@type": "RealEstateAgent", "name": "ЦЕНТР НЕДВИЖИМОСТИ", "url": "https://realty-centrum.com/", "logo": "https://realty-centrum.com/ckfinder/userfiles/images/home-250.png", "image": "https://realty-centrum.com/ckfinder/userfiles/images/home-250.png", "sameAs" : [ "https://vk.com/realty_centrum", "https://www.facebook.com/RealtyCentrum", "https://twitter.com/RealtyCentrum", "https://plus.google.com/+Realty-centrumRu", "https://ru.linkedin.com/in/chernetskiy", "https://www.instagram.com/realtycentrum/" ], "telephone": "+79269040207", "description": "Купить или продать квартиру, дом, дачу, коттедж или земельный участок в Москве и Подмосковье. Продажа и аренда городской, загородной и коммерческой недвижимости. Предложения недвижимости за рубежом.", "address": { "@type": "PostalAddress", "streetAddress": "ул. Левашова, 25а", "addressLocality": "Раменское", "addressRegion": "Московская область", "postalCode": "140105", "addressCountry": "Россия" }, "geo": { "@type": "GeoCoordinates", "latitude": "55.582892", "longitude": "38.2088383" }, "hasMap": "https://www.google.com/maps/place/%D1%83%D0%BB.+%D0%9B%D0%B5%D0%B2%D0%B0%D1%88%D0%BE%D0%B2%D0%B0,+25%D0%B0,+%D0%A0%D0%B0%D0%BC%D0%B5%D0%BD%D1%81%D0%BA%D0%BE%D0%B5,+%D0%9C%D0%BE%D1%81%D0%BA%D0%BE%D0%B2%D1%81%D0%BA%D0%B0%D1%8F+%D0%BE%D0%B1%D0%BB.,+%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D1%8F,+140105/@55.582892,38.2088383,17z/data=!3m1!4b1!4m5!3m4!1s0x414ac0770fe8af11:0x4bf4b733f2ea6a81!8m2!3d55.582892!4d38.211027", "openingHours": "Mo, Tu, We, Th, Fr 09:00-18:00 Sa, Su 10:00-17:00", "contactPoint": { "@type": "ContactPoint", "contactType": "sales", "telephone": "+79269040207", "areaServed": "RU", "availableLanguage": ["Russian", "Ukrainian"] } } </script> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,300&subset=latin,cyrillic' rel='stylesheet' type='text/css'> <link rel="shortcut icon" href="{$estate_folder}/template/frontend/{$current_theme_name}/img/favicon.png" type="image/png"> <link rel="stylesheet" href="{$estate_folder}/template/frontend/{$current_theme_name}/css/bootstrap.css" type="text/css"> <link rel="stylesheet" href="{$estate_folder}/template/frontend/{$current_theme_name}/css/bootstrap-responsive.css" type="text/css"> <link rel="stylesheet" href="{$estate_folder}/template/frontend/{$current_theme_name}/libraries/chosen/chosen.css" type="text/css"> <link rel="stylesheet" href="{$estate_folder}/template/frontend/{$current_theme_name}/libraries/jquery-ui/css/ui-lightness/jquery-ui-1.10.2.custom.min.css" type="text/css"> <link rel="stylesheet" href="{$estate_folder}/template/frontend/{$current_theme_name}/css/realia-blue.css" type="text/css"> <link rel="stylesheet" href="{$estate_folder}/template/frontend/{$current_theme_name}/css/bootstrap.corrections.css" type="text/css"> <script type="text/javascript" src="https://api-maps.yandex.ru/2.0-stable/?load=package.standard&lang=ru-RU"></script> <script type="text/javascript" src="{$estate_folder}/template/frontend/{$current_theme_name}/js/jquery.js"></script> <script type="text/javascript" src="{$estate_folder}/template/frontend/{$current_theme_name}/js/jquery.ezmark.js"></script> <script type="text/javascript" src="{$estate_folder}/template/frontend/{$current_theme_name}/js/jquery.cookie.js"></script> <script type="text/javascript" src="{$estate_folder}/template/frontend/{$current_theme_name}/js/bootstrap.min.js"></script> <script type="text/javascript" src="{$estate_folder}/template/frontend/{$current_theme_name}/libraries/jquery-ui/js/jquery-ui.min.js"></script> <script type="text/javascript" src="{$estate_folder}/template/frontend/{$current_theme_name}/libraries/chosen/chosen.jquery.min.js"></script> <script type="text/javascript" src="{$estate_folder}/template/frontend/{$current_theme_name}/libraries/iosslider/_src/jquery.iosslider.min.js"></script> <script type="text/javascript" src="{$estate_folder}/template/frontend/{$current_theme_name}/js/realia.js"></script> <script type="text/javascript" src="{$estate_folder}/apps/client/js/clientorderajax.js"></script> <script type="text/javascript" src="{$estate_folder}/js/estate.js"></script> <script type="text/javascript" src="{$estate_folder}/apps/system/js/sitebillcore.js"></script> <script type="text/javascript" src="{$estate_folder}/template/frontend/{$current_theme_name}/js/interface.js"></script> <script type="text/javascript" > $(document).ready(function() { $("#topic_id [value='1'],#topic_id [value='2'],#topic_id [value='3'],#topic_id [value='4'],#topic_id [value='5'],#topic_id [value='6'],#topic_id [value='7']").toggleClass("reder"); }); </script> <script type="text/javascript"> $(document).ready(function(){ $(window).scroll(function(){ if ($(this).scrollTop() > 100) { $('.scrollup').fadeIn(); } else { $('.scrollup').fadeOut(); } }); $('.scrollup').click(function(){ $("html, body").animate({ scrollTop: 0 }, 600); return false; }); }); </script> </head> {assign var="lang_topic_name" value="name_{$smarty.session._lang}"} все основное в первой половине файла, подправь под себя и с учетом твоего шаблона.