mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
6669014ac4
Mehrfachangabe von Zweck des Auslandsaufenthalts Mehrfachangabe von Förderung des Auslandsaufenthalts Neue Felder für erworbene und angerechnete ECTS hinzugefügt BIS Schnittstelle um die neuen Felder erweitert
76 lines
2.4 KiB
PHP
76 lines
2.4 KiB
PHP
<?php
|
|
/* Copyright (C) 2006 Technikum-Wien
|
|
*
|
|
* 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.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
|
*
|
|
* Authors: Christian Paminger <christian.paminger@technikum-wien.at>,
|
|
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
|
|
* Rudolf Hangl <rudolf.hangl@technikum-wien.at>.
|
|
*/
|
|
|
|
// 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");
|
|
// content type setzen
|
|
header("Content-type: application/xhtml+xml");
|
|
require_once('../config/vilesci.config.inc.php');
|
|
require_once('../include/basis_db.class.php');
|
|
require_once('../include/bisio.class.php');
|
|
|
|
echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
|
|
|
|
$rdf_url='http://www.technikum-wien.at/zweck';
|
|
|
|
echo '
|
|
<RDF:RDF
|
|
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns:ZWECK="'.$rdf_url.'/rdf#"
|
|
>
|
|
<RDF:Seq about="'.$rdf_url.'/liste">';
|
|
|
|
$db = new basis_db();
|
|
$bisio = new bisio();
|
|
if(isset($_GET['bisio_id']))
|
|
{
|
|
$bisio->getZweck($_GET['bisio_id']);
|
|
}
|
|
else
|
|
{
|
|
$incoming = null;
|
|
$outgoing = null;
|
|
if (isset($_GET['type']) && $_GET['type'] == 'incoming')
|
|
$incoming = true;
|
|
if (isset($_GET['type']) && $_GET['type'] == 'outgoing')
|
|
$outgoing = true;
|
|
$bisio->getZweck(null, $outgoing, $incoming);
|
|
}
|
|
|
|
foreach($bisio->result as $row)
|
|
{
|
|
echo '
|
|
<RDF:li>
|
|
<RDF:Description id="'.$row->zweck_code.'" about="'.$rdf_url.'/'.$row->zweck_code.'" >
|
|
<ZWECK:zweck_code><![CDATA['.$row->zweck_code.']]></ZWECK:zweck_code>
|
|
<ZWECK:kurzbz><![CDATA['.$row->kurzbz.']]></ZWECK:kurzbz>
|
|
<ZWECK:bezeichnung><![CDATA['.$row->bezeichnung.']]></ZWECK:bezeichnung>
|
|
</RDF:Description>
|
|
</RDF:li>';
|
|
}
|
|
?>
|
|
</RDF:Seq>
|
|
</RDF:RDF>
|