generated from mirzaev/pot-php
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 14050cbb24 |
@@ -134,9 +134,11 @@ final class project extends core
|
|||||||
{
|
{
|
||||||
// Debugging
|
// Debugging
|
||||||
date_default_timezone_set('Asia/Yekaterinburg');
|
date_default_timezone_set('Asia/Yekaterinburg');
|
||||||
file_put_contents('requests.txt', '[' . date('Y.m.d H:i:s') . '] Заказ с сайта: ' . DOMAIN . "\n", FILE_APPEND);
|
$jornal = JOURNAL . '/requests.txt';
|
||||||
file_put_contents('requests.txt', print_r($request, true) . "\n", FILE_APPEND);
|
file_put_contents($jornal, "\n\n\n\n", FILE_APPEND);
|
||||||
file_put_contents('requests.txt', print_r($this->request->files, true) . "\n", FILE_APPEND);
|
file_put_contents($jornal, '[' . date('Y.m.d H:i:s') . '] Заказ с сайта: ' . DOMAIN . "\n", FILE_APPEND);
|
||||||
|
file_put_contents($jornal, print_r($request, true) . "\n", FILE_APPEND);
|
||||||
|
file_put_contents($jornal, print_r($this->request->files, true) . "\n", FILE_APPEND);
|
||||||
|
|
||||||
if ($this->request->method === method::put) {
|
if ($this->request->method === method::put) {
|
||||||
// PUT
|
// PUT
|
||||||
@@ -204,8 +206,8 @@ final class project extends core
|
|||||||
// Sending the message
|
// Sending the message
|
||||||
$mail->send();
|
$mail->send();
|
||||||
} catch (mail_exception $exception) {
|
} catch (mail_exception $exception) {
|
||||||
file_put_contents('requests.txt', '[' . date('Y.m.d H:i:s') . "] ПИЗДЕЦ\n", FILE_APPEND);
|
file_put_contents($jornal, '[' . date('Y.m.d H:i:s') . "] ПИЗДЕЦ\n", FILE_APPEND);
|
||||||
file_put_contents('requests.txt', '[' . date('Y.m.d H:i:s') . ']' . $exception->getMessage() . "\n", FILE_APPEND);
|
file_put_contents($jornal, '[' . date('Y.m.d H:i:s') . ']' . $exception->getMessage() . "\n", FILE_APPEND);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Initializing the mail server
|
// Initializing the mail server
|
||||||
@@ -231,8 +233,8 @@ final class project extends core
|
|||||||
// Sending the message
|
// Sending the message
|
||||||
$mail->send();
|
$mail->send();
|
||||||
} catch (mail_exception $exception) {
|
} catch (mail_exception $exception) {
|
||||||
file_put_contents('requests.txt', '[' . date('Y.m.d H:i:s') . "] ПИЗДЕЦ БЕЗ КАРТИНОК\n", FILE_APPEND);
|
file_put_contents($jornal, '[' . date('Y.m.d H:i:s') . "] ПОВТОРНЫЙ ПИЗДЕЦ\n", FILE_APPEND);
|
||||||
file_put_contents('requests.txt', '[' . date('Y.m.d H:i:s') . ']' . $exception->getMessage() . "\n", FILE_APPEND);
|
file_put_contents($jornal, '[' . date('Y.m.d H:i:s') . ']' . $exception->getMessage() . "\n", FILE_APPEND);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
kodorvan/site/system/journal/.gitignore
vendored
Normal file
2
kodorvan/site/system/journal/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
||||||
@@ -1,70 +0,0 @@
|
|||||||
Array
|
|
||||||
(
|
|
||||||
[file_0] => Array
|
|
||||||
(
|
|
||||||
[name] => 280a5d18823508efac9d904834abd236.jpg
|
|
||||||
[full_path] => 280a5d18823508efac9d904834abd236.jpg
|
|
||||||
[type] => image/jpeg
|
|
||||||
[tmp_name] => /tmp/phpefc1op03dpuv2Cyh9TO
|
|
||||||
[error] => 0
|
|
||||||
[size] => 45917
|
|
||||||
)
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
Array
|
|
||||||
(
|
|
||||||
[file_0] => Array
|
|
||||||
(
|
|
||||||
[name] => Screenshot_2025-07-27-09-18-09-856_app.revanced.android.youtube.png
|
|
||||||
[full_path] => Screenshot_2025-07-27-09-18-09-856_app.revanced.android.youtube.png
|
|
||||||
[type] => image/png
|
|
||||||
[tmp_name] => /tmp/php0q6v9gdl94r9dK4IZRI
|
|
||||||
[error] => 0
|
|
||||||
[size] => 426274
|
|
||||||
)
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
Array
|
|
||||||
(
|
|
||||||
[file_0] => Array
|
|
||||||
(
|
|
||||||
[name] => Screenshot_2025-07-27-09-18-09-856_app.revanced.android.youtube.png
|
|
||||||
[full_path] => Screenshot_2025-07-27-09-18-09-856_app.revanced.android.youtube.png
|
|
||||||
[type] => image/png
|
|
||||||
[tmp_name] => /tmp/php3tt2g6o82blucdzMXgO
|
|
||||||
[error] => 0
|
|
||||||
[size] => 426274
|
|
||||||
)
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
Array
|
|
||||||
(
|
|
||||||
[file_0] => Array
|
|
||||||
(
|
|
||||||
[name] => TXRhM8WR8gM.jpg
|
|
||||||
[full_path] => TXRhM8WR8gM.jpg
|
|
||||||
[type] => image/jpeg
|
|
||||||
[tmp_name] => /tmp/phpacgh5ki1libqfq6kxHL
|
|
||||||
[error] => 0
|
|
||||||
[size] => 1114889
|
|
||||||
)
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
Array
|
|
||||||
(
|
|
||||||
[file_0] => Array
|
|
||||||
(
|
|
||||||
[name] => 20250928_125222.jpg
|
|
||||||
[full_path] => 20250928_125222.jpg
|
|
||||||
[type] => image/jpeg
|
|
||||||
[tmp_name] => /tmp/php4v03e60cr1ds932BVDM
|
|
||||||
[error] => 0
|
|
||||||
[size] => 278597
|
|
||||||
)
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
@@ -16,27 +16,18 @@ ini_set('display_startup_errors', 1); */
|
|||||||
// Initializing path to the public directory
|
// Initializing path to the public directory
|
||||||
define('INDEX', __DIR__);
|
define('INDEX', __DIR__);
|
||||||
|
|
||||||
// Initializing path to the project root directory
|
// Initializing the system directories
|
||||||
define('ROOT', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR);
|
define('ROOT', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR);
|
||||||
|
define('JOURNAL', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'journal');
|
||||||
// Initializing path to the directory of views
|
|
||||||
define('VIEWS', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'views');
|
|
||||||
|
|
||||||
// Initializing path to the directory of settings
|
|
||||||
define('SETTINGS', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'settings');
|
define('SETTINGS', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'settings');
|
||||||
|
define('LOCALIZATIONS', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'localizations');
|
||||||
|
define('DATABASES', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'databases');
|
||||||
|
define('STORAGE', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'storage');
|
||||||
|
define('VIEWS', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'views');
|
||||||
|
|
||||||
// Initializing system settings
|
// Initializing system settings
|
||||||
require SETTINGS . DIRECTORY_SEPARATOR . 'system.php';
|
require SETTINGS . DIRECTORY_SEPARATOR . 'system.php';
|
||||||
|
|
||||||
// Initializing path to the directory of the storage
|
|
||||||
define('STORAGE', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'storage');
|
|
||||||
|
|
||||||
// Initializing path to the databases directory
|
|
||||||
define('DATABASES', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'databases');
|
|
||||||
|
|
||||||
// Initializing path to the localizations directory
|
|
||||||
define('LOCALIZATIONS', INDEX . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'localizations');
|
|
||||||
|
|
||||||
// Initializing dependencies
|
// Initializing dependencies
|
||||||
require ROOT . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
|
require ROOT . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
|
||||||
|
|
||||||
|
|||||||
@@ -1819,7 +1819,7 @@ export default class project {
|
|||||||
// Iterating over files
|
// Iterating over files
|
||||||
|
|
||||||
// Writing the parameter into the body buffer
|
// Writing the parameter into the body buffer
|
||||||
body.append('file_' + index++, file);
|
body.append('file_' + index++, file, file.name);
|
||||||
}
|
}
|
||||||
|
|
||||||
return await core.request(
|
return await core.request(
|
||||||
@@ -1828,8 +1828,7 @@ export default class project {
|
|||||||
"PUT",
|
"PUT",
|
||||||
{
|
{
|
||||||
"Accept": "application/json",
|
"Accept": "application/json",
|
||||||
},
|
}
|
||||||
null,
|
|
||||||
).then(
|
).then(
|
||||||
async (json) => {
|
async (json) => {
|
||||||
if (json) {
|
if (json) {
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
[2026.04.27 23:16:08] Заказ с сайта: kodorvan.tech
|
|
||||||
[2026.04.27 23:23:25] Заказ с сайта: kodorvan.tech
|
|
||||||
[2026.04.27 23:23:28] Заказ с сайта: kodorvan.tech
|
|
||||||
[2026.04.27 23:30:00] Заказ с сайта: kodorvan.tech
|
|
||||||
[2026.04.27 23:46:17] Заказ с сайта: kodorvan.tech
|
|
||||||
@@ -998,7 +998,7 @@ section#project {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
>small.description {
|
>small:is(.description, .technologies, .guarantee) {
|
||||||
padding: 0.9em 1.2em;
|
padding: 0.9em 1.2em;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-family: Nunito;
|
font-family: Nunito;
|
||||||
@@ -1011,25 +1011,12 @@ section#project {
|
|||||||
/* text-shadow: 0px 1px 3px #000C, 0px 1px 1px #000B; */
|
/* text-shadow: 0px 1px 3px #000C, 0px 1px 1px #000B; */
|
||||||
text-shadow: unset;
|
text-shadow: unset;
|
||||||
|
|
||||||
>:is(strong, b) {
|
>img.icon {
|
||||||
/* display: block; */
|
margin-right: 0.2em;
|
||||||
font-weight: 600;
|
height: 2ch;
|
||||||
color: #ebdada;
|
padding-top: 0.1em;
|
||||||
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
>small.guarantee {
|
|
||||||
padding: 0.9em 1.2em;
|
|
||||||
text-align: left;
|
|
||||||
font-family: Nunito;
|
|
||||||
font-size: 0.9em;
|
|
||||||
color: #d6c1c1;
|
|
||||||
background: #a5c2c724;
|
|
||||||
border-radius: 1.25rem;
|
|
||||||
border-top: 1px solid #84d1d52e;
|
|
||||||
backdrop-filter: blur(2px) contrast(1.14);
|
|
||||||
/* text-shadow: 0px 1px 3px #000C, 0px 1px 1px #000B; */
|
|
||||||
text-shadow: unset;
|
|
||||||
|
|
||||||
>:is(strong, b) {
|
>:is(strong, b) {
|
||||||
/* display: block; */
|
/* display: block; */
|
||||||
@@ -1038,6 +1025,10 @@ section#project {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* >small.description {}
|
||||||
|
|
||||||
|
>small.guarantee {} */
|
||||||
|
|
||||||
>div.partners {
|
>div.partners {
|
||||||
margin-top: 1.4rem;
|
margin-top: 1.4rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<svg
|
||||||
|
width="24"
|
||||||
|
height="24"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
>
|
||||||
|
<path d="M9 21.5L17.5 13L13 10L15 2.5L6.5 11L11 14L9 21.5Z" fill="currentColor" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 198 B |
@@ -0,0 +1,14 @@
|
|||||||
|
<svg
|
||||||
|
width="24"
|
||||||
|
height="24"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
fill-rule="evenodd"
|
||||||
|
clip-rule="evenodd"
|
||||||
|
d="M17.5354 2.87868C16.3638 1.70711 14.4644 1.70711 13.2928 2.87868L11.8786 4.29289C11.8183 4.35317 11.7611 4.41538 11.707 4.47931C11.653 4.41539 11.5958 4.3532 11.5355 4.29293L10.1213 2.87871C8.94975 1.70714 7.05025 1.70714 5.87868 2.87871C4.70711 4.05029 4.70711 5.94978 5.87868 7.12136L6.75732 8H1V14H3V22H21V14H23V8H16.6567L17.5354 7.12132C18.707 5.94975 18.707 4.05025 17.5354 2.87868ZM14.707 7.12132L16.1212 5.70711C16.5117 5.31658 16.5117 4.68342 16.1212 4.29289C15.7307 3.90237 15.0975 3.90237 14.707 4.29289L13.2928 5.70711C12.9023 6.09763 12.9023 6.7308 13.2928 7.12132C13.6833 7.51184 14.3165 7.51184 14.707 7.12132ZM10.1213 5.70714L8.70711 4.29293C8.31658 3.9024 7.68342 3.9024 7.29289 4.29293C6.90237 4.68345 6.90237 5.31662 7.29289 5.70714L8.70711 7.12136C9.09763 7.51188 9.7308 7.51188 10.1213 7.12136C10.5118 6.73083 10.5118 6.09767 10.1213 5.70714ZM21 10V12H3V10H21ZM12.9167 14H19V20H12.9167V14ZM11.0834 14V20H5V14H11.0834Z"
|
||||||
|
fill="currentColor"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,14 @@
|
|||||||
|
<svg
|
||||||
|
width="24"
|
||||||
|
height="24"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
fill-rule="evenodd"
|
||||||
|
clip-rule="evenodd"
|
||||||
|
d="M12.0122 5.57169L10.9252 4.48469C8.77734 2.33681 5.29493 2.33681 3.14705 4.48469C0.999162 6.63258 0.999162 10.115 3.14705 12.2629L11.9859 21.1017L11.9877 21.0999L12.014 21.1262L20.8528 12.2874C23.0007 10.1395 23.0007 6.65711 20.8528 4.50923C18.705 2.36134 15.2226 2.36134 13.0747 4.50923L12.0122 5.57169ZM11.9877 18.2715L16.9239 13.3352L18.3747 11.9342L18.3762 11.9356L19.4386 10.8732C20.8055 9.50635 20.8055 7.29028 19.4386 5.92344C18.0718 4.55661 15.8557 4.55661 14.4889 5.92344L12.0133 8.39904L12.006 8.3918L12.005 8.39287L9.51101 5.89891C8.14417 4.53207 5.92809 4.53207 4.56126 5.89891C3.19442 7.26574 3.19442 9.48182 4.56126 10.8487L7.10068 13.3881L7.10248 13.3863L11.9877 18.2715Z"
|
||||||
|
fill="currentColor"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 893 B |
@@ -0,0 +1,9 @@
|
|||||||
|
<svg
|
||||||
|
width="24"
|
||||||
|
height="24"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
>
|
||||||
|
<path d="M9 21.5L17.5 13L13 10L15 2.5L6.5 11L11 14L9 21.5Z" fill="#fff" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 191 B |
@@ -0,0 +1,16 @@
|
|||||||
|
<svg
|
||||||
|
width="24"
|
||||||
|
height="24"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
fill-rule="evenodd"
|
||||||
|
clip-rule="evenodd"
|
||||||
|
d="M13 15.9C15.2822 15.4367 17 13.419 17 11V4H7V11C7 13.419 8.71776 15.4367 11 15.9V18H9V20H15V18H13V15.9ZM9 6H15V11C15 12.6569 13.6569 14 12 14C10.3431 14 9 12.6569 9 11V6Z"
|
||||||
|
fill="#fff"
|
||||||
|
/>
|
||||||
|
<path d="M18 6H20V11H18V6Z" fill="#fff" />
|
||||||
|
<path d="M6 6H4V11H6V6Z" fill="#fff" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 457 B |
@@ -11,7 +11,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<section class="promotion unselectable">
|
<section class="promotion unselectable">
|
||||||
<p>Скидка <b>10%</b> в честь запуска сайта <b>до 1 мая</b></p>
|
<p>Скидка <b>10%</b> в честь запуска сайта</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<noscript>
|
<noscript>
|
||||||
@@ -187,8 +187,12 @@
|
|||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<small class="description unselectable" aria-label="Описание"><strong>Команда разработчиков</strong> - реальные исполнители! <wbr/>Передача кода заказчику в его полную собственность и подпись <b>NDA</b>. Не используем ИИ в разработке! <wbr/><b>Полная анонимность</b> проектов - никто не узнает кто разработчик. <wbr/><b>Не оставляем</b> блокировки и скрытую рекламу в коде! Собственные сервера в <strong>Перми</strong>!</small>
|
<small class="description unselectable" aria-label="Описание"><strong>Команда разработчиков</strong> с большой историей!</strong> <wbr/>Передаём проект в <b>полную собственность</b>. <wbr>Не используем ИИ в разработке! <wbr><b>Не оставляем блокировки</b> и скрытые метки в коде! <wbr><strong>Юридическая броня!</strong> <wbr><strong>Грамотный SEO</strong> - не текстами, а глубоко в архитектуре. <wbr><strong>Собственные сервера в Перми!</strong></small>
|
||||||
<small class="guarantee unselectable" aria-label="Гарантия"><strong>Гарантия качества</strong><b>:</b> небольшие и простые проекты мы передаём нашим студентам, но за качество кода и соблюдение сроков всегда отвечает наставник!</small>
|
|
||||||
|
<small class="technologies text unselectable" aria-label="Технологии"><img class="icon" src="/themes/default/images/icons/white/bolt.svg" alt="technologies kodorvan" ondragstart="return false"/><strong>Уникальные технологии</strong><b>:</b> наши разработки, проверенные годами в проектах с большой ответственностью и высокой нагрузкой.</small>
|
||||||
|
|
||||||
|
<small class="guarantee unselectable" aria-label="Гарантия"><img class="icon" src="/themes/default/images/icons/white/trophy.svg" alt="technologies kodorvan" ondragstart="return false"/><strong>Гарантия качества</strong><b>:</b> небольшие проекты мы передаём нашим студентам, но за <b>качество</b> кода и <b>соблюдение сроков</b> всегда отвечает наставник!</small>
|
||||||
|
|
||||||
<div class="partners unselectable" aria-label="Партнёры">
|
<div class="partners unselectable" aria-label="Партнёры">
|
||||||
<div class="icon" style="--mask-image: url('/themes/default/images/icons/white/solid/crown.svg')"></div>
|
<div class="icon" style="--mask-image: url('/themes/default/images/icons/white/solid/crown.svg')"></div>
|
||||||
<b>Поддерживаем проекты наших<br/>партнёров с 2014 года!</b>
|
<b>Поддерживаем проекты наших<br/>партнёров с 2014 года!</b>
|
||||||
|
|||||||
Reference in New Issue
Block a user