blob: b63befcf61ae41eba10d9299eff8900f33d043a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
<? if ($adminList) : ?>
<? foreach ($adminList as $index => $seminar) {
if ($next_one === "next_round") {
$next_one = $index;
break;
}
if ($seminar['Seminar_id'] === $course_id) {
$next_one = "next_round";
} else {
$last_one = $index;
}
}
if ($next_one === "next_round") {
unset($next_one);
}
?>
<div style="width: 70%; margin: 10px; margin-left: auto; margin-right: auto;text-align: center;" id="admin_top_links">
<? if (isset($last_one)) : ?>
<div style="float: left;">
<a href="<?= URLHelper::getLink("?#admin_top_links", ['cid' => $adminList[$last_one]['Seminar_id']]) ?>" title="<?= htmlReady($adminList[$last_one]['Name']) ?>">
<?= Icon::create('arr_1left', 'clickable')->asImg(['class' => "text-bottom"]) ?>
<?= _("zurück") ?>
</a>
</div>
<? endif ?>
<? if (isset($next_one)) : ?>
<div style="float: right;">
<a href="<?= URLHelper::getLink("?#admin_top_links", ['cid' => $adminList[$next_one]['Seminar_id']]) ?>" title="<?= htmlReady($adminList[$next_one]['Name']) ?>">
<?= _("vor") ?>
<?= Icon::create('arr_1right', 'clickable')->asImg(['class' => "text-bottom"]) ?>
</a>
</div>
<? endif ?>
<div>
<a href="<?= URLHelper::getLink("adminarea_start.php", ['list' => "TRUE"]) ?>">
<?= Icon::create('arr_1up', 'clickable')->asImg(['class' => "text-bottom"]) ?>
<?= _("Liste") ?>
</a>
</div>
</div>
<? endif ?>
|