Beispiel #1
0
<?php

/** @var $this \yii\web\View */
$this->title = 'Test';
echo \app\modules\catalog\widgets\OrderForm::widget();
?>

Beispiel #2
0
                                    </div>

                                    <div class="f-14 color-grey-3 appartments-item-text">
                                        <?php 
    echo Text::cropping($item->content, 13);
    ?>
                                    </div>
                                    <div class="product-bottom-panel">
                                        <a href="<?php 
    echo $item->url;
    ?>
" class="product-button product-button-view">
                                            Подробнее
                                        </a>
                                        <?php 
    echo OrderForm::widget(['label' => ['class' => 'product-button product-button-order', 'text' => 'Бронь'], 'model' => $item]);
    ?>
                                    </div>

                                </div>
                            </div>
                        </div>
                    <?php 
}
?>
                </div>
                <div class="pagination poin-style-2"></div>
            </div>
        </div>
    </div>
</div>
Beispiel #3
0
    }
    ?>
                                </p>
                            <?php 
}
?>
                            <!--p class="color-grey-9">Рейтинг: <span class="fa fa-star color-yellow"></span><span
                                    class="fa fa-star color-yellow"></span><span class="fa fa-star color-yellow"></span><span
                                    class="fa fa-star color-yellow"></span><span class="fa fa-star color-yellow"></span>
                            </p>
                            <p class="color-grey-9">Звездность: <span class="color-white">4 <span
                                        class="fa fa-star color-yellow"></span></span></p-->
                        </div>
                        <div class="details-btn">
                            <?php 
echo \app\modules\catalog\widgets\OrderForm::widget(['model' => $product, 'label' => ['class' => 'c-button b-40 bg-white hv-transparent', 'text' => '<span>Бронировать</span>']]);
?>
                        </div>
                    </div>

                    <?php 
if ($siblings = $product->getSiblings($product->categoryId)) {
    ?>
                    <div class="popular-tours bg-grey-2">
                        <h4 class="color-dark-2">Другие аппартаменты</h4>

                        <?php 
    foreach ($siblings as $sibling) {
        ?>
                        <div class="hotel-small style-2 clearfix">
                            <a class="hotel-img black-hover" href="<?php 
Beispiel #4
0
                                            <span class="fa fa-star color-yellow"></span>
                                            <span class="fa fa-star color-yellow"></span>
                                        </div>
                                    </div>
                                    <p class="f-14 color-grey-3 product-text">
                                        <?php 
    echo \yii\helpers\StringHelper::truncateWords(strip_tags($product->content), 13);
    ?>
                                    </p>
                                    <div class="buttons-block bg-dr-blue-2">
                                        <a href="<?php 
    echo $product->url;
    ?>
" class="c-button b-40 bg-grey-3-t hv-grey-3-t b-1">Подробнее</a>
                                        <?php 
    echo OrderForm::widget(['label' => ['class' => 'c-button b-40 bg-white hv-transparent fr buttonColor', 'text' => 'Бронировать'], 'model' => $product]);
    ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                <?php 
}
?>
            </div>

            <!--div class="c_pagination clearfix padd-120">
                <a href="#" class="c-button b-40 bg-dr-blue-2 hv-dr-blue-2-o fl">prev page</a>
                <a href="#" class="c-button b-40 bg-dr-blue-2 hv-dr-blue-2-o fr">next page</a>
                <ul class="cp_content color-3">