rename projects to collections
This commit is contained in:
parent
5f2c3778c1
commit
15ab529f0a
2 changed files with 2 additions and 2 deletions
39
collections.php
Normal file
39
collections.php
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?php include('header.tpl'); ?>
|
||||
<div id="project_margin">
|
||||
<?php include('projects_data/project_items.php'); ?>
|
||||
<div class="collection_container">
|
||||
<?php
|
||||
$index = 0;
|
||||
foreach($collections as $c) {
|
||||
$html = '
|
||||
<div class="collection">
|
||||
<h1>' . $c["name"] . '</h1>
|
||||
|
||||
<div class="col-img-container">
|
||||
<img class="col-image" src="projects_data/img/' . $c['preview_image_url'] . '" alt="example image for ' . $c['name'] .'">
|
||||
<div class="col-img-desc">
|
||||
<div>
|
||||
<p>' . $c['name'] . '</p>
|
||||
<a href="show_collection.php?id=' . $index .'" class="button button-accent button-small">Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-desc">
|
||||
' . $c['collection_description'] . '
|
||||
</div>
|
||||
</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'); ?>
|
Loading…
Add table
Add a link
Reference in a new issue