*/ // 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 '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'; // DAO require_once '../config/vilesci.config.inc.php'; require_once '../include/raumtyp.class.php'; // raumtypen holen $raumtypDAO = new raumtyp(); $raumtypen = $raumtypDAO->getAll(); $rdf_url = 'http://www.technikum-wien.at/raumtyp'; ?> <RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:RAUMTYP="<?php echo $rdf_url; ?> /rdf#" > <RDF:Seq about="<?php echo $rdf_url; ?> /liste">
return true; } </script> </head> <body> <h1>' . $p->t('lvplan/raumsuche') . '</h1> <p><a href="index.php">' . $p->t('lvplan/lehrveranstaltungsplan') . '</a></p> '; echo '<form action="' . $_SERVER['PHP_SELF'] . '" method="POST" onsubmit="return checkdata()"> ' . $p->t('global/datum') . '* <input type="text" name="datum" id="datum" size="10" value="' . $datum . '"> ' . $p->t('global/von') . '* <input type="text" name="vonzeit" id="vonzeit" size="5" value="' . $vonzeit . '"> ' . $p->t('global/bis') . '* <input type="text" name="biszeit" id="biszeit" size="5" value="' . $biszeit . '"> ' . $p->t('lvplan/raumtyp') . ' <SELECT name="raumtyp" style="width: 100px;"> <OPTION value="">' . $p->t('global/alle') . '</OPTION>'; $raumtyp_obj = new raumtyp(); $raumtyp_obj->getAll(); foreach ($raumtyp_obj->result as $row) { if ($raumtyp == $row->raumtyp_kurzbz) { $selected = 'selected'; } else { $selected = ''; } echo '<OPTION value="' . $row->raumtyp_kurzbz . '" ' . $selected . '>' . $row->beschreibung . '</OPTION>'; } echo ' </SELECT> ' . $p->t('lvplan/anzahlPersonen') . ' <input type="text" size="3" name="anzahlpersonen" value="' . $anzahlpersonen . '"> <input type="submit" name="sent" value="' . $p->t('global/suchen') . '" /> </form>'; if ($sent) { $error = false; if ($datum == '') {