<?php
use yii\web\View;
use \app\models\base\Tags;
use \app\models\Tagsfilter;
if( YII_ENV_DEV || 1)
{
$tmodel = new Tags();
$session = Yii::$app->session;
$x =$session->get('filterx');

$items = Yii::$app->cache->getOrSet("tagsmenu",function () use($tmodel){
	return $tmodel->find()->rightJoin(['m'=>Tagsfilter::find()], 'm.id = tags.id')->orderBy('sort')->All();
});
?>
                <div class="header-bottom__button">
                    <span style="fill: #ff8813;" onclick="toggletFiltersModalSel();document.querySelector('.sidemenu_overlay').classList.toggle('active');return false;" class="button button_grey">
                                <span class="button__icon"><i class="fa-solid fa-filter"></i>
									<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="width: 17px;height: 14px;" class="icon icon-tg"><title>фильтры материалов</title><path d="M3.9 54.9C10.5 40.9 24.5 32 40 32H472c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9V448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6V320.9L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z"/></svg>
                                </span>
                                &nbsp;Ваша лента
                    </span>
                </div>

<style>
#tfilters-modal{
	color:#000;
	z-index:1055;
}
</style>
<?
}
?>
