|
@@ -28,14 +28,14 @@ $keyadd = News::keyFilter();
|
|
|
<div class="count" style="font-size:20px;width:130px;line-height: 24px;"><span class="timer__days"></span><br><span class="timer__hours"></span><br><span class="timer__minutes"></span></div>
|
|
|
|
|
|
*/
|
|
|
-/*
|
|
|
+
|
|
|
$lenta .= '<style>.lenta .list-wrapper .lenta_fix:hover{background:#60b740;}</style>
|
|
|
<div class="lenta_fix"><h3>
|
|
|
- <a href="https://%D0%BD%D0%B0%D1%80%D0%BE%D0%B4%D0%BD%D1%8B%D0%B9%D0%B7%D0%BD%D0%B0%D0%BA%D0%BA%D0%B0%D1%87%D0%B5%D1%81%D1%82%D0%B2%D0%B0.%D1%80%D1%84" title="Народный знак качества"><img src="/img/nzk_button.png" width="275px" height="80px" alt="Народный знак качества" style="margin-left: 20px;"></a>
|
|
|
+ <a href="/story/new_year_2024" title="Встречаем год дракона"><img src="/img/drgbtn.png" width="200px" height="80px" alt="Дракон кнопка" style="margin-left: 20px;"></a><div class="count" style="font-size:20px;width:130px;line-height: 24px;"><span class="timer__days"></span><br><span class="timer__hours"></span><br><span class="timer__minutes"></span></div>
|
|
|
</h3>
|
|
|
</div>
|
|
|
';
|
|
|
-*/
|
|
|
+
|
|
|
$index = 0;
|
|
|
foreach (News::findFilter()->andWhere(["(flags & 1)"=>0])->limit(70)->all() as $model){
|
|
|
$index++;
|
|
@@ -57,4 +57,4 @@ $lenta .= '<style>.lenta .list-wrapper .lenta_fix:hover{background:#60b740;}</st
|
|
|
</div>
|
|
|
</div>
|
|
|
<?
|
|
|
-// $this->render('countdown');
|
|
|
+ $this->render('countdown');
|