Exemplo n.º 1
0
 * Initial version by: BeforyDeath
 * Initial version created on: 22.10.15 12:54
 */
use frontend\widgets\Calendar;
use frontend\widgets\MapFlights;
use frontend\widgets\MapHotels;
use frontend\widgets\Popular;
use frontend\widgets\SearchForm;
use frontend\widgets\Subscription;
/* @var $this \yii\web\View */
/* @var $content string */
$this->beginContent($this->theme->getBasePath() . '/layouts/main.php');
?>
    <div class="col-lg-12">
        <?php 
echo SearchForm::widget(['params' => ['handle' => '972edc737dd8ae229df475da9bf27ddf']]);
?>
    </div>
    <div class="col-lg-4">
        <div class="col-lg-12">
            <?php 
echo Calendar::widget(['params' => ['width' => 360]]);
?>
        </div>
        <div class="col-lg-12">
            <?php 
echo Popular::widget(['params' => ['width' => 360]]);
?>
        </div>
        <div class="col-lg-12">
            <?php 
Exemplo n.º 2
0
                    ]) ?>
                </div>
                <div class="col-lg-12">
                    <?= Subscription::widget([
                        'params' => [
                            'width' => 360
                        ]
                    ]) ?>
                </div>
            </div>
<?php //*/
?>
            <div class="col-lg-8">
                <div class="col-lg-12">
                    <?php 
echo SearchForm::widget(['params' => ['handle' => '85f3ab1c31dee31e20d44ffa19dc0357', 'search_host' => Yii::$app->params['domain'] . '/route/form/']]);
?>
                </div>
                <?php 
echo $content;
?>
                <?php 
/*/?>
                <?= MapHotels::widget([
                    'size' => ['width' => '750px']

                ]) ?>
                <?php //*/
?>
            </div>
            <?php