* judge-year many to many implemented, no admin yet

* judge images renamed to use generated slug, may change in the future...
This commit is contained in:
Dávid Danyi
2018-05-09 15:16:00 +02:00
parent ace6241be6
commit 77325b8e94
35 changed files with 498 additions and 118 deletions

View File

@@ -2,9 +2,9 @@
<h1><?=$year?> judges</h1>
<?php foreach ($judges as $judge): ?>
<section class="judge">
<img class="profile" src="<?= $this->serverurl(sprintf('/img/judges/%s.jpg', $judge['image'])) ?>">
<img class="profile" src="<?= $this->serverurl(sprintf('/img/judges/%s.jpg', $judge['slug'])) ?>">
<span class="title"><?= $judge['name']?></span><br>
<span class="description"><?= $judge['desc']?></span>
<span class="description"><?= $judge['title']?></span>
</section>
<?php endforeach; ?>
</section>