*/ // 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"); // xml echo ''; // DAO require_once('../config/vilesci.config.inc.php'); require_once('../include/notiz.class.php'); require_once('../include/datum.class.php'); $rdf_url='http://www.technikum-wien.at/notiz'; echo ' '; $notiz = new notiz(); if(isset($_GET['erledigt'])) $erledigt=($_GET['erledigt']=='true'?true:false); else $erledigt=null; $projekt_kurzbz=(isset($_GET['projekt_kurzbz'])?$_GET['projekt_kurzbz']:null); $projektphase_id=(isset($_GET['projektphase_id'])?$_GET['projektphase_id']:null); $projekttask_id=(isset($_GET['projekttask_id'])?$_GET['projekttask_id']:null); $uid=(isset($_GET['uid'])?$_GET['uid']:null); $person_id=(isset($_GET['person_id'])?$_GET['person_id']:null); $prestudent_id=(isset($_GET['prestudent_id'])?$_GET['prestudent_id']:null); $bestellung_id=(isset($_GET['bestellung_id'])?$_GET['bestellung_id']:null); $lehreinheit_id=(isset($_GET['lehreinheit_id'])?$_GET['lehreinheit_id']:null); $stundenplandev_id=(isset($_GET['stundenplandev_id'])?$_GET['stundenplandev_id']:null); $anrechnung_id=(isset($_GET['anrechnung_id'])?$_GET['anrechnung_id']:null); $datum_obj = new datum(); $user=(isset($_GET['user'])?$_GET['user']:null); $notiz_id = (isset($_GET['notiz_id'])?$_GET['notiz_id']:null); if(is_null($notiz_id)) { if(!$notiz->getNotiz($erledigt, $projekt_kurzbz, $projektphase_id, $projekttask_id, $uid, $person_id, $prestudent_id, $bestellung_id, $user, $lehreinheit_id, $stundenplandev_id, $anrechnung_id)) die($notiz->errormsg); } else { if($notiz->load($notiz_id)) { $notiz->result[] = $notiz; } else die($notiz->errormsg); } foreach($notiz->result as $row) { echo ' notiz_id.']]> titel.']]> text.']]> text).']]> verfasser_uid.']]> bearbeiter_uid.']]> formatDatum($row->start,'d.m.Y').']]> formatDatum($row->ende,'d.m.Y').']]> start.']]> ende.']]> erledigt?'true':'false').']]> dokumente).']]> insertamum.']]> insertvon.']]> formatDatum($row->updateamum,'d.m.Y H:i:s').']]> updatevon.']]> '; } echo ' '; ?>