123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- /**
- * @var $model \app\models\News
- * @var $key
- * @var $index
- * @var $widget
- */
- ?>
- <!-- story -->
- <div id="story-<?=$model->id?>" class="story" data-id="story-<?=$model->id?>" data-last-updated="<?=strtotime($model->dt_pub)?>" data-photo="<?=$model->preview->url?>">
- <a class="item-link" href="<?=$model->url?>">
- <span class="item-preview">
- <img src="<?=$model->preview->getUrl(\app\models\base\Image::SIZE_680x383)?>" />
- </span>
- <span class="info" >
- <strong class="name" itemProp="name"><?=$model->title?></strong>
- <span class="time"><?=$model->dt_pub?></span>
- </span>
- </a>
- <ul class="items">
- <!-- story item -->
- <li
- data-id="<?=$model->image->url?>"
- data-time="<?=strtotime($model->dt_pub)?>"
- class=""
- >
- <a href="<?=$model->url?>"
- data-src = "<?=$model->image->url?>"
- data-type="photo"
- data-length="3"
- data-link="<?=$model->url?>"
- data-linkText="<?=$model->title?>"
- >
- <img src="<?=$model->image->getUrl(\app\models\base\Image::SIZE_680x383)?>" />
- </a>
- </li>
- <!--/ story item -->
- </ul>
- </div>
- <!--/ story -->
|