<?php

$language = 'UK';
$currentMonthDay = date('m-d');
$currentDate = date('Y-m-d');

if ($currentMonthDay < '11-18') {
        $cssStyleInfoPath = '../htdocs/css/idinStyleInfo_2025.css';
} else {
        $cssStyleInfoPath = '../htdocs/css/idinStyleInfo-xmas.css';
}

if ($language == "DE") {
	$textHolidayNoticeHeader = 'Wir sind mal kurz auf Urlaub';
	$textHolidayNotice = '<p>Wir gönnen uns einen wohlverdienten Kurzurlaub und sind vom 12. bis 15. Juli nicht oder nur schlecht erreichbar. Bestellungen und Nachrichten werden spätestens am Montag, 18. Juli, von uns bearbeitet.</p><p>Wir bedanken uns für Dein Verständnis.</p>';
	$headerIndexMain = 'Willkommen bei Idin Schmuck';
    $headerIndexSubHeader1 = 'Schmuck, der nicht fehlen darf';
	$headerIndexSubNature = 'Schmuck aus der Schatzkiste der Natur!';
    $headerIndexSubHeader2 = 'Schmuck mit Stil - Bei uns bist Du richtig';

    $headerIndexClipon = 'Ohrclips';
        $indexCliponTile = '<ul><li>Ohrclips für Dich</li><li>Kein Stechen - Keine Schmerzen</li><li>Einfacher zu Tragen als herkömmliche Ohrringe</li></ul>';
	$headerIndexInitialRings = 'Initialenringe';
		$indexInitialRingsTile = '<ul><li>Initialenringe - Super Geschenksidee</li><li>Von Abelard bis Zilla - Wir haben den passenden Ring</li><li>Offenes Design passt sich an den Finger an</li></ul>';
		$linkInitialRings = 'Initialen-Ringe-cat8001.html';
	$headerPreLovedJewellery = 'Liebhaber Schmuck';
		$indexPreLovedJewelleryTile = '<ul><li>Toller Schmuck sucht neues zu Hause</li><li>Garantiert Feiner Schmuck</li><li>Große Ersparnisse für edlen Schmuck</li></ul>';
		$linkPreLovedJewellery = 'Liebhaber-Schmuck-cat9005.html';
	$headerPearlJewellery = 'Perlenschmuck';
		$indexPearlJewelleryTile = '<ul><li>Klassischer Perlenschmuck</li><li>Echte Perlen - Keine Imitate</li><li>Akoya, Tahiti oder Süßwasserkultur - Deine Wahl</li></ul>';
		$indexPearlJewelleryOfferTile = '<ul><li>10% Rabatt auf Perlenschmuck im August</li><li>Classy Pearl Jewellery</li><li>Freshwater, Akoya or Tahitian - Your Choice</li></ul>';
		$linkPearlJewellery = 'Pearl-Jewellery-cat9902.html';
	$headerFashionRings = 'Neu &ndash; Fashion Rings';
		$linkFashionRings = 'Fashion-Rings-cat8000.html';
		$indexRussianRingsTile = '<ul class="pointRightBullets"><li>Allzeit beliebt</li><li>Ein- oder Dreifarbig? - Wir haben es</li><li>Bestelle Deinen Russischen Ring jetzt</li></ul>';
	$headerRussianRings = 'Russische Hochzeitsringe';
		$indexFashionRingsTile = '<ul class="pointRightBullets"><li>Modisch & Modern</li><li>Ringe auserwählt für Dich</li><li>Erkunde unsere Auswahl</li></ul>';
		$indexRussianRingsButton = 'Bestelle Deinen Russischen Ring';
	$headerFashionRingTile = 'Moderinge';
		$textFashionRingTile = '<p>Ringe sind neben Ohrringen wohl die beliebtesten Schmuckstücke. Daher dürfen diese bei uns natürlich nicht fehlen und wir haben eine Sammlung modischer Ringe für Dich zusammengestellt.</p><p>Du findest bei uns traditionelle russische Hochzeitsringe (aber nicht aus Gold :) ) und emaillierte Moderinge für tollen Fingerschmuck.</p><p>Und keine Sorge wegen der Größe: Viele unserer Ringe haben ein offenes Design und lassen sich so an die jeweilige Fingergröße anpassen.</p>';
		$indexFashionRingsButton = 'Finde Deinen Modering';
	$headerIndexMegaSale = 'MEGA SALE';
		$indexMegaSaleTile = '<ul><li>Finde ein Schnäppchen in unserem Mega Sale</li><li>Minimum 30% reduziert</li><li>Riesengroße Auswahl</li></ul>';
		$linkMegaSaleTile = 'MegaSale.html';
    $headerIndexPierced = 'Ohrringe';
        $indexPiercedTile = '<ul><li>Ohrringe für Deinen Stil</li><li>Schick, Modern oder Klassisch - Du findest es bei uns</li><li>Riesenauswahl zu tollen Preisen</li></ul>';
    $headerIndexFulani = 'Heiß begehrt: Fulani Ohrringe';
        $indexFulaniTile = '<ul><li>Ohrringe mit afrikanischem Einfluss</li><li>Voll im Trend</li><li>Kaufe Deine Fulani Ohrringe mit uns</li></ul>';
		$linkFulaniEarrings = 'Fulani-Ohrringe-112252.html';
    $headerIndexNecklace = 'Halsketten';
	$linkIndexNecklace = 'Modische-Halsketten-cat3000.html';
    $headerIndexSets = 'Sets';
	$linkIndexSets = 'Schmuck-Sets-cat4000.html';
    $headerIndexBracelets = 'Armbänder';
	$linkIndexBracelets = 'Modische-Armbaender-cat2000.html';
    $headerIndexJJax = 'J Jaz';
    $headerIndexScottish = 'Schottischer Designerschmuck';
    $headerIndexBrooch = 'Broschen';
	$linkBrooches = 'Modische-Broschen-cat5000.html';
	$textIndexBrooches = '<p>Falls Du noch keine Brosche hast, dann ist es Zeit eine auszuprobieren.</p><p>Broschen mit kräftigen Farben und feinen Details verleihen Deinem Abendkleid einen neuen Reiz.</p><p>Aber siehe für Dich selbst und <a class="linkUnderline" href="' . $linkBrooches . '">Finde Deine Brosche</a>!</p>';
	$headerIndexTagua = 'Schmuck voll an Farbe &ndash; Tagua';
	$linkIndexTagua = 'Produkt-Seite-Tagua.php';
	$headerIndexCoconut = 'Kokosnuss Schmuck';
	$linkIndexCoconut = 'Handgemachte-Kokosnuss-Ohrclips-cat1001.html';
	$headerIndexWood = 'Holzohrringe';
	$linkIndexWood = 'Handgemachte-Holz-Ohrringe-cat1102.html';

	$headerFilm = '<h2 class="indexPageSubHeader">Darf man etwas angeben?</h2>';
	$textFilm = '<p>Unser Schmuck hat sein Debüt in Film! Wie aufregend is das?</p><p>Produziert von <a class="linkUnderline" href="https://www.lookasidefilms.com">Look Aside Films</a> und dirigiert von super-talentiertem Direktor Mickey Angelov, ein paar unserer Schmuckstücke haben in dem Kurzfilm <span class="textItalic">euonia</span> den Weg auf die Leinwand gemacht. Da der Film noch nicht offiziell herausgegeben worden ist, so können wir zur Zeit nicht auf den Film linken.</p>';
	$textFilm2 = '<p>Wir müssen wohl nicht erwähnen, dass wir uns über alle Maße darüber freuen, unseren Schmuck in einem Film zu sehen!</p>';
	$textLadyRings = 'Dame der Ringe';

	$altImageTextBells = 'Weihnachtsglocken';
	$altImageTextSnowman = 'Schneemann';
	$altImageTextFashionRings = 'Modische Ringe';
	$altImageTextRussianRings = 'Russische Ringe';
	$altImageTextTaguaNecklace = 'Ein Modell, das eine Tagua Halskette trägt';
	$altImageTextCoconutEarrings = 'Ein Paar Ohrringe aus Kokosnuss mit kräftigen Farben';
	$altImageTextWoodenEarrings = 'Ein Modell, das ein Paar roter Holzohrringe trägt';
	$altImageTextBrooch = 'Eine glitzernde Brosche mit zwei Libellen';
} else {
    $headerIndexMain = 'It\'s Good-Bye from us...';
	$textHolidayNoticeHeader = 'We are a back soon';
	$textHolidayNotice = '<p>We decided to treat ourselves to a well-deserved short break in sunny Scotland. We will be gone from the 12th to the 15th of July. All orders and messages will be dealt with latest on Monday, 18th of July.</p><p>Thank you for your understanding.</p>';
    $headerIndexSubHeader1 = 'Don\'t miss out on those little gems';
	$headerIndexSubNature = 'Sustainability is at our Heart';
    $headerIndexSubHeader2 = 'Jewellery with Style? Here you go';

    $headerIndexClipon = 'Clip on Earrings';
        $indexCliponTile = '<ul><li>Earrings for You</li><li>No Piercing - No Pain</li><li>Easier to wear than Traditional Earrings</li></ul>';
	$headerIndexInitialRings = 'Initial Rings';
		$indexInitialRingsTile = '<ul><li>Initial Rings - A Great Gift Idea</li><li>From Aaliyah to Zuri - We\'ve got you covered</li><li>Open Design adjusts to your finger size</li></ul>';
		$linkInitialRings = 'Initial-Rings-cat8001.html';
	$headerPreLovedJewellery = 'Pre-Loved Items';
		$indexPreLovedJewelleryTile = '<ul><li>Jewellery Looking for New Home</li><li>Genuine Fine Jewellery Only</li><li>Save Big on Pre-Loved Pieces</li></ul>';
		$linkPreLovedJewellery = 'Pre-Loved-Jewellery-cat9005.html';
	$headerPearlJewellery = 'Pearl Jewellery';
		$indexPearlJewelleryTile = '<ul><li>Classy Pearl Jewellery</li><li>Real Pearls</li><li>Freshwater, Akoya or Tahitian - Your Choice</li></ul>';
		$indexPearlJewelleryOfferTile = '<ul><li>10% off Pearl Jewellery in August</li><li>Classy Pearl Jewellery</li><li>Freshwater, Akoya or Tahitian - Your Choice</li></ul>';
		$linkPearlJewellery = 'Pearl-Jewellery-cat9902.html';
	$headerFashionRings = 'New in &ndash; Fashion Rings';
		$linkFashionRings = 'Fashion-Rings-cat8000.html';
		$indexFashionRingsTile = '<ul class="pointRightBullets"><li>Stylish Rings - Chosen for You</li><li>Perfect Fashion Accessory</li><li>Discover the Range now</li></ul>';
	$headerRussianRings = 'Russian Wedding Rings';
		$indexRussianRingsTile = '<ul class="pointRightBullets"><li>All-time Favourite</li><li>Tri-Colour or Plain - We have it</li><li>Get your Russian Ring now</li></ul>';
		$indexRussianRingsButton = 'Get Your Russian Rings Now';
	$headerFashionRingTile = 'Fashion Rings';
		$textFashionRingTile = '<p>Rings are one of the most desired pieces of jewellery. Therefore, we assembled a great selection of Fashionable Rings for You.</p><p>Have a look and we are sure you find what your heart desires.</p><p>Looking for something more special? Then we have a few exquisite pre-loved rings, that are in need of a new home.</p><p><a class="linkUnderline" href="http://idinjewellery/Pre-Loved-Jewellery-cat9005.html">Click here to see their stunning beauty.</a></p>';
		$indexFashionRingsButton = 'Find Your Fashion Ring Now';
	$headerIndexMegaSale = 'MEGA SALE';
		$indexMegaSaleTile = '<ul class="pointRightBullets"><li>Grab a Bargain at our Mega Sale</li><li>Minimum 30% off</li><li>Huge Choice</li></ul>';
		$linkMegaSaleTile = 'MegaSale.html';
    $headerIndexPierced = 'Pierced Earrings';
        $indexPiercedTile = '<ul class="pointRightBullets"><li>Earrings to fit Your Style</li><li>Classy, Modern or Ethno - You find it here</li><li>Huge Choice - Great Prices</li></ul>';
    $headerIndexFulani = 'Best-seller: Fulani Earrings';
        $indexFulaniTile = '<ul class="pointRightBullets"><li>Earrings with an African touch</li><li>Super Trendy</li><li>Get Your Fulani Earrings Now</li></ul>';
		$linkFulaniEarrings = 'Fulani-Earrings-112252.html';
    $headerIndexNecklace = 'Necklaces';
	$linkIndexNecklace = 'Fashionable-Necklaces-cat3000.html';
    $headerIndexSets = 'Sets';
	$linkIndexSets = 'Jewellery-Sets-cat4000.html';
    $headerIndexBracelets = 'Bracelets';
	$linkIndexBracelets = 'Fashion-Bracelets-For-Ladies-cat2000.html';
    $headerIndexJJax = 'J Jaz';
    $headerIndexScottish = 'Scottish Designer';
    $headerIndexBrooch = 'Brooches';
	$linkBrooches = 'Gorgeous-Brooches-cat5000.html';
	$textIndexBrooches = '<p>If you haven\'t tried a Brooch yet, then it is time to add this accessory to your evening gardrobe.</p><p>Brooches in vibrant colours with intricate details enrich your evening dress.</p><p>Enough of the babble: Check out our <a class="linkUnderline" href="' . $linkBrooches . '">Brooches</a> now!</p>';
	$headerIndexTagua = 'Jewellery full of Colour &ndash; Tagua';
	$linkIndexTagua = 'Product-Page-Tagua.php';
	$headerIndexCoconut = 'Coconut Jewellery';
	$linkIndexCoconut = 'Coconut-Shell-Clipon-Earrings-cat1001.html';
	$headerIndexWood = 'Wooden Earrings';
	$linkIndexWood = 'Handmade-Wooden-Earrings-cat1102.html';

	$headerFilm = '<h2 class="indexPageSubHeader">Is a bit of bragging allowed?</h2>';
	$textFilm = '<p>Our Jewellery is starring in a short film! How exciting is that!</p><p>Made by <a class="linkUnderline" href="https://www.lookasidefilms.com">Look Aside Films</a> and directed by aspiring and super-talented Mickey Angelov, some of our pieces are featured in <span class="textItalic">euonia</span>. As the short film has not been publicly released, we can not link to it just yet.</p>';
	$textFilm2 = '<p>Needless to say, we are extremely excited to see our jewellery used on screen!</p>';
	$textLadyRings = 'Lady of the Rings';

	$textChristmasPresents = 'Christmas Jewellery';
	$linkChristmasJewellery = 'Christmas-Themed-Jewellery-cat9002.html';
	$headerChristmasJewellery = 'Christmas Jewellery';
	$indexChristmasJewellery = '<p>Add some colour and fun to the festive season with some lovely pieces of jewellery, fitting to the wintery Christmas time.</p>';
	$indexChristmasJewelleryButton = 'Christmas Themed Jewellery';

	$headerChristmasJewellery2 = 'Christmas!';
	$textChristmasJewelleryLong = '<p>Why not celebrate the Christmas season with style with a piece or two of our carefully curated selection of Christmas related jewellery?</p><p>Whether a colourful Santa brooch or some reindeer clip on earrings for the little ones. You are at the right place.</p><p>We even curated a list of fine and delicate pieces of jewellery for you, in case you want to surprise your girlfriend, fiancée or wife. Why not put a big smile on her face this Christmas when she sees a stunning piece of jewellery?</p>';

	$headerXmasGifts = 'Christmas Gift Ideas';
	$linkXmasGifts = 'Christmas-Gift-Ideas-cat9003.html';
	$indexXmasGifts = '<p>In need for some clever gift ideas for Christmas? How about a fine piece of jewellery? You can\'t possibly go with this. Girls and Ladies love an aesthetically pleasing piece of exquisite jewellery.</p><p>Get yours now and know that you are in good hands with Idin Jewellery</p>';
	$indexXmasGiftsButton = 'Find Your Christmas Gift';

	$altImageTextBells = 'Christmas Bells';
	$altImageTextSnowman = 'Snowman';
	$altImageTextFashionRings = 'Fashion Rings';
	$altImageTextRussianRings = 'Russian Rolling Rings';
	$altImageTextTaguaNecklace = 'Model wearing a Tagua Necklace';
	$altImageTextCoconutEarrings = 'A Pair of coconut earrings in vibrant colours';
	$altImageTextWoodenEarrings = 'Model wearing a pair of red wooden earrings';
	$altImageTextBrooch = 'A sparkly brooch depicting two dragonflies';

	$textGoodbye1 = '<div class="textCenter"><p>After more than 15 years in business, the time has come to shut shop and move on to new pastures.</p><p>We thank all of our customers for doing business with us over those past years.</p><p>As the current economic climate didn\'t spare us too, we decided with a heavy heart to leave Scotland behind us and move back to continental Europe. That said, we might be back (online at least), but let\'s see what the future brings :)</p><p>Thus, we stopped taking new orders with immediate effect. All outstanding orders will still be fulfilled and in case of any problems, you can still get in touch with us on sales@idin-jewellery.co.uk.</p><p><b>Thanks again and we wish you all the best :)</b></p></div>';
}

?>


<!DOCTYPE html>
<?php
if ($currentMonthDay >= '12-01' && $currentMonthDay <= '12-26') {
	echo '<html id="snowBackground" lang=" ' .$SEOlanguage . '">';
} else {
	echo '<html lang="' . $SEOlanguage . '">';
}
?>
<head>
<meta http-equiv="content-type" content="text/html;">
<title>Idin Jewellery</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="Idin Jewellery Fashion Costume Jewellery product detail page">
<meta name="author" content="Idin Jewellery">
<?php
echo '<link rel="shortcut icon" href="http://idin-jewellery.co.uk/images/favicon.ico" />';
//require_once './css/idinStyleInfo.css';
require_once $cssStyleInfoPath;
require_once './css/idin_flex_ver1.css';
?>
<style>
#bannerContainer {aspect-ratio:1/0.3943; display:flex;}
#euoniaContainer {aspect-ratio:1/0.3425; display:flex;}
</style>
<link rel="preload" fetchpriority="high" as="image" href="/images/banner_2024.webp" type="image/webp">
<link rel="preload" fetchpriority="high" as="image" href="/images/banner_2024-mid.webp" type="image/webp">
</head>
<body>
<?php require_once 'menuNavigation.php';?>
<div class="mainPageContainer">
	<?php
	if ($currentDate >= "2022-07-12" && $currentDate <= "2022-07-15") {
		echo '<div id="infoContainer">';
			echo '<h2>' . $textHolidayNoticeHeader . '</h2>';
			echo $textHolidayNotice;
		echo '</div>';
	}
	?>
	<?php echo '<h1 class="textCenter">' . $headerIndexMain . '</h1>';
	echo $textGoodbye1;
	?>
    <div class="fullWidthMainContainer smallScreenHide">
        <!--<img src="/images/index-banner-01C.jpg" />-->
		<?php
		?>
		<div id="videoContainer">
			<video id="indexHeaderVideo" autoplay loop muted playsinline>
				<?php
				if ($currentMonthDay >= "11-16") {		// show christmas video if it's the time of year again
				?>
					<!--
					<source src="/videos/xmas_banner_idin4.webm" type="video/webm">
					<source src="/videos/xmas_banner_idin4.mp4" type="video/mp4">
				<source src="/videos/xmas_banner_idinB1.webm" type="video/webm">
				<source src="/videos/xmas_banner_idinB1.mp4" type="video/mp4">
			-->

			<?php
				} else {
			?>
			<!--
				<source src="/videos/website_banner_03b.webm" type="video/webm">
				//<source src="/videos/website_banner_03b.mp4" type="video/mp4">
				<source src="/videos/website_banner_a_03b.mp4" type="video/mp4">
				-->
						<?php
					}
					?>

				Your browser does not support the video tag.
			</video>
		</div>
		<div class="gradientBackgroundRight"></div>
    </div>

	<div class="gap50"></div>

</div>

<div class="gap100"></div>

<?php
	// require_once './footer.php';
?>


<script src="/js/jquery.min.js"></script>
<script src="<?php echo $commonJSVersionPath;?>"></script>



</script>

<?php
require_once 'footerScripts.php';
?>

<?php
unset($_SESSION[$website . 'webpSupport']);
if (!isset($_SESSION[$website . 'webpSupport'])) {		// check for webp support
	echo '<script>var webpSupported = 0;</script>';
	echo '<script src="/js/lazyLoading.js"></script>';
	echo '<script src="/js/checkWebpSupport.js"></script>';
	// echo 'check for support<br />';
} else {
	if ($_SESSION[$website . 'webpSupport']) {		// webp images supported
		echo '<script>var webpSupported = 1;</script>';
	} else {
		echo '<script>var webpSupported = 0;</script>';
	}
	echo '<script src="/js/lazyLoading.js"></script>';
	echo '<script>$(document).ready(function() {lazyLoad();});</script>';
	// echo 'support already determined: ' . $_SESSION[$website . 'webpSupport'];
}
?>


<script>
var hasTouchScreen = false;

if ("maxTouchPoints" in navigator) {
	hasTouchScreen = navigator.maxTouchPoints > 0;
} else if ("msMaxTouchPoints" in navigator) {
	hasTouchScreen = navigator.msMaxTouchPoints > 0;
} else {
	var mQ = window.matchMedia && matchMedia("(pointer:coarse)");
	if (mQ && mQ.media === "(pointer:coarse)") {
		hasTouchScreen = !!mQ.matches;
	} else if ('orientation' in window) {
		hasTouchScreen = true; // deprecated, but good fallback
	} else {
		// Only as a last resort, fall back to user agent sniffing
		var UA = navigator.userAgent;
		hasTouchScreen = (
		/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(UA) ||
		/\b(Android|Windows Phone|iPad|iPod)\b/i.test(UA)
		);
	}
}

if (hasTouchScreen) {
	if (!$('#videoContainer').hasClass('hiddenElement')) $('#videoContainer').addClass('hiddenElement');
} else {
	<?php
	if ($currentMonthDay >= "11-18") {		// show christmas video if it's the time of year again
		echo 'var source_mp4 = "/videos/xmas_banner_idinB1.mp4";';
		echo 'var source_webm = "/videos/xmas_banner_idinB1.webm";';
	} else {
		echo 'var source_mp4 = "/videos/website_banner_a_03b.mp4";';
		echo 'var source_webm = "/videos/website_banner_03b.webm";';
	}
	?>
	if ($('#indexHeaderVideo').length) {
		var vid = document.getElementById('indexHeaderVideo');

		if (vid.canPlayType('video/webm') != '') {
			vid.src = source_webm;
		} else if (vid.canPlayType('video/mp4') != '') {
			vid.src = source_mp4;
		}

	   vid.load();
   }
}

</script>

<?php
/*
<!-- google badge -->
<script src="https://apis.google.com/js/platform.js?onload=renderBadge" async defer></script>
<script>
  window.renderBadge = function() {
    var ratingBadgeContainer = document.createElement("div");
    document.body.appendChild(ratingBadgeContainer);
    window.gapi.load('ratingbadge', function() {
      window.gapi.ratingbadge.render(ratingBadgeContainer, {"merchant_id": 7976867});
    });
  }
</script>
*/
?>
</body>
</html>
