, * Andreas Oesterreicher and * Rudolf Hangl . */ // header für no cache header("Cache-Control: no-cache"); header("Cache-Control: post-check=0, pre-check=0",false); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Pragma: no-cache"); // DAO require_once('../config/vilesci.config.inc.php'); require_once('../include/studiengang.class.php'); require_once('../include/fachbereich.class.php'); if (isset($_GET['studiengang_kz'])) { if (isset($_GET['institut'])) die('Only one parameter please.'); } elseif (!isset($_GET['institut'])) die('No Parameters!'); if(isset($_GET['studiengang_kz'])) { $stg = $_GET['studiengang_kz']; $obj = new studiengang(); if (!$obj->load($stg)) die($obj->errormsg); } if(isset($_GET['institut'])) { $institut = $_GET['institut']; $obj = new fachbereich(); if (!$obj->load($institut)) die($obj->errormsg); } // content type setzen header("Content-type: application/xhtml+xml"); // xml echo ''; $db = new basis_db(); $rdf_url='http://www.technikum-wien.at/lektoren'; echo ' '; $qry = "SELECT uid, fixangestellt, person_id, alias, anrede, titelpost, titelpre, nachname, vorname, kompetenzen FROM public.tbl_mitarbeiter JOIN public.tbl_benutzer ON(uid=mitarbeiter_uid) JOIN public.tbl_person USING(person_id) JOIN public.tbl_benutzerfunktion USING (uid) WHERE funktion_kurzbz='oezuordnung' AND tbl_benutzer.aktiv AND oe_kurzbz='$obj->oe_kurzbz' AND (datum_bis >= now() OR datum_bis IS NULL) AND (datum_von <= now() OR datum_von IS NULL) ORDER BY nachname, vorname, vornamen, person_id;"; if($db->db_query($qry)) { while($lektoren = $db->db_fetch_object()) { echo ' uid.']]> person_id.']]> anrede.']]> titelpre.']]> vorname.']]> nachname.']]> titelpost.']]> alias=='' ? $lektoren->uid : $lektoren->alias).'@'.DOMAIN. ']]> ' .(strtolower($lektoren->fixangestellt)=='t' ? 'TRUE' : 'FALSE'). ' kompetenzen.']]> '; } } ?>