.body-inner-content,
.top-bar,
.ts-grid-box,
.post-list-item,
.breadcrumb,
.navbar-container,
.ts-breaking-news,
.ts-grid-box-heighlight,
.elementor-widget-container,
.elementor-section,
.nav-tabs,
.archive.body-inner-content,
.apsc-theme-2 .apsc-each-profile a .apsc-inner-block .apsc-count,
.default-content,
.single-post-wrapper .text-bg,
.bg-white,
.post-overflow-style .post-content-item,
footer,
header {
-webkit-transition: all 0s linear;
-o-transition: all 0s linear;
transition: all 0s linear;
}
.navbar-container .navbar,
.ekit-megamenu-holder {
-webkit-transition: all 0s linear;
-o-transition: all 0s linear;
transition: all 0s linear;
}
</body>
, но что то не сохраняет выбранную темную тему после перехода на другую страницу(((<?php
$host = 'localhost';
$user = 'u0815268_scr';
$pass = 'cfqn2019';
$db_name = 'u0815268_scr';
$link = mysqli_connect($host, $user, $pass, $db_name);
mysqli_query($link, 'set names utf8');
mysqli_query('SET NAMES cp1251', $db);
mysqli_query('SET CHARACTER SET cp1251', $db);
mysqli_query('SET COLLATION_CONNECTION="utf8_general_ci"', $db);
if (!$link) {
echo 'Не могу соединиться с БД. Код ошибки: ' . mysqli_connect_errno() . ', ошибка: ' . mysqli_connect_error();
exit;
}
$query = "SELECT wpps_custom_field_metas.field_value, wpps_users.user_email, wpps_users.display_name FROM wpps_custom_field_metas LEFT OUTER JOIN wpps_users ON wpps_users.id=wpps_custom_field_metas.module_record_id";
$result = mysqli_query($link, $query);
?><table>
<tr><th>Имя ученика</th><th>Электронной почты</th><th>Рейтинг добра</th></tr>
<?php
while ($row = mysqli_fetch_array($result)) {
?><tr><td><?= $row['display_name'] ?></td><td><?= $row['user_email'] ?></td><td><?= $row['field_value'] ?></td></tr>
<?php
}
?></table>
<?php
$host = 'localhost';
$user = 'u0815268_scr';
$pass = 'cfqn2019';
$db_name = 'u0815268_scr';
$link = mysqli_connect($host, $user, $pass, $db_name);
mysqli_query($link, 'set names utf8');
mysqli_query('SET NAMES cp1251', $db);
mysqli_query('SET CHARACTER SET cp1251', $db);
mysqli_query('SET COLLATION_CONNECTION="utf8_general_ci"', $db);
if (!$link) {
echo 'Не могу соединиться с БД. Код ошибки: ' . mysqli_connect_errno() . ', ошибка: ' . mysqli_connect_error();
exit;
}
$query = "SELECT wpps_custom_field_metas.field_value, wpps_users.user_email, wpps_users.display_name FROM wpps_custom_field_metas LEFT OUTER JOIN wpps_users ON wpps_users.id=wpps_custom_field_metas.module_record_id";
$result = mysqli_query($link, $query);
?><table>
<tr><th>Имя ученика</th><th>Электронной почты</th><th>Рейтинг добра</th></tr>
<?php
while ($row = mysqli_fetch_array($result)) {
?><tr><td><?= $row['display_name'] ?></td><td><?= $row['user_email'] ?></td><td><?= $row['field_value'] ?></td></tr>
<?php
}
?></table>