40 lines
1.4 KiB
PHP
40 lines
1.4 KiB
PHP
<?php
|
|
require_once __DIR__ . '/includes/lang.php';
|
|
require_once __DIR__ . '/db/config.php';
|
|
|
|
$site_name = 'Byro';
|
|
$site_logo = '';
|
|
try {
|
|
$stmt = db()->prepare("SELECT setting_value FROM system_settings WHERE setting_key = 'site_name'");
|
|
$stmt->execute();
|
|
$site_name = $stmt->fetchColumn() ?: 'Byro';
|
|
|
|
$stmt = db()->prepare("SELECT setting_value FROM system_settings WHERE setting_key = 'site_logo'");
|
|
$stmt->execute();
|
|
$site_logo = $stmt->fetchColumn() ?: '';
|
|
} catch (Exception $e) {}
|
|
|
|
$title = __('cookie_policy_title');
|
|
require_once __DIR__ . '/includes/header.php';
|
|
?>
|
|
|
|
<main class="container my-5 pt-5">
|
|
<div class="row justify-content-center">
|
|
<div class="col-lg-8">
|
|
<div class="card border-secondary shadow-lg" style="background: rgba(26, 30, 35, 0.95); backdrop-filter: blur(10px);">
|
|
<div class="card-body p-4 p-md-5">
|
|
<h1 class="mb-4 text-primary fw-bold"><?= __('cookie_policy_title') ?></h1>
|
|
<div class="text-light lh-lg fs-5">
|
|
<?= __('cookie_policy_content') ?>
|
|
</div>
|
|
<div class="mt-5 pt-4 border-top border-secondary">
|
|
<a href="/" class="btn btn-outline-primary"><?= __('home') ?></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<?php require_once __DIR__ . '/includes/footer.php'; ?>
|