2012-09-13 19:16:51 -04:00
|
|
|
<p class="breadcrumbs">Outline</p>
|
2012-08-22 21:28:54 -04:00
|
|
|
|
2012-09-12 12:57:41 -04:00
|
|
|
<dl class="outline">
|
2012-09-12 10:36:43 -04:00
|
|
|
<dt>Genre</dt>
|
|
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li>Category
|
|
|
|
<ul>
|
|
|
|
<li>Section</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
<hr />
|
2012-08-31 16:18:23 -04:00
|
|
|
<dl class="outline">
|
2012-08-22 21:28:54 -04:00
|
|
|
<?php if (isset($outline)): ?>
|
2012-08-31 16:18:23 -04:00
|
|
|
<?php foreach($outline as $genre_id => $genre_array): ?>
|
|
|
|
|
|
|
|
<!-- Genres -->
|
|
|
|
<?php foreach($genre_array as $genre => $cat_array): ?>
|
|
|
|
<dt>
|
2015-06-04 14:30:42 -04:00
|
|
|
<a href="<?= \miniMVC\site_url("genre/detail/{$genre_id}") ?>"><?= $genre ?></a>
|
2012-08-31 16:18:23 -04:00
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
|
|
|
|
<?php foreach($cat_array as $cat_id => $cname_array): ?>
|
|
|
|
<ul>
|
|
|
|
<!-- Categories -->
|
|
|
|
<?php foreach($cname_array as $category => $sect_array): ?>
|
|
|
|
<li>
|
2015-06-04 14:30:42 -04:00
|
|
|
<a href="<?= \miniMVC\site_url("category/detail/{$cat_id}") ?>"><?= $category ?></a>
|
2012-08-31 16:18:23 -04:00
|
|
|
|
|
|
|
<?php if ( ! empty($sect_array)): ?>
|
|
|
|
<ul>
|
|
|
|
<!-- Sections -->
|
|
|
|
<?php foreach($sect_array as $section_id => $section): ?>
|
|
|
|
<li>
|
2015-06-04 14:30:42 -04:00
|
|
|
<a href="<?= \miniMVC\site_url("section/detail/{$section_id}") ?>">
|
2012-08-31 16:18:23 -04:00
|
|
|
<?= $section ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endforeach ?>
|
|
|
|
<!-- / Sections -->
|
|
|
|
</ul>
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<?php endforeach ?>
|
|
|
|
<!-- / Categories -->
|
|
|
|
</ul>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
|
|
|
|
</dd>
|
2012-08-22 21:28:54 -04:00
|
|
|
<?php endforeach ?>
|
2012-08-31 16:18:23 -04:00
|
|
|
<!-- / Genres -->
|
|
|
|
|
|
|
|
<?php endforeach ?>
|
2012-08-22 21:28:54 -04:00
|
|
|
<?php endif ?>
|
2012-08-31 16:18:23 -04:00
|
|
|
</dl>
|