mirror of
https://github.com/claradex/nativegallery.git
synced 2025-02-13 09:43:14 +03:00
fixes
This commit is contained in:
parent
5ecb218306
commit
82888d6e06
13 changed files with 283 additions and 20 deletions
23
app/Controllers/Api/Admin/GeoDB/Delete.php
Normal file
23
app/Controllers/Api/Admin/GeoDB/Delete.php
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Controllers\Api\Admin\GeoDB;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
use App\Services\{Auth, Router, GenerateRandomStr, DB, Json, EXIF};
|
||||||
|
use App\Models\{User, Vote, Photo};
|
||||||
|
|
||||||
|
|
||||||
|
class Delete
|
||||||
|
{
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
DB::query('DELETE FROM geodb WHERE id=:id', array(':id' => $_GET['id']));
|
||||||
|
echo json_encode(
|
||||||
|
array(
|
||||||
|
'errorcode' => 0,
|
||||||
|
'error' => 0
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
|
@ -30,6 +30,8 @@ use \App\Controllers\Api\Admin\LoadNews as AdminLoadNews;
|
||||||
use \App\Controllers\Api\Admin\GetVehicleInputs as AdminGetVehicleInputs;
|
use \App\Controllers\Api\Admin\GetVehicleInputs as AdminGetVehicleInputs;
|
||||||
use \App\Controllers\Api\Admin\GeoDB\Create as AdminGeoDBCreate;
|
use \App\Controllers\Api\Admin\GeoDB\Create as AdminGeoDBCreate;
|
||||||
use \App\Controllers\Api\Admin\GeoDB\Load as AdminGeoDBLoad;
|
use \App\Controllers\Api\Admin\GeoDB\Load as AdminGeoDBLoad;
|
||||||
|
use \App\Controllers\Api\Admin\GeoDB\Delete as AdminGeoDBDelete;
|
||||||
|
|
||||||
class ApiController
|
class ApiController
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -112,6 +114,9 @@ class ApiController
|
||||||
public static function admingeodbload() {
|
public static function admingeodbload() {
|
||||||
return new AdminGeoDBLoad();
|
return new AdminGeoDBLoad();
|
||||||
}
|
}
|
||||||
|
public static function admingeodbdelete() {
|
||||||
|
return new AdminGeoDBDelete();
|
||||||
|
}
|
||||||
public static function vehiclesload() {
|
public static function vehiclesload() {
|
||||||
return new VehiclesLoad();
|
return new VehiclesLoad();
|
||||||
}
|
}
|
||||||
|
|
21
app/Controllers/ContestsController.php
Normal file
21
app/Controllers/ContestsController.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
namespace App\Controllers;
|
||||||
|
|
||||||
|
use \App\Services\{Router, Auth, DB, Json};
|
||||||
|
use \App\Controllers\ExceptionRegister;
|
||||||
|
use \App\Core\Page;
|
||||||
|
|
||||||
|
class ContestsController
|
||||||
|
{
|
||||||
|
public static function results()
|
||||||
|
{
|
||||||
|
Page::set('Contests/VotingResults');
|
||||||
|
|
||||||
|
}
|
||||||
|
public static function index()
|
||||||
|
{
|
||||||
|
Page::set('Contests/VotingIndex');
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
BIN
static/2.mp4
BIN
static/2.mp4
Binary file not shown.
BIN
static/kolya.mp3
BIN
static/kolya.mp3
Binary file not shown.
|
@ -4,7 +4,7 @@ use \App\Core\Page;
|
||||||
use \App\Services\DB;
|
use \App\Services\DB;
|
||||||
$nonreviewedimgs = DB::query('SELECT COUNT(*) FROM photos WHERE moderated=0')[0]['COUNT(*)'];
|
$nonreviewedimgs = DB::query('SELECT COUNT(*) FROM photos WHERE moderated=0')[0]['COUNT(*)'];
|
||||||
if ($nonreviewedimgs > 0) {
|
if ($nonreviewedimgs > 0) {
|
||||||
$nonr = '<span class="mm-notify notify-count">'.$nonreviewedimgs.'</span>';
|
$nonr = '<span class="badge text-bg-danger">'.$nonreviewedimgs.'</span>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
|
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
|
||||||
|
@ -37,7 +37,7 @@ body {
|
||||||
|
|
||||||
<nav class="nav__container">
|
<nav class="nav__container">
|
||||||
<div>
|
<div>
|
||||||
<a href="#" class="nav__link nav__logo">
|
<a href="/admin" class="nav__link nav__logo">
|
||||||
<h5><b><?=NGALLERY['root']['title']?></b></h5>
|
<h5><b><?=NGALLERY['root']['title']?></b></h5>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ body {
|
||||||
</a>
|
</a>
|
||||||
<a href="/admin?type=Photo" class="nav__link">
|
<a href="/admin?type=Photo" class="nav__link">
|
||||||
<i class="bx bx-camera nav__icon"></i>
|
<i class="bx bx-camera nav__icon"></i>
|
||||||
<span class="nav__name">Фотографии</span>
|
<span class="nav__name">Фотографии<?=$nonr?></span>
|
||||||
</a>
|
</a>
|
||||||
<a href="/admin?type=Galleries" class="nav__link">
|
<a href="/admin?type=Galleries" class="nav__link">
|
||||||
<i class="bx bx-images nav__icon"></i>
|
<i class="bx bx-images nav__icon"></i>
|
||||||
|
@ -66,6 +66,10 @@ body {
|
||||||
<i class="bx bx-news nav__icon"></i>
|
<i class="bx bx-news nav__icon"></i>
|
||||||
<span class="nav__name">Новости сайта</span>
|
<span class="nav__name">Новости сайта</span>
|
||||||
</a>
|
</a>
|
||||||
|
<!--a href="/admin?type=Contests" class="nav__link">
|
||||||
|
<i class="bx bx-party nav__icon"></i>
|
||||||
|
<span class="nav__name">Фотоконкурсы <span class="badge text-bg-warning">BETA</span></span>
|
||||||
|
<-->
|
||||||
<a href="/admin?type=Entities" class="nav__link">
|
<a href="/admin?type=Entities" class="nav__link">
|
||||||
<i class="bx bx-package nav__icon"></i>
|
<i class="bx bx-package nav__icon"></i>
|
||||||
<span class="nav__name">Сущности</span>
|
<span class="nav__name">Сущности</span>
|
||||||
|
@ -74,7 +78,14 @@ body {
|
||||||
<i class="bx bx-data nav__icon"></i>
|
<i class="bx bx-data nav__icon"></i>
|
||||||
<span class="nav__name">База моделей</span>
|
<span class="nav__name">База моделей</span>
|
||||||
</a>
|
</a>
|
||||||
|
<a href="/admin?type=GeoDB" class="nav__link">
|
||||||
|
<i class="bx bx-world nav__icon"></i>
|
||||||
|
<span class="nav__name">GeoDB<span class="badge text-bg-warning">BETA</span></span>
|
||||||
|
</a>
|
||||||
|
<!--a href="/admin?type=Settings" class="nav__link">
|
||||||
|
<i class="bx bx-cog nav__icon"></i>
|
||||||
|
<span class="nav__name">Настройки<span class="badge text-bg-warning">BETA</span></span>
|
||||||
|
<-->
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -17,10 +17,10 @@ use \App\Models\User;
|
||||||
<?php
|
<?php
|
||||||
$geodb = DB::query('SELECT * FROM geodb');
|
$geodb = DB::query('SELECT * FROM geodb');
|
||||||
foreach ($geodb as $u) {
|
foreach ($geodb as $u) {
|
||||||
echo '<tr>
|
echo '<tr id="geodb'.$u['id'].'">
|
||||||
<th>' . $u['id'] . '</th>
|
<th>' . $u['id'] . '</th>
|
||||||
<td>' . $u['title'] . '</td>
|
<td>' . $u['title'] . '</td>
|
||||||
<td><div class="cmt-submit"><a class="btn btn-sm btn-primary" href="/admin?type=UserEdit&user_id=' . $u['id'] . '">Редактировать</a><a style="margin-left: 15px;" class="btn btn-sm btn-danger" href="/admin?type=UserEdit&user_id=' . $u['id'] . '">Удалить</a></div></td>
|
<td><div class="cmt-submit"><a style="margin-left: 15px;" class="btn btn-sm btn-danger" onclick="deleteGeoDB(`'.$u['id'].'`); return false;">Удалить</a></div></td>
|
||||||
</tr>';
|
</tr>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -68,4 +68,20 @@ use \App\Models\User;
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function deleteGeoDB(id) {
|
||||||
|
$.ajax({
|
||||||
|
type: "POST",
|
||||||
|
url: '/api/admin/geodb/delete?id='+id,
|
||||||
|
data: $(this).serialize(),
|
||||||
|
success: function(response) {
|
||||||
|
$('#geodb'+id).remove();
|
||||||
|
Notify.noty('success', 'OK!');
|
||||||
|
//$("#result").html("<div class='alert alert-successnew container mt-5' role='alert'>Успешный вход!</div>");
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
</script>
|
</script>
|
|
@ -47,6 +47,7 @@ use \App\Models\User;
|
||||||
<th width="50%">Информация</th>
|
<th width="50%">Информация</th>
|
||||||
<th>Действия</th>
|
<th>Действия</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$photos = DB::query('SELECT * FROM photos WHERE moderated=0 ORDER BY id DESC');
|
$photos = DB::query('SELECT * FROM photos WHERE moderated=0 ORDER BY id DESC');
|
||||||
|
@ -118,18 +119,6 @@ use \App\Models\User;
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<h6 class="mt-3">Другие действия</h6>
|
<h6 class="mt-3">Другие действия</h6>
|
||||||
<div class="form-check">
|
|
||||||
<input name="anotheraccept'.$p['id'].'[]" class="form-check-input" type="checkbox" value="1" id="flexCheckDefault">
|
|
||||||
<label class="form-check-label" for="flexCheckDefault">
|
|
||||||
Отключить комментарии
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
<div class="form-check">
|
|
||||||
<input name="anotheraccept'.$p['id'].'[]" class="form-check-input" type="checkbox" value="2" id="flexCheckDefault">
|
|
||||||
<label class="form-check-label" for="flexCheckDefault">
|
|
||||||
Отключить рейтинг
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="exampleFormControlTextarea1" class="form-label">Дополнительный комментарий</label>
|
<label for="exampleFormControlTextarea1" class="form-label">Дополнительный комментарий</label>
|
||||||
<textarea class="form-control" id="exampleFormControlTextarea1" name="comment" rows="3"></textarea>
|
<textarea class="form-control" id="exampleFormControlTextarea1" name="comment" rows="3"></textarea>
|
||||||
|
|
77
views/pages/Contests/VotingIndex.php
Normal file
77
views/pages/Contests/VotingIndex.php
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use \App\Services\{Auth, DB, Date};
|
||||||
|
use \App\Models\User;
|
||||||
|
|
||||||
|
?>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="ru">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<?php include($_SERVER['DOCUMENT_ROOT'] . '/views/components/LoadHead.php'); ?>
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="backgr"></div>
|
||||||
|
<table class="tmain">
|
||||||
|
<?php include($_SERVER['DOCUMENT_ROOT'] . '/views/components/Navbar.php'); ?>
|
||||||
|
<tr>
|
||||||
|
<td class="main">
|
||||||
|
|
||||||
|
<center>
|
||||||
|
<h1>Фотоконкурс</h1>
|
||||||
|
|
||||||
|
<p class="narrow" style="font-size:19px"><b>Голосование</b> · <a href="?show=results">Победители</a> · <a href="?show=rating">Рейтинг</a> · <a href="?show=waiting">Претенденты</a></p>
|
||||||
|
<div style="margin-top:20px">Чтобы проголосовать, отметьте одну, две или три фотографии, которые Вам понравились</div><br><br>
|
||||||
|
<div class="p20">
|
||||||
|
<h4>Сейчас конкурс не проводится. Пожалуйста, заходите позже.</h4>
|
||||||
|
</div>
|
||||||
|
<h2>Следующий Фотоконкурс будет через:</h2>
|
||||||
|
<h1 id="countdown"></h1>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
</center>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<?php include($_SERVER['DOCUMENT_ROOT'] . '/views/components/Footer.php'); ?>
|
||||||
|
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<script>
|
||||||
|
// Установите дату и время, до которого нужно отсчитывать
|
||||||
|
const countdownDate = new Date("Mar 1, 2025 00:00:00").getTime();
|
||||||
|
|
||||||
|
// Обновляем отсчет каждую секунду
|
||||||
|
const x = setInterval(function() {
|
||||||
|
|
||||||
|
// Получаем текущее время
|
||||||
|
const now = new Date().getTime();
|
||||||
|
|
||||||
|
// Вычисляем разницу между целевой датой и текущим временем
|
||||||
|
const distance = countdownDate - now;
|
||||||
|
|
||||||
|
// Вычисляем дни, часы, минуты и секунды
|
||||||
|
const days = Math.floor(distance / (1000 * 60 * 60 * 24));
|
||||||
|
const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
const seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
|
||||||
|
// Отображаем результат в элементе с id "countdown"
|
||||||
|
document.getElementById("countdown").innerHTML =
|
||||||
|
days + ":" + hours + ":" + minutes + ":" + seconds;
|
||||||
|
|
||||||
|
// Если отсчет завершен, выводим сообщение
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("countdown").innerHTML = "Время истекло!";
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
0
views/pages/Contests/VotingRating.php
Normal file
0
views/pages/Contests/VotingRating.php
Normal file
121
views/pages/Contests/VotingResults.php
Normal file
121
views/pages/Contests/VotingResults.php
Normal file
|
@ -0,0 +1,121 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use \App\Services\{Auth, DB, Date};
|
||||||
|
use \App\Models\User;
|
||||||
|
|
||||||
|
?>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="ru">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<?php include($_SERVER['DOCUMENT_ROOT'] . '/views/components/LoadHead.php'); ?>
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="backgr"></div>
|
||||||
|
<table class="tmain">
|
||||||
|
<?php include($_SERVER['DOCUMENT_ROOT'] . '/views/components/Navbar.php'); ?>
|
||||||
|
<tr>
|
||||||
|
<td class="main">
|
||||||
|
<center>
|
||||||
|
<h1>Победители фотоконкурса</h1>
|
||||||
|
<p class="narrow" style="font-size:19px"><a href="/voting.php">Голосование</a> · <b>Победители</b> · <a href="?show=rating">Рейтинг</a> · <a href="?show=waiting">Претенденты</a></p>
|
||||||
|
<div style="margin:20px">Для вывода подробного отчёта о конкурсе нажмите на интересующую вас дату.</div>
|
||||||
|
<div class="pages"><span class="pg">««</span><span class="ps">1</span><a href="?show=results&st=10" class="pg">2</a><a href="?show=results&st=20" class="pg">3</a><a href="?show=results&st=30" class="pg">4</a> ··· <a href="?show=results&st=2090" class="pg">210</a><a href="?show=results&st=10" class="pg" id="NextLink">»»</a></div>
|
||||||
|
<p><span class="narrow" style="font-size:21px"><b><a href="?show=table&date=2025-02-04" title="Подробный отчёт о конкурсе">04.02.2025</a></b></span><br><span class="sm">Линии и пейзажи</span></p>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<a href="/photo/2066028/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/66/02/2066028_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs3.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2065380/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/65/38/2065380_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs2.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2064449/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/64/44/2064449_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs1.png" style="position:relative; top:-2px"> </a>
|
||||||
|
</tr>
|
||||||
|
</table><br>
|
||||||
|
<p><span class="narrow" style="font-size:21px"><b><a href="?show=table&date=2025-02-03" title="Подробный отчёт о конкурсе">03.02.2025</a></b></span><br><span class="sm">Линии и пейзажи</span></p>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<a href="/photo/1894111/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/18/94/11/1894111_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs3.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2063989/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/63/98/2063989_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs2.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2061805/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/61/80/2061805_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs1.png" style="position:relative; top:-2px"> </a>
|
||||||
|
</tr>
|
||||||
|
</table><br>
|
||||||
|
<p><span class="narrow" style="font-size:21px"><b><a href="?show=table&date=2025-02-02" title="Подробный отчёт о конкурсе">02.02.2025</a></b></span><br><span class="sm">Фотографии транспорта</span></p>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<a href="/photo/2065272/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/65/27/2065272_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs3.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2064912/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/64/91/2064912_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs2.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2026071/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/26/07/2026071_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs1.png" style="position:relative; top:-2px"> </a>
|
||||||
|
</tr>
|
||||||
|
</table><br>
|
||||||
|
<p><span class="narrow" style="font-size:21px"><b><a href="?show=table&date=2025-02-01" title="Подробный отчёт о конкурсе">01.02.2025</a></b></span><br><span class="sm">Фотографии транспорта</span></p>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<a href="/photo/2064843/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/64/84/2064843_s.jpg?1" class="f" style="margin-bottom:7px"><br><img src="/img/vs3.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2065143/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/65/14/2065143_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs2.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2063982/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/63/98/2063982_s.jpg?1" class="f" style="margin-bottom:7px"><br><img src="/img/vs1.png" style="position:relative; top:-2px"> </a>
|
||||||
|
</tr>
|
||||||
|
</table><br>
|
||||||
|
<p><span class="narrow" style="font-size:21px"><b><a href="?show=table&date=2025-01-31" title="Подробный отчёт о конкурсе">31.01.2025</a></b></span><br><b class="sm">Итоговое голосование</b></p>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<a href="/photo/2042060/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/42/06/2042060_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs5.png" style="position:relative; top:-2px"> </a>
|
||||||
|
</tr>
|
||||||
|
</table><br>
|
||||||
|
<p><span class="narrow" style="font-size:21px"><b><a href="?show=table&date=2025-01-30" title="Подробный отчёт о конкурсе">30.01.2025</a></b></span><br><span class="sm">Линии и пейзажи</span></p>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<a href="/photo/2058534/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/58/53/2058534_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs3.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2057575/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/57/57/2057575_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs2.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2058630/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/58/63/2058630_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs1.png" style="position:relative; top:-2px"> </a>
|
||||||
|
</tr>
|
||||||
|
</table><br>
|
||||||
|
<p><span class="narrow" style="font-size:21px"><b><a href="?show=table&date=2025-01-29" title="Подробный отчёт о конкурсе">29.01.2025</a></b></span><br><span class="sm">Фотографии транспорта</span></p>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<a href="/photo/2064029/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/64/02/2064029_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs3.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2065381/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/65/38/2065381_s.jpg?1" class="f" style="margin-bottom:7px"><br><img src="/img/vs3.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2065050/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/65/05/2065050_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs1.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2065800/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/65/80/2065800_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs1.png" style="position:relative; top:-2px"> </a>
|
||||||
|
</tr>
|
||||||
|
</table><br>
|
||||||
|
<p><span class="narrow" style="font-size:21px"><b><a href="?show=table&date=2025-01-28" title="Подробный отчёт о конкурсе">28.01.2025</a></b></span><br><span class="sm">Фотографии транспорта</span></p>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<a href="/photo/2062445/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/62/44/2062445_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs3.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2048251/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/48/25/2048251_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs2.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2062446/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/62/44/2062446_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs1.png" style="position:relative; top:-2px"> </a>
|
||||||
|
</tr>
|
||||||
|
</table><br>
|
||||||
|
<p><span class="narrow" style="font-size:21px"><b><a href="?show=table&date=2025-01-26" title="Подробный отчёт о конкурсе">26.01.2025</a></b></span><br><span class="sm">Фотографии транспорта</span></p>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<a href="/photo/2061877/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/61/87/2061877_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs3.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2047310/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/47/31/2047310_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs2.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2060964/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/60/96/2060964_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs1.png" style="position:relative; top:-2px"> </a>
|
||||||
|
</tr>
|
||||||
|
</table><br>
|
||||||
|
<p><span class="narrow" style="font-size:21px"><b><a href="?show=table&date=2025-01-25" title="Подробный отчёт о конкурсе">25.01.2025</a></b></span><br><span class="sm">Фотографии транспорта</span></p>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<a href="/photo/2061294/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/61/29/2061294_s.jpg?2" class="f" style="margin-bottom:7px"><br><img src="/img/vs4.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2061425/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/61/42/2061425_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs2.png" style="position:relative; top:-2px"> </a>
|
||||||
|
<a href="/photo/2048649/" class="p20" style="display:table-cell; text-align:center; vertical-align:bottom; padding:20px 20px 10px; font-size:17px"><img src="/img/prw-loader.gif" data-src="/photo/20/48/64/2048649_s.jpg" class="f" style="margin-bottom:7px"><br><img src="/img/vs1.png" style="position:relative; top:-2px"> </a>
|
||||||
|
</tr>
|
||||||
|
</table><br>
|
||||||
|
<div class="pages"><span class="pg">««</span><span class="ps">1</span><a href="?show=results&st=10" class="pg">2</a><a href="?show=results&st=20" class="pg">3</a><a href="?show=results&st=30" class="pg">4</a> ··· <a href="?show=results&st=2090" class="pg">210</a><a href="?show=results&st=10" class="pg" id="NextLink">»»</a></div>
|
||||||
|
<p class="narrow" style="font-size:19px"><a href="/voting.php">Голосование</a> · <b>Победители</b> · <a href="?show=rating">Рейтинг</a> · <a href="?show=waiting">Претенденты</a></p>
|
||||||
|
</center>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<?php include($_SERVER['DOCUMENT_ROOT'] . '/views/components/Footer.php'); ?>
|
||||||
|
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
0
views/pages/Contests/VotingWaiting.php
Normal file
0
views/pages/Contests/VotingWaiting.php
Normal file
|
@ -259,8 +259,8 @@ if ($photo->i('id') !== null) {
|
||||||
echo 'voted';
|
echo 'voted';
|
||||||
} ?>"><span>Мне не нравится</span></a>
|
} ?>"><span>Мне не нравится</span></a>
|
||||||
|
|
||||||
<a class="konk_btn" vote="1" href="#"><span>Красиво, на конкурс!</span></a>
|
<!--a class="konk_btn" vote="1" href="#"><span>Красиво, на конкурс!</span></!--a>
|
||||||
<a href="#" vote="0" class="konk_btn"><span>Неконкурсное фото</span></a>
|
<a-- href="#" vote="0" class="konk_btn"><span>Неконкурсное фото</span></a-->
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<div id="votes" class="votes">
|
<div id="votes" class="votes">
|
||||||
|
|
Loading…
Reference in a new issue