- Sprechzeiten TWInternational aktualisiert

- Jahresplan aktualisiert
- Diverse Anpassungen an den SyncScripten
- Vilesci Lehrfachverwaltung
This commit is contained in:
Andreas Österreicher
2007-01-30 16:32:57 +00:00
parent 9d2ee4e846
commit 8b8325e73b
7 changed files with 146 additions and 110 deletions
+2 -2
View File
@@ -93,8 +93,8 @@ if($result = pg_query($conn_vilesci, $qry))
$student->prestudent_id='';
$student->studiengang_kz=$row->studiengang_kz;
$student->semester=$row->semester;
$student->verband=$row->verband;
$student->gruppe=$row->gruppe;
$student->verband=($row->verband!=''?$row->verband:' ');
$student->gruppe=($row->gruppe!=''?$row->gruppe:' ');
$qry = "SELECT person_id FROM tbl_benutzer WHERE uid='$row->uid'";
if($result1 = pg_query($conn, $qry))
+1 -1
View File
@@ -28,7 +28,7 @@ $stg_vilesci=pg_exec($conn_vilesci, $sql_query);
while ($stg=pg_fetch_object($stg_vilesci))
{
$sql_query="INSERT INTO tbl_studiengang(studiengang_kz, kurzbz, kurzbzlang, bezeichnung, typ, farbe, email, max_semester, max_verband, max_gruppe, erhalter_kz)
VALUES ($stg->studiengang_kz,'$stg->kurzbz', '$stg->kurzbzlang','$stg->bezeichnung',
VALUES ($stg->studiengang_kz,'".substr($stg->kurzbz,0,3)."', '$stg->kurzbzlang','$stg->bezeichnung',
'$stg->typ','$stg->farbe','$stg->email',$stg->max_semester,'$stg->max_verband','$stg->max_gruppe',5)";
if (!$result=@pg_exec($conn, $sql_query))
echo pg_last_error($conn).'<br>--'.$sql_query.'<br>';