Вызов cron.php из PHP = * * * * * * 1 wget.exe --secure-protocol=TLSv1_2 -q --no-cache https://{host}/systems/cron/cron_systems.php?key=7717621061 -O nul
galleryThumbs.slick({
slidesToShow: 5,
slidesToScroll: 1,
asNavFor: gallerySlides,
arrows: true,
vertical: false,
dots: false,
focusOnSelect: true,
mobileFirst: true,
appendArrows:'.slider-arrows',
nextArrow: slickNextGallery,
prevArrow: slickPrevGallery,
variableWidth: true,
infinite: false,
responsive: [{
breakpoint: 380,
settings: {
infinite: true,
}
},{
breakpoint: 768,
settings: {
infinite: false,
}
},{
breakpoint: 991,
settings: {
vertical: true,
variableWidth: false
}
}]
});
});
if (document.getElementsByClassName('current-cat').length > 0) {
document.getElementsByClassName('cat-item-all')[0].classList.add('show');
}
function programs(){
wp_localize_script( 'basic-admin-ajax', 'action_linklist', array(
'ajax_url' => admin_url( 'admin-ajax.php' )
));
$whatever = ( $_POST['programs'] );
echo $whatever;
wp_die();
}
add_action('wp_ajax_programs','programs');
add_action('wp_ajax_nopriv_programs', 'programs');
{% if attribute_groups %}
{% for attribute_group in attribute_groups %}
{% if attribute_group.attribute_group_id == 10 %}
{% for attribute in attribute_group.attribute|slice(0,3) %}
<span>{{ attribute.name }}</span> {{ attribute.text }}<br />
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
remove_action( 'template_redirect', 'redirect_canonical' );