<commit_before><?php

/* @var $product Product */

$this->title = $product->getMetaTitle();
$this->description = $product->getMetaDescription();
$this->keywords = $product->getMetaKeywords();
$this->canonical = $product->getMetaCanonical();

$mainAssets = Yii::app()->getModule('store')->getAssetsUrl();
Yii::app()->getClientScript()->registerScriptFile($mainAssets . '/js/jquery.simpleGal.js');

Yii::app()->getClientScript()->registerCssFile(Yii::app()->getTheme()->getAssetsUrl() . '/css/store-frontend.css');
Yii::app()->getClientScript()->registerScriptFile(Yii::app()->getTheme()->getAssetsUrl() . '/js/store.js');

$this->breadcrumbs = array_merge(
    [Yii::t("StoreModule.store", 'Catalog') => ['/store/product/index']],
    $product->category ? $product->category->getBreadcrumbs(true) : [],
    [CHtml::encode($product->name)]
);
?>
<div class="row" style="margin-right: 0">
    <div class="grid_8">
        <div>
            <h1 class="product__title">
                <?= CHtml::encode($product->getTitle()); ?></h1>
            <div style="clear: both">

            </div>
        </div>

        <hr style="margin-top: 3px">
        <div class="product__description">
            <div>
                <div class="product__price" style="float: right">
                    Стоимость <?= round($product->getBasePrice(), 2); ?> руб
                </div>
            </div>
            <div class="clearfix"></div>
            <?= $product->description; ?>
        </div>
        <hr>
        <div class="row">
            <div class="grid_4" style="padding: 20px">
                <div class="b-product-image" style="background-image: url('<?= StoreImage::product($product); ?>')">
                    <a rel="group" class="fancybox b-product-image__link" href="<?= StoreImage::product($product); ?>"></a>
                </div>
            </div>
            <?php foreach ($product->getImages() as $key => $image): { ?>
                <div class="grid_4" style="padding: 20px">
                    <div class="b-product-image" style="background-image: url('<?= $image->getImageUrl(); ?>')">
                        <a rel="group" class="fancybox b-product-image__link" href="<?= $image->getImageUrl(); ?>"></a>
                    </div>
                </div>
            <?php } endforeach; ?>
        </div>


    </div>
    <div class="grid_4" style="padding: 10px">
        <div class="b-sidebar">
            <div class="b-widget__weather">
            </div>
            <div class="b-widget-order">
                <div class="b-widget-order__title">
                    забронировать номер
                </div>
                <hr style="width: 70%;margin: 5px auto">
                <div class="b-widget-order__body">
                    <form id="order-form" action="" class="f-order">
                        <label class="f-order__label" for="username"> Имя* </label>
                        <input id="username" name="username" class="f-order__input" type="text" required>
                        <label class="f-order__label" for="phone"> Номер телефона* </label>
                        <input id="phone" name="phone" class="f-order__input" type="text" required>
                        <label class="f-order__label" for="people"> Количество человек* </label>
                        <select id="people" name="people">
                            <option>1</option>
                            <option selected="selected">2</option>
                            <option>3</option>
                            <option>4</option>
                            <option>5</option>
                        </select>
                        <label class="f-order__label" for="rooms" style="margin-top: 5px"> Категория
                            проживания* </label>
                        <select name="rooms" id="rooms" class="f-order__select">
                            <optgroup label="Корпус 1">
                                <option value="Корпус 1 Стандарт">Стандарт</option>
                                <option value="Корпус 1 Семейный">Семейный</option>
                                <option value="Корпус 1 Улучшенный">Улучшенный</option>
                            </optgroup>
                            <optgroup label="Корпус 2">
                                <option value="Корпус 2 Стандарт">Стандарт</option>
                                <option value="Корпус 2 Семейный">Семейный</option>
                                <option value="Корпус 2 Улучшенный">Улучшенный</option>
                            </optgroup>
                        </select>
                        <br>
                        <label class="f-order__label" for="datepicker-from">Дата заезда*</label>
                        <input class="f-order__datepicker" type="text" id="datepicker-from" name="datepicker-from"
                               required>

                        <label class="f-order__label" for="datepicker-to">Дата выезда*</label>
                        <input class="f-order__datepicker" type="text" id="datepicker-to" name="datepicker-to" required>
<commit_msg>fixed<commit_after><?php

/* @var $product Product */

$this->title = $product->getMetaTitle();
$this->description = $product->getMetaDescription();
$this->keywords = $product->getMetaKeywords();
$this->canonical = $product->getMetaCanonical();

$mainAssets = Yii::app()->getModule('store')->getAssetsUrl();
Yii::app()->getClientScript()->registerScriptFile($mainAssets . '/js/jquery.simpleGal.js');

Yii::app()->getClientScript()->registerCssFile(Yii::app()->getTheme()->getAssetsUrl() . '/css/store-frontend.css');
Yii::app()->getClientScript()->registerScriptFile(Yii::app()->getTheme()->getAssetsUrl() . '/js/store.js');

$this->breadcrumbs = array_merge(
    [Yii::t("StoreModule.store", 'Catalog') => ['/store/product/index']],
    $product->category ? $product->category->getBreadcrumbs(true) : [],
    [CHtml::encode($product->name)]
);
?>
<div class="row" style="margin-right: 0">
    <div class="grid_8">
        <div>
            <h1 class="product__title">
                <?= CHtml::encode($product->getTitle()); ?></h1>
            <div style="clear: both">

            </div>
        </div>

        <hr style="margin-top: 3px">
        <div class="product__description">
            <div>
                <div class="product__price" style="float: right">
                    Стоимость <?= round($product->getBasePrice(), 2); ?> руб
                </div>
            </div>
            <div class="clearfix"></div>
            <?= $product->description; ?>
        </div>
        <hr>
        <div class="row">
            <div class="grid_4" style="padding: 20px">
                <div class="b-product-image" style="background-image: url('<?= StoreImage::product($product); ?>')">
                    <a rel="group" class="fancybox b-product-image__link" href="<?= StoreImage::product($product); ?>"></a>
                </div>
            </div>
            <?php foreach ($product->getImages() as $key => $image): { ?>
                <div class="grid_4" style="padding: 20px">
                    <div class="b-product-image" style="background-image: url('<?= $image->getImageUrl(); ?>')">
                        <a rel="group" class="fancybox b-product-image__link" href="<?= $image->getImageUrl(); ?>"></a>
                    </div>
                </div>
            <?php } endforeach; ?>
        </div>


    </div>
    <div class="grid_4" style="padding: 10px">
        <div class="b-sidebar">
            <div class="b-widget__weather">
            </div>
            <div class="b-widget-order">
                <div class="b-widget-order__title">
                    забронировать номер
                </div>
                <hr style="width: 70%;margin: 5px auto">
                <div class="b-widget-order__body">
                    <form id="order-form" action="" class="f-order">
                        <label class="f-order__label" for="username"> Имя* </label>
                        <input id="username" name="username" class="f-order__input" type="text" required>
                        <label class="f-order__label" for="phone"> Номер телефона* </label>
                        <input id="phone" name="phone" class="f-order__input" type="text" required>
                        <label class="f-order__label" for="people"> Количество человек* </label>
                        <select id="people" name="people">
                            <option>1</option>
                            <option selected="selected">2</option>
                            <option>3</option>
                            <option>4</option>
                            <option>5</option>
                        </select>
                        <label class="f-order__label" for="rooms" style="margin-top: 5px"> Категория
                            проживания* </label>
                        <select name="rooms" id="rooms" class="f-order__select">
                            <optgroup label="Корпус 1">
                                <option value="Корпус 1 Стандарт">Стандарт</option>
                                <option value="Корпус 1 Семейный">Семейный</option>
                            </optgroup>
                            <optgroup label="Корпус 3">
                                <option value="Корпус 3 Стандарт">Стандарт</option>
                            </optgroup>
                            <optgroup label="Корпус 5">
                                <option value="Корпус 5 Стандарт">Стандарт</option>
                            </optgroup>
                            <optgroup label="Корпус 6">
                                <option value="Корпус 1 Стандарт">Стандарт</option>
                            </optgroup>
                            <optgroup label="Корпус 7">
                                <option value="Корпус 1 Семейный">Семейный</option>
                            </optgroup>
                        </select>
                        <br>
                        <label class="f-order__label" for="datepicker-from">Дата заезда*</label>
                        <input class="f-order__datepicker" type="text" id="datepicker-from" name="datepicker-from"
                               required>

                        <label class="f-order__label" for="datepicker-to">Дата выезда*</label>
                        <input class="f-order__datepicker" type="text" id="datepicker-to" name="datepicker-to" required>

{'fraction_non_alphanumeric': 0.1610572352158205, 'fraction_numerical': 0.006370032325537175, 'mean_word_length': 1.6944159836065573, 'pattern_counts': {'":': 0, '<': 209, '<?xml version=': 0, '>': 275, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7547913', 'n_tokens_mistral': 3015, 'n_tokens_neox': 2915, 'n_words': 502}