2012-09-13 23:16:51 +00:00
|
|
|
<p class="breadcrumbs">Outline</p>
|
2012-08-23 01:28:54 +00:00
|
|
|
|
2012-09-12 16:57:41 +00:00
|
|
|
<dl class="outline">
|
2012-09-12 14:36:43 +00:00
|
|
|
<dt>Genre</dt>
|
|
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li>Category
|
|
|
|
<ul>
|
|
|
|
<li>Section</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
<hr />
|
2012-08-31 20:18:23 +00:00
|
|
|
<dl class="outline">
|
2012-08-23 01:28:54 +00:00
|
|
|
<?php if (isset($outline)): ?>
|
2012-08-31 20:18:23 +00: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 20:18:23 +00: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 20:18:23 +00: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 20:18:23 +00:00
|
|
|
<?= $section ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endforeach ?>
|
|
|
|
<!-- / Sections -->
|
|
|
|
</ul>
|
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<?php endforeach ?>
|
|
|
|
<!-- / Categories -->
|
|
|
|
</ul>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
|
|
|
|
</dd>
|
2012-08-23 01:28:54 +00:00
|
|
|
<?php endforeach ?>
|
2012-08-31 20:18:23 +00:00
|
|
|
<!-- / Genres -->
|
|
|
|
|
|
|
|
<?php endforeach ?>
|
2012-08-23 01:28:54 +00:00
|
|
|
<?php endif ?>
|
2012-08-31 20:18:23 +00:00
|
|
|
</dl>
|