prepare("SELECT setting_key, setting_value FROM settings"); $stmt->execute(); $settings = $stmt->fetchAll(PDO::FETCH_KEY_PAIR); $valentineImage = $settings['valentine_image'] ?: 'assets/pasted-20260206-164030-456a591e.jpg'; $isLocked = ($settings['is_locked'] ?? '0') === '1'; $bgColor = $settings['bg_color'] ?? '#ffe4e6'; $bgImage = $settings['bg_image'] ?? ''; $popupColor = $settings['popup_color'] ?? '#ffccd5'; // New settings $p1TitleColor = $settings['p1_title_color'] ?? '#e63946'; $p1TitleSize = $settings['p1_title_size'] ?? '1.75rem'; $p1TitleFont = $settings['p1_title_font'] ?? 'Inter'; $p1TitleText = $settings['p1_title_text'] ?? 'Gvantsa, would you be my valentine?'; $p2TextColor = $settings['p2_text_color'] ?? '#e63946'; $p2TextSize = $settings['p2_text_size'] ?? '1.25rem'; $p2TextFont = $settings['p2_text_font'] ?? 'Inter'; $p2Line1Text = $settings['p2_line1_text'] ?? "Congratulations, you are now Sam's Valentine! ❤️"; $p2Line2Text = $settings['p2_line2_text'] ?? 'He is so incredibly lucky to have someone in his life who would click yes.'; $p2HintColor = $settings['p2_hint_color'] ?? '#636e72'; $p2HintSize = $settings['p2_hint_size'] ?? '0.85rem'; $p2HintFont = $settings['p2_hint_font'] ?? 'Inter'; $p2HintText = $settings['p2_hint_text'] ?? 'Redirecting you to a special surprise in 15 seconds...'; $imageRadius = $settings['image_radius'] ?? '12px'; $yesBtnColor = $settings['yes_btn_color'] ?? '#e63946'; $noBtnColor = $settings['no_btn_color'] ?? '#ffffff'; $fonts = ['Inter', 'Arial', 'Verdana', 'Times New Roman', 'Georgia', 'Courier New', 'Brush Script MT', 'Comic Sans MS']; ?> <?= htmlspecialchars($p1TitleText) ?>

Valentine Image