function dissertationen($atts) { EasyRdf_Namespace::set('bibo', 'http://purl.org/ontology/bibo/'); EasyRdf_Namespace::set('sd', 'http://symbolicdata.org/Data/Model#'); EasyRdf_Namespace::set('dct', 'http://purl.org/dc/terms/'); $people = new EasyRdf_Graph("http://symbolicdata.org/Data/People/"); $people->parseFile("http://symbolicdata.org/rdf/People.rdf"); //$people->parseFile("/home/graebe/git/SD/web/rdf/People.rdf"); $out = "\n\n<h2 align=\"center\">Habilitationen</h2>\n\n"; $out .= displayAll(getDissertations('habil'), $people); $out .= "\n\n<h2 align=\"center\">Promotionen</h2>\n\n"; $out .= displayAll(getDissertations('phd'), $people); return $out; }
} else { if ($_GET['action'] == 'showGroupTypes') { displayAllGroupTypes(); } else { if ($_GET['action'] == 'showContactTypes') { displayAllContactTypes(); } else { if ($_GET['action'] == 'showPeople') { displayAllPeople(); } else { if ($_GET['action'] == 'showArchivedGroup') { $groupTypes = new ContactType(); displayAllArchived($groupTypes); } else { $groupTypes = new ContactType(); displayAll($groupTypes); } } } } } } } } } } } } } } }
} else { if ($_GET['action'] == removeLocationType && $_SESSION['access'] >= 50) { //get the client ID and remove that $locationType = new LocationType($_GET['locationTypeID']); removeLocationType($locationType); } else { if ($_GET['action'] == 'showRoomTypes') { displayAllRoomTypes(); } else { if ($_GET['action'] == 'showLocationTypes') { displayAllLocationTypes(); } else { if ($_GET['action'] == 'showArchivedLocation') { displayAllArchived(); } else { displayAll(); } } } } } } } } } } } } } } }
//give power controls a grouping value echo "<td class='info'>GROUP "; if ($_GET['mode'] == 'power_control') { echo "<input type='text' name='group' value='' />"; } else { echo "NOT APPLICABLE"; } echo "</td>"; $types = $devices->get_devices_by_class($_GET['mode']); echo "<select name='controlledDevice'>"; foreach ($types as $id => $value) { echo "<option value='{$id}'>{$value}</option>"; } echo "</select>"; } else { displayAll($devices); } } } } } } } } } } } ?> </div> <?php //Footer
//get the service ID and remove that $services = new Service($_GET['ID']); removeService($services); } } else { if ($_GET['action'] == removeServiceType && $_SESSION['access'] >= 50) { $serviceType = new ServiceType($_GET['ID']); removeServiceType($serviceType); } else { if ($_GET['action'] == showAllServiceTypes) { displayAllServiceTypes(); } else { if ($_GET['action'] == showArchived) { displayAllArchived($services); } else { displayAll($services); } } } } } } } } } } } } ?> </div> <?php