guvenlik($_POST["dark_mode"]); $color = $byakman->guvenlik($_POST["color"]); $update = $byakman->pdo->prepare("UPDATE settings SET dark_mode = :dark_mode, color = :color WHERE id = '1'"); $update->bindParam(":dark_mode", $dark_mode); $update->bindParam(":color", $color); $update->execute(); if ($update) { $mesaj = '
'.PANEL_ALERT_TITLE_2.'
'.PANEL_SETTINGS_MESSAGE_1.'
'; header("REFRESH:1; url=themes.php"); } else { $mesaj = '
'.PANEL_ALERT_TITLE_1.'
'.PANEL_SETTINGS_MESSAGE_2.'
'; } } echo $mesaj; ?>
dark_mode == 1) { echo ' checked'; } ?>>
dark_mode == 0) { echo ' checked'; } ?>>