File manager - Edit - /home/webapp69.cm.in.th/u69319090048/shop69319090048/index.php
Back
<?php // PHP 7.4 compatible Index Page require_once 'header.php'; ?> <!-- Hero Landing Section --> <section class="hero-section"> <video autoplay muted loop playsinline class="hero-video" poster="assets/video/poster.png"> <source src="assets/video/hero.mp4" type="video/mp4"> </video> <div class="hero-overlay"></div> <div class="container hero-content"> <span class="tier-label">T-Shirt Series</span> <h1>Designed for detail.</h1> <p>A collection of three distinct material weights and finishes, engineered to elevate the daily wardrobe.</p> </div> </section> <!-- Product Showcases by Tier --> <div class="container showcase-tiers"> <?php foreach ($products as $id => $product): ?> <section class="tier-section" id="tier-<?php echo htmlspecialchars($id); ?>"> <div class="tier-info"> <span class="tier-label"><?php echo htmlspecialchars($product['tier']); ?> Tier</span> <h2 class="tier-title"> <?php echo htmlspecialchars($product['name']); ?><br> <span style="font-family: 'Prompt'; font-weight: 400; font-size: 0.75em; color: var(--text-secondary);"> <?php echo htmlspecialchars($product['thai_name']); ?> </span> </h2> <p class="tier-tagline"> <?php echo htmlspecialchars($product['tagline']); ?><br> <span style="font-family: 'Prompt'; font-size: 0.85em; color: var(--text-secondary);"> <?php echo htmlspecialchars($product['thai_tagline']); ?> </span> </p> <!-- Spec Highlights --> <ul class="specs-list" style="margin: 12px 0;"> <?php for($i = 0; $i < count($product['specs']); $i++): ?> <li> <span><?php echo htmlspecialchars($product['specs'][$i]); ?></span> <div style="font-family: 'Prompt'; font-size: 11px; color: var(--text-secondary);"> <?php echo htmlspecialchars($product['thai_specs'][$i]); ?> </div> </li> <?php endfor; ?> </ul> <div class="tier-price"> From $<?php echo number_format($product['price'], 2); ?> </div> <div class="tier-actions"> <a href="product.php?id=<?php echo htmlspecialchars($id); ?>" class="btn btn-primary">Configure</a> </div> </div> <div class="tier-image-container"> <a href="product.php?id=<?php echo htmlspecialchars($id); ?>"> <img src="<?php echo htmlspecialchars($product['image_url']); ?>" alt="<?php echo htmlspecialchars($product['name']); ?>"> </a> </div> </section> <?php endforeach; ?> </div> <?php require_once 'footer.php'; ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.24 |
proxy
|
phpinfo
|
Settings