diff options
Diffstat (limited to 'calls.php')
| -rw-r--r-- | calls.php | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/calls.php b/calls.php new file mode 100644 index 0000000..51ff544 --- /dev/null +++ b/calls.php @@ -0,0 +1,65 @@ +<?php +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ +?> +<?php +/* vim: set ts=4 sw=4 et : */ + +$_title = "Calls (Ausschreibungen)"; + +require_once __DIR__ . "/check_auth.php"; +require_once __DIR__ . "/../includes/common.php"; +require_once __DIR__ . "/header.php"; +?> + +<h1><?=$_title?></h1> + +<? +(function () use ($mysqli, $constraint, $nospinner, $noactions) { + if (!isset($noactions)) + $noactions = false; + + $sql = " +SELECT * FROM calls +"; + $sql .= $constraint; + $stmt = $mysqli->prepare($sql); + $stmt->execute(); + $r = $stmt->get_result(); + $id = "calls"; + $order = '[[2, "asc"], [8, "desc"]]'; + $editable = [ + 'app_start', + 'app_end', + 'default_valid_from', + 'default_valid_to' + ]; + $ajax = false; + $idcell = "shorthand"; + $entrytable = 'calls'; + $nospinner = true; + include __DIR__ . '/autotable.php'; + $stmt->reset(); +})(); +?> + +<h2>Aktuell für Bewerbungen zugeordnete Calls</h2> + +<ul> +<li> +DS: <?=$callsdefault['ds']['shorthand']?> +<li> +LÜ: <?=$callsdefault['lue']['shorthand']?> + +<? +include_once __DIR__ . "/footer.php"; +?> |
