📂 FileMgr
📍
/
home
/
u865173473
/
domains
/
yelagiri.co.in
/
public_html
/
includes
✏️ er.php
⬅ Kembali
<?php // Default SEO values // Reliable base_url calculation $script_dir = str_replace('\\', '/', dirname($_SERVER['SCRIPT_NAME'])); $base_url = (rtrim($script_dir, '/') == '') ? '' : rtrim($script_dir, '/'); // If we are in a subdirectory like /admin/, we need to strip it to get the project root if (strpos($base_url, '/admin') !== false) { $base_url = substr($base_url, 0, strpos($base_url, '/admin')); } $site_name = 'Yelagiri Premium Real Estate'; $page_title = isset($page_title) ? $page_title . ' | ' . $site_name : $site_name . ' | Luxury Villas, Plots & Resorts'; $page_description = isset($page_description) ? $page_description : 'Discover premium real estate in Yelagiri. Luxury villas, individual rooms, resorts, and prime plots for sale.'; $canonical_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https' : 'http') . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; ?> <!DOCTYPE html> <html lang="en" class="scroll-smooth"> <head> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-B68CLJEZZ9"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-B68CLJEZZ9'); </script> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?php echo $page_title; ?></title> <meta name="description" content="<?php echo $page_description; ?>"> <link rel="canonical" href="<?php echo $canonical_url; ?>"> <!-- Open Graph Meta Tags --> <meta property="og:title" content="<?php echo isset($og_title) ? $og_title : $page_title; ?>"> <meta property="og:description" content="<?php echo isset($og_description) ? $og_description : $page_description; ?>"> <meta property="og:image" content="<?php echo isset($og_image) ? $og_image : 'https://yelagiri.co.in/assets/index/stay2.avif'; ?>"> <meta property="og:url" content="<?php echo $canonical_url; ?>"> <meta property="og:type" content="website"> <!-- Favicon --> <link rel="icon" type="image/png" sizes="32x32" href="<?= $base_url ?>/favicons.png"> <!-- Google Fonts --> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@200;300;400;500;600;700&display=swap" rel="stylesheet"> <!-- Font Awesome --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <!-- Tailwind CSS --> <script src="https://cdn.tailwindcss.com"></script> <!-- Tailwind Configuration --> <script> tailwind.config = { theme: { extend: { colors: { brand: { dark: '#1E293B', /* Deep Charcoal */ gold: '#D4AF37', /* Premium Gold */ light: '#FAF7F2', /* Warm Ivory */ champagne: '#F3E5AB', /* Champagne Beige */ stone: '#94A3B8', /* Stone Gray */ accent: '#B08D26' /* Deep Gold */ } }, fontFamily: { sans: ['Montserrat', 'sans-serif'], serif: ['Cormorant Garamond', 'serif'] }, boxShadow: { 'glass': '0 8px 32px 0 rgba(31, 38, 135, 0.07)', 'gold-glow': '0 0 20px rgba(212, 175, 55, 0.3)', }, animation: { 'fade-in-up': 'fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards', 'fade-in': 'fadeIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards', 'slide-up': 'slideUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards', 'slow-zoom': 'slowZoom 20s linear infinite alternate', 'marquee': 'marquee 30s linear infinite', }, keyframes: { fadeInUp: { '0%': { opacity: '0', transform: 'translateY(60px)' }, '100%': { opacity: '1', transform: 'translateY(0)' } }, fadeIn: { '0%': { opacity: '0' }, '100%': { opacity: '1' } }, slideUp: { '0%': { transform: 'translateY(100%)', opacity: '0' }, '100%': { transform: 'translateY(0)', opacity: '1' } }, slowZoom: { '0%': { transform: 'scale(1)' }, '100%': { transform: 'scale(1.1)' } }, marquee: { '0%': { transform: 'translateX(0%)' }, '100%': { transform: 'translateX(-100%)' } } } } } } </script> <!-- Custom CSS --> <link rel="stylesheet" href="<?= $base_url ?>/css/style.css"> <style> /* Hero Slider Styles */ .hero-slider-track { display: flex; transition: transform 0.7s cubic-bezier(0.645, 0.045, 0.355, 1); height: 100%; width: 100%; } .hero-slide { min-width: 100%; height: 100%; position: relative; } .glass-panel { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.3); } /* Crisp Image Rendering */ .crisp-image { image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; filter: contrast(1.02) brightness(1.02); } </style> </head> <body class="bg-brand-light text-brand-dark overflow-x-hidden antialiased selection:bg-brand-gold selection:text-white"> <!-- Custom Cursor --> <div id="cursor-dot" class="hidden md:block fixed w-3 h-3 bg-brand-gold rounded-full pointer-events-none z-[9999] transition-transform duration-100 ease-out mix-blend-difference"></div> <div id="cursor-circle" class="hidden md:block fixed w-8 h-8 border border-brand-gold rounded-full pointer-events-none z-[9999] transition-transform duration-300 ease-out mix-blend-difference translate-x-[-10px] translate-y-[-10px]"></div> <!-- Navigation --> <nav id="navbar" class="fixed w-full z-50 transition-all duration-500 py-6 top-0 left-0"> <div class="container mx-auto px-6 md:px-12 flex justify-between items-center"> <!-- Logo --> <a href="<?= $base_url ?>/" class="relative z-50 flex items-center group"> <img src="<?= $base_url ?>/assets/logo/logo_01.png" alt="Yelagiri Logo" class="h-16 w-auto drop-shadow-md transition-transform duration-500 group-hover:scale-105"> </a> <!-- Desktop Menu --> <div class="hidden md:flex items-center space-x-10"> <a href="<?= $base_url ?>/" class="nav-link text-white text-sm font-medium tracking-widest uppercase hover:text-brand-gold transition-all duration-300 relative after:content-[''] after:absolute after:-bottom-2 after:left-0 after:w-0 after:h-[1px] after:bg-brand-gold after:transition-all after:duration-300 hover:after:w-full">Home</a> <a href="<?= $base_url ?>/about" class="nav-link text-white text-sm font-medium tracking-widest uppercase hover:text-brand-gold transition-all duration-300 relative after:content-[''] after:absolute after:-bottom-2 after:left-0 after:w-0 after:h-[1px] after:bg-brand-gold after:transition-all after:duration-300 hover:after:w-full">About</a> <a href="<?= $base_url ?>/luxury-stays-yelagiri" class="nav-link text-white text-sm font-medium tracking-widest uppercase hover:text-brand-gold transition-all duration-300 relative after:content-[''] after:absolute after:-bottom-2 after:left-0 after:w-0 after:h-[1px] after:bg-brand-gold after:transition-all after:duration-300 hover:after:w-full">Stays</a> <a href="<?= $base_url ?>/plots-in-yelagiri" class="nav-link text-white text-sm font-medium tracking-widest uppercase hover:text-brand-gold transition-all duration-300 relative after:content-[''] after:absolute after:-bottom-2 after:left-0 after:w-0 after:h-[1px] after:bg-brand-gold after:transition-all after:duration-300 hover:after:w-full">Plots</a> <a href="<?= $base_url ?>/villas-in-yelagiri" class="nav-link text-white text-sm font-medium tracking-widest uppercase hover:text-brand-gold transition-all duration-300 relative after:content-[''] after:absolute after:-bottom-2 after:left-0 after:w-0 after:h-[1px] after:bg-brand-gold after:transition-all after:duration-300 hover:after:w-full">List Your Property</a> </div> <!-- CTA & Mobile Toggle --> <div class="flex items-center gap-6"> <a href="<?= $base_url ?>/contact" class="hidden md:inline-block px-8 py-3 bg-brand-gold text-brand-dark rounded-full font-bold text-xs uppercase tracking-widest hover:bg-white transition-all duration-300 shadow-[0_0_20px_rgba(212,175,55,0.3)] hover:shadow-[0_0_30px_rgba(255,255,255,0.4)]"> Contact Us </a> <button id="mobile-menu-btn" class="md:hidden text-white text-2xl focus:outline-none z-50 transition-transform duration-300"> <i class="fas fa-bars"></i> </button> </div> </div> </nav> <!-- Mobile Menu Overlay --> <div id="mobile-menu" class="fixed inset-0 bg-brand-dark z-40 transform translate-x-full transition-transform duration-500 ease-[cubic-bezier(0.77,0,0.175,1)] flex flex-col justify-center items-center"> <nav class="flex flex-col space-y-8 text-center"> <a href="<?= $base_url ?>/" class="mobile-link text-3xl font-serif text-white/50 hover:text-brand-gold transition-colors duration-300 translate-y-10 opacity-0">Home</a> <a href="<?= $base_url ?>/about" class="mobile-link text-3xl font-serif text-white/50 hover:text-brand-gold transition-colors duration-300 translate-y-10 opacity-0 delay-75">About Us</a> <a href="<?= $base_url ?>/luxury-stays-yelagiri" class="mobile-link text-3xl font-serif text-white/50 hover:text-brand-gold transition-colors duration-300 translate-y-10 opacity-0 delay-100">Luxury Stays</a> <a href="<?= $base_url ?>/plots-in-yelagiri" class="mobile-link text-3xl font-serif text-white/50 hover:text-brand-gold transition-colors duration-300 translate-y-10 opacity-0 delay-150">Prime Plots</a> <a href="<?= $base_url ?>/villas-in-yelagiri" class="mobile-link text-3xl font-serif text-white/50 hover:text-brand-gold transition-colors duration-300 translate-y-10 opacity-0 delay-200">List Your Property</a> <a href="<?= $base_url ?>/contact" class="mobile-link text-3xl font-serif text-white/50 hover:text-brand-gold transition-colors duration-300 translate-y-10 opacity-0 delay-300">Contact</a> </nav> <div class="absolute bottom-10 left-0 w-full flex justify-center gap-6 text-white/30"> <a href="#" class="hover:text-brand-gold transition"><i class="fab fa-instagram text-xl"></i></a> <a href="https://www.facebook.com/groups/2048047602704125/?ref=share&mibextid=NSMWBT" class="hover:text-brand-gold transition"><i class="fab fa-facebook-f text-xl"></i></a> <a href="https://wa.me/919843698228" class="hover:text-brand-gold transition"><i class="fab fa-whatsapp text-xl"></i></a> </div> </div>
💾 Simpan
Batal
⬅ public_html
2 item
Nama
Tipe
Ukuran
Diubah
Aksi
🐘
footer.php
php
7.7 KB
2026-01-26 06:04
✏️
👁️
🔤
🗑
🐘
header.php
php
12.1 KB
2026-01-26 06:06
✏️
👁️
🔤
🗑
✏️ Rename
Nama Baru
Simpan
Batal