Beispiel #1
0
<?php

/* @var $this yii\web\View */
use frontend\assets\FrontendAsset;
use app\components\ArticulosWidget;
use frontend\models\Contenido;
$baseUrl = FrontendAsset::register($this)->baseUrl;
$this->title = 'My Yii Application';
?>

<?php 
echo ArticulosWidget::widget(['message' => ' Yii2.0']);
?>



<!-- BEGIN .full-block -->
<div class="full-block">

    <!-- BEGIN .ot-slider-new -->
    <div class="ot-slider-new">

        <!-- BEGIN .slider-new-slides -->
        <div class="slider-new-slides">

            <div class="slider-slide">
                <img src="<?php 
echo $baseUrl;
?>
/img/photos/image-102.jpg" alt="" style="width: 100%;">
                <div class="slider-layer">
Beispiel #2
0
        <!-- END .ot-slider -->
    </div>

    <!-- END .full-block -->
</div>

<!-- BEGIN .split-block -->
<div class="split-block">

    <!-- BEGIN .main-content -->
    <div class="main-content ot-scrollnimate" data-animation="fadeInUpSmall">

        <!-- BEGIN .ot-panel-block -->
        <?php 
echo ArticulosWidget::widget(['tipo' => 'grid', 'rutabase' => $baseUrl, 'items' => $model->getUltimosArticulosCategorias()]);
?>

        <!-- BEGIN .ot-panel-block -->
        <div class="ot-panel-block">
            <div class="article-classic">

                <div class="paragraph-row">
                    <div class="column6 featured-side">
                        <div class="item">
                            <div class="item-header">
                                <a href="#">
                                    <span class="item-header-category"><i class="fa fa-folder-open"></i><span>Automotive</span></span>
                                    <img src="<?php 
echo $baseUrl;
?>