35503-vm/index.php
2025-11-06 03:02:44 +00:00

79 lines
5.2 KiB
PHP

<?php
?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PDF Swiss Army - Your Online PDF Toolkit</title>
<meta name="description" content="A complete suite of online PDF tools to merge, split, compress, and convert your PDF files. Built with Flatlogic Generator.">
<meta name="keywords" content="pdf tools, online pdf, merge pdf, split pdf, compress pdf, convert pdf, pdf editor, pdf utility, flatlogic, php pdf">
<meta property="og:title" content="PDF Swiss Army - Your Online PDF Toolkit">
<meta property="og:description" content="A complete suite of online PDF tools. Built with Flatlogic Generator.">
<meta property="og:image" content="">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<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=Montserrat:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-white shadow-sm">
<div class="container">
<a class="navbar-brand fw-bold brand-red" href="#">
<i class="bi bi-box-seam-fill"></i>
PDF Swiss Army
</a>
</div>
</nav>
<header class="py-5 text-center">
<div class="container">
<h1 class="display-3 fw-bold">The PDF Toolkit You Need</h1>
<p class="lead text-muted col-lg-8 mx-auto">A complete suite of online tools to handle your PDF files with ease. Secure, fast, and free.</p>
</div>
</header>
<main class="container">
<div class="row g-4">
<?php
$tools = [
['name' => 'Merge PDF', 'desc' => 'Combine multiple PDFs into one single document.', 'icon' => 'bi-files', 'url' => 'merge.php', 'status' => 'active'],
['name' => 'Split PDF', 'desc' => 'Extract pages from a PDF file or save each page as a separate PDF.', 'icon' => 'bi-scissors', 'url' => 'split.php', 'status' => 'active'],
['name' => 'Compress PDF', 'desc' => 'Reduce the file size of your PDF while optimizing for quality.', 'icon' => 'bi-file-earmark-zip-fill', 'url' => 'compress.php', 'status' => 'active'],
['name' => 'PDF to Word', 'desc' => 'Convert your PDF files to editable DOCX documents.', 'icon' => 'bi-file-earmark-word-fill', 'url' => '#', 'status' => 'inactive'],
['name' => 'PDF to PowerPoint', 'desc' => 'Convert PDFs to editable PPTX slideshows.', 'icon' => 'bi-file-earmark-ppt-fill', 'url' => '#', 'status' => 'inactive'],
['name' => 'PDF to Excel', 'desc' => 'Pull data straight from PDFs into XLSX spreadsheets.', 'icon' => 'bi-file-earmark-excel-fill', 'url' => '#', 'status' => 'inactive'],
['name' => 'Word to PDF', 'desc' => 'Convert DOCX documents to PDF with ease.', 'icon' => 'bi-file-earmark-word-fill', 'url' => '#', 'status' => 'inactive'],
['name' => 'PowerPoint to PDF', 'desc' => 'Convert PPTX slideshows to PDF format.', 'icon' => 'bi-file-earmark-ppt-fill', 'url' => '#', 'status' => 'inactive'],
['name' => 'Excel to PDF', 'desc' => 'Convert XLSX spreadsheets to PDF format.', 'icon' => 'bi-file-earmark-excel-fill', 'url' => '#', 'status' => 'inactive'],
['name' => 'Edit PDF', 'desc' => 'Add text, images, shapes or freehand annotations to a PDF.', 'icon' => 'bi-pencil-fill', 'url' => '#', 'status' => 'inactive'],
['name' => 'PDF to JPG', 'desc' => 'Extract all images from a PDF or convert pages to JPG.', 'icon' => 'bi-file-earmark-image-fill', 'url' => '#', 'status' => 'inactive'],
['name' => 'JPG to PDF', 'desc' => 'Convert JPG images to PDF in seconds.', 'icon' => 'bi-file-earmark-image-fill', 'url' => '#', 'status' => 'inactive'],
];
?>
<?php foreach ($tools as $tool): ?>
<div class="col-lg-4 col-md-6">
<a href="<?php echo $tool['status'] === 'active' ? $tool['url'] : '#'; ?>" class="card h-100 tool-card <?php echo $tool['status'] === 'inactive' ? 'opacity-50 pe-none' : ''; ?>">
<div class="card-body text-center p-4">
<i class="bi <?php echo $tool['icon']; ?> tool-icon"></i>
<h3><?php echo $tool['name']; ?></h3>
<p class="mb-0"><?php echo $tool['desc']; ?></p>
</div>
</a>
</div>
<?php endforeach; ?>
</div>
</main>
<footer class="text-center py-4 mt-5">
<p class="text-muted">&copy; <?php echo date("Y"); ?> PDF Swiss Army. Built with Flatlogic.</p>
</footer>
</body>
</html>