diff --git a/views/pages/Contests/VotingWaiting.php b/views/pages/Contests/VotingWaiting.php index b2622f7..ab89097 100644 --- a/views/pages/Contests/VotingWaiting.php +++ b/views/pages/Contests/VotingWaiting.php @@ -31,6 +31,13 @@ use \App\Models\User;
+ + Следующего конкурса нет. Пожалуйста, заходите сюда позже.'; + } + ?>
Красиво, на конкурс! diff --git a/views/pages/Main.php b/views/pages/Main.php index e60945b..93cc57f 100644 --- a/views/pages/Main.php +++ b/views/pages/Main.php @@ -79,10 +79,10 @@ LIMIT 10;');
+' . $pd['view_count'] . '
'; - if ((int)$p['priority'] === 1) { - echo '
'; - } - echo ' + if ((int)$p['priority'] === 1) { + echo '
'; + } + echo ' '; } } @@ -126,74 +126,76 @@ LIMIT 10;'); #contestNotify { background-size: 550px 211.2px; background-image: url('data:image/svg+xml;utf8,🎁🎈🎀🎊🎉'); - } + } + $contest['themeid']))[0]; + $theme = DB::query('SELECT * FROM contests_themes WHERE id=:id', array(':id' => $contest['themeid']))[0]; echo '

Фотоконкурс!

Закончится через:
- Тематика: '.$theme['title'].'
+ Тематика: ' . $theme['title'] . '
Голосуйте за лучшие фотографии, которые должны стать победителями сегодняшнего конкурса!

- Голосовать!'; + Голосовать! + '; } else if (DB::query('SELECT status FROM contests WHERE status=1')[0]['status'] === 1) { $contest = DB::query('SELECT * FROM contests WHERE status=1')[0]; - $theme = DB::query('SELECT * FROM contests_themes WHERE id=:id', array(':id'=>$contest['themeid']))[0]; + $theme = DB::query('SELECT * FROM contests_themes WHERE id=:id', array(':id' => $contest['themeid']))[0]; echo '

Фотоконкурс!

Начнётся через:
- Тематика: '.$theme.'
- Лучшие фотографии по мнению сообщества '.NGALLERY['root']['title'].' будут отмечены

- Участвовать!'; + Тематика: ' . $theme['title'] . '
+ Лучшие фотографии по мнению сообщества ' . NGALLERY['root']['title'] . ' будут отмечены

+ Участвовать! + '; } - - + + ?> - - - -
- -
+ @@ -207,26 +209,26 @@ startCountdown(1740607200); $first_id = $photos[0]['id']; $last_id = end($photos)['id']; ?> -
- -
- -
+
+ +
+ +
-

Сейчас на сайте (=:time-300 ORDER BY online DESC', array(':time' => time()))[0]['COUNT(*)'] ?>)

-
- =:time-300 ORDER BY online DESC', array(':time' => time())); - foreach ($online as $o) { - echo '' . htmlspecialchars($o['username']) . ', '; - } - ?> +

Сейчас на сайте (=:time-300 ORDER BY online DESC', array(':time' => time()))[0]['COUNT(*)'] ?>)

+
+ =:time-300 ORDER BY online DESC', array(':time' => time())); + foreach ($online as $o) { + echo '' . htmlspecialchars($o['username']) . ', '; + } + ?> -
+
@@ -235,8 +237,8 @@ startCountdown(1740607200); '.Date::zmdate($n['time']).' - + echo '
' . Date::zmdate($n['time']) . ' +
'; } ?>