, * 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"); // content type setzen header("Content-type: application/xhtml+xml"); // xml echo ''; // DAO require_once('../config/vilesci.config.inc.php'); require_once('../include/adresse.class.php'); require_once('../include/datum.class.php'); if(isset($_GET['person_id'])) $person_id = $_GET['person_id']; else $person_id = ''; if(isset($_GET['adresse_id'])) $adresse_id = $_GET['adresse_id']; else $adresse_id = ''; $datum = new datum(); $adresse = new adresse(); $rdf_url='http://www.technikum-wien.at/adresse'; echo ' '; if($adresse_id!='') { if(!$adresse->load($adresse_id)) die('Fehler: '.$adresse->errormsg); draw_rdf($adresse); } else { $adresse->load_pers($person_id); foreach ($adresse->result as $row) draw_rdf($row); } function draw_rdf($row) { global $rdf_url; $db = new basis_db(); $firma_name=''; if($row->firma_id!='') { $qry="SELECT * FROM public.tbl_firma WHERE firma_id='".addslashes($row->firma_id)."'"; if($db->db_query($qry)) { if($row_firma = $db->db_fetch_object()) { $firma_name = $row_firma->name; } } } echo ' adresse_id.']]> person_id.']]> name.']]> strasse.']]> plz.']]> ort.']]> gemeinde.']]> nation.']]> typ.']]> bezeichnung_mehrsprachig[DEFAULT_LANGUAGE])?$row->bezeichnung_mehrsprachig[DEFAULT_LANGUAGE]:'').']]> heimatadresse?'Ja':'Nein').']]> zustelladresse?'Ja':'Nein').']]> co_name.']]> firma_id.']]> updateamum)).']]> rechnungsadresse?'Ja':'Nein').']]> anmerkung.']]> '; } ?>