Esempio n. 1
0
foreach ($models as $k => $model) {
    ?>
                <?php 
    echo $this->renderFile('@app/modules/content/views/frontend/default/_item_2.php', ['model' => $model, 'index' => $k]);
    ?>
            <?php 
}
?>
            <?php 
echo \yii\widgets\LinkPager::widget(['pagination' => $pages, 'registerLinkTags' => true]);
?>
        </div>
    </div>
</section>

<section id="developer" class="section section-5" style="margin-bottom: 250px">
    <?php 
if (LIVE_EDIT) {
    \app\widgets\EditorInline::begin(['name' => 'developer', 'dataUrlEdit' => \yii\helpers\Url::to(['/text/default/save/']), 'value' => \app\modules\text\api\Text::get('developer')]);
}
?>
    <?php 
echo !LIVE_EDIT ? \app\modules\text\api\Text::get('developer') : '';
?>
    <?php 
if (LIVE_EDIT) {
    \app\widgets\EditorInline::end();
}
?>
</section>
Esempio n. 2
0
<?php

/**
 * Created by Vladimir Hryvinskyy.
 * Site: http://codice.in.ua/
 * Date: 26.08.2016
 * Project: osnova
 * File name: header.php
 *
 * @var $assets \app\templates\frontend\base\assets\BaseAsset;
 */
echo \app\modules\text\api\Text::get('header');
Esempio n. 3
0
<?php

/**
 * Created by Vladimir Hryvinskyy.
 * Site: http://codice.in.ua/
 * Date: 12.10.2016
 * Project: kotsyubynsk
 * File name: slider.php
 */
echo \app\modules\text\api\Text::get('slider');
Esempio n. 4
0
<?php

/**
 * Created by Vladimir Hryvinskyy.
 * Site: http://codice.in.ua/
 * Date: 26.08.2016
 * Project: falconcity
 * File name: footer.php
 * @var $assets \app\templates\frontend\base\assets\BaseAsset;
 */
use app\modules\text\api\Text;
echo Text::get('footer');
Esempio n. 5
0
    echo $category->title;
    ?>
</p>
                                    <a href="<?php 
    echo Url::to(['/realestate/category/view', 'slug' => $category->slug]);
    ?>
">
                                        <?php 
    echo Yii::t('realestate', '{count} view all', ['count' => $category->countItems]);
    ?>
                                    </a>
                                </div>
                            </div>
                        </div>
                        <?php 
}
?>
                    </div>
                </div>
            </div>
        </div>
    </section>
</section>

<?php 
echo Text::get('news_index');
?>

<?php 
echo Text::get('we_trust');
Esempio n. 6
0
}
echo $this->renderFile('@app/templates/frontend/base/views/layouts/blocks/slider.php', ['assets' => $bundle]);
?>


<?php 
echo Text::get('position_top_1');
echo Text::get('position_top_2');
echo Text::get('position_top_3');
echo Text::get('position_top_4');
echo Text::get('position_top_5');
?>

<?php 
echo $content;
?>

<?php 
echo Text::get('position_bottom_1');
echo Text::get('position_bottom_2');
echo Text::get('position_bottom_3');
echo Text::get('position_bottom_4');
echo Text::get('position_bottom_5');
?>

<?php 
echo $this->renderFile('@app/templates/frontend/base/views/layouts/blocks/footer.php', ['assets' => $bundle]);
$this->endContent();
?>

Esempio n. 7
0
<?php

/**
 * Created by Vladimir Hryvinskyy.
 * Site: http://codice.in.ua/
 * Date: 18.09.2016
 * Project: osnovasite
 * File name: contacts.php
 * @var $this \app\components\View;
 */
use app\modules\text\api\Text;
$this->setSeoData(Yii::t('system', 'Contacts'), '', '', '/');
$this->params['breadcrumbs'] = ['label' => Yii::t('system', 'Contacts')];
echo Text::get('contact');
?>