pile/www/_templates/front_doc_listing.php
2017-02-04 21:10:59 +00:00

16 lines
No EOL
514 B
PHP

<div class="text tag-text">
<h1><?= $tag["Name"] ?></h1>
<p class="tag-desc"><?= $tag["Description"] ?></p>
</div>
<?php foreach($docs as $doc): ?>
<div class="text doc-item">
<a class="doc-item-link" href="<?= $doc["URL"] ?>">🔗</a>
<a href="?item=<?= $doc["ID"]?>">
<div class="doc-item-text">
<h2><?= $doc["Title"]?></h2>
<h3><?= $doc["Author"] . " " . $doc['date']?></h3>
</div>
</a>
</div>
<?php endforeach; ?>