2020-10-30 23:14:38 +01:00
|
|
|
<?php
|
|
|
|
$show_sep=true;
|
|
|
|
include('header.tpl');
|
|
|
|
?>
|
2020-10-30 22:27:38 +01:00
|
|
|
<div id="content_padding">
|
2020-11-01 21:17:58 +01:00
|
|
|
<?php
|
2020-11-01 23:44:44 +01:00
|
|
|
$collectionjs = file_get_contents("projects_data/collection_data.json");
|
|
|
|
$collection = json_decode($collectionjs, true);
|
2020-11-01 21:17:58 +01:00
|
|
|
?>
|
2020-10-29 01:25:22 +01:00
|
|
|
<div class="collection_container">
|
|
|
|
<?php
|
|
|
|
$index = 0;
|
2020-11-01 23:44:44 +01:00
|
|
|
foreach($collection as $c) {
|
|
|
|
$html = '
|
2020-10-29 01:25:22 +01:00
|
|
|
<div class="collection">
|
2020-10-30 01:12:05 +01:00
|
|
|
<div class="flexbox-col-img">
|
|
|
|
<div class="col-img-container">
|
|
|
|
<img class="col-image" src="projects_data/img/' . $c['preview_image_url'] . '" alt="example image for ' . $c['name'] .'">
|
2020-10-30 22:27:38 +01:00
|
|
|
<a class="col-img-desc" href="#">
|
|
|
|
</a>
|
2020-10-07 20:52:33 +02:00
|
|
|
</div>
|
2020-10-30 01:12:05 +01:00
|
|
|
<div class="col-desc">
|
|
|
|
' . $c['collection_description'] . '
|
|
|
|
</div>
|
2020-10-07 20:52:33 +02:00
|
|
|
</div>
|
2020-10-30 20:49:47 +01:00
|
|
|
<h1>' . $c["name"] . '</h1>
|
2020-10-07 20:52:33 +02:00
|
|
|
</div>
|
2020-10-29 01:25:22 +01:00
|
|
|
';
|
2020-11-01 21:17:58 +01:00
|
|
|
}
|
2020-10-29 01:25:22 +01:00
|
|
|
print($html);
|
|
|
|
$index += 1;
|
|
|
|
?>
|
|
|
|
</div>
|
2020-10-30 18:28:52 +01:00
|
|
|
<!-- <section class="cta" style="clear: both;">
|
2020-10-07 20:52:33 +02:00
|
|
|
<div class="container">
|
|
|
|
<h2 class="title title-cta">Order your piece now!
|
|
|
|
</h2>
|
2020-10-13 11:42:45 +02:00
|
|
|
<a href="contacts.html" class="button button-dark">Order</a>
|
2020-10-07 20:52:33 +02:00
|
|
|
</div>
|
2020-10-30 18:28:52 +01:00
|
|
|
</section> -->
|
2020-10-29 01:25:22 +01:00
|
|
|
</div>
|
2020-10-28 21:14:03 +01:00
|
|
|
<?php include('footer.tpl'); ?>
|