Beispiel #1
0
echo Yii::$app->assetManager->publish('@common/themes/site/assets/pic/menu-image.jpg')[1];
?>
" width="309" height="225" alt="" />
                        </div>
                      </div>
                    </div>
                  </div>
                </li>
                <li class="main-menu__item-discounts"><a href="">Скидки</a>
                  <div class="main-menu__submenu">
                    <div class="container-fluid">
                      <div class="row">
                        <div class="col-md-8">
                            <div class="main-menu__submenu-columns">
                                <?php 
echo getCategory::widget(['parent' => 1, 'render' => 'indexDiscount']);
?>
 
                            </div> 
                        </div>
                        <div class="col-md-4 visible-lg">
                          <img class="img-responsive" src="<?php 
echo Yii::$app->assetManager->publish('@common/themes/site/assets/pic/menu-image.jpg')[1];
?>
" width="309" height="225" alt="" />
                        </div>
                      </div>
                    </div>
                  </div>
                </li>                
                <li class="main-menu__item-interesting"><?php 
Beispiel #2
0
    $this->title = 'Каталог услуг';
}
$this->params['breadcrumbs'][] = $this->title;
?>
 <?php 
echo getSellout::widget(['parent' => $parent]);
?>


<div class="content-columns container-fluid">
    <div class="row">
        <div class="col-md-3 col-sm-4">
            <div class="sidebar-left hidden-xs">
                <div class="category-filter">
                    <?php 
echo getCategory::widget(['parent' => $parent, 'render' => 'filter']);
?>
                    <div class="category-filter-range">
                        <label>Цена</label>
                        От <input type="text" id="form-slider-min" name="range_start" value="<?php 
echo $price_min;
?>
" />
                        до <input type="text" id="form-slider-max" name="range_end" value="<?php 
echo $price_max;
?>
" />
                        <div class="range-slider-wrapper">
                            <div class="range-slider" data-handle1="#form-slider-min" data-handle2="#form-slider-max" data-min="<?php 
echo $price_min;
?>
Beispiel #3
0
        <div class="footer__menu-table">
            <div class="footer__menu-row">

                <nav class="footer__menu">
                    <div class="footer__menu-title">Товары</div>
                    <?php 
echo getCategory::widget(['parent' => 1]);
?>
                   
                </nav>

                <nav class="footer__menu">
                    <div class="footer__menu-title">Услуги</div>
                    <?php 
echo getCategory::widget(['parent' => 2]);
?>
  
                </nav>

                <nav class="footer__menu">
                    <div class="footer__menu-title">О проекте</div>
                    <ul>
                        <li><?php 
echo Html::a('FAQ', ['/content/site/view-by-name', 'name' => 'faq']);
?>
</li>
                        <li><?php 
echo Html::a('Как это работает?', ['/content/site/view-by-name', 'name' => 'how-it-do']);
?>
</li>