Esempio n. 1
0
echo MemeListWidget::widget(['memes' => $newMemes]);
?>
      </div>
    </div>


    <div id="editor-pick-meme" class="panel panel-primary">
      <div class="panel-heading">
        <h3><span class="panel-title glyphicon glyphicon-certificate glyphicon-1-5x"></span> <?php 
echo Yii::t('app', "Editor's Pick");
?>
</h3>
      </div>
      <div class="panel-body no-gutter">
        <?php 
echo FeaturedMemeWidget::widget(['meme' => $editorMemePick]);
?>
      </div>
    </div>

    <div id="replica-list" class="panel panel-info">
      <div class="panel-heading">
        <h2><span class="panel-title glyphicon glyphicon-time glyphicon-1-5x"></span> <?php 
echo Yii::t('app', 'New Replicas');
?>
</h2>
      </div>
      <div class="panel-body">
        <?php 
echo ReplicaListWidget::widget(['replicas' => $newReplicas]);
?>
Esempio n. 2
0
        <?php 
echo FeaturedVidmageWidget::widget(['vidmage' => $vidmage]);
?>
      </div>
    </div>

    <div id="meme" class="panel panel-info">
      <div class="panel-heading">
        <h2><span class="glyphicon glyphicon-globe"></span> <?php 
echo Yii::t('app', 'Original Meme');
?>
</h2>
      </div>
      <div class="panel-body no-gutter">
        <?php 
echo FeaturedMemeWidget::widget(['meme' => $meme]);
?>
      </div>
    </div>

    <div class="panel panel-success">
      <div class="panel-heading">
        <h2><?php 
echo Yii::t('app', 'Other Replicas of this Meme: ');
?>
</h2>
      </div>
      <div class="panel-body no-gutter">
        <?php 
echo VidmageListWidget::widget(['vidmages' => $vidmages]);
?>
Esempio n. 3
0
<?php

use frontend\widgets\EditorsPickMemeWidget;
use frontend\widgets\FeaturedMemeWidget;
use frontend\widgets\ReplicaListWidget;
use frontend\widgets\MemeListWidget;
/* @var $this yii\web\View */
$this->title = 'Origin of the Memes';
$this->registerMetaTag(['name' => 'description', 'content' => Yii::t('app', 'Find the origin of the most popular memes on Internet. Enjoy watching memes from vine, youtube, instagram and more.')]);
?>

<?php 
echo FeaturedMemeWidget::widget(['meme' => $mostPopularMeme, 'theme' => 'mobirise']);
?>

<section class="mbr-section" id="header3-11">
    <div class="mbr-section__container container mbr-section__container--first">
        <div class="mbr-header mbr-header--wysiwyg row">
            <div class="col-sm-8 col-sm-offset-2">
                <h3 class="mbr-header__text">NEW MEMES</h3>

            </div>
        </div>
    </div>
</section>

<?php 
echo MemeListWidget::widget(['memes' => $newMemes, 'theme' => 'mobirise', 'sliderId' => 'slider-new-memes']);
?>

<?php