GLE-login routine-Nutzerhinweise
Aus kvwmap
<?
include_once(CLASSPATH . 'PgObject.php');
$pgObject = new PgObject($GUI, 'public', 'hinweise');
$hinweise = $pgObject->find_where('current_timestamp BETWEEN startdatum AND startdatum + (dauer::text||\' day\')::INTERVAL');
if ($hinweise != '') {
foreach($hinweise as $hinweis){
$GUI->add_message('warning', $hinweis->get('hinweis'));
}
}
?>