<!DOCTYPE html>
<html lang="{{ app.request.locale|slice(0, 2) }}">
{% block head %}
<head>
{% if app.environment is not defined and app.environment is not null and app.environment == 'dev' %}
<meta name="robots" content="noindex,nofollow">
{% endif %}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Language" content="ro">
<meta name="google-site-verification" content="BEtIqk-choaMawpOxG98NtbWKAZK5MuTxV_2-pSHGFQ">
<title>{% block title %} Roviniete.ro {% endblock %}</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes" name="viewport">
{% block metatags %}
<meta name="description" content="Cumpara roviniete online! Aici gasesti toate informaţiile legate de taxa de drum din Romania: legislaţie, calculator rovinieta si verificare valabilitate.">
<meta name="keywords" content="rovinieta online, roviniete online, rovinieta preţ, verificare valabilitate rovinieta, plata rovinieta online, calculator rovinieta">
{% endblock %}
{% block stylesheets %}
{{ encore_entry_link_tags('app', null, 'bootstrapTheme') }}
{{ encore_entry_link_tags('bootstrap-fix', null, 'bootstrapTheme') }}
{{ sonata_block_render_event('sylius.shop.layout.stylesheets') }}
<link rel="stylesheet" href="/assets/shop/css/bs-stepper.css">
{% endblock %}
{{ sonata_block_render_event('sylius.shop.layout.head') }}
{% block javascripts %}
{% block javascripts_app %}
<script src="{{ asset('assets/shop/js/app.js') }}"></script>
{% endblock javascripts_app %}
<script src="{{ asset('assets/shop/js/jquery-ui.min.js') }}"></script>
<script src="{{ asset('assets/shop/js/popper.min.js') }}"></script>
<script src="{{ asset('assets/shop/js/bootstrap.min.js') }}"></script>
<script src="{{ asset('assets/shop/js/leftmenu.js') }}"></script>
<script src="{{ asset('/bundles/fosjsrouting/js/router.js') }}"></script>
<script src="{{ asset('/assets/shop/js/_bootstrap_select.min.js') }}"></script>
<script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
<script src="{{ asset('assets/shop/js/jquery.validate.min.js') }}"></script>
<script src="{{ asset('assets/shop/js/sentry-bundle.min.js') }}"></script>
<script>
if (typeof Sentry !== 'undefined') {
Sentry.init({
dsn: "{{ sentry_dsn }}",
integrations: [new Sentry.Integrations.TryCatch({
eventTarget: false,
})]
});
}
</script>
<script src="{{ asset('/assets/shop/js/bs-stepper.js') }}"></script>
<script>
dataLayer = [];
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','{{ gtm_code }}');</script>
<!-- End Google Tag Manager -->
{% block webpack_app %}
{{ encore_entry_script_tags('app', null, 'bootstrapTheme') }}
{% endblock webpack_app %}
{% if app.request.attributes.get('_route') == 'sylius_shop_homepage' %}
{% include '@templates/ShopCustom/one_signal.html.twig' %}
{% endif %}
{{ sonata_block_render_event('sylius.shop.layout.javascripts') }}
{% endblock %}
</head>
{% endblock %}
<body class="{{ app.request.attributes.get('_route') }}" style="background-color: #F2F2F2">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ gtm_code }}"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% block mobile_header %}
{% include '@templates/Front/Shop/v2/_header.html.twig' %}
{% endblock %}
{% block content %}
{% endblock %}
{% block footer %}
{% include '@templates/Front/Shop/v2/_footer.html.twig' %}
{% endblock %}
{% block loaderContainer %}
<div class="loading-overlay" data-js-loading-overlay>
<img src="{{ asset('assets/shop/images/spinner.gif') }}" style="width: 50px; pointer-events: none"/>
</div>
{% endblock %}
<script>
$(document).ready(function () {
let hostname = '{{ app.request.host }}';
let l = document.links;
let taxaDePodUrl = 'taxadepod.ro';
let blogUrl = 'asigur.blogspot.com';
let telUrl = 'tel:';
let mailUrl = 'mailto:';
for (let i = 0; i < l.length; i++) {
let urlPath = l[i].href;
if (typeof urlPath === 'string' && !urlPath.includes(hostname) && !urlPath.includes(taxaDePodUrl) && !urlPath.includes(blogUrl)
&& !urlPath.includes(telUrl) && !urlPath.includes(mailUrl)) {
l[i].setAttribute('rel','nofollow');
l[i].setAttribute('target', '_blank');
// UrlExists(urlPath, l[i]);
}
}
function UrlExists(url, element) {
$.ajax({
url: url,
dataType: 'jsonp',
statusCode: {
200: function() {
},
404: function() {
element.removeAttribute('href');
}
},
error:function(){
}
});
}
});
</script>
</body>
</html>
<style>
</style>