Created
May 18, 2018 12:07
-
-
Save zrayev/a49174e80a4408f895f1354ee97ebfb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @var $this yii\web\View | |
* @var $articleID integer | |
*/ | |
use common\models\Image; | |
use common\models\Content; | |
use yii\helpers\Url; | |
?> | |
<?php if ($articleID): ?> | |
<div class="new__item"> | |
<div class="cases__item wow"> | |
<div class="cases__thumb"> | |
<a class="cases__link"> | |
<div class="cases__cover"></div> | |
<div class="c-img-slide-cover-inner"> | |
<picture> | |
<source srcset="/img/examples/new_1.jpg" | |
media="(max-width: 375px)"> | |
<source srcset="/img/examples/new_1.jpg" | |
media="(max-width: 767px)"> | |
<source srcset="/img/examples/new_1.jpg" | |
media="(max-width: 991px)"> | |
<source srcset="/img/examples/new_1.jpg" | |
media="(max-width: 1199px)"> | |
<img src="/img/examples/new_1.jpg" | |
alt=""> | |
</picture> | |
</div> | |
</a> | |
</div> | |
</div> | |
<div class="news__details"> | |
<div class="news__description-wrap"> | |
<div class="news__date">18.04.2018</div> | |
<div class="news__name"><a href="#">КАК ВЫБРАТЬ | |
МЕБЕЛЬ | |
(РЕСТОРАНА, КАФЕ, БАРА)</a></div> | |
<div class="news__text">Lorem ipsum dolor sit | |
amet, | |
consectetur adipiscing elit. Aenean euismod | |
bibendum | |
laoreet. Proin gravida dolor sit amet lacus | |
accumsan | |
et viverra justo commodo. Proin sodales | |
pulvinar | |
tempor. Cum sociis natoque penatibus et | |
magnis dis | |
parturient montes, nascetur ridiculus mus. | |
Nam | |
fermentum, nulla luctus pharetra vulputate, | |
felis | |
tellus mollis orci, sed rhoncus sapien nunc | |
eget. | |
</div> | |
</div> | |
<div class="btn-wrap clearfix"> | |
<a href="#" | |
class="btn2"><span><?= Yii::t('app', 'читать далее') ?></span><i | |
class="icon-arrow"></i></a> | |
</div> | |
</div> | |
</div> | |
<? endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment