148 lines
6.2 KiB
PHP
148 lines
6.2 KiB
PHP
<?php
|
|
// Prevent direct access to file
|
|
defined(security_key) or exit;
|
|
|
|
//LINK to products page:
|
|
$products_link = url(link_to_collection);
|
|
|
|
|
|
template_header_top($home_text);
|
|
|
|
$view = '
|
|
<div class="featured" style="background-image:url('.featured_image.');background-position: center center;">
|
|
'.template_menu().'
|
|
<h2>'.$h2_brand_name_1.'</h2>
|
|
|
|
<p>'.$h2_brand_name_2.'</p>
|
|
<a class="link-button action-btn" role="button" href="'.$products_link.'" title="'.$h2_brand_visit.'">'.$h2_brand_visit.'</a>
|
|
|
|
</div>
|
|
<div class="container highlight-section">
|
|
<h2 class="title-message" href="'.$products_link.'">
|
|
'.$h2_brand_wow.'
|
|
</h2>
|
|
<p class="paragraph neutral-paragraph-text" style="font-size: 30px;">
|
|
</p>
|
|
</div>';
|
|
|
|
//SHOW OFFER
|
|
if(show_offer_home_page){
|
|
$view .='
|
|
<div class="" style="text-align: center;">
|
|
<p class="p.paragraph.neutral-paragraph-text-1" style="font-family:\'gerb\';font-size: 15px;">'.show_offer_home_text.'</p>
|
|
</div>';
|
|
}
|
|
$view .='
|
|
<section class="news-section">
|
|
<div class="news-container">
|
|
<div class="news-header">
|
|
<h2>Latest News</h2>
|
|
<p>Stay updated with the latest from Morval Watches</p>
|
|
</div>
|
|
|
|
<div class="news-grid">
|
|
<article class="news-card">
|
|
<div class="news-card-content">
|
|
<div class="news-meta">
|
|
<span class="news-date">February 10, 2025</span>
|
|
<span class="news-tag">New Release</span>
|
|
</div>
|
|
<h3 class="news-title">New Thomas II Collection Released</h3>
|
|
<p class="news-preview">Discover our latest Thomas II collection featuring premium Swiss movements and unique colorways.</p>
|
|
<a href="#" class="read-more">Read More</a>
|
|
</div>
|
|
</article>
|
|
|
|
<article class="news-card">
|
|
<div class="news-card-content">
|
|
<div class="news-meta">
|
|
<span class="news-date">February 5, 2025</span>
|
|
<span class="news-tag">Limited Edition</span>
|
|
</div>
|
|
<h3 class="news-title">Limited Edition Navy Blue Now Available</h3>
|
|
<p class="news-preview">Experience the depth of our signature Navy Blue finish, now available in a special limited edition run.</p>
|
|
<a href="#" class="read-more">Read More</a>
|
|
</div>
|
|
</article>
|
|
|
|
<article class="news-card">
|
|
<div class="news-card-content">
|
|
<div class="news-meta">
|
|
<span class="news-date">January 28, 2025</span>
|
|
<span class="news-tag">Press</span>
|
|
</div>
|
|
<h3 class="news-title">Morval Featured in Watch Magazine</h3>
|
|
<p class="news-preview">Our commitment to Dutch craftsmanship and Swiss quality gains international recognition.</p>
|
|
<a href="#" class="read-more">Read More</a>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
<div class="view-all-container">
|
|
<a href="#" class="view-all-btn">View All News</a>
|
|
</div>
|
|
</div>
|
|
</section>';
|
|
|
|
//SHOW HIGHLIGHTS
|
|
if (category_id_highlighted_products_1){
|
|
$view .='
|
|
<section class="container neutral-cover-section-1" style="background-image:url(custom/assets/morval_checkout.jpg);background-size: cover;background-repeat: no-repeat;background-position: 50% 50%;">
|
|
<div class="recentlyadded">';
|
|
$view .= highlightedProducts($clientsecret,category_id_highlighted_products_1,($highlight_1 ?? 'highlight 1'));
|
|
|
|
$view .='
|
|
</div>
|
|
</section>';
|
|
}
|
|
|
|
if (category_id_highlighted_products_2){
|
|
$view .='
|
|
<section class="container neutral-cover-section-1">
|
|
<div class="recentlyadded"> ';
|
|
|
|
$view .= highlightedProducts($clientsecret,category_id_highlighted_products_2, ($highlight_2 ?? 'highlight 2'));
|
|
|
|
$view .='
|
|
</div>
|
|
</section>';
|
|
}
|
|
$view .='
|
|
<section class="container neutral-features-section-4-1" style="background-image:url(custom/assets/picture2.jpg);background-size: cover;background-repeat: no-repeat;background-position: 50% 50%;">
|
|
<div class="container neutral-three-columns-1">
|
|
<div class="container neutral-feature-wrapper-1 neutral-left-align-items-1">
|
|
<div class="container container-feature-icon-wrapper-1"><span class="icon"></span>
|
|
<h4 class="neutral-feature-title-1 neutral-margin-left-1">'.($home_timeless ?? 'Timeless').'</h4>
|
|
</div>
|
|
<p class="paragraph neutral-paragraph-text-1">
|
|
'.($home_timeless_text ?? 'Morval Watches are unique, robust, stylish and timeless timepieces that will last for generations!').'
|
|
</p>
|
|
<a class="link-text neutral-text-link-1" href="'.$products_link.'">'.($shop_action ?? 'shop now').'></a>
|
|
</div>
|
|
<div class="container neutral-feature-wrapper-1 neutral-left-align-items-1">
|
|
<div class="container container-feature-icon-wrapper-1"><span class="icon"></span>
|
|
<h4 class="neutral-feature-title-1 neutral-margin-left-1">'.($home_quality ?? 'Quality').'</h4>
|
|
</div>
|
|
<p class="paragraph neutral-paragraph-text-1">
|
|
'.($home_quality_text ?? ' Morval watches meet the highest quality requirements and can compete with the well-known Swiss brands. The parts are supplied by renowned manufacturers from Europe and beyond. A Morval contains a Swiss-made caliber (STP) that is known for its reliable quality.').'
|
|
</p>
|
|
<a class="link-text neutral-text-link-1" href="'.$products_link.'">'.($shop_action ?? 'shop now').' ></a>
|
|
</div>
|
|
<div class="container neutral-feature-wrapper-1 neutral-left-align-items-1">
|
|
<div class="container container-feature-icon-wrapper-1"><span class="icon"></span>
|
|
<h4 class="neutral-feature-title-1 neutral-margin-left-1">'.($home_price ?? 'Price').'</h4>
|
|
</div>
|
|
<p class="paragraph neutral-paragraph-text-1">
|
|
'.($home_price_text ?? 'Morval stands for an excellent price-quality ratio').'
|
|
</p>
|
|
<a class="link-text neutral-text-link-1" href="'.$products_link.'">'.($shop_action ?? 'shop now').'></a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>';
|
|
|
|
//OUTPUT
|
|
echo $view;
|
|
|
|
template_footer()
|
|
?>
|