mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
- Anpassungen kreuzerltool
- Anpassungen Sync scripte - Kollegiumskandidaturen hinzugefügt
This commit is contained in:
@@ -1,24 +1,4 @@
|
||||
<?php
|
||||
/* Copyright (C) 2006 Technikum-Wien
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* Authors: Christian Paminger <christian.paminger@technikum-wien.at>,
|
||||
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
|
||||
* Rudolf Hangl <rudolf.hangl@technikum-wien.at>.
|
||||
*/
|
||||
require_once('../../vilesci/config.inc.php');
|
||||
$adress='tw_tester@technikum-wien.at';
|
||||
|
||||
|
||||
@@ -1,24 +1,5 @@
|
||||
<?php
|
||||
/* Copyright (C) 2006 Technikum-Wien
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* Authors: Christian Paminger <christian.paminger@technikum-wien.at>,
|
||||
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
|
||||
* Rudolf Hangl <rudolf.hangl@technikum-wien.at>.
|
||||
*/
|
||||
|
||||
require_once('../../vilesci/config.inc.php');
|
||||
|
||||
function clean_string($string)
|
||||
|
||||
@@ -1,24 +1,4 @@
|
||||
<?php
|
||||
/* Copyright (C) 2006 Technikum-Wien
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* Authors: Christian Paminger <christian.paminger@technikum-wien.at>,
|
||||
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
|
||||
* Rudolf Hangl <rudolf.hangl@technikum-wien.at>.
|
||||
*/
|
||||
require_once('../../vilesci/config.inc.php');
|
||||
$adress='tw_tester@technikum-wien.at';
|
||||
|
||||
|
||||
@@ -128,7 +128,7 @@ if($result = pg_query($conn_vilesci, $qry))
|
||||
if(!$error)
|
||||
if(!$mitarbeiter->save())
|
||||
{
|
||||
$error_log.=$mitarbeiter->errormsg."\n";
|
||||
$error_log.="Fehler beim Speichern des Mitarbeits ($row->uid):".$mitarbeiter->errormsg."\n";
|
||||
$anzahl_fehler++;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -115,14 +115,14 @@ if($result = pg_query($conn_vilesci, $qry))
|
||||
}
|
||||
else
|
||||
{
|
||||
//Mitarbeiter neu anlegen
|
||||
//Student neu anlegen
|
||||
$student->new=true;
|
||||
}
|
||||
|
||||
if(!$error)
|
||||
if(!$student->save())
|
||||
{
|
||||
$error_log.=$student->errormsg."\n";
|
||||
$error_log.="Fehler beim Speicher ($row->uid):".$student->errormsg."\n";
|
||||
$anzahl_fehler++;
|
||||
}
|
||||
else
|
||||
@@ -131,7 +131,10 @@ if($result = pg_query($conn_vilesci, $qry))
|
||||
$anzahl_fehler++;
|
||||
}
|
||||
else
|
||||
{
|
||||
$error_log .= "$row->nachname ($row->uid) wurde nicht in tbl_benutzer gefunden\n";
|
||||
$anzahl_fehler++;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<link href="../../skin/cis.css" rel="stylesheet" type="text/css">
|
||||
<link href="../../../skin/cis.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
@@ -55,8 +55,8 @@
|
||||
else
|
||||
die($lv_obj->errormsg);
|
||||
?>
|
||||
<td bgcolor="#008381"><font color="#FFFFFF"><strong> <?php echo $short_name; ?> - Feedback
|
||||
an: </strong>
|
||||
<td class='ContentHeader'><font class='ContentHeader'> <?php echo $short_name; ?> - Feedback
|
||||
an:
|
||||
<?php
|
||||
$qry = "SELECT distinct vorname, nachname, uid FROM campus.vw_mitarbeiter, lehre.tbl_lehreinheit, lehre.tbl_lehreinheitmitarbeiter WHERE uid=mitarbeiter_uid AND tbl_lehreinheit.lehreinheit_id=tbl_lehreinheitmitarbeiter.lehreinheit_id AND lehrveranstaltung_id='$lvid' AND studiensemester_kurzbz='$stsem'";
|
||||
if(!$result=pg_query($conn, $qry))
|
||||
@@ -77,7 +77,7 @@
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<p><b>Betreff:
|
||||
<p><b>Betreff: </b>
|
||||
<?php
|
||||
if(isset($edit_id) && $edit_id != "" && !isset($edit_break))
|
||||
{
|
||||
@@ -159,19 +159,18 @@
|
||||
{
|
||||
|
||||
echo '<tr>';
|
||||
echo ' <td bgcolor="#008381"><font color="#FFFFFF"><strong> '.$row->betreff.'</font></td>';
|
||||
echo ' <td bgcolor="#008381" width="30%"><font color="#FFFFFF">'.$row_pers->vorname.' '.$row_pers->nachname.'</font></td>';
|
||||
echo ' <td bgcolor="#008381" width="20%"><font color="#FFFFFF">'.$row->datum.'</font></td>';
|
||||
echo ' <td bgcolor="#008381" width="20%"><font color="#FFFFFF"> </font></td>';
|
||||
|
||||
echo ' <td bgcolor="#008381" align="right"><font color="#FFFFFF"> </font></td>';
|
||||
echo ' <td class="ContentHeader"><font class="ContentHeader"><strong> '.$row->betreff.'</font></td>';
|
||||
echo ' <td class="ContentHeader" width="30%"><font class="ContentHeader">'.$row_pers->vorname.' '.$row_pers->nachname.'</font></td>';
|
||||
echo ' <td class="ContentHeader" width="20%"><font class="ContentHeader">'.$row->datum.'</font></td>';
|
||||
echo ' <td class="ContentHeader" width="20%"><font class="ContentHeader"> </font></td>';
|
||||
echo ' <td class="ContentHeader" align="right"><font class="ContentHeader"> </font></td>';
|
||||
|
||||
echo '</tr>';
|
||||
echo '<tr>';
|
||||
echo ' <td bgcolor="#F2F2F2"><font color="#000000">'.nl2br($row->text).'</font></td>';
|
||||
echo ' <td bgcolor="#F2F2F2"><font color="#000000"> </font></td>';
|
||||
echo ' <td bgcolor="#F2F2F2" colspan=2><font color="#000000"> </font></td>';
|
||||
echo ' <td bgcolor="#F2F2F2"><font color="#000000"> </font></td>';
|
||||
echo ' <td bgcolor="#F2F2F2" colspan=5><font color="#000000">'.nl2br($row->text).'</font></td>';
|
||||
//echo ' <td bgcolor="#F2F2F2"><font color="#000000"> </font></td>';
|
||||
//echo ' <td bgcolor="#F2F2F2" colspan=2><font color="#000000"> </font></td>';
|
||||
//echo ' <td bgcolor="#F2F2F2"><font color="#000000"> </font></td>';
|
||||
echo '</tr>';
|
||||
echo '<tr>';
|
||||
echo ' <td><font color="#FFFFFF"> </font></td>';
|
||||
|
||||
@@ -102,8 +102,7 @@ $uebung_id = (isset($_GET['uebung_id'])?$_GET['uebung_id']:'');
|
||||
echo '<table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">';
|
||||
echo ' <tr>';
|
||||
echo '<td width="10"> </td>';
|
||||
echo '<td class="ContentHeader"><font class="ContentHeader"> "Kreuzerl"-Tool - ';
|
||||
echo $lv_obj->bezeichnung.' - '.$stg_obj->kuerzel;
|
||||
echo '<td class="ContentHeader"><font class="ContentHeader"> "Kreuzerl"-Tool';
|
||||
echo '</font></td><td class="ContentHeader" align="right">'."\n";
|
||||
|
||||
//Studiensemester laden
|
||||
@@ -172,7 +171,7 @@ if($result = pg_query($conn, $qry))
|
||||
$qry_gruppen = "SELECT * FROM lehre.tbl_lehreinheitgruppe WHERE lehreinheit_id='$row->lehreinheit_id'";
|
||||
if($result_gruppen = pg_query($conn, $qry_gruppen))
|
||||
{
|
||||
$gruppen = '( ';
|
||||
$gruppen = '';
|
||||
$i=0;
|
||||
while($row_gruppen = pg_fetch_object($result_gruppen))
|
||||
{
|
||||
@@ -186,9 +185,8 @@ if($result = pg_query($conn, $qry))
|
||||
else
|
||||
$gruppen.=' ';
|
||||
}
|
||||
$gruppen.=')';
|
||||
}
|
||||
echo "<OPTION value='anwesenheitstabelle.php?lvid=$lvid&stsem=$stsem&lehreinheit_id=$row->lehreinheit_id' $selected>$row->lfbez $lektoren $gruppen</OPTION>\n";
|
||||
echo "<OPTION value='anwesenheitstabelle.php?lvid=$lvid&stsem=$stsem&lehreinheit_id=$row->lehreinheit_id' $selected>$row->lfbez - $gruppen $lektoren</OPTION>\n";
|
||||
}
|
||||
echo '</SELECT> ';
|
||||
}
|
||||
@@ -207,6 +205,7 @@ echo '</td><tr></table>';
|
||||
echo '<table><tr>';
|
||||
echo '<td width="10"> </td>';
|
||||
echo "<td>\n";
|
||||
echo "<b>$lv_obj->bezeichnung</b><br>";
|
||||
|
||||
if($lehreinheit_id=='')
|
||||
die('Es wurde keine passende Lehreinheit in diesem Studiensemester gefunden');
|
||||
|
||||
@@ -102,8 +102,7 @@ $uebung_id = (isset($_GET['uebung_id'])?$_GET['uebung_id']:'');
|
||||
echo '<table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">';
|
||||
echo ' <tr>';
|
||||
echo '<td width="10"> </td>';
|
||||
echo '<td class="ContentHeader"><font class="ContentHeader"> "Kreuzerl"-Tool - ';
|
||||
echo $lv_obj->bezeichnung.' - '.$stg_obj->kuerzel;
|
||||
echo '<td class="ContentHeader"><font class="ContentHeader"> "Kreuzerl"-Tool';
|
||||
echo '</font></td><td class="ContentHeader" align="right">'."\n";
|
||||
|
||||
//Studiensemester laden
|
||||
@@ -173,7 +172,7 @@ if($result = pg_query($conn, $qry))
|
||||
$qry_gruppen = "SELECT * FROM lehre.tbl_lehreinheitgruppe WHERE lehreinheit_id='$row->lehreinheit_id'";
|
||||
if($result_gruppen = pg_query($conn, $qry_gruppen))
|
||||
{
|
||||
$gruppen = '( ';
|
||||
$gruppen = '';
|
||||
$i=0;
|
||||
while($row_gruppen = pg_fetch_object($result_gruppen))
|
||||
{
|
||||
@@ -186,10 +185,9 @@ if($result = pg_query($conn, $qry))
|
||||
$gruppen.=', ';
|
||||
else
|
||||
$gruppen.=' ';
|
||||
}
|
||||
$gruppen.=')';
|
||||
}
|
||||
}
|
||||
echo "<OPTION value='statistik.php?lvid=$lvid&stsem=$stsem&lehreinheit_id=$row->lehreinheit_id' $selected>$row->lfbez $lektoren $gruppen</OPTION>\n";
|
||||
echo "<OPTION value='statistik.php?lvid=$lvid&stsem=$stsem&lehreinheit_id=$row->lehreinheit_id' $selected>$row->lfbez - $gruppen $lektoren</OPTION>\n";
|
||||
}
|
||||
echo '</SELECT> ';
|
||||
}
|
||||
@@ -208,6 +206,7 @@ echo '</td><tr></table>';
|
||||
echo '<table><tr>';
|
||||
echo '<td width="10"> </td>';
|
||||
echo "<td>\n";
|
||||
echo "<b>$lv_obj->bezeichnung</b><br>";
|
||||
|
||||
if($lehreinheit_id=='')
|
||||
die('Es wurde keine passende Lehreinheit in diesem Studiensemester gefunden');
|
||||
|
||||
@@ -98,8 +98,7 @@ $uebung_id = (isset($_GET['uebung_id'])?$_GET['uebung_id']:'');
|
||||
echo '<table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">';
|
||||
echo ' <tr>';
|
||||
echo '<td width="10"> </td>';
|
||||
echo '<td class="ContentHeader"><font class="ContentHeader"> "Kreuzerl"-Tool - ';
|
||||
echo $lv_obj->bezeichnung.' - '.$stg_obj->kuerzel;
|
||||
echo '<td class="ContentHeader"><font class="ContentHeader"> "Kreuzerl"-Tool';
|
||||
echo '</font></td><td class="ContentHeader" align="right">'."\n";
|
||||
|
||||
//Studiensemester laden
|
||||
@@ -175,7 +174,7 @@ if($result = pg_query($conn, $qry))
|
||||
$qry_gruppen = "SELECT * FROM lehre.tbl_lehreinheitgruppe WHERE lehreinheit_id='$row->lehreinheit_id'";
|
||||
if($result_gruppen = pg_query($conn, $qry_gruppen))
|
||||
{
|
||||
$gruppen = '( ';
|
||||
$gruppen = '';
|
||||
$i=0;
|
||||
while($row_gruppen = pg_fetch_object($result_gruppen))
|
||||
{
|
||||
@@ -189,9 +188,8 @@ if($result = pg_query($conn, $qry))
|
||||
else
|
||||
$gruppen.=' ';
|
||||
}
|
||||
$gruppen.=')';
|
||||
}
|
||||
echo "<OPTION value='studentenansicht.php?lvid=$lvid&stsem=$stsem&lehreinheit_id=$row->lehreinheit_id' $selected>$row->kurzbz $lektoren $gruppen</OPTION>\n";
|
||||
echo "<OPTION value='studentenansicht.php?lvid=$lvid&stsem=$stsem&lehreinheit_id=$row->lehreinheit_id' $selected>$row->kurzbz - $gruppen $lektoren</OPTION>\n";
|
||||
}
|
||||
echo '</SELECT> ';
|
||||
}
|
||||
@@ -212,6 +210,7 @@ echo '</td><tr></table>';
|
||||
echo '<table><tr>';
|
||||
echo '<td width="10"> </td>';
|
||||
echo "<td width='100%'>\n";
|
||||
echo "<b>$lv_obj->bezeichnung</b><br>";
|
||||
|
||||
if($lehreinheit_id=='')
|
||||
die('Derzeit gibt es keine Kreuzerllisten fuer diese Lehrveranstaltung');
|
||||
|
||||
@@ -102,8 +102,7 @@ $uebung_id = (isset($_GET['uebung_id'])?$_GET['uebung_id']:'');
|
||||
echo '<table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">';
|
||||
echo ' <tr>';
|
||||
echo '<td width="10"> </td>';
|
||||
echo '<td class="ContentHeader"><font class="ContentHeader"> "Kreuzerl"-Tool - ';
|
||||
echo $lv_obj->bezeichnung.' - '.$stg_obj->kuerzel;
|
||||
echo '<td class="ContentHeader"><font class="ContentHeader"> "Kreuzerl"-Tool';
|
||||
echo '</font></td><td class="ContentHeader" align="right">'."\n";
|
||||
|
||||
//Studiensemester laden
|
||||
@@ -172,7 +171,7 @@ if($result = pg_query($conn, $qry))
|
||||
$qry_gruppen = "SELECT * FROM lehre.tbl_lehreinheitgruppe WHERE lehreinheit_id='$row->lehreinheit_id'";
|
||||
if($result_gruppen = pg_query($conn, $qry_gruppen))
|
||||
{
|
||||
$gruppen = '( ';
|
||||
$gruppen = '';
|
||||
$i=0;
|
||||
while($row_gruppen = pg_fetch_object($result_gruppen))
|
||||
{
|
||||
@@ -186,9 +185,8 @@ if($result = pg_query($conn, $qry))
|
||||
else
|
||||
$gruppen.=' ';
|
||||
}
|
||||
$gruppen.=')';
|
||||
}
|
||||
echo "<OPTION value='studentenpunkteverwalten.php?lvid=$lvid&stsem=$stsem&lehreinheit_id=$row->lehreinheit_id' $selected>$row->lfbez $lektoren $gruppen</OPTION>\n";
|
||||
echo "<OPTION value='studentenpunkteverwalten.php?lvid=$lvid&stsem=$stsem&lehreinheit_id=$row->lehreinheit_id' $selected>$row->lfbez - $gruppen $lektoren</OPTION>\n";
|
||||
}
|
||||
echo '</SELECT> ';
|
||||
}
|
||||
@@ -207,6 +205,7 @@ echo '</td><tr></table>';
|
||||
echo '<table><tr>';
|
||||
echo '<td width="10"> </td>';
|
||||
echo "<td>\n";
|
||||
echo "<b>$lv_obj->bezeichnung</b><br>";
|
||||
|
||||
if($lehreinheit_id=='')
|
||||
die('Es wurde keine passende Lehreinheit in diesem Studiensemester gefunden');
|
||||
|
||||
@@ -115,8 +115,7 @@ $uebung_id = (isset($_GET['uebung_id'])?$_GET['uebung_id']:'');
|
||||
echo '<table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">';
|
||||
echo ' <tr>';
|
||||
echo '<td width="10"> </td>';
|
||||
echo '<td class="ContentHeader"><font class="ContentHeader"> "Kreuzerl"-Tool - ';
|
||||
echo $lv_obj->bezeichnung.' - '.$stg_obj->kuerzel;
|
||||
echo '<td class="ContentHeader"><font class="ContentHeader"> "Kreuzerl"-Tool';
|
||||
echo '</font></td><td class="ContentHeader" align="right">'."\n";
|
||||
|
||||
//Studiensemester laden
|
||||
@@ -186,7 +185,7 @@ if($result = pg_query($conn, $qry))
|
||||
$qry_gruppen = "SELECT * FROM lehre.tbl_lehreinheitgruppe WHERE lehreinheit_id='$row->lehreinheit_id'";
|
||||
if($result_gruppen = pg_query($conn, $qry_gruppen))
|
||||
{
|
||||
$gruppen = '( ';
|
||||
$gruppen = '';
|
||||
$i=0;
|
||||
while($row_gruppen = pg_fetch_object($result_gruppen))
|
||||
{
|
||||
@@ -200,9 +199,8 @@ if($result = pg_query($conn, $qry))
|
||||
else
|
||||
$gruppen.=' ';
|
||||
}
|
||||
$gruppen.=')';
|
||||
}
|
||||
echo "<OPTION value='verwaltung.php?lvid=$lvid&stsem=$stsem&lehreinheit_id=$row->lehreinheit_id' $selected>$row->lfbez $lektoren $gruppen</OPTION>\n";
|
||||
echo "<OPTION value='verwaltung.php?lvid=$lvid&stsem=$stsem&lehreinheit_id=$row->lehreinheit_id' $selected>$row->lfbez - $gruppen $lektoren</OPTION>\n";
|
||||
}
|
||||
echo '</SELECT> ';
|
||||
}
|
||||
@@ -221,6 +219,7 @@ echo '</td><tr></table>';
|
||||
echo '<table><tr>';
|
||||
echo '<td width="10"> </td>';
|
||||
echo "<td>\n";
|
||||
echo "<b>$lv_obj->bezeichnung</b><br>";
|
||||
|
||||
if($lehreinheit_id=='')
|
||||
die('Sie haben keine Berechtigung für diesen Bereich');
|
||||
|
||||
@@ -73,13 +73,13 @@
|
||||
else
|
||||
$datum='';
|
||||
|
||||
if($semester == 0)
|
||||
if($row->semester == '')
|
||||
{
|
||||
echo '<p><small>'.$datum.' - '.$row->verfasser.' - [Allgemein]</small><br><b>'.$row->betreff.'</b><br>';
|
||||
}
|
||||
else
|
||||
{
|
||||
echo '<p><small>'.$datum.' - '.$row->verfasser.' - [Semester '.$semester.']</small><br><b>'.$row->betreff.'</b><br>';
|
||||
echo '<p><small>'.$datum.' - '.$row->verfasser.' - [Semester '.$row->semester.']</small><br><b>'.$row->betreff.'</b><br>';
|
||||
}
|
||||
|
||||
echo "$row->text</p>";
|
||||
@@ -124,7 +124,7 @@
|
||||
<?php
|
||||
|
||||
//Studiengangsleiter auslesen
|
||||
$qry = "SELECT * FROM campus.vw_mitarbeiter WHERE uid=(SELECT uid FROM public.tbl_benutzerfunktion WHERE studiengang_kz='$course_id' AND funktion_kurzbz='stgl')";
|
||||
$qry = "SELECT * FROM campus.vw_mitarbeiter WHERE uid=(SELECT uid FROM public.tbl_benutzerfunktion WHERE studiengang_kz='$course_id' AND funktion_kurzbz='stgl' LIMIT 1)";
|
||||
if($result_course_leader = pg_query($sql_conn, $qry))
|
||||
{
|
||||
$num_rows_course_leader = pg_numrows($result_course_leader);
|
||||
@@ -194,7 +194,7 @@
|
||||
echo "<p>Stellvertreter:<br>";
|
||||
|
||||
//Studiengangsleiter Stellvertreter auselesen
|
||||
$sql_query = "SELECT * FROM campus.vw_mitarbeiter WHERE uid=(SELECT uid FROM public.tbl_benutzerfunktion WHERE studiengang_kz='$course_id' AND funktion_kurzbz='stglstv')";
|
||||
$sql_query = "SELECT * FROM campus.vw_mitarbeiter WHERE uid=(SELECT uid FROM public.tbl_benutzerfunktion WHERE studiengang_kz='$course_id' AND funktion_kurzbz='stglstv' LIMIT 1)";
|
||||
|
||||
if($result_course_leader_deputy = pg_query($sql_conn, $sql_query))
|
||||
{
|
||||
|
||||
@@ -43,6 +43,14 @@
|
||||
<tr>
|
||||
<td>- <a href='../cisdocs/kollegium/CV_Martinek.pdf' class='Item'>Johannes Martinek</a></td>
|
||||
<td><a href='../cisdocs/kollegium/CV_Martinek.pdf'><img src='../../skin/images/pdfpic.gif'></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>- <a href='../cisdocs/kollegium/CV_neubauer.pdf' class='Item'>Ulrike Neubauer</a></td>
|
||||
<td><a href='../cisdocs/kollegium/CV_neubauer.pdf'><img src='../../skin/images/pdfpic.gif'></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>- <a href='../cisdocs/kollegium/CV_paminger.pdf' class='Item'>Christian Paminger</a></td>
|
||||
<td><a href='../cisdocs/kollegium/CV_paminger.pdf'><img src='../../skin/images/pdfpic.gif'></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>- <a href='../cisdocs/kollegium/CV_reichel.pdf' class='Item'>Martin Reichel</a><br></td>
|
||||
|
||||
@@ -34,11 +34,11 @@
|
||||
<td>Alumni Club</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="http://cis.technikum-wien.at" target="_blank">cis.technikum-wien.at</a></td>
|
||||
<td><a href="https://cis.technikum-wien.at" target="_blank">cis.technikum-wien.at</a></td>
|
||||
<td>Campus Informations System</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="http://cis.technikum-wien.at" target="_blank">training.technikum-wien.at</a></td>
|
||||
<td><a href="https://cis.technikum-wien.at" target="_blank">training.technikum-wien.at</a></td>
|
||||
<td> Dieser Link verweist jetzt auf die CIS-Seite</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -46,7 +46,7 @@
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="http://cis.technikum-wien.at/documents/oeser/public_html/" target="_blank">Fachbereich Informatik</a></td>
|
||||
<td><a href="https://cis.technikum-wien.at/documents/oeser/public_html/" target="_blank">Fachbereich Informatik</a></td>
|
||||
<td>Fachbereich Informatik Dokumente</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -127,9 +127,9 @@ class studiengang
|
||||
// * Liefert alle Studiengaenge
|
||||
// * @return true wenn ok, false im Fehlerfall
|
||||
// *******************************************
|
||||
function getAll($order=null)
|
||||
function getAll($order=null, $aktiv=true)
|
||||
{
|
||||
$qry = "SELECT * FROM public.tbl_studiengang";
|
||||
$qry = "SELECT * FROM public.tbl_studiengang WHERE aktiv=".($aktiv?'true':'false');
|
||||
|
||||
if($order!=null)
|
||||
$qry .=" ORDER BY $order";
|
||||
|
||||
Reference in New Issue
Block a user