SELECT p.*, po1.slug 'P1', po2.slug 'P2', prop1.slug 'S1', prop2.slug 'S2'
FROM products p
INNER JOIN products_parameters p2o1 ON p.id = p2o1.product_id
INNER JOIN lists_items po1 ON po1.id = p2o1.list_item_id
LEFT JOIN parameters prop1 ON prop1.id = p2o1.parameter_id
INNER JOIN products_parameters p2o2 ON p.id = p2o2.product_id
INNER JOIN lists_items po2 ON po2.id = p2o2.list_item_id
LEFT JOIN parameters prop2 ON prop2.id = p2o2.parameter_id
WHERE
(`po1`.`slug` IN ('black', 'green') AND `prop1`.`slug` = 'tea-type') AND (`po2`.`slug`='biglist' AND `prop2`.`slug` = 'list-size')
RewriteCond %{REQUEST_URI} /test/
RewriteCond %{QUERY_STRING} ^id=229
RewriteRule ^.*$ /supermodel/? [R=301,L]
display: none
, например.//Эффект топ лайн при прокрутке
$(window).on("scroll touchmove", function () {
$('.top_line').toggleClass('scroll_top', $(document).scrollTop() > 0);
});
$(".logo_descr").toggleClass("descr_none", $(document).scrollTop() > 0);
.descr_none{
display: none;
}
function resizeRock() {
document.getElementById('rockimg').style.height =
((document.body.clientHeight - 100) * 0.9)+"px";
}
async.series([
function(){ /* выполнится первым */ },
function(){ /* выполнится вторым */ }
]);