try to rebuild collections with json
This commit is contained in:
parent
9d40d0f1d2
commit
ea7d94d9e5
2 changed files with 9 additions and 3 deletions
|
@ -3,7 +3,10 @@
|
|||
include('header.tpl');
|
||||
?>
|
||||
<div id="content_padding">
|
||||
<?php include('projects_data/project_items.php'); ?>
|
||||
<?php
|
||||
$strJsonFileContents = file_get_contents("projects_data/collection_data.json");
|
||||
$array = json_decode($strJsonFileContents, true);
|
||||
?>
|
||||
<div class="collection_container">
|
||||
<?php
|
||||
$index = 0;
|
||||
|
@ -23,9 +26,9 @@
|
|||
<h1>' . $c["name"] . '</h1>
|
||||
</div>
|
||||
';
|
||||
}
|
||||
print($html);
|
||||
$index += 1;
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<!-- <section class="cta" style="clear: both;">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue