BLACKSITE
:
216.73.216.62
:
147.93.18.13 / vinyasaweddings.com
:
Linux srv667811 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
:
/
var
/
www
/
vkraft
/
views
/
layout
/
Upload File:
files >> /var/www/vkraft/views/layout/call.php
<?php require_once __DIR__ . '/../../db.php'; // Fetch enquiry banner from website_settings where id=1 $settingsStmt = $db->prepare(" SELECT whatsapp_number, phone_number_1, phone_number_2, email, instagram_url, facebook_url, twitter_url, enquiry_banner FROM website_settings WHERE id = 1 LIMIT 1 "); $settingsStmt->execute(); $settings = $settingsStmt->fetch(PDO::FETCH_ASSOC); ?> <section class="floating-action-buttons"> <!-- Desktop/Large Screen Version (Bottom Right) --> <div class="fab-container d-none d-lg-block"> <div class="fab-actions"> <?php if (!empty($settings['phone_number_1'])): ?> <a href="tel:+91<?= htmlspecialchars($settings['phone_number_1']) ?>" class="fab-btn fab-call" title="Call Us"> <i class="fas fa-phone-alt fa-flip-horizontal"></i> </a> <?php endif; ?> <?php if (!empty($settings['whatsapp_number'])): ?> <a href="https://wa.me/<?= preg_replace('/\D/', '', $settings['whatsapp_number']) ?>" class="fab-btn fab-whatsapp" title="WhatsApp Us"> <i class="fab fa-whatsapp"></i> </a> <?php endif; ?> </div> </div> <!-- Mobile Version (Bottom Fixed) --> <div class="mobile-fab-container d-lg-none"> <div class="mobile-fab-actions"> <?php if (!empty($settings['phone_number_1'])): ?> <a href="tel:+91<?= htmlspecialchars($settings['phone_number_1']) ?>" class="mobile-fab-btn mobile-fab-call"> <i class="fas fa-phone-alt fa-flip-horizontal"></i> <span>Call</span> </a> <?php endif; ?> <?php if (!empty($settings['whatsapp_number'])): ?> <a href="https://wa.me/<?= preg_replace('/\D/', '', $settings['whatsapp_number']) ?>" class="mobile-fab-btn mobile-fab-whatsapp"> <i class="fab fa-whatsapp"></i> <span>WhatsApp</span> </a> <?php endif; ?> </div> </div> </section> <style> /* Base Styles */ :root { --primary: #f58964; --primary-light: #f9bc96; --secondary: #6b9faf; --dark: #333333; --light: #ffffff; --gray: #f5f5f5; } .floating-action-buttons { font-family: 'Poppins', sans-serif; } /* Desktop FAB Styles */ .fab-container { position: fixed; bottom: 30px; right: 30px; z-index: 999; } .fab-actions { display: flex; flex-direction: column; gap: 15px; } .fab-btn { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: all 0.3s ease; text-decoration: none; } .fab-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.2); } .fab-call { background-color: var(--primary); } .fab-whatsapp { background-color: #25D366; /* WhatsApp brand color */ } /* Improved Mobile FAB Styles */ .mobile-fab-container { position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background-color: var(--light); box-shadow: 0 -2px 10px rgba(0,0,0,0.1); padding: 8px 0; } .mobile-fab-actions { display: flex; justify-content: center; gap: 10%; width: 100%; max-width: 500px; margin: 0 auto; padding: 0 15px; height:40px } .mobile-fab-btn { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 30px; text-decoration: none; border-radius: 8px; color: white; font-size: 14px; font-weight: 500; transition: transform 0.2s ease; } .mobile-fab-btn i { font-size: 18px; } .mobile-fab-call { background-color: var(--primary); } .mobile-fab-whatsapp { background-color: #25D366; } /* Animation */ @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } } .fab-btn:hover, .mobile-fab-btn:active { animation: pulse 0.5s ease; } /* Responsive Adjustments */ @media (max-width: 575.98px) { .mobile-fab-actions { gap: 5%; } .mobile-fab-btn { font-size: 12px; padding: 8px 0; gap: 6px; } .mobile-fab-btn i { font-size: 16px; } } </style>