brc/collections.php

39 lines
No EOL
1.1 KiB
PHP

<?php
$show_sep=true;
include('header.tpl');
?>
<div id="content_padding">
<?php include('projects_data/project_items.php'); ?>
<div class="collection_container">
<?php
$index = 0;
foreach($collections as $c) {
$html = '
<div class="collection">
<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'] .'">
<a class="col-img-desc" href="#">
</a>
</div>
<div class="col-desc">
' . $c['collection_description'] . '
</div>
</div>
<h1>' . $c["name"] . '</h1>
</div>
';
print($html);
$index += 1;
}
?>
</div>
<!-- <section class="cta" style="clear: both;">
<div class="container">
<h2 class="title title-cta">Order your piece now!
</h2>
<a href="contacts.html" class="button button-dark">Order</a>
</div>
</section> -->
</div>
<?php include('footer.tpl'); ?>