diff --git a/www/data/locales/en-US.json b/www/data/locales/en-US.json
index e99b2ad..b5be285 100644
--- a/www/data/locales/en-US.json
+++ b/www/data/locales/en-US.json
@@ -95,6 +95,9 @@
"aboutusmainDescription5": "PR and Corporate Communications:",
"aboutussecondDescription5": "Management of public relations, event organization, media interaction, and crisis communication management."
},
+ "sections": {
+ "companiestrustus": "COMPANY TRUST US"
+ },
"userMenu": {
"personalCabinet": "Personal cabinet",
"admin": "Admin",
diff --git a/www/data/locales/ru-RU.json b/www/data/locales/ru-RU.json
index 82645e3..1b0f17f 100644
--- a/www/data/locales/ru-RU.json
+++ b/www/data/locales/ru-RU.json
@@ -95,6 +95,9 @@
"aboutusmainDescription5": "PR и Корпоративные Коммуникации:",
"aboutussecondDescription5": "Управление общественными связями, организация мероприятий, взаимодействие со СМИ и кризисное коммуникационное управление."
},
+ "sections": {
+ "companiestrustus": "КОМПАНИИ КОТОРЫЕ НАМ ДОВЕРЯЮТ"
+ },
"userMenu": {
"personalCabinet": "Личный кабинет",
"admin": "Админ",
diff --git a/www/frontend/components/elems/header.php b/www/frontend/components/elems/header.php
index 957722e..b664143 100644
--- a/www/frontend/components/elems/header.php
+++ b/www/frontend/components/elems/header.php
@@ -3,7 +3,7 @@
window.addEventListener("scroll", function(event) {
if (document.body.scrollTop > 80
|| document.documentElement.scrollTop > 80) {
- document.querySelector(".navigation").style.backgroundColor = "rgba(255, 255, 255, 0.9);";
+ document.querySelector(".navigation").style.backgroundColor = "rgb(0 0 0 / 30%)";
document.querySelector(".navigation").style.backdropFilter = "blur(10px)";
} else {
document.querySelector(".navigation").style.backgroundColor = "transparent";
diff --git a/www/includes/wtframework/database/db_connect.php b/www/includes/wtframework/database/db_connect.php
index 30821ab..d1a74c5 100644
--- a/www/includes/wtframework/database/db_connect.php
+++ b/www/includes/wtframework/database/db_connect.php
@@ -73,7 +73,22 @@
);
');
$stmt->execute();
-
+
+ /* Creating admin role */
+ $stmt = $GLOBALS["dbAdapter"]->prepare('INSERT INTO `role`(`name`, `admin_right`, `applications_list`) VALUES(\'administrator\', \'1\', \'1\')');
+ $stmt->execute();
+
+ $stmt = $GLOBALS["dbAdapter"]->prepare('INSERT INTO `role`(`name`, `admin_right`, `applications_list`) VALUES(\'administrator\', \'0\', \'1\')');
+ $stmt->execute();
+
+ /* Applications statuses */
+ $stmt = $GLOBALS["dbAdapter"]->prepare('INSERT INTO `applications_statuses`(`name`, `color`) VALUES(\'waiting\', \'#ffd500\')');
+ $stmt->execute();
+ $stmt = $GLOBALS["dbAdapter"]->prepare('INSERT INTO `applications_statuses`(`name`, `color`) VALUES(\'desclined\', \'#FF0000\')');
+ $stmt->execute();
+ $stmt = $GLOBALS["dbAdapter"]->prepare('INSERT INTO `applications_statuses`(`name`, `color`) VALUES(\'success\', \'#00FF00\')');
+ $stmt->execute();
+
} catch (mysqli_sql_exception $databaseException) {
return;
}
\ No newline at end of file