File Manager
Editing: index.php
<?php require_once 'header.php'; ?> <!-- Hero Section --> <section class="hero"> <div class="container"> <h1>Welcome to <?php echo SITE_NAME; ?></h1> <p>We are professional providers of business simcards and payment account numbers in Tanzania.</p> <div class="cta-buttons"> <a href="products.php" class="btn">View Products</a> <a href="services.php" class="btn btn-secondary">Our Services</a> </div> </div> </section> <!-- Highlights Section --> <section class="section"> <div class="container"> <div class="section-title"> <h2>Why Choose Us</h2> <p>Discover what makes us the preferred choice for businesses worldwide</p> </div> <div class="highlights-grid"> <div class="highlight-card"> <div class="highlight-icon"> <i class="fas fa-star"></i> </div> <h3>Quality Assurance</h3> <p>All our products undergo rigorous quality checks to ensure excellence.</p> </div> <!-- <div class="highlight-card"> <div class="highlight-icon"> <i class="fas fa-shipping-fast"></i> </div> <h3>Fast Delivery</h3> <p>Quick and reliable shipping to get your products to you faster.</p> </div> --> <div class="highlight-card"> <div class="highlight-icon"> <i class="fas fa-headset"></i> </div> <h3>Support</h3> <p>For better services and security matters you are advised to reach our office.</p> </div> </div> </div> </section> <!-- Featured Products --> <section class="section bg-light"> <div class="container"> <div class="section-title"> <h2>Top Products</h2> <p>Check out some of our most popular products</p> </div> <?php if (!empty($products)): ?> <div class="products-grid"> <?php foreach ($products as $product): ?> <div class="product-card"> <div style="height: 150px; overflow: hidden; margin-bottom: 1rem;" class="product-image"> <?php if (!empty($product['image1'])): ?> <div> <img src="<?php echo htmlspecialchars($product['image1']); ?>" alt="<?php echo htmlspecialchars($product['title'] ?? 'Product'); ?>" style="width: 100%; height: 100%; object-fit: cover;"> </div> <?php else: ?> <div style="height: 150px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;"> <i class="fas fa-image fa-2x" style="color: #ccc;"></i> </div> <?php endif; ?> </div> <div class="product-info"> <h3><?php echo htmlspecialchars($product['name'] ?? 'Product Title'); ?></h3> <!-- <p><?php echo htmlspecialchars($product['description'] ?? 'Product description goes here...'); ?></p> --> <div class="price">Tsh: <?php echo number_format($product['price'] ?? 99.99, 2); ?></div> <a href="https://eizononline.com/product?card_id=<?php echo htmlspecialchars($product['card_id']); ?>" class="btn">View Details</a> </div> </div> <?php endforeach; ?> </div> <?php else: ?> <div class="no-products"> <p>No products available at the moment.</p> </div> <?php endif; ?> <div class="text-center"> <a href="products.php" class="btn">View All Products</a> </div> </div> </section> <!-- About Preview --> <section class="section"> <div class="container"> <div class="about-content"> <div class="about-text"> <h2>About Our Business</h2> <p>We are a dedicated team of professionals committed to providing top-quality products and services to our valued customers. With years of experience in the industry, we've built a reputation for excellence and reliability.</p> <p>Our mission is to deliver solutions that help businesses grow and succeed in today's competitive market. We believe in building lasting relationships with our clients through exceptional service and support.</p> <a href="about.php" class="btn">Learn More About Us</a> </div> <div class="about-image"> <!-- <i class="fas fa-building fa-5x"></i> --> </div> </div> </div> </section> <!-- CTA Section --> <section class="section bg-accent"> <div class="container"> <div class="cta-content"> <h2>Ready to Get Started?</h2> <p>Visit our Eizon page for more products and services tailored to your needs.</p> <a href="https://eizononline.com/profile.php?user=<?php echo htmlspecialchars($username); ?>" class="btn btn-secondary">Visit Eizon Page</a> </div> </div> </section> <?php require_once 'footer.php'; ?>
💾 Save
⬅ Back