flags source directory changed from kamenphoto to local
|
@ -22,7 +22,7 @@ class Routes
|
||||||
Router::get('/api/photo/stats', 'ApiController@photostats');
|
Router::get('/api/photo/stats', 'ApiController@photostats');
|
||||||
Router::get('/about', 'MainController@about');
|
Router::get('/about', 'MainController@about');
|
||||||
Router::get('/rules', 'MainController@rules');
|
Router::get('/rules', 'MainController@rules');
|
||||||
Router::get('/vehicle', 'MainController@vehicle');
|
Router::get('/vehicle/$id', 'MainController@vehicle');
|
||||||
Router::get('/rules/pub', 'MainController@publicationRules');
|
Router::get('/rules/pub', 'MainController@publicationRules');
|
||||||
Router::get('/rules/photo', 'MainController@photoRules');
|
Router::get('/rules/photo', 'MainController@photoRules');
|
||||||
Router::get('/rules/video', 'MainController@videoRules');
|
Router::get('/rules/video', 'MainController@videoRules');
|
||||||
|
|
|
@ -27,7 +27,7 @@ class Comment {
|
||||||
<div><img src="'.$user->i('photourl').'" width="32" style="border-radius: 3px; margin-right: 5px;"><b><a href="/author/'.$this->c['user_id'].'/" class="message_author">'.htmlspecialchars($user->i('username')).'</a></b> ·
|
<div><img src="'.$user->i('photourl').'" width="32" style="border-radius: 3px; margin-right: 5px;"><b><a href="/author/'.$this->c['user_id'].'/" class="message_author">'.htmlspecialchars($user->i('username')).'</a></b> ·
|
||||||
<span class="flag">';
|
<span class="flag">';
|
||||||
if (json_decode($user->i('content'), true)['aboutrid']['value'] != null) {
|
if (json_decode($user->i('content'), true)['aboutrid']['value'] != null) {
|
||||||
echo '<img src="https://kamenphoto.ru/img/r/'.json_decode($user->i('content'), true)['aboutrid']['value'].'.gif">';
|
echo '<img src="/static/img/flags/'.json_decode($user->i('content'), true)['aboutrid']['value'].'.gif">';
|
||||||
}
|
}
|
||||||
if (json_decode($user->i('content'), true)['aboutlive']['value'] != null) {
|
if (json_decode($user->i('content'), true)['aboutlive']['value'] != null) {
|
||||||
echo ' '.htmlspecialchars(json_decode($user->i('content'), true)['aboutlive']['value']);
|
echo ' '.htmlspecialchars(json_decode($user->i('content'), true)['aboutlive']['value']);
|
||||||
|
|
19
app/Models/Vehicle.php
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
namespace App\Models;
|
||||||
|
use \App\Services\DB;
|
||||||
|
|
||||||
|
class Vehicle {
|
||||||
|
|
||||||
|
public $userid;
|
||||||
|
function __construct(int $user_id) {
|
||||||
|
$this->userid = $user_id;
|
||||||
|
}
|
||||||
|
public function i($table) {
|
||||||
|
return DB::query("SELECT * FROM entities_data WHERE id=:id", array(':id'=>$this->userid))[0][$table];
|
||||||
|
}
|
||||||
|
public function getvehicle($table) {
|
||||||
|
return DB::query("SELECT * FROM entities WHERE id=:id", array(':id'=>self::i('entityid')))[0][$table];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -60,7 +60,7 @@ img { border:0; vertical-align:middle; }
|
||||||
font-size:35px;
|
font-size:35px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#title img { width:54px; height:47px; margin:0 12px 0 -7px; }
|
#title img { width:54px; margin:0 12px 0 -7px; }
|
||||||
#title span { margin-bottom:5px; }
|
#title span { margin-bottom:5px; }
|
||||||
|
|
||||||
#title-small:hover, a#title:hover { background-color:var(--theme-bg-hover-color); }
|
#title-small:hover, a#title:hover { background-color:var(--theme-bg-hover-color); }
|
||||||
|
|
BIN
static/img/flags/0.gif
Normal file
After Width: | Height: | Size: 363 B |
BIN
static/img/flags/1.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
static/img/flags/10.gif
Normal file
After Width: | Height: | Size: 237 B |
BIN
static/img/flags/100.gif
Normal file
After Width: | Height: | Size: 361 B |
BIN
static/img/flags/101.gif
Normal file
After Width: | Height: | Size: 371 B |
BIN
static/img/flags/102.gif
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
static/img/flags/103.gif
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
static/img/flags/104.gif
Normal file
After Width: | Height: | Size: 377 B |
BIN
static/img/flags/11.gif
Normal file
After Width: | Height: | Size: 362 B |
BIN
static/img/flags/12.gif
Normal file
After Width: | Height: | Size: 373 B |
BIN
static/img/flags/13.gif
Normal file
After Width: | Height: | Size: 364 B |
BIN
static/img/flags/14.gif
Normal file
After Width: | Height: | Size: 371 B |
BIN
static/img/flags/15.gif
Normal file
After Width: | Height: | Size: 362 B |
BIN
static/img/flags/16.gif
Normal file
After Width: | Height: | Size: 376 B |
BIN
static/img/flags/17.gif
Normal file
After Width: | Height: | Size: 363 B |
BIN
static/img/flags/18.gif
Normal file
After Width: | Height: | Size: 362 B |
BIN
static/img/flags/19.gif
Normal file
After Width: | Height: | Size: 360 B |
BIN
static/img/flags/2.gif
Normal file
After Width: | Height: | Size: 361 B |
BIN
static/img/flags/20.gif
Normal file
After Width: | Height: | Size: 367 B |
BIN
static/img/flags/21.gif
Normal file
After Width: | Height: | Size: 362 B |
BIN
static/img/flags/22.gif
Normal file
After Width: | Height: | Size: 360 B |
BIN
static/img/flags/23.gif
Normal file
After Width: | Height: | Size: 366 B |
BIN
static/img/flags/24.gif
Normal file
After Width: | Height: | Size: 135 B |
BIN
static/img/flags/25.gif
Normal file
After Width: | Height: | Size: 363 B |
BIN
static/img/flags/26.gif
Normal file
After Width: | Height: | Size: 363 B |
BIN
static/img/flags/27.gif
Normal file
After Width: | Height: | Size: 361 B |
BIN
static/img/flags/28.gif
Normal file
After Width: | Height: | Size: 364 B |
BIN
static/img/flags/29.gif
Normal file
After Width: | Height: | Size: 368 B |
BIN
static/img/flags/3.gif
Normal file
After Width: | Height: | Size: 374 B |
BIN
static/img/flags/30.gif
Normal file
After Width: | Height: | Size: 362 B |
BIN
static/img/flags/31.gif
Normal file
After Width: | Height: | Size: 370 B |
BIN
static/img/flags/32.gif
Normal file
After Width: | Height: | Size: 379 B |
BIN
static/img/flags/33.gif
Normal file
After Width: | Height: | Size: 366 B |
BIN
static/img/flags/34.gif
Normal file
After Width: | Height: | Size: 366 B |
BIN
static/img/flags/35.gif
Normal file
After Width: | Height: | Size: 367 B |
BIN
static/img/flags/36.gif
Normal file
After Width: | Height: | Size: 361 B |
BIN
static/img/flags/37.gif
Normal file
After Width: | Height: | Size: 366 B |
BIN
static/img/flags/38.gif
Normal file
After Width: | Height: | Size: 367 B |
BIN
static/img/flags/39.gif
Normal file
After Width: | Height: | Size: 360 B |
BIN
static/img/flags/4.gif
Normal file
After Width: | Height: | Size: 360 B |
BIN
static/img/flags/40.gif
Normal file
After Width: | Height: | Size: 363 B |
BIN
static/img/flags/41.gif
Normal file
After Width: | Height: | Size: 367 B |
BIN
static/img/flags/42.gif
Normal file
After Width: | Height: | Size: 361 B |
BIN
static/img/flags/43.gif
Normal file
After Width: | Height: | Size: 357 B |
BIN
static/img/flags/44.gif
Normal file
After Width: | Height: | Size: 238 B |
BIN
static/img/flags/45.gif
Normal file
After Width: | Height: | Size: 238 B |
BIN
static/img/flags/46.gif
Normal file
After Width: | Height: | Size: 545 B |
BIN
static/img/flags/47.gif
Normal file
After Width: | Height: | Size: 260 B |
BIN
static/img/flags/48.gif
Normal file
After Width: | Height: | Size: 366 B |
BIN
static/img/flags/49.gif
Normal file
After Width: | Height: | Size: 378 B |
9
static/img/flags/5.gif
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||||
|
<html><head>
|
||||||
|
<title>404 Not Found</title>
|
||||||
|
</head><body>
|
||||||
|
<h1>Not Found</h1>
|
||||||
|
<p>The requested URL was not found on this server.</p>
|
||||||
|
<hr>
|
||||||
|
<address>Apache/2.4.61 (Debian) Server at kamenphoto.ru Port 80</address>
|
||||||
|
</body></html>
|
BIN
static/img/flags/50.gif
Normal file
After Width: | Height: | Size: 367 B |
BIN
static/img/flags/51.gif
Normal file
After Width: | Height: | Size: 368 B |
BIN
static/img/flags/52.gif
Normal file
After Width: | Height: | Size: 371 B |
BIN
static/img/flags/53.gif
Normal file
After Width: | Height: | Size: 359 B |
BIN
static/img/flags/54.gif
Normal file
After Width: | Height: | Size: 360 B |
BIN
static/img/flags/55.gif
Normal file
After Width: | Height: | Size: 369 B |
BIN
static/img/flags/56.gif
Normal file
After Width: | Height: | Size: 362 B |
BIN
static/img/flags/57.gif
Normal file
After Width: | Height: | Size: 364 B |
BIN
static/img/flags/58.gif
Normal file
After Width: | Height: | Size: 363 B |
BIN
static/img/flags/59.gif
Normal file
After Width: | Height: | Size: 329 B |
9
static/img/flags/6.gif
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||||
|
<html><head>
|
||||||
|
<title>404 Not Found</title>
|
||||||
|
</head><body>
|
||||||
|
<h1>Not Found</h1>
|
||||||
|
<p>The requested URL was not found on this server.</p>
|
||||||
|
<hr>
|
||||||
|
<address>Apache/2.4.61 (Debian) Server at kamenphoto.ru Port 80</address>
|
||||||
|
</body></html>
|
BIN
static/img/flags/60.gif
Normal file
After Width: | Height: | Size: 376 B |
BIN
static/img/flags/61.gif
Normal file
After Width: | Height: | Size: 366 B |
BIN
static/img/flags/62.gif
Normal file
After Width: | Height: | Size: 361 B |
BIN
static/img/flags/63.gif
Normal file
After Width: | Height: | Size: 360 B |
BIN
static/img/flags/64.gif
Normal file
After Width: | Height: | Size: 367 B |
BIN
static/img/flags/65.gif
Normal file
After Width: | Height: | Size: 374 B |
BIN
static/img/flags/66.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
static/img/flags/67.gif
Normal file
After Width: | Height: | Size: 177 B |
BIN
static/img/flags/68.gif
Normal file
After Width: | Height: | Size: 366 B |
BIN
static/img/flags/69.gif
Normal file
After Width: | Height: | Size: 363 B |
9
static/img/flags/7.gif
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||||
|
<html><head>
|
||||||
|
<title>404 Not Found</title>
|
||||||
|
</head><body>
|
||||||
|
<h1>Not Found</h1>
|
||||||
|
<p>The requested URL was not found on this server.</p>
|
||||||
|
<hr>
|
||||||
|
<address>Apache/2.4.61 (Debian) Server at kamenphoto.ru Port 80</address>
|
||||||
|
</body></html>
|
BIN
static/img/flags/70.gif
Normal file
After Width: | Height: | Size: 370 B |
BIN
static/img/flags/71.gif
Normal file
After Width: | Height: | Size: 368 B |
BIN
static/img/flags/72.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
9
static/img/flags/73.gif
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||||
|
<html><head>
|
||||||
|
<title>404 Not Found</title>
|
||||||
|
</head><body>
|
||||||
|
<h1>Not Found</h1>
|
||||||
|
<p>The requested URL was not found on this server.</p>
|
||||||
|
<hr>
|
||||||
|
<address>Apache/2.4.61 (Debian) Server at kamenphoto.ru Port 80</address>
|
||||||
|
</body></html>
|
BIN
static/img/flags/74.gif
Normal file
After Width: | Height: | Size: 373 B |
BIN
static/img/flags/75.gif
Normal file
After Width: | Height: | Size: 961 B |
BIN
static/img/flags/76.gif
Normal file
After Width: | Height: | Size: 865 B |
BIN
static/img/flags/77.gif
Normal file
After Width: | Height: | Size: 311 B |
BIN
static/img/flags/78.gif
Normal file
After Width: | Height: | Size: 237 B |
BIN
static/img/flags/79.gif
Normal file
After Width: | Height: | Size: 83 B |
9
static/img/flags/8.gif
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||||
|
<html><head>
|
||||||
|
<title>404 Not Found</title>
|
||||||
|
</head><body>
|
||||||
|
<h1>Not Found</h1>
|
||||||
|
<p>The requested URL was not found on this server.</p>
|
||||||
|
<hr>
|
||||||
|
<address>Apache/2.4.61 (Debian) Server at kamenphoto.ru Port 80</address>
|
||||||
|
</body></html>
|
BIN
static/img/flags/80.gif
Normal file
After Width: | Height: | Size: 370 B |
BIN
static/img/flags/81.gif
Normal file
After Width: | Height: | Size: 941 B |
BIN
static/img/flags/82.gif
Normal file
After Width: | Height: | Size: 940 B |
BIN
static/img/flags/83.gif
Normal file
After Width: | Height: | Size: 992 B |
BIN
static/img/flags/84.gif
Normal file
After Width: | Height: | Size: 605 B |
BIN
static/img/flags/85.gif
Normal file
After Width: | Height: | Size: 1,010 B |
BIN
static/img/flags/86.gif
Normal file
After Width: | Height: | Size: 375 B |
BIN
static/img/flags/87.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
static/img/flags/88.gif
Normal file
After Width: | Height: | Size: 369 B |
BIN
static/img/flags/89.gif
Normal file
After Width: | Height: | Size: 361 B |
9
static/img/flags/9.gif
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||||
|
<html><head>
|
||||||
|
<title>404 Not Found</title>
|
||||||
|
</head><body>
|
||||||
|
<h1>Not Found</h1>
|
||||||
|
<p>The requested URL was not found on this server.</p>
|
||||||
|
<hr>
|
||||||
|
<address>Apache/2.4.61 (Debian) Server at kamenphoto.ru Port 80</address>
|
||||||
|
</body></html>
|
BIN
static/img/flags/90.gif
Normal file
After Width: | Height: | Size: 360 B |