BLACKSITE
:
216.73.216.140
:
199.188.200.160 / jeddahhousingltd.com
:
Linux server383.web-hosting.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
:
/
home
/
jeddveug
/
www
/
Upload File:
files >> /home/jeddveug/www/achievements.php
<?php $page_title = 'Achievements & Transparency | Jeddah Housing Ltd.'; $meta_description = 'Explore the milestones, achievements, and verified legal documents of Jeddah Housing Ltd.'; require_once 'includes/header.php'; // Prepare achievement images (reads dynamically from the uploads/achievements directory) $achievement_dir = 'uploads/achievements/'; $achievement_images = []; if (is_dir($achievement_dir)) { $files = glob($achievement_dir . '*.{jpg,jpeg,png,gif,webp}', GLOB_BRACE); if ($files) { $achievement_images = $files; } } ?> <!-- Page Header --> <div class="hero-gradient pt-24 pb-16 relative overflow-hidden"> <div class="absolute inset-0 opacity-10"> <div class="absolute top-10 right-20 w-72 h-72 bg-gold-400 rounded-full filter blur-3xl animate-pulse"></div> <div class="absolute bottom-10 left-20 w-96 h-96 bg-primary-300 rounded-full filter blur-3xl animate-pulse" style="animation-delay: 1s;"></div> </div> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center relative z-10"> <p class="text-gold-400 font-semibold text-sm tracking-widest uppercase mb-3 animate-on-scroll">Milestones & History</p> <h1 class="text-3xl md:text-5xl font-bold text-white mb-4 animate-on-scroll" data-delay="0.1s">Our Achievements</h1> <p class="text-primary-200 max-w-2xl mx-auto text-lg animate-on-scroll" data-delay="0.2s">A strong legacy built upon legally secure developments and client trust.</p> </div> </div> <!-- Legal Documents --> <section class="py-20 bg-gray-50"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="text-center mb-14 animate-on-scroll"> <p class="text-gold-400 font-semibold text-sm tracking-widest uppercase mb-3">Transparency</p> <h2 class="text-3xl md:text-4xl font-bold text-gray-800">Legal Documents</h2> </div> <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6"> <?php $documents = [ ['name' => 'Incorporation Certificate', 'file' => 'uploads/documents/incorporation.webp'], ['name' => 'Trade Licence', 'file' => 'uploads/documents/trade licence.webp'], ['name' => 'TIN Certificate', 'file' => 'uploads/documents/tin.webp'], ['name' => 'BIN Certificate', 'file' => 'uploads/documents/bin.webp'], ['name' => 'Trademark Certificate', 'file' => 'uploads/Trad Mark.pdf'], ['name' => 'Legal Document', 'file' => 'uploads/legal document2.pdf'], ]; foreach ($documents as $i => $doc): $fileUrl = baseUrl($doc['file']); $isPdf = strtolower(pathinfo($doc['file'], PATHINFO_EXTENSION)) === 'pdf'; ?> <div class="bg-white rounded-2xl overflow-hidden card-hover shadow-sm animate-on-scroll" data-delay="<?= $i * 0.1 ?>s"> <div class="relative group h-56 bg-gray-50 border-b border-gray-100 overflow-hidden"> <?php if ($isPdf): ?> <!-- PDF Preview using iframe --> <iframe src="<?= $fileUrl ?>#toolbar=0&navpanes=0&scrollbar=0" class="w-full h-full border-none pointer-events-none opacity-80 group-hover:opacity-100 transition-opacity"></iframe> <!-- Overlay to make the whole card area clickable for PDF --> <a href="<?= $fileUrl ?>" target="_blank" class="absolute inset-0 flex items-center justify-center bg-transparent group-hover:bg-primary-900/5 transition-colors z-10"> <span class="opacity-0 group-hover:opacity-100 bg-white/90 text-primary-900 px-4 py-2 rounded-full text-xs font-bold shadow-sm transition-all transform translate-y-2 group-hover:translate-y-0"> <i class="fas fa-expand-arrows-alt mr-2"></i> View Full PDF </span> </a> <?php else: ?> <!-- Standard Image Preview --> <a href="<?= $fileUrl ?>" target="_blank" class="block w-full h-full p-6 flex justify-center"> <img src="<?= $fileUrl ?>" alt="<?= htmlspecialchars($doc['name']) ?>" class="w-full h-full object-contain hover:scale-105 transition-transform duration-500 mix-blend-multiply" onerror="this.onerror=null; this.src='data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 100 100\'><rect fill=\'%23f1f5f9\' width=\'100\' height=\'100\'/><text fill=\'%2394a3b8\' x=\'50\' y=\'50\' font-family=\'sans-serif\' font-size=\'10\' text-anchor=\'middle\' dominant-baseline=\'middle\'>📄 Document</text></svg>'"> </a> <?php endif; ?> </div> <div class="p-5 text-center"> <h4 class="font-bold text-gray-800"><?= htmlspecialchars($doc['name']) ?></h4> <div class="mt-3"> <span class="inline-flex items-center text-xs text-primary-700 bg-primary-50 px-3 py-1 rounded-full font-medium"> <i class="fas fa-check-circle mr-1"></i> Verified <?= $isPdf ? 'PDF' : 'Document' ?> </span> </div> </div> </div> <?php endforeach; ?> </div> </div> </section> <!-- Call to action --> <section class="py-16 bg-white"> <div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center animate-on-scroll"> <h3 class="text-2xl md:text-3xl font-bold text-gray-800 mb-6">Built on Trust and Proven Success</h3> <p class="text-gray-500 mb-8">Our rigorous legal compliance and consistent project delivery make us the top choice for your land investments.</p> <div class="flex flex-wrap justify-center gap-4"> <a href="<?= baseUrl('/') ?>#offers" class="inline-flex items-center bg-gold-400 hover:bg-gold-500 text-primary-900 px-8 py-3.5 rounded-full font-semibold transition-all hover:shadow-lg hover:shadow-gold-400/25 text-sm"> Explore Investments <i class="fas fa-arrow-right ml-2"></i> </a> </div> </div> </section> <?php require_once 'includes/footer.php'; ?>