* api implementation

* no auth yet
* images renamed to reflect name-prefix changes
* yearservice now gets years from judge data
This commit is contained in:
Dávid Danyi
2018-05-11 18:21:48 +02:00
parent be7bc7279d
commit 064b614ba8
23 changed files with 227 additions and 57 deletions

View File

@@ -3,8 +3,8 @@
<?php foreach ($judges as $judge): ?>
<section class="judge">
<img class="profile" src="<?= $this->serverurl(sprintf('/img/judges/%s.jpg', $judge['slug'])) ?>">
<span class="title"><?= $judge['name']?></span><br>
<span class="description"><?= $judge['title']?></span>
<span class="title"><?= $judge['prefix'].$judge['name']?></span><br>
<span class="description"><?= $judge['titles'][0]['title']?></span>
</section>
<?php endforeach; ?>
</section>