'; echo ''; include('../vilesci/config.inc.php'); include('../include/globals.inc.php'); include('../include/functions.inc.php'); include('../include/berechtigung.class.php'); include('../include/lehrveranstaltung.class.php'); include('../include/zeitwunsch.class.php'); include('../include/stundenplan.class.php'); echo ''; //echo $_SERVER[REQUEST_URI]; if (!isset($REMOTE_USER)) $REMOTE_USER='pam'; $uid=$REMOTE_USER; $error_msg=''; if (!$conn = @pg_pconnect(CONN_STRING)) $error_msg.='Es konnte keine Verbindung zum Server aufgebaut werden!'; // Benutzerdefinierte Variablen laden $error_msg.=loadVariables($conn,$uid); if (!isset($ignore_kollision)) $ignore_kollision=(boolean)false; elseif ($ignore_kollision=='false') $ignore_kollision=(boolean)false; else $ignore_kollision=(boolean)true; //var_dump($ignore_kollision); // Bezeichnungen fuer Tabellen und Views $lva_stpl_view=VIEW_BEGIN.'lva_'.$db_stpl_table; // Variablen uebernehmen if (isset($_GET[aktion])) $aktion=$_GET[aktion]; if (isset($_GET[semesterplan])) $semesterplan=$_GET[semesterplan]; else $semesterplan=false; if (isset($_GET[new_stunde])) $new_stunde=$_GET[new_stunde]; if (isset($_GET[new_datum])) $new_datum=$_GET[new_datum]; if (isset($_GET[old_ort])) $old_ort=$_GET[old_ort]; if (isset($_GET[new_ort])) $new_ort=$_GET[new_ort]; if (isset($_GET[ort])) $ort=$_GET[ort]; if (isset($_GET[datum])) $datum=$_GET[datum]; if (isset($_GET[type])) $type=$_GET[type]; if (isset($_GET[stg_kz])) $stg_kz=$_GET[stg_kz]; if (isset($_GET[sem])) $sem=$_GET[sem]; if (isset($_GET[ver])) $ver=$_GET[ver]; if (isset($_GET[grp])) $grp=$_GET[grp]; if (isset($_GET[pers_uid])) $pers_uid=$_GET[pers_uid]; if (isset($_GET[einheit])) $einheit_kurzbz=$_GET[einheit]; if (isset($_GET[semester_aktuell])) $semester_aktuell=$_GET[semester_aktuell]; if (!isset($semester_aktuell) && $semesterplan) $error_msg.='Studien-Semester ist nicht gesetzt!'; ?>