re-add Files deleted from History

This commit is contained in:
oesi
2015-01-18 09:26:16 +01:00
parent 6d55c148d1
commit 3d13abbc24
22 changed files with 6190 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
<html>
<head>
<title>Koordinatorstunden</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="Javascript">
window.location.href='../index.html';
</script>
</head>
<body>
Sollten Sie nicht automatisch weitergeleitet werden, druecken sie bitte <a href="../index.html">hier</a>
</body>
</html>
Binary file not shown.
+454
View File
@@ -0,0 +1,454 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0059)http://lehre.technikum-wien.at/fh-eida/2_verteilte-systeme/ -->
<HTML><HEAD><TITLE>Fernlehre Technikum Wien</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff link="#003399">
<DIV align=center>
<P><font face="Arial, Helvetica, sans-serif"><b><font size="4" color="#666666">Muster
- Semesterplan</font></b></font></P>
</DIV>
<TABLE width="100%" border=1 bordercolor="#EAEAEA">
<TBODY>
<TR bgcolor="#666666">
<TD width="3%">
<DIV align=center><font color="#FFFFFF"><b><font size="2" face="Arial, Helvetica, sans-serif">SE</font></b></font></DIV>
</TD>
<TD width="25%">
<div align="center"><font color="#FFFFFF"><b><font size="2" face="Arial, Helvetica, sans-serif">Thema</font></b></font></div>
</TD>
<td width="15%">
<div align="center"><font color="#FFFFFF"><b><font size="2" face="Arial, Helvetica, sans-serif">Datum</font></b></font></div>
</td>
<TD width="3%">
<DIV align=center><font color="#FFFFFF"><b><font size="2" face="Arial, Helvetica, sans-serif">LF</font></b></font></DIV>
</TD>
<TD width="25%">
<div align="center"><font color="#FFFFFF"><b><font size="2" face="Arial, Helvetica, sans-serif">Unterlagen</font></b></font></div>
</TD>
<TD width="25%">
<div align="center"><font color="#FFFFFF"><b><font size="2" face="Arial, Helvetica, sans-serif">Ergänzungen,
Korrekturen und Lösungen</font></b></font></div>
</TD>
</TR>
<TR>
<TD width="3%" rowSpan=2 valign="top">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">1</font></DIV>
</TD>
<TD width="25%" rowSpan=2 valign="top"><font face="Arial, Helvetica, sans-serif" size="2">Thema
1</font></TD>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<TD width="3%" valign="top">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></DIV>
</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
</TR>
<TR>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">am
00.00.2002</font></td>
<TD width="3%" valign="top">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></DIV>
</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
</TR>
<TR>
<TD width="3%" rowSpan=2 valign="top" bgcolor="#CCCCCC">
<DIV align=center>
<P><font size="2" face="Arial, Helvetica, sans-serif">2</font></P>
</DIV>
</TD>
<TD width="25%" rowSpan=2 valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">Thema
2 </font></TD>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<TD width="3%" valign="top" bgcolor="#CCCCCC">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></DIV>
</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
</TR>
<TR>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<TD width="3%" valign="top" bgcolor="#CCCCCC">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></DIV>
</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
</TR>
<TR>
<TD width="3%" rowSpan=2 valign="top">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">3</font></DIV>
</TD>
<TD width="25%" rowSpan=2 valign="top"><font face="Arial, Helvetica, sans-serif" size="2">Thema
3 </font></TD>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<TD width="3%" valign="top">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></DIV>
</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
</TR>
<TR>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">am
00.00.2002</font></td>
<TD width="3%" valign="top">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></DIV>
</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
</TR>
<TR bgcolor="#EAEAEA">
<TD width="3%" rowSpan=2 valign="top" bgcolor="#CCCCCC">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">4</font></DIV>
</TD>
<TD width="25%" rowSpan=2 valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">Thema
4 </font></TD>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<TD width="3%" valign="top" bgcolor="#CCCCCC">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></DIV>
</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
</TR>
<TR>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<TD width="3%" valign="top" bgcolor="#CCCCCC">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></DIV>
</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
</TR>
<TR>
<TD width="3%" rowSpan=2 valign="top">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">5</font></DIV>
</TD>
<TD width="25%" rowSpan=2 valign="top"><font face="Arial, Helvetica, sans-serif" size="2">Thema
5 </font></TD>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<TD width="3%" valign="top">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></DIV>
</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
</TR>
<TR>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">am
00.00.2002</font></td>
<TD width="3%" valign="top">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></DIV>
</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
</TR>
<TR bgcolor="#EAEAEA">
<TD width="3%" rowSpan=2 valign="top" bgcolor="#CCCCCC">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">6</font></DIV>
</TD>
<TD width="25%" rowSpan=2 valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">Thema
6 </font></TD>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<TD width="3%" valign="top" bgcolor="#CCCCCC">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></DIV>
</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
</TR>
<TR>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<TD width="3%" valign="top" bgcolor="#CCCCCC">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></DIV>
</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
</TR>
<TR>
<TD width="3%" rowSpan=2 valign="top">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">7</font></DIV>
</TD>
<td width="25%" rowspan=2 valign="top"><font face="Arial, Helvetica, sans-serif" size="2">Thema
7 </font></td>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<TD width="3%" valign="top">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></DIV>
</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
</TR>
<TR>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">am
00.00.2002</font></td>
<TD width="3%" valign="top">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></DIV>
</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
</TR>
<TR bgcolor="#EAEAEA">
<TD width="3%" rowSpan=2 valign="top" bgcolor="#CCCCCC">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">8</font></DIV>
</TD>
<td width="25%" rowspan=2 valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">Thema
8 </font></td>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<TD width="3%" valign="top" bgcolor="#CCCCCC">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></DIV>
</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
</TR>
<TR>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<TD width="3%" valign="top" bgcolor="#CCCCCC">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></DIV>
</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
<TD align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</TD>
</TR>
<TR>
<TD rowSpan=2 valign="top">
<DIV align=center><font size="2" face="Arial, Helvetica, sans-serif">9</font></DIV>
</TD>
<td width="25%" rowspan=2 valign="top"><font face="Arial, Helvetica, sans-serif" size="2">Thema
9 </font></td>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></div>
</td>
<TD align=left width="25%" valign="top">&nbsp;</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
</TR>
<TR>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">am
00.00.2002</font></td>
<td width="3%" valign="top">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></div>
</td>
<TD align=left width="25%" valign="top">&nbsp;</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
</TR>
<tr bgcolor="#EAEAEA">
<td width="3%" rowspan=2 valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">10</font></div>
</td>
<td width="25%" rowspan=2 valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">Thema
10</font></td>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></div>
</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
</tr>
<tr>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></div>
</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
</tr>
<TR>
<TD rowSpan=2 valign="top">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2">11</font></div>
</TD>
<td width="25%" rowspan=2 valign="top"><font face="Arial, Helvetica, sans-serif" size="2">Thema
11</font></td>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></div>
</td>
<TD align=left width="25%" valign="top">&nbsp;</TD>
<TD align=left width="25%" valign="top">&nbsp;</TD>
</TR>
<TR>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">am
00.00.2002</font></td>
<td width="3%" valign="top" height="24">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></div>
</td>
<TD align=left width="25%" valign="top" height="24">&nbsp;</TD>
<TD align=left width="25%" valign="top" height="24">&nbsp;</TD>
</TR>
<tr bgcolor="#EAEAEA">
<td width="3%" rowspan=2 valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">12</font></div>
</td>
<td width="25%" rowspan=2 valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">Thema
12</font></td>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></div>
</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
</tr>
<tr>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></div>
</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
</tr>
<tr>
<td rowspan=2 valign="top">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">13</font></div>
</td>
<td rowspan=2 valign="top"><font face="Arial, Helvetica, sans-serif" size="2">Thema
13</font></td>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></div>
</td>
<td align=left width="25%" valign="top">&nbsp;</td>
<td align=left width="25%" valign="top">&nbsp;</td>
</tr>
<tr>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">am
00.00.2002</font></td>
<td width="3%" valign="top">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></div>
</td>
<td align=left width="25%" valign="top">&nbsp;</td>
<td align=left width="25%" valign="top">&nbsp;</td>
</tr>
<tr bgcolor="#EAEAEA">
<td width="3%" rowspan=2 valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">14</font></div>
</td>
<td width="25%" rowspan=2 valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">Thema
14</font></td>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></div>
</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
</tr>
<tr>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></div>
</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
</tr>
<tr>
<td rowspan=2 valign="top">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">15</font></div>
</td>
<td rowspan=2 valign="top"><font face="Arial, Helvetica, sans-serif" size="2">Thema
15</font></td>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></div>
</td>
<td align=left width="25%" valign="top">&nbsp;</td>
<td align=left width="25%" valign="top">&nbsp;</td>
</tr>
<tr>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">am
00.00.2002</font></td>
<td width="3%" valign="top">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></div>
</td>
<td align=left width="25%" valign="top">&nbsp;</td>
<td align=left width="25%" valign="top">&nbsp;</td>
</tr>
<tr bgcolor="#EAEAEA">
<td width="3%" rowspan=2 valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">16</font></div>
</td>
<td width="25%" rowspan=2 valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">Thema
16</font></td>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></div>
</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
</tr>
<tr>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></div>
</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
</tr>
<tr>
<td rowspan=2 valign="top">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">17</font></div>
</td>
<td rowspan=2 valign="top"><font face="Arial, Helvetica, sans-serif" size="2">Thema
17</font></td>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></div>
</td>
<td align=left width="25%" valign="top">&nbsp;</td>
<td align=left width="25%" valign="top">&nbsp;</td>
</tr>
<tr>
<td width="10%" valign="top"><font face="Arial, Helvetica, sans-serif" size="2">am
00.00.2002</font></td>
<td width="3%" valign="top">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></div>
</td>
<td align=left width="25%" valign="top">&nbsp;</td>
<td align=left width="25%" valign="top">&nbsp;</td>
</tr>
<tr bgcolor="#EAEAEA">
<td width="3%" rowspan=2 valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">18</font></div>
</td>
<td width="25%" rowspan=2 valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">Thema
18 </font></td>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">F</font></div>
</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
</tr>
<tr>
<td width="10%" valign="top" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif" size="2">bis
00.00.2002</font></td>
<td width="3%" valign="top" bgcolor="#CCCCCC">
<div align=center><font size="2" face="Arial, Helvetica, sans-serif">U</font></div>
</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
<td align=left width="25%" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
</tr>
</TBODY>
</TABLE>
<p><font size="1" face="Arial, Helvetica, sans-serif">Zeichenerklärung: SE=Studieneinheit,
LF=Lehrform, F=Fernlehrunterstützte Vorlesung, U=Übung</font></p>
</BODY></HTML>
Binary file not shown.
File diff suppressed because it is too large Load Diff
+272
View File
@@ -0,0 +1,272 @@
<?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 >
* Gerald Simane-Sequens < gerald.simane-sequens@technikum-wien.at >
*
*/
require_once('../../../config/cis.config.inc.php');
require_once('../../../include/functions.inc.php');
require_once('../../../include/basis_db.class.php');
require_once('../../../include/phrasen.class.php');
$sprache = getSprache();
$p=new phrasen($sprache);
if (!$db = new basis_db())
die($p->t("global/fehlerBeimOeffnenDerDatenbankverbindung"));
if (!$user=get_uid())
die($p->t("global/nichtAngemeldet").'! <a href="javascript:history.back()">Zur&uuml;ck</a>');
if(check_lektor($user))
$is_lector=true;
else
$is_lector=false;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
<script type="text/javascript">
$(document).ready(function()
{
$("#t1").tablesorter(
{
sortList: [[2,0]],
widgets: ["zebra"]
});
$("#t2").tablesorter(
{
sortList: [[0,0]],
widgets: ["zebra"]
});
$("#t3").tablesorter(
{
sortList: [[0,1]],
widgets: ["zebra"]
});
$("#t4").tablesorter(
{
sortList: [[0,0]],
widgets: ["zebra"]
});
});
</script>
<title><?php echo $p->t("notfallbestimmungen/ersthelferUndBrandschutzbeauftragte");?></title>
</head>
<body>
<h1><?php echo $p->t("notfallbestimmungen/ersthelferUndBrandschutzbeauftragte");?></h1>
<table class="cmstable" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="3" valign="top">
<table cellspacing="0" cellpadding="0">
<tr valign="top">
<td width="50%">
<h2 style="margin-top:0px;"><?php echo $p->t("notfallbestimmungen/ersthelfer");?></h2>
<?php echo $p->t("notfallbestimmungen/ausbildungErfolgteDurchORK");?><br/>
<strong><br/><?php echo $p->t("notfallbestimmungen/folgendePersonenStehenZurVerfuegung");?>:<br/></strong>
<table width="30%">
<tr>
<td valign="top">
<!--Ersthelfer auslesen-->
<?php
$zeilenzaehl=0;
$sql_query = "SELECT vorname, nachname, telefonklappe, ort_kurzbz, beschreibung, standort_id
FROM campus.vw_mitarbeiter
JOIN public.tbl_benutzerfunktion USING (uid)
JOIN public.tbl_funktion USING (funktion_kurzbz)
WHERE funktion_kurzbz='ersthelfer'
AND (datum_bis>='now()' OR datum_bis IS NULL)
AND campus.vw_mitarbeiter.aktiv=TRUE
AND standort_id IS NOT NULL
ORDER BY standort_id, nachname, vorname";
$result = $db->db_query($sql_query);
$count = 0;
echo '<table class="tablesorter" id="t1">
<thead>
<tr>
<th></th>
<th>'.$p->t("global/vorname").'</th>
<th>'.$p->t("global/nachname").'</th>
<th>'.$p->t("lvplan/raum").'</th>
<th>'.$p->t("global/telefonnummer").'</th>
</tr>
</thead><tbody>';
while($row = $db->db_fetch_object($result))
{$count++;
echo '
<tr>
<td width="10px">'.$count.'</td>
<td width="30%">'.$row->vorname.'</td>
<td width="40%">'.$row->nachname.'</td>
<td width="15%">'.$row->ort_kurzbz.'</td>
<td width="30%"><nobr>01/333 40 77 - <strong>'.$row->telefonklappe.'</strong></nobr></td>
</tr>';
}
echo '
</tbody></table>';
?>
</table>
</td>
<td width="50%">
<!--Brandschutzbeauftragte auslesen-->
<?php
$zeilenzaehl=0;
$sql_query = "SELECT vorname, nachname, telefonklappe, kontakt, ort_kurzbz, beschreibung, vw_mitarbeiter.standort_id
FROM campus.vw_mitarbeiter
JOIN public.tbl_benutzerfunktion USING (uid)
JOIN public.tbl_funktion USING (funktion_kurzbz)
JOIN public.tbl_kontakt USING (person_id)
WHERE funktion_kurzbz='brandbeauftragt'
AND (datum_bis>='now()' OR datum_bis IS NULL)
AND campus.vw_mitarbeiter.aktiv=TRUE
AND vw_mitarbeiter.standort_id IS NOT NULL
AND kontakt LIKE '%61925%'
ORDER BY funktion_kurzbz";
$result = $db->db_query($sql_query);
echo '<h2 style="margin-top:0px;">'.$p->t("notfallbestimmungen/brandschutzbeauftragte").'</h2>';
echo '<table class="tablesorter" id="t2">
<thead>
<tr>
<th>Nachname</th>
<th>Vorname</th>
<th>Nummer</th>
</tr>
</thead><tbody>';
while($row = $db->db_fetch_object($result))
{
echo '
<tr>
<td width="40%">'.$row->nachname.'</td>
<td width="30%">'.$row->vorname.'</td>
<td ><nobr>'.$row->kontakt.'</nobr></td>
</tr>';
}
echo '
</tbody></table>';
?>
<!--Rektorat auslesen-->
<?php
$zeilenzaehl=0;
$sql_query = "SELECT vorname, nachname, telefonklappe, kontakt, ort_kurzbz, beschreibung, vw_mitarbeiter.standort_id
FROM campus.vw_mitarbeiter
JOIN public.tbl_benutzerfunktion USING (uid)
JOIN public.tbl_funktion USING (funktion_kurzbz)
JOIN public.tbl_kontakt USING (person_id)
WHERE funktion_kurzbz IN ('rek','vrek') AND (datum_bis>='now()' OR datum_bis IS NULL)
AND campus.vw_mitarbeiter.aktiv=TRUE
AND vw_mitarbeiter.standort_id IS NOT NULL
AND kontakt LIKE '%61925%'
ORDER BY funktion_kurzbz";
$result = $db->db_query($sql_query);
echo '<h2>'.$p->t("notfallbestimmungen/rektorat").'</h2>';
echo '<table class="tablesorter" id="t3">
<thead>
<tr>
<th>Nachname</th>
<th>Vorname</th>
<th>Beschreibung</th>
<th>Nummer</th>
</tr>
</thead><tbody>';
while($row = $db->db_fetch_object($result))
{
echo '
<tr>
<td>'.$row->nachname.'</td>
<td>'.$row->vorname.'</td>
<td>('.$row->beschreibung.')</td>
<td><nobr>'.$row->kontakt.'</nobr></td>
</tr>';
}
echo '
</tbody></table>';
?>
<!--Brandschutzwarte auslesen-->
<?php
$zeilenzaehl=0;
$sql_query = "SELECT vorname, nachname, telefonklappe, ort_kurzbz, beschreibung, standort_id
FROM campus.vw_mitarbeiter
JOIN public.tbl_benutzerfunktion USING (uid)
JOIN public.tbl_funktion USING (funktion_kurzbz)
WHERE funktion_kurzbz='brandwart'
AND (datum_bis>='now()' OR datum_bis IS NULL)
AND campus.vw_mitarbeiter.aktiv=TRUE
AND standort_id IS NOT NULL
ORDER BY standort_id, nachname, vorname";
$result = $db->db_query($sql_query);
echo '<h2>'.$p->t("notfallbestimmungen/brandschutzwarte").'</h2>';
echo '<table class="tablesorter" id="t4">
<thead>
<tr>
<th>Nachname</th>
<th>Vorname</th>
</tr>
</thead><tbody>';
while($row = $db->db_fetch_object($result))
{
echo '
<tr>
<td width="40%">'.$row->nachname.'</td>
<td width="30%">'.$row->vorname.'</td>
</tr>';
}
echo '
</tbody></table>';
?>
</td>
</tr>
</table>
</td>
<td class="menubox">
<p><a href="../../../cms/content.php?content_id=<?php echo $p->t("dms_link/sicherheitAnDerFHTW");?>"><?php echo $p->t("notfallbestimmungen/sicherheitAnDerFHTW");?></a></p>
</td>
</tr>
<tr>
<td style="width: 20%;" valign="top">&nbsp;</td>
</tr>
<tr>
<td style="width: 20%;" valign="top">&nbsp;</td>
</tr>
</table>
</table>
</body>
</html>
Binary file not shown.
+88
View File
@@ -0,0 +1,88 @@
<?php
require_once('../../../../config/cis.config.inc.php');
require_once('../../../../include/functions.inc.php');
$user=get_uid();
$lektor=check_lektor($user);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../../../skin/style.css.php" rel="stylesheet" type="text/css"><title>Handbuch</title></head>
<body>
<table class="tabcontent" id="inhalt">
<tbody><tr>
<td class="tdwidth10">&nbsp;</td>
<td>
<table class="tabcontent">
<tbody>
<tr>
<td class="ContentHeader"><font class="ContentHeader">&nbsp;Handb&uuml;cher</font></td>
</tr>
<?php
if($lektor)
{
?>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td class="ContentHeader2"><font class="ContentHeader2">&nbsp;Abgabe OPUS</font></td>
</tr>
<!--
<tr class="liste0">
<td>
<a target="_blank" href="Projektarbeitsabgabe_FHTW_Anleitung.pdf" class='Item'>Projektarbeitsabgabe Anleitung</a>
</td>
</tr>
-->
<tr class="liste0">
<td>
<a target="_blank" href="Projektarbeitsabgabe_FHTW_Anleitung_A.pdf" class='Item'>Projektarbeitsabgabe Anleitung Assistenz</a>
</td>
</tr>
<tr class="liste1">
<td>
<a target="_blank" href="Projektarbeitsabgabe_FHTW_Anleitung_L.pdf" class='Item'>Projektarbeitsabgabe Lektor(inn)en</a>
</td>
</tr>
<tr class="liste0">
<td>
<a target="_blank" href="Publikationsdatenbank_FHTW_Handbuch.pdf" class='Item'>Publikationsdatenbank Handbuch</a>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td class="ContentHeader2"><font class="ContentHeader2">&nbsp;Benotungstool</font></td>
</tr>
<tr class="liste0">
<td>
<a target="_blank" href="../../../cisdocs/handbuch_benotungstool.pdf" class='Item'>Handbuch Benotungstool</a>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td class="ContentHeader2"><font class="ContentHeader2">&nbsp;Moodle</font></td>
</tr>
<tr class="liste0">
<td>
<a target="_blank" href="../../../cisdocs/Moodle-Handbuch.pdf" class='Item'>Handbuch Moodle</a>
</td>
</tr>
<?php
}
?>
</tbody></table></td>
<td class="tdwidth30">&nbsp;</td>
</tr>
</tbody></table>
</body></html>
+606
View File
@@ -0,0 +1,606 @@
<?php
/* Copyright (C) 2009 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>,
* Rudolf Hangl <rudolf.hangl@technikum-wien.at> and
* Gerald Simane-Sequens <gerald.simane-sequens@technikum-wien.at>
*/
// -------------------------------------------------------------------------------
// Include Daten
// -------------------------------------------------------------------------------
require_once('../../../config/cis.config.inc.php');
require_once('../../../include/organisationseinheit.class.php');
require_once('../../../include/mitarbeiter.class.php');
require_once('../../../include/benutzerfunktion.class.php');
require_once('../../../include/studiengang.class.php');
require_once('../../../include/fachbereich.class.php');
// -------------------------------------------------------------------------------
// Parameterdaten
// -------------------------------------------------------------------------------
$oe_kurzbz = (isset($_GET['oe_kurzbz'])?$_GET['oe_kurzbz']:null);
$debug = (isset($_GET['debug'])?$_GET['debug']:(isset($_POST['debug'])?$_POST['debug']:false));
$debug = true;
#$oe_kurzbz='bif';
// -------------------------------------------------------------------------------
// Html Header output
// -------------------------------------------------------------------------------
echo '
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
<script src="../../../include/js/jquery.js" type="text/javascript"></script>
<script src="../../../include/js/jquery-ui.js" type="text/javascript"></script>
<style type="text/css">
<!--
li { list-style : outside url("../../../skin/images/right.gif");}
/* ----------------------------------
Resizable
---------------------------------- */
.ui-resizable { position: relative;}
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}
div.info {width:40%;display:none;padding: 5px 5px 5px 5px;border: 1px solid Black;empty-cells : hide;text-align:center;vertical-align: top;z-index: 99;background-color: white; position:absolute;}
div.infoclose {border: 7px outset #008381;padding: 0px 10px 0px 10px;}
div.infodetail {font-size:medium;text-align:left;background-color: #F5F5F5;padding: 15px 15px 15px 15px;}
table {border:0; padding:0;margin:0;}
tr {border:0; padding:0;margin:0;}
td {border:0; padding:0;margin:0;}
table.orglevel0 {border:0; padding:0;margin:0; }
table.orglevel0 tr {background-color: #626b71;}
table.orglevel0 th {text-align:center;color:#FFF;}
table.orglevel0 td {text-align:left;color:#FFF;}
table.orglevel0 a {color:#FFF;}
table.orglevel0 a:hover {color:silver;}
table.orglevel1 {width:100%;border:0; padding:0;margin:0; }
table.orglevel1 tr {background-color: #d6da96;}
table.orglevel1 th {text-align:center;color:#000;}
table.orglevel1 td {text-align:left;color:#000;}
table.orglevel1 a {color:#000;}
table.orglevel1 a:hover {color:navy;}
table.orglevel2 {width:100%;border:0; padding:0;margin:0; }
table.orglevel2 tr {background-color: #147caa;}
table.orglevel2 th {text-align:center;color:#FFF;}
table.orglevel2 td {text-align:left;color:#FFF;}
table.orglevel2 a {color:#FFF;}
table.orglevel2 a:hover {color:#000;}
-->
</style>
';
echo '
<script type="text/javascript" language="JavaScript1.2">
<!--
//http://api.jquery.com/jQuery.ajax/
var ajxFile = "'.$_SERVER["PHP_SELF"].'";
var InfoWin;
function load_oe_kurzbz(oe_kurzbz,obj)
{
$("div#infodetail").html("<img src=\'../../../skin/images/spinner.gif\' alt=\'warten\' title=\'warten\' >");
$("div#info").show("slow"); // div# langsam oeffnen
$.ajax
(
{
type: "GET",
timeout: 1500,
dataType: "html",
url: ajxFile,
data: "oe_kurzbz=" + oe_kurzbz,
error: function()
{
$("div#infodetail").html("error ");
return;
},
success: function(phpData)
{
$("div#infodetail").html(phpData);
return;
}
}
);
}
function load_user(uid)
{
$("div#infodetail").html("<img src=\'../../../skin/images/spinner.gif\' alt=\'warten\' title=\'warten\' >");
$("div#info").show("slow"); // div# langsam oeffnen
$.ajax
(
{
type: "GET",
timeout: 1500,
dataType: "html",
url: "../profile/index.php",
data: "uid=" + uid,
error: function()
{
$("div#infodetail").html("error ");
return;
},
success: function(phpData2)
{
$("div#infodetail").html(phpData2);
return;
}
}
);
}
$(function()
{
$("#info").resizable();
$("#ui-resizable").draggable();
});
-->
</script>
</head>
<body>
';
// -------------------------------------------------------------------------------
// Html Daten output
// -------------------------------------------------------------------------------
// -------------------------------------------------------------------------------
// Detailanzeige Organisation - Ajax Container
echo '
<div id="ui-resizable" class="ui-resizable">
<div style="-moz-user-select: none;" class="ui-resizable-handle ui-resizable-e"></div>
<div style="-moz-user-select: none;" class="ui-resizable-handle ui-resizable-s"></div>
<div style="z-index: 1001; -moz-user-select: none;" class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se"></div>
<div id="info" class="info" >
<div id="infodaten" class="infodaten">
<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr style="color:#FFF;" class="ContentHeader">
<td id="info_print" align="left" style="color:#FFF;cursor: default;" class="ContentHeader">
<div>drucken <img border="0" src="../../../skin/images/printer.png" title="drucken" ><br /></div>
<script type="text/javascript">
$(document).ready(function()
{
$("td#info_print").click(function()
{
el=\'div#infodetail\';
var doc=null;
var tab=false;;
var iframe=false;
if ($.browser.opera || $.browser.mozilla)
{
var tab = window.open("","jqPrint-preview");
tab.document.open();
var doc = tab.document;
}
else
{
var iframe=document.createElement(\'IFRAME\');
$(iframe).attr(\'style\',\'position:absolute;width:0px;height:0px;left:-500px;top:-500px;\');
document.body.appendChild(iframe);
doc=iframe.contentWindow.document;
}
var links=window.document.getElementsByTagName("link");
for(var i=0;i<links.length;i++)
{
if(links[i].rel.toLowerCase()=="stylesheet")
{
doc.write(\'<link type="text/css" rel="stylesheet" href="\'+links[i].href+\'"></link>\');
}
}
doc.write(\'<div class="\'+$(el).attr("class")+\'">\'+$(el).html()+\'</div>\');
doc.close();
// alert(iframe.contentWindow.document);
(tab ? tab : iframe.contentWindow).focus();
setTimeout( function()
{
( tab ? tab : iframe.contentWindow).print(); if (tab) { tab.close(); } }, 1000);
});
});
</script>
</div>
</td>
<td id="info_close" align="right" style="color:#FFF;cursor: default;" class="ContentHeader">
<div>schliessen <img border="0" src="../../../skin/images/cross.png" title="schliessen">&nbsp;</div>
<script type="text/javascript">
$(document).ready(function()
{
$("td#info_close").click(function(event)
{
$("div#info").hide("slow"); // div# langsam oeffnen
});
});
</script>
</div>
</td>
</tr></table>
<br>
<div id="infodetail" class="infodetail">&nbsp;</div>
<br>
</div>
</div>
</div>
';
echo '
<table id="inhalt" class="tabcontent">
<tr>
<td class="tdwidth10">&nbsp;</td>
<td>
<table class="tabcontent">
<tr>
<td class="ContentHeader"><font class="ContentHeader">&nbsp;Organisation der '.CAMPUS_NAME.'&nbsp;</font></td>
</tr>';
echo '<tr><td>';
// ----------- Anzeige Organisation
if (!$outarray=getOrganisationen($oe_kurzbz,$debug))
echo '<font class="error">Fehler beim Daten lesen</font>';
else if (!displayOrganisationen($oe_kurzbz,$outarray))
echo '<font class="error">Fehler bei der Ausgabe der Daten</font>';
echo '</td></tr>';
echo '</table>
</td>
</tr>
</table>';
echo '</body></html>';
// ---------------------------------------------------------------------------------------------------------------
// Zeigt das Array in einer Verschachtelten Tabelle an
// ---------------------------------------------------------------------------------------------------------------
function displayOrganisationen($oe_kurzbz=null,$outarray=array())
{
/* --- ALLE ARRA Varianten ---
$outarray['ersteebene']=array();
$outarray['child']=array();
$outarray['studienzentren']=array();
$outarray['fachhochschule']=array();
$outarray['uebergreifende']=array();
$outarray['nochnichtzugeordnet']=array();
*/
// ---------------------------------------------------------------------------------------------------------------
// wird nur eine Organisatzionsdatensatz gefunden die Personen anzeigen
if(!is_null($oe_kurzbz))
{
$qry = "SELECT distinct titelpre, vorname, nachname, titelpost, funktion_kurzbz, uid FROM public.tbl_benutzerfunktion JOIN campus.vw_mitarbeiter USING(uid) WHERE
aktiv and (funktion_kurzbz='oezuordnung' OR funktion_kurzbz='Leitung') AND
oe_kurzbz IN(
WITH RECURSIVE oes(oe_kurzbz, oe_parent_kurzbz) as
(
SELECT oe_kurzbz, oe_parent_kurzbz FROM public.tbl_organisationseinheit
WHERE oe_kurzbz='".addslashes($oe_kurzbz)."'
UNION ALL
SELECT o.oe_kurzbz, o.oe_parent_kurzbz FROM public.tbl_organisationseinheit o, oes
WHERE o.oe_parent_kurzbz=oes.oe_kurzbz
)
SELECT oe_kurzbz
FROM oes
GROUP BY oe_kurzbz)
ORDER BY funktion_kurzbz, nachname, vorname ";
$db = new basis_db();
if(!$result=$db->db_query($qry))
echo '<p class="error">'.$db->errormsg.'</p>';
else
{
if($anz=$db->db_num_rows($result))
{
$oe_obj = new organisationseinheit($oe_kurzbz);
$oe_obj->oe_parent_kurzbz=$oe_kurzbz;
echo '<tr><td><table class="rahmen">';
echo '<tr><td><h1>&nbsp;'.$oe_obj->organisationseinheittyp_kurzbz.' - '.$oe_obj->bezeichnung.'&nbsp;</h1></td></tr>';
echo '<tr><td><fieldset><legend>&nbsp;Mitarbeiter&nbsp;</legend>';
if ($anz>1)
echo '<h3>&nbsp;Anzahl: '.$anz.'&nbsp;</h3>';
echo '<ul>';
while($row = $db->db_fetch_object($result))
{
$url="void(open('../profile/index.php?uid='+escape(".$row->uid."),'','resizable,location,menubar,toolbar,scrollbars,status'));";
// echo '<li class="personenliste"><a target="_blank" href="javascript:'.$url.'" class="Item">'.$row->titelpre.' '.$row->vorname.' '.$row->nachname.' '.$row->titelpost.($row->funktion_kurzbz=='Leitung'?' (Leitung)':'').'</a></li>';
// echo '<li class="personenliste"><a target="_blank" href="../profile/index.php?uid='.$row->uid.'" class="Item">'.$row->titelpre.' '.$row->vorname.' '.$row->nachname.' '.$row->titelpost.($row->funktion_kurzbz=='Leitung'?' (Leitung)':'').'</a></li>';
echo '<li class="personenliste"><a href="javascript:load_user(\''.$row->uid.'\');" class="Item">'.$row->titelpre.' '.$row->vorname.' '.$row->nachname.' '.$row->titelpost.($row->funktion_kurzbz=='Leitung'?' (Leitung)':'').'</a></li>';
/*
$(function(){
$('a.new-window').click(function(){
window.open(this.href);
return false;
});
});
*/
}
echo '</ul>';
echo '</fieldset></td></tr>';
echo '</table></td></tr>';
}
}
return true;
}// Ende wenn nur eine Organisation gefunden wurde
echo '<table style="padding:0;border:0;margin:0;width:100%;">';
echo '<tr>';
if (is_array($outarray['fachhochschule']) && count($outarray['fachhochschule'])>0 )
{
echo '<td><table class="orglevel0"><tr><td><b>FACHHOCHSCHULE</b><br><ul>';
foreach ($outarray['fachhochschule'] as $key=>$val)
{
echo '<li><a href="javascript:load_oe_kurzbz(\''.$val->oe_kurzbz.'\',this);" class="Item">';
echo $val->bezeichnung;
echo '</a></li>';
}
echo '</ul></td></tr></table></td>';
}
$i=count($outarray['studienzentren']);
foreach ($outarray['ersteebene'] as $key=>$val)
{
echo '<td style="width:100%;vertical-align: bottom;"><table style="padding:0;border:0px;margin:0;width:100%;" class="orglevel0"><tr><th><a href="javascript:load_oe_kurzbz(\''.$val->oe_kurzbz.'\',this);" class="Item">';
echo $val->bezeichnung.'<br>'.$val->organisationseinheittyp_kurzbz;
echo '</a></th></tr><tr><td style="background-color: #FFF;color:#626b71;text-align: center;"><span style="color:#626b71;width:5px;"><img src=\'../../../skin/images/bullet_arrow_down.png\' alt=\'info\' title=\'info\' ></span></td></tr></table></td>';
}
echo '</tr>';
//--- STUDIENZENTRUM
echo '<tr><td style="vertical-align: top;" colspan="3"><table style="padding:0;border:0;margin:0;width:100%;height:100%;"><tr>';
reset($outarray['studienzentren']);
foreach ($outarray['studienzentren'] as $key=>$val)
{
if (!isset($val) || !isset($val['dat']) || !is_object($val['dat']) || !isset($val['dat']->organisationseinheittyp_kurzbz))
continue;
echo '<td style="width:'. (100 / $i) .'%;vertical-align: bottom;">
<table class="orglevel1" style="padding:0;border:0px;margin:0;width:100%;">';
// Pfeil nach Unten
echo '<tr><th style="vertical-align:top;border-top : 1px solid #626b71;background-color: #FFF;"><img src=\'../../../skin/images/bullet_arrow_down.png\' alt=\'info\' title=\'info\' ></th></tr>';
echo '<tr><td style="vertical-align:top;border: 1px inset Black;"><table class="orglevel1" style="padding:0;border:0px;margin:0;">';
// ---- STUDIENGANG
echo '<tr><th style="height:70px;vertical-align:top;"><a href="javascript:load_oe_kurzbz(\''.$key.'\',this);" class="Item">';
echo '<b>'.$val['dat']->organisationseinheittyp_kurzbz.'</b>'.'<br>'.$val['dat']->bezeichnung;
echo '</a></th></tr>';
$first_organisationseinheittyp_kurzbz=null;
$last_organisationseinheittyp_kurzbz=null;
echo '<tr><td style="height:220px;vertical-align:top;"><ul>';
reset($val['child']);
foreach ($val['child'] as $keys=>$vals)
{
if (is_null($first_organisationseinheittyp_kurzbz))
$first_organisationseinheittyp_kurzbz=$vals['dat']->organisationseinheittyp_kurzbz;
if (!is_null($last_organisationseinheittyp_kurzbz) && $vals['dat']->organisationseinheittyp_kurzbz!=$last_organisationseinheittyp_kurzbz)
{
$last_organisationseinheittyp_kurzbz=$vals['dat']->organisationseinheittyp_kurzbz;
break;
}
$last_organisationseinheittyp_kurzbz=$vals['dat']->organisationseinheittyp_kurzbz;
echo '<li title="'.$vals['dat']->organisationseinheittyp_kurzbz.' '.$vals['dat']->oe_kurzbz.' Parent '.$vals['dat']->oe_parent_kurzbz.'"><a href="javascript:load_oe_kurzbz(\''.$keys.'\',this);" class="Item">';
echo $vals['dat']->bezeichnung;
echo '</a></li>';
}
echo '</ul></td></tr>';
// ---- INSTITUTE
if ($last_organisationseinheittyp_kurzbz!=$first_organisationseinheittyp_kurzbz)
{
echo '<tr><td><table style="padding:0;border:0px;margin:0;" class="orglevel2">';
echo '<tr><td style="height:140px;vertical-align:top;"><b>'.$last_organisationseinheittyp_kurzbz.'</b><ul>';
reset($val['child']);
foreach ($val['child'] as $keys=>$vals)
{
if ($vals['dat']->organisationseinheittyp_kurzbz!=$last_organisationseinheittyp_kurzbz)
continue;
$last_organisationseinheittyp_kurzbz=$vals['dat']->organisationseinheittyp_kurzbz;
echo '<li title="'.$vals['dat']->organisationseinheittyp_kurzbz.' Parent '.$vals['dat']->oe_parent_kurzbz.'"><a href="javascript:load_oe_kurzbz(\''.$keys.'\',this);" class="Item">';
echo $vals['dat']->bezeichnung;
echo '</a></li>';
}
echo '</ul></td></tr></table></td></tr>';
}
else
{
echo '<tr><td><table style="padding:0;border:0px;margin:0;" class="orglevel1">';
echo '<tr><td style="height:140px;vertical-align:top;">&nbsp;</td></tr></table></td></tr>';
}
echo '</table></td></tr></table></td>';
}
echo '</tr></table></td></tr>';
// --- UEBERGREIFEND
if (count($outarray['uebergreifende'])>0)
{
echo '<tr><td style="text-align:center;" colspan="3">
<table class="orglevel2" style="padding:0;border:0;margin:0;width:100%;">
<tr><td style="padding:0 0 0 40%;text-align: left;"><b>&Uuml;bergreifende Institute</b><ul>';
foreach ($outarray['uebergreifende'] as $key=>$val)
{
echo '<li><a href="javascript:load_oe_kurzbz(\''.$key.'\',this);" class="Item">';
echo $val->organisationseinheittyp_kurzbz.'-'.$val->bezeichnung;
echo '</a></li>';
}
echo '</ul></td></tr></table></td></tr>';
}
echo '</table>';
# var_dump($outarray['studienzentren']);
return true;
}
// ---------------------------------------------------------------------------------------------------------------
// Zeigt das Array in einer Verschachtelten Tabelle an
// ---------------------------------------------------------------------------------------------------------------
function getOrganisationen($oe_kurzbz=null,$debug=false)
{
// -------------------------------------------------------------------------------
// Organisationen
//Alle obersten Organisationseinheiten holen
$oe = new organisationseinheit();
if(!is_null($oe_kurzbz) && !empty($oe_kurzbz))
{
//wenn eine Organisationseinheit uebergeben wurde, dann laden
$oe->load($oe_kurzbz);
$oe_obj = new organisationseinheit();
$oe_obj->oe_parent_kurzbz=$oe->oe_kurzbz;
#var_dump( $oe);
$oe->result[] = $oe;
$breadcrumbs='';
do
{
$oe_obj->load($oe_obj->oe_parent_kurzbz);
$breadcrumbs = '<a href="javascript:load_oe_kurzbz(\''.$oe_obj->oe_kurzbz.'\',this);" class="Item">'.$oe_obj->organisationseinheittyp_kurzbz.' - '.$oe_obj->bezeichnung.'</a> &gt; '.$breadcrumbs;
} while($oe_obj->oe_parent_kurzbz!='');
$breadcrumbs='<a href="organisationseinheiten.php" class="Item">Organisation</a> &gt; '.$breadcrumbs;
echo '<tr><td><h3>'.$breadcrumbs.'</h3></td></tr>';
}
else
{
//Wenn keine Organisationseinheite uebergeben wurde, die obersten laden
$oe->getHeads();
}
// Initialisierung
$outarray['ersteebene']=array();
$outarray['child']=array();
$outarray['studienzentren']=array();
$outarray['fachhochschule']=array();
$outarray['uebergreifende']=array();
$outarray['nochnichtzugeordnet']=array();
// Spezielle Zuordnungen zu den Anzeige-Array
$check_fachhochschule=array('abteilung','institut');
$check_uebergreifende=array('studiengang');
$check_noch_nicht_zugeordnet=array();
// Erste Ebene lesen (wenn parameter oe_kurzbz uebergeben wird ist das die erste Ebene)
$ersteebene = array();
foreach ($oe->result as $result)
$outarray['ersteebene'][$result->oe_kurzbz]=$result;
if (!is_array($outarray['ersteebene']) || count($outarray['ersteebene'])<1)
return false;
// Alle Eintraege zur Hauptebene suchen
reset($outarray['ersteebene']);
foreach ($outarray['ersteebene'] as $key=>$val)
$outarray['child'] = getChilds($key);
// Aufteilen auf die verschidenen Teile
if (is_array($outarray['child']))
reset($outarray['child']);
else
return $outarray;
foreach ($outarray['child'] as $key=>$val)
{
if (!isset($val)
|| !is_array($val)
|| count($val)<1)
continue;
if ($key=='Dummy')
continue;
if (!isset($val['child']) || is_null($val['child']) || !is_array($val['child']) || count($val['child'])<1)
{
$check=strtolower($val['dat']->organisationseinheittyp_kurzbz);
if (in_array($check,$check_fachhochschule))
$outarray['fachhochschule'][$key]=$val['dat'];
else if (in_array($check,$check_uebergreifende))
$outarray['uebergreifende'][$key]=$val['dat'];
else
$outarray['nochnichtzugeordnet'][$key]=$val['dat'];
continue;
}
$outarray['studienzentren'][$key]=$val;
}
#var_dump($outarray['studienzentren']);
return $outarray;
}
// ---------------------------------------------------------------------------------------------------------------
//Liefert die Kindelemente einer Organisationseinheit in
//einem verschachteltem Array zurueck
// ---------------------------------------------------------------------------------------------------------------
function getChilds($foo)
{
$obj = new organisationseinheit();
$arr = array();
$arr1 = $obj->getDirectChilds($foo);
foreach ($arr1 as $value)
{
if ($daten=getDaten($value))
$arr[$value]['dat']=$daten;
}
if ((!is_array($arr) && !is_object($arr)) || count($arr)<1)
return null;
reset($arr);
foreach ($arr as $key =>$val)
$arr[$key]['child'] = getChilds($key);
return $arr;
}
// ---------------------------------------------------------------------------------------------------------------
//Liefert zur oe_kurzbz die Kpl. Daten zureuck
// -- Nur Aktive Datensaetze
// ---------------------------------------------------------------------------------------------------------------
function getDaten($oe_kurzbz='')
{
if (is_null($oe_kurzbz) || empty($oe_kurzbz))
return array();
$obj = new organisationseinheit($oe_kurzbz);
$obj->load($oe_kurzbz);
if(!isset($obj->aktiv) || empty($obj->aktiv))
return null;
if ($stg = new studiengang())
{
$qry = "SELECT * FROM public.tbl_studiengang WHERE aktiv and upper(trim(kurzbzlang))=upper(trim('".$oe_kurzbz."'))";
if ($result = $stg->db_query($qry))
{
while($row = $stg->db_fetch_object($result))
{
foreach ($row as $key=>$val)
$obj->$key=str_replace('/',' / ',$val);
}
}
}
return $obj;
}
?>
+130
View File
@@ -0,0 +1,130 @@
<?php
/* Copyright (C) 2012 FH 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: Andreas Oesterreicher < andreas.oesterreicher@technikum-wien.at >
* Manfred Kindl < manfred.kindl@technikum-wien.at >
*/
require_once('../../../config/cis.config.inc.php');
require_once('../../../include/service.class.php');
require_once('../../../include/benutzerberechtigung.class.php');
require_once('../../../include/datum.class.php');
require_once('../../../include/phrasen.class.php');
$user = get_uid();
$sprache = getSprache();
$p=new phrasen($sprache);
//$rechte = new benutzerberechtigung();
//$rechte->getBerechtigungen($user);
//if(!$rechte->isBerechtigt('basis/service'))
// die('Sie haben keine Berechtigung fuer diese Seite');
$datum_obj = new datum();
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>'.$p->t("services/service").'</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
$("#myTable").tablesorter(
{
sortList: [[0,0],[1,0]],
widgets: [\'zebra\']
});
}
);
function ContentPopUp (Adresse)
{
Content = window.open(Adresse, "Content", "width=800,height=500,scrollbars=yes");
Content.focus();
}
</script>
</head>
<body>
<h1>'.$p->t("services/uebersichtUeberServicesOrganisationseinheiten").'</h1>';
$oe_kurzbz = (isset($_GET['oe_kurzbz'])?$_GET['oe_kurzbz']:'');
$service = new service();
echo '<form action="'.$_SERVER['PHP_SELF'].'" method="GET">';
echo $p->t("global/organisationseinheit").': ';
echo '<SELECT name="oe_kurzbz">
<OPTION value="">-- '.$p->t("global/alle").' --</OPTION>';
$oe = new organisationseinheit();
$oe->getAll();
foreach($oe->result as $row)
{
if($row->oe_kurzbz==$oe_kurzbz)
$selected='selected';
else
$selected='';
echo '<OPTION value="'.$row->oe_kurzbz.'" '.$selected.'>'.$row->organisationseinheittyp_kurzbz.' '.$row->bezeichnung.'</OPTION>';
}
echo '</SELECT>
<input type="submit" value="'.$p->t("services/filtern").'" />
</form>';
if($oe_kurzbz!='')
{
// Wenn der OE keine Services zugeteilt sind, dann die Services der untergeordneten OE laden
if($service->getServicesOrganisationseinheit($oe_kurzbz))
if (empty($service->result))
if(!$service->getSubServicesOrganisationseinheit($oe_kurzbz))
die($service->errormsg);
}
else
{
if(!$service->getAll())
die($service->errormsg);
}
echo '<table class="tablesorter" id="myTable">
<thead>
<tr>
<th>'.$p->t("global/organisationseinheit").'</th>
<th>'.$p->t("global/bezeichnung").'</th>
<th>'.$p->t("global/beschreibung").'</th>
<th>'.$p->t("services/details").'</th>
</tr>
</thead>
<tbody>';
foreach($service->result as $row)
{
echo '<tr>';
echo '<td>',$row->oe_kurzbz,'</td>';
echo '<td>',$row->bezeichnung,'</td>';
echo '<td>',$row->beschreibung,'</td>';
echo '<td><a href="../../../cms/content.php?content_id='.$row->content_id.'" onclick="ContentPopUp(this.href); return false">',$row->content_id,'</a></td>';
echo '</tr>';
}
echo '</tbody>
</table>
</body>
</html>';
?>
+401
View File
@@ -0,0 +1,401 @@
<?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 >
* Gerald Simane-Sequens < gerald.simane-sequens@technikum-wien.at >
* Manfred Kindl <manfred.kindl@technikum-wien.at>
*
*/
require_once('../../../config/cis.config.inc.php');
require_once('../../../include/functions.inc.php');
require_once('../../../include/basis_db.class.php');
require_once('../../../include/phrasen.class.php');
require_once('../../../include/person.class.php');
$sprache = getSprache();
$p=new phrasen($sprache);
if (isset($_GET['zeilenhoehe']) && is_numeric($_GET['zeilenhoehe']))
$zeilenhoehe = $_GET['zeilenhoehe'];
else
$zeilenhoehe = 28;
if (isset($_GET['gruppiert']) && ($_GET['gruppiert']=='on'))
$gruppiert = true;
else
$gruppiert = false;
if (isset($_GET['gst_extra']) && ($_GET['gst_extra']=='on'))
$gst_extra = true;
else
$gst_extra = false;
if (!$db = new basis_db())
die($p->t("global/fehlerBeimOeffnenDerDatenbankverbindung"));
if (!$user=get_uid())
die($p->t("global/nichtAngemeldet").'! <a href="javascript:history.back()">Zur&uuml;ck</a>');
if(check_lektor($user))
$is_lector=true;
else
$is_lector=false;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
<title><?php echo $p->t("telefonverzeichnis/titelTelefonverzeichnis");?></title>
<script language="JavaScript" type="text/javascript">
<!--
function RefreshImage()
{
window.location.reload();
}
$(document).ready(function()
{
$("#t1").tablesorter(
{
sortList: [[0,0]],
widgets: ["zebra"]
});
$("#t2").tablesorter(
{
sortList: [[0,0]],
widgets: ["zebra"]
});
$("#t3").tablesorter(
{
sortList: [[0,0]],
widgets: ["zebra"]
});
$("#t4").tablesorter(
{
sortList: [[0,0]],
widgets: ["zebra"]
});
$("#t5").tablesorter(
{
sortList: [[0,0]],
widgets: ["zebra"]
});
$("#t6").tablesorter(
{
sortList: [[0,0]],
widgets: ["zebra"]
});
$("#t7").tablesorter(
{
sortList: [[0,0]],
widgets: ["zebra"]
});
$("#t10").tablesorter(
{
sortList: [[0,0]],
widgets: ["zebra"]
});
$("#t11").tablesorter(
{
sortList: [[0,0]],
widgets: ["zebra"]
});
});
-->
</script>
<style>
td,th
{
font-size: 18px;
}
@media print
{
#nachname,#vorname,#durchwahl,#raum,#person
{
background-image: none;
padding-left: 3px;
}
#formular
{
display:none;
}
}
</style>
</head>
<body>
<h1 style="padding-left: 15px;"><?php echo $p->t("telefonverzeichnis/titelTelefonverzeichnis");?></h1>
<span id="formular">
<form style="padding-left: 15px;" action="<?php $_SERVER['PHP_SELF']; ?>" method="GET">
Zeilenhöhe: <input type="text" size="3" maxlength="3" id="zeilenhoehe" name="zeilenhoehe" value="<?php echo $zeilenhoehe; ?>">px&nbsp;&nbsp;
Geschäftsstelle extra:<input type="checkbox" id="gst_extra" name="gst_extra" <?php echo ($gst_extra==true?'checked="checked"':''); ?>> &nbsp;&nbsp;
Gruppiert nach Standort:<input type="checkbox" id="gruppiert" name="gruppiert" <?php echo ($gruppiert==true?'checked="checked"':''); ?>> &nbsp;&nbsp;
<input type="submit" value="OK">
</form>
</span>
<table cellpadding="10" class="tabcontent" height="100%" id="inhalt">
<tr>
<td>
<table>
<?php
if ($gst_extra==true || $gruppiert == true)
{
$sql_query = " SELECT vw_mitarbeiter.person_id, vw_mitarbeiter.vorname, vw_mitarbeiter.nachname, vw_mitarbeiter.telefonklappe, vw_mitarbeiter.ort_kurzbz, vw_mitarbeiter.standort_id, tbl_person.foto_sperre
FROM campus.vw_mitarbeiter JOIN public.tbl_person USING (person_id) WHERE telefonklappe!='' AND standort_id is not null AND vw_mitarbeiter.aktiv=true AND vw_mitarbeiter.standort_id!='4' ORDER BY standort_id, nachname, vorname";
}
else
{
$sql_query = " SELECT vw_mitarbeiter.person_id, vw_mitarbeiter.vorname, vw_mitarbeiter.nachname, vw_mitarbeiter.telefonklappe, vw_mitarbeiter.ort_kurzbz, vw_mitarbeiter.standort_id, tbl_person.foto_sperre
FROM campus.vw_mitarbeiter JOIN public.tbl_person USING (person_id) WHERE telefonklappe!='' AND standort_id is not null AND vw_mitarbeiter.aktiv=true ORDER BY standort_id, nachname, vorname";
}
$result = $db->db_query($sql_query);
$laststandort='0';
$i=1;
if ($gruppiert == false)
{
echo '
<tr>
<td colspan="3"><h2>'.$p->t("telefonverzeichnis/titelTelefonverzeichnis").' '.CAMPUS_NAME.'</h2></td>
</tr>
<tr>
<td>
<table class="tablesorter" id="t'.$i.'">
<thead>
<!--<th id="person">'.$p->t("global/person").'</th>-->
<th id="nachname">'.$p->t("global/nachname").'</th>
<th id="vorname">'.$p->t("global/vorname").'</th>
<th id="durchwahl">'.$p->t("telefonverzeichnis/durchwahl").'</th>
<th id="raum">'.$p->t("lvplan/raum").'</th>
</thead>
<tbody>';
while($row = $db->db_fetch_object($result))
{
echo '
<tr>
<!--<td>';
/*if ($row->foto_sperre!="t")
{
//echo '<img id="personimage" src="../../public/bild.php?src=person&person_id='.$row->person_id.'" alt="'.$row->person_id.'" height="80px" width="60px">';
}
else
{
//echo '<img id="personimage" src="../../../skin/images/profilbild_dummy.jpg" alt="Dummy Picture" height="80px" width="60px">';
}*/
echo '</td>-->
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;" height="'.$zeilenhoehe.'">'.$row->nachname.'</td>
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;">'.$row->vorname.'</td>
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;">'.$row->telefonklappe.'</td>
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;">'.$row->ort_kurzbz.'</td>
</tr>';
}
echo '
</table>
</td>
</tr>
';
$i++;
}
else
{
while($row = $db->db_fetch_object($result))
{
if($laststandort!=$row->standort_id)
{
if($laststandort!='0')
{
echo '
</table>
</td>
</tr>
';
$i++;
}
$laststandort = $row->standort_id;
$qry_standort = "SELECT tbl_kontakt.kontakt as nummer, tbl_firma.name as name FROM public.tbl_standort JOIN public.tbl_firma USING(firma_id) JOIN public.tbl_kontakt USING(standort_id)
WHERE standort_id='".addslashes($row->standort_id)."' AND kontakttyp='telefon'";
if($result_standort = $db->db_query($qry_standort))
{
if($row_standort = $db->db_fetch_object($result_standort))
{
echo '
<tr>
<td colspan="3"><h2>'.$p->t("telefonverzeichnis/titelTelefonverzeichnis").' '.$row_standort->name.': '.$row_standort->nummer.'</h2></td>
</tr>
<tr>
<td>
<table class="tablesorter" id="t'.$i.'">
<thead>
<!--<th id="person">'.$p->t("global/person").'</th>-->
<th id="nachname">'.$p->t("global/nachname").'</th>
<th id="vorname">'.$p->t("global/vorname").'</th>
<th id="durchwahl">'.$p->t("telefonverzeichnis/durchwahl").'</th>
<th id="raum">'.$p->t("lvplan/raum").'</th>
</thead>
<tbody>';
}
}
}
echo '
<tr>
<!--<td>';
if ($row->foto_sperre!="t")
{
//echo '<img id="personimage" src="../../public/bild.php?src=person&person_id='.$row->person_id.'" alt="'.$row->person_id.'" height="80px" width="60px">';
}
else
{
//echo '<img id="personimage" src="../../../skin/images/profilbild_dummy.jpg" alt="Dummy Picture" height="80px" width="60px">';
}
echo '</td>-->
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;" height="'.$zeilenhoehe.'">'.$row->nachname.'</td>
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;">'.$row->vorname.'</td>
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;">'.$row->telefonklappe.'</td>
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;">'.$row->ort_kurzbz.'</td>
</tr>';
}
$i++;
}
echo '
</tbody></table>
</td>
</tr>
</table>';
if ($gst_extra==true || $gruppiert == true)
{
$sql_query = " SELECT vw_mitarbeiter.person_id, vw_mitarbeiter.vorname, vw_mitarbeiter.nachname, vw_mitarbeiter.telefonklappe, vw_mitarbeiter.ort_kurzbz, vw_mitarbeiter.standort_id, tbl_person.foto_sperre
FROM campus.vw_mitarbeiter JOIN public.tbl_person USING (person_id) WHERE telefonklappe!='' AND standort_id is not null AND vw_mitarbeiter.aktiv=true AND vw_mitarbeiter.standort_id='4' ORDER BY standort_id, nachname, vorname";
$result = $db->db_query($sql_query);
$laststandort='0';
echo '
<tr>
<td colspan="3"><h2>'.$p->t("telefonverzeichnis/titelTelefonverzeichnis").' Geschäftsstelle: +43 1 588 39</h2></td>
</tr>
<tr>
<td>
<table class="tablesorter" id="t'.$i.'">
<thead>
<!--<th id="person">'.$p->t("global/person").'</th>-->
<th id="nachname">'.$p->t("global/nachname").'</th>
<th id="vorname">'.$p->t("global/vorname").'</th>
<th id="durchwahl">'.$p->t("telefonverzeichnis/durchwahl").'</th>
<th id="raum">'.$p->t("lvplan/raum").'</th>
</thead>
<tbody>';
while($row = $db->db_fetch_object($result))
{
echo '
<tr>
<!--<td>';
/*if ($row->foto_sperre!="t")
{
//echo '<img id="personimage" src="../../public/bild.php?src=person&person_id='.$row->person_id.'" alt="'.$row->person_id.'" height="80px" width="60px">';
}
else
{
//echo '<img id="personimage" src="../../../skin/images/profilbild_dummy.jpg" alt="Dummy Picture" height="80px" width="60px">';
}*/
echo '</td>-->
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;" height="'.$zeilenhoehe.'">'.$row->nachname.'</td>
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;">'.$row->vorname.'</td>
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;">'.$row->telefonklappe.'</td>
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;">'.$row->ort_kurzbz.'</td>
</tr>';
}
echo '
</table>
</td>
</tr>
';
}
?>
<table width="100%">
<tr>
<td valign="top">
<?php
$qry = "SELECT * FROM public.tbl_ort WHERE standort_id is not null AND telefonklappe is not null and aktiv=true ORDER BY standort_id, bezeichnung";
$laststandort='';
$i=0;
if($result = $db->db_query($qry))
{
while($row = $db->db_fetch_object($result))
{
if($laststandort!=$row->standort_id)
{
if($laststandort!='')
{
echo '</table><br>';
}
$qry_standort = "SELECT tbl_firma.name, tbl_kontakt.kontakt as telefon FROM public.tbl_standort JOIN public.tbl_firma USING(firma_id) JOIN public.tbl_kontakt USING(standort_id) WHERE standort_id='$row->standort_id' AND kontakttyp='telefon'";
if($result_standort = $db->db_query($qry_standort))
{
if($row_standort = $db->db_fetch_object($result_standort))
{
echo '<h2>'.$p->t("lvplan/raeume").'&nbsp;'.$row_standort->name.': '.$row_standort->telefon.'</h2>';
}
}
echo '
<table class="tablesorter" id="t10">
<thead>
<tr>
<th class="ContentHeader"><font class="ContentHeader">'.$p->t("lvplan/raeume").'</font></th>
<th class="ContentHeader"><font class="ContentHeader">'.$p->t("telefonverzeichnis/durchwahl").'</font></th>
<th class="ContentHeader"><font class="ContentHeader">'.$p->t("lvplan/raum").'</font></th>
</tr>
</thead>
<tbody>';
}
$laststandort = $row->standort_id;
$i++;
echo '
<tr>
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;" height="'.$zeilenhoehe.'">'.$row->bezeichnung.'</td>
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;">'.$row->telefonklappe.'</td>
<td style="padding-top: 0; padding-bottom: 0; vertical-align: middle;">'.$row->planbezeichnung.' ('.$row->ort_kurzbz.')</td>
</tr>
';
}
if($laststandort!='')
{
echo '</tbody></table>';
}
}
?>
</table>
</td>
</tr>
</table>
</td>
</table>
</body>
</html>
+204
View File
@@ -0,0 +1,204 @@
<?php
/* Copyright (C) 2009 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 >
* Rudolf Hangl < rudolf.hangl@technikum-wien.at >
* Gerald Simane-Sequens < gerald.simane-sequens@technikum-wien.at >
*/
require_once('../../../config/cis.config.inc.php');
require_once('../../../include/functions.inc.php');
require_once('../../../include/datum.class.php');
require_once('../../../include/person.class.php');
require_once('../../../include/benutzer.class.php');
require_once('../../../include/student.class.php');
require_once('../../../include/studiengang.class.php');
require_once('../../../include/benutzerberechtigung.class.php');
require_once('../../../include/phrasen.class.php');
$sprache = getSprache();
$p = new phrasen($sprache);
if (!$db = new basis_db())
die($p->t('global/fehlerBeimOeffnenDerDatenbankverbindung'));
$getuid=get_uid();
$uid=$getuid;
if(isset($_GET['uid']))
{
//Studentenansicht
$uid = $_GET['uid'];
//Rechte Pruefen
$allowed=false;
$student = new student();
if(!$student->load($uid))
die($p->t('global/fehlerBeimErmittelnDerUID'));
$stg_obj = new studiengang();
if(!$stg_obj->load($student->studiengang_kz))
die($p->t('global/fehlerBeimLesenAusDatenbank'));
//Berechtigung ueber das Berechtigungssystem
$rechte = new benutzerberechtigung();
$rechte->getBerechtigungen($getuid);
if($rechte->isBerechtigt('lehre/abgabetool',$stg_obj->oe_kurzbz,'s'))
$allowed=true;
//oder Lektor mit Betreuung dieses Studenten
$qry = "SELECT 1
FROM
lehre.tbl_projektarbeit
JOIN lehre.tbl_projektbetreuer USING(projektarbeit_id)
JOIN campus.vw_benutzer on(vw_benutzer.person_id=tbl_projektbetreuer.person_id)
WHERE
tbl_projektarbeit.student_uid=".$db->db_add_param($uid)." AND
vw_benutzer.uid=".$db->db_add_param($getuid).";";
if($result = $db->db_query($qry))
{
if($db->db_num_rows($result)>0)
{
$allowed=true;
}
}
if(!$allowed)
{
die($p->t('abgabetool/keineBerechtigungStudentenansicht'));
}
}
$htmlstr = '';
$htmlstr1 = '';
$vorname='';
$nachname='';
$sql_query = "SELECT (SELECT nachname FROM public.tbl_person WHERE person_id=tbl_projektbetreuer.person_id) AS bnachname,
(SELECT vorname FROM public.tbl_person WHERE person_id=tbl_projektbetreuer.person_id) AS bvorname,
(SELECT titelpre FROM public.tbl_person WHERE person_id=tbl_projektbetreuer.person_id) AS btitelpre,
(SELECT titelpost FROM public.tbl_person WHERE person_id=tbl_projektbetreuer.person_id) AS btitelpost,
tbl_projektbetreuer.person_id AS betreuer_person_id,
tbl_projekttyp.bezeichnung AS prjbez, *
FROM lehre.tbl_projektarbeit
LEFT JOIN lehre.tbl_projektbetreuer USING(projektarbeit_id)
LEFT JOIN public.tbl_benutzer ON(uid=student_uid)
LEFT JOIN public.tbl_person ON(tbl_benutzer.person_id=tbl_person.person_id)
LEFT JOIN lehre.tbl_lehreinheit USING(lehreinheit_id)
LEFT JOIN lehre.tbl_lehrveranstaltung USING(lehrveranstaltung_id)
LEFT JOIN public.tbl_studiengang USING(studiengang_kz)
LEFT JOIN lehre.tbl_projekttyp USING (projekttyp_kurzbz)
WHERE (projekttyp_kurzbz='Bachelor' OR projekttyp_kurzbz='Diplom')
AND (tbl_projektbetreuer.betreuerart_kurzbz='Betreuer' OR tbl_projektbetreuer.betreuerart_kurzbz='Begutachter' OR tbl_projektbetreuer.betreuerart_kurzbz='Erstbetreuer' OR tbl_projektbetreuer.betreuerart_kurzbz='Erstbegutachter')
AND tbl_projektarbeit.student_uid=".$db->db_add_param($uid)."
AND public.tbl_benutzer.aktiv
AND lehre.tbl_projektarbeit.note IS NULL
ORDER BY studiensemester_kurzbz desc, tbl_lehrveranstaltung.kurzbz";
//AND tbl_projektarbeit.student_uid='$getuid' 'ie07m102';
if(!$erg=$db->db_query($sql_query))
{
$errormsg=$p->t('global/fehlerBeimLesenAusDatenbank');
}
else
{
$htmlstr .= "<form name='formular'><input type='hidden' name='check' value=''></form><table id='t1' class='tablesorter'>\n";
$htmlstr .= "<thead><tr>\n";
$htmlstr .= "
<th>".$p->t('abgabetool/details')."</th>
<th>".$p->t('lvplan/sem')."</th>
<th>".$p->t('lvplan/stg')."</th>
<th>".$p->t('global/mail')."</th>
<th>".$p->t('abgabetool/betreuer')."</th>
<th>".$p->t('abgabetool/typ')."</th>
<th>".$p->t('abgabetool/titel')."</th>
<th>".$p->t('abgabetool/betreuerart')."</th>";
$htmlstr .= "</tr></thead><tbody>\n";
$i = 0;
while($row=$db->db_fetch_object($erg))
{
$htmlstr1='';
$vorname=$row->vorname;
$nachname=$row->nachname;
$uid=$row->uid;
($row->btitelpre!=''?$htmlstr1 = $row->btitelpre.' ':$htmlstr1 .= '');
$htmlstr1 .= $row->bvorname.' '.$row->bnachname;
($row->btitelpost!=''?$htmlstr1 .= ' '.$row->btitelpost:$htmlstr1 .= '');
$htmlstr .= " <tr>\n"; //class='liste".($i%2)."'
$htmlstr .= " <td><a href='abgabe_student_details.php?uid=".$row->uid."&projektarbeit_id=".$row->projektarbeit_id."&bid=".$row->betreuer_person_id."' target='as_detail' title='Details anzeigen'>".$p->t('abgabetool/upload')."</a></td>\n";
$htmlstr .= " <td>".$row->studiensemester_kurzbz."</td>\n";
$htmlstr .= " <td>".strtoupper($row->typ.$row->kurzbz)."</td>\n";
$htmlstr .= " <td align= center>";
$qry_betr="SELECT mitarbeiter_uid FROM public.tbl_person
JOIN public.tbl_benutzer USING(person_id)
JOIN public.tbl_mitarbeiter ON(uid=mitarbeiter_uid)
WHERE person_id=".$db->db_add_param($row->betreuer_person_id, FHC_INTEGER).";";
if($result_betr=$db->db_query($qry_betr))
{
if($row_betr=$db->db_fetch_object($result_betr))
{
$htmlstr.="<a href='mailto:$row_betr->mitarbeiter_uid@".DOMAIN."?subject=Betreuung%20".$row->prjbez."%20von%20".$row->vorname."%20".$row->nachname."'><img src='../../../skin/images/email.png' alt='email' title='".$p->t('abgabetool/emailAnBetreuer')."'></a>";
}
else
{
$htmlstr.="UID unknown!";
}
}
$htmlstr .= " </td>";
$htmlstr .= " <td>".$htmlstr1." </td>\n";
$htmlstr .= " <td>".$db->convert_html_chars($row->prjbez)."</td>\n";
$htmlstr .= " <td>".$db->convert_html_chars($row->titel)."</td>\n";
$htmlstr .= " <td>".$db->convert_html_chars($row->betreuerart_kurzbz)."</td>\n";
$htmlstr .= " </tr>\n";
$i++;
}
$htmlstr .= "</tbody></table>\n";
}
echo '
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Abgabesystem_Studentensicht</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../skin/style.css.php" type="text/css">
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
<script language="JavaScript" type="text/javascript">
$(document).ready(function()
{
$("#t1").tablesorter(
{
sortList: [[4,0]],
widgets: ["zebra"]
});
});
</script>
</head>
<body>';
echo '<h1><div style="float:left">'.$p->t('abgabetool/ueberschrift');
if(trim($uid)!='')
echo " ($uid $vorname $nachname)</div> <div style='text-align:right'><a href='../../../cms/dms.php?id=".$p->t('dms_link/abgabetoolStudentHandbuch')."' target='_blank'><img src='../../../skin/images/information.png' alt='Anleitung' title='Anleitung BaDa-Abgabe' border=0>&nbsp;".$p->t('global/handbuch')."</a></div>";
echo '</h1>';
echo $htmlstr;
echo '</body>
</html>';
?>
+150
View File
@@ -0,0 +1,150 @@
<?php
/* Copyright (C) 2007 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('../../../config/cis.config.inc.php');
require_once('../../../include/basis_db.class.php');
require_once('../../../include/functions.inc.php');
require_once('../../../include/studiensemester.class.php');
require_once('../../../include/konto.class.php');
require_once('../../../include/phrasen.class.php');
$sprache = getSprache();
$p = new phrasen($sprache);
if (!$db = new basis_db())
die($p->t('global/fehlerBeimOeffnenDerDatenbankverbindung'));
if(isset($_GET['stsem']))
$stsem = $_GET['stsem'];
else
$stsem = '';
$uid=get_uid();
$stg = '';
if(!($erg=$db->db_query("SELECT * FROM campus.vw_benutzer WHERE uid='".addslashes($uid)."'")))
die($db->db_last_error());
$num_rows=$db->db_num_rows($erg);
if ($num_rows==1)
{
$vorname=$db->db_result($erg,0,"vorname");
$vornamen=$db->db_result($erg,0,"vornamen");
$nachname=$db->db_result($erg,0,"nachname");
$gebdatum=$db->db_result($erg,0,"gebdatum");
$gebort=$db->db_result($erg,0,"gebort");
$titelpre=$db->db_result($erg,0,"titelpre");
$titelpost=$db->db_result($erg,0,"titelpost");
$email=$db->db_result($erg,0,"uid").'@'.DOMAIN;
$email_alias=$db->db_result($erg,0,"alias");
$hp=$db->db_result($erg,0,"homepage");
}
if(!($erg_stud=$db->db_query("SELECT studiengang_kz, semester, verband, gruppe, matrikelnr, typ::varchar(1) || kurzbz AS stgkz, tbl_studiengang.bezeichnung AS stgbz FROM public.tbl_student JOIN public.tbl_studiengang USING(studiengang_kz) WHERE student_uid='".addslashes($uid)."'")))
die($db->db_last_error());
$stud_num_rows=$db->db_num_rows($erg_stud);
if ($stud_num_rows==1)
{
$stg=$db->db_result($erg_stud,0,"studiengang_kz");
$stgbez=$db->db_result($erg_stud,0,"stgbz");
$stgkz=$db->db_result($erg_stud,0,"stgkz");
$semester=$db->db_result($erg_stud,0,"semester");
$verband=$db->db_result($erg_stud,0,"verband");
$gruppe=$db->db_result($erg_stud,0,"gruppe");
$matrikelnr=$db->db_result($erg_stud,0,"matrikelnr");
}
if(!($erg_lekt=$db->db_query("SELECT * FROM public.tbl_mitarbeiter WHERE mitarbeiter_uid='".addslashes($uid)."'")))
die($db->db_last_error());
$lekt_num_rows=$db->db_num_rows($erg_lekt);
if ($lekt_num_rows==1)
{
$row=$db->db_fetch_object($erg_lekt,0);
$kurzbz=$row->kurzbz;
$tel=$row->telefonklappe;
}
// Mail-Groups
if(!($erg_mg=$db->db_query("SELECT gruppe_kurzbz, beschreibung FROM campus.vw_persongruppe WHERE mailgrp AND uid='".addslashes($uid)."' ORDER BY gruppe_kurzbz")))
die($db->db_last_error());
$nr_mg=$db->db_num_rows($erg_mg);
echo '
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>'.$p->t('tools/dokumente').'</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/javascript">
function MM_jumpMenu(targ, selObj, restore)
{
eval(targ + ".location=\'" + selObj.options[selObj.selectedIndex].value + "\'");
if(restore)
{
selObj.selectedIndex = 0;
}
}
</script>
</head>
<body>
<h1>'.$p->t('tools/dokumente').'</h1>';
//Aktuelles Studiensemester oder gewaehltes Studiensemester
$stsem_obj = new studiensemester();
if($stsem=='')
$stsem = $stsem_obj->getaktorNext();
$stsem_obj->getAll();
echo "<br><hr>";
echo $p->t('global/studiensemester')."</b> <SELECT name='stsem' onChange=\"MM_jumpMenu('self',this,0)\">";
foreach ($stsem_obj->studiensemester as $semrow)
{
if($stsem == $semrow->studiensemester_kurzbz)
echo "<OPTION value='dokumente.php?stsem=$semrow->studiensemester_kurzbz' selected>$semrow->studiensemester_kurzbz</OPTION>";
else
echo "<OPTION value='dokumente.php?stsem=$semrow->studiensemester_kurzbz'>$semrow->studiensemester_kurzbz</OPTION>";
}
echo "</SELECT><br />";
$konto = new konto();
if ($konto->checkStudienbeitrag($uid, $stsem))
{
echo "<a href='../pdfExport.php?xsl=Inskription&xml=student.rdf.php&ss=".$stsem."&uid=".$uid."'>".$p->t('tools/inskriptionsbestaetigung')."</a>";
echo ' - '.$p->t('tools/studienbeitragFuerSSBezahltAmDatum',array($stsem, $konto->buchungsdatum));
}
else
echo $p->t('tools/inskriptionsbestaetigung')." - ".$p->t('tools/studienbeitragFuerSSNochNichtBezahlt',array($stsem));
echo "<hr>";
echo "<a href='studienerfolgsbestaetigung.php' class='Item'>".$p->t('tools/studienerfolgsbestaetigung')." Deutsch</a><br>";
echo "<a href='studienerfolgsbestaetigung.php?lang=en' class='Item'>".$p->t('tools/studienerfolgsbestaetigung')." Englisch</a>";
echo "<hr><br>";
echo '</body>
</html>
';
?>
+65
View File
@@ -0,0 +1,65 @@
<?php
ini_set('display_errors','1');
error_reporting(E_ALL);
mb_internal_encoding("UTF-8");
mb_regex_encoding("UTF-8");
setlocale (LC_ALL, 'de_DE.UTF8','de_DE@euro', 'de_DE', 'de','DE', 'ge','German');
date_default_timezone_set('Europe/Vienna');
// Connection Strings zur Datenbank
define("DB_SYSTEM","pgsql");
define("DB_HOST","localhost");
define("DB_PORT","5432");
define("DB_NAME","fhcomplete");
define("DB_USER","fhcomplete");
define("DB_PASSWORD","fhcomplete");
define("DB_CONNECT_PERSISTENT",FALSE);
define('CONN_CLIENT_ENCODING','UTF-8' );
// Fuer Mails etc
define('DOMAIN','technikum-wien.at');
// Authentifizierungsmethode
// Moegliche Werte:
// auth_mixed - htaccess mit LDAP (Default)
// auth_session - Sessions mit LDAP (Testbetrieb)
define("AUTH_SYSTEM", "auth_mixed");
// Gibt den Namen fuer die htaccess Authentifizierung an (muss mit dem Attribut AuthName im htaccess uebereinstimmen)
define("AUTH_NAME","FHComplete");
// DatenbankRollen fuer Grants
define('DB_CIS_USER_GROUP','web');
define('DB_FAS_USER_GROUP','admin');
/*
* LDAP Einstellungen
*
* LDAP_SERVER: LDAP Server URL inkl. ldap:// bzw ldaps://
* LDAP_PORT: LDAP Port (389 | 636)
* LDAP_STARTTLS: Starttls für Verschlüsselung starten (true | false)
* LDAP_BASE_DN: Basis DN der User (ou=People,dc=example,dc=com)
* LDAP_BIND_USER: DN des Users falls eine Authentifizierung am LDAP noetig ist oder null
* LDAP_BIND_PASSWORD: Passwort des Users falls eine Authentifizierung am LDAP noetig ist oder null
* LDAP_USER_SEARCH_FILTER: LDAP Attribut in dem der Username steht nach dem gesucht wird (uid | sAMAccountName)
*/
define('LDAP_SERVER','ldap://ldap.example.com');
define('LDAP_PORT',389);
define('LDAP_STARTTLS',true);
define('LDAP_BASE_DN','ou=People,dc=example,dc=com');
define('LDAP_BIND_USER',null);
define('LDAP_BIND_PASSWORD',null);
define('LDAP_USER_SEARCH_FILTER','uid');
// 2. LDAP Server (zB wenn Mitarbeiter und Studierende auf 2 getrennten Servern liegen)
/*
define('LDAP2_SERVER','ldaps://dc1.example.com');
define('LDAP2_PORT',636);
define('LDAP2_STARTTLS',false);
define('LDAP2_BASE_DN','ou=Mitarbeiter,dc=example,dc=com');
define('LDAP2_BIND_USER','cn=fhcomplete,dc=example,dc=com');
define('LDAP2_BIND_PASSWORD','Pa55w0rd');
define('LDAP2_USER_SEARCH_FILTER','sAMAccountName');
*/
?>
+164
View File
@@ -0,0 +1,164 @@
<?php
/**
* Vorlage fuer Vilesci Konfigurationsdatei
* Diese Datei muss auf vilesci.config.inc.php kopiert werden
*/
// Error Reporting
ini_set('display_errors','1');
error_reporting(E_ALL);
// Encoding
mb_internal_encoding("UTF-8");
mb_regex_encoding("UTF-8");
setlocale (LC_ALL, 'de_DE.UTF8','de_DE@euro', 'de_DE', 'de','DE', 'ge','German');
// Zeitzone
date_default_timezone_set('Europe/Vienna');
// Connection Strings zur Datenbank
define("DB_SYSTEM","pgsql");
define("DB_HOST","www.technikum-wien.at");
define("DB_PORT","5432");
define("DB_NAME","devvilesci");
define("DB_USER","bla");
define("DB_PASSWORD","bla");
define("DB_CONNECT_PERSISTENT",TRUE);
define('CONN_CLIENT_ENCODING','UTF-8' );
// Name des Servers (benoetigt fuer Cronjobs
define('SERVER_NAME','vilesci.technikum-wien.at');
// URL zu FHComplete Root
define('APP_ROOT','http://www.technikum-wien.at/');
// URL zu RDF Verzeichnis
define('XML_ROOT','http://www.technikum-wien.at/rdf/');
// Pfad zu Document Root
define('DOC_ROOT','/var/www/');
// URL zu CIS
define('CIS_ROOT','http://www.technikum-wien.at/');
// Externe Funktionen - Unterordner im Include-Verzeichnis
define('EXT_FKT_PATH','tw');
// Fuer Mails etc
define('DOMAIN','technikum-wien.at');
// Ordner für DMS Dokumente
define('DMS_PATH','/var/fhcomplete/documents/dms/');
// Authentifizierungsmethode
// Moegliche Werte:
// auth_mixed - htaccess mit LDAP (Default)
// auth_demo - Demo Modus (.htaccess)
// auth_session - Sessions mit LDAP (Testbetrieb)
define("AUTH_SYSTEM", "auth_mixed");
// Gibt den Namen fuer die htaccess Authentifizierung an (muss mit dem Attribut AuthName im htaccess uebereinstimmen)
define("AUTH_NAME","Technikum-Wien");
/*
* LDAP Einstellungen
*
* LDAP_SERVER: LDAP Server URL inkl. ldap:// bzw ldaps://
* LDAP_PORT: LDAP Port (389 | 636)
* LDAP_STARTTLS: Starttls für Verschlüsselung starten (true | false)
* LDAP_BASE_DN: Basis DN der User (ou=People,dc=example,dc=com)
* LDAP_BIND_USER: DN des Users falls eine Authentifizierung am LDAP noetig ist oder null
* LDAP_BIND_PASSWORD: Passwort des Users falls eine Authentifizierung am LDAP noetig ist oder null
* LDAP_USER_SEARCH_FILTER: LDAP Attribut in dem der Username steht nach dem gesucht wird (uid | sAMAccountName)
*/
define('LDAP_SERVER','ldap://ldap.example.com');
define('LDAP_PORT',389);
define('LDAP_STARTTLS',true);
define('LDAP_BASE_DN','ou=People,dc=example,dc=com');
define('LDAP_BIND_USER',null);
define('LDAP_BIND_PASSWORD',null);
define('LDAP_USER_SEARCH_FILTER','uid');
// 2. LDAP Server (zB wenn Mitarbeiter und Studierende auf 2 getrennten Servern liegen)
/*
define('LDAP2_SERVER','ldaps://dc1.example.com');
define('LDAP2_PORT',636);
define('LDAP2_STARTTLS',false);
define('LDAP2_BASE_DN','ou=Mitarbeiter,dc=example,dc=com');
define('LDAP2_BIND_USER','cn=fhcomplete,dc=example,dc=com');
define('LDAP2_BIND_PASSWORD','Pa55w0rd');
define('LDAP2_USER_SEARCH_FILTER','sAMAccountName');
*/
// LDAP MASTER SERVER fuer Passwort Aenderungen
define('LDAP_SERVER_MASTER',LDAP_SERVER);
// Attribut fuer Zutrittskartennummer im LDAP
define("LDAP_CARD_NUMBER","twHitagCardNumber");
// Attribut fuer Zutrittskartennummer2 im LDAP
define("LDAP_CARD_NUMBER2","twCardNumber");
// Ablauffristen fuer die Accounts in Wochen (mind. 2)
define('DEL_MITARBEITER_WEEKS','52');
define('DEL_STUDENT_WEEKS','26');
define('DEL_ABBRECHER_WEEKS','3');
define('DEFAULT_LANGUAGE','German');
// Wie viele Tage sollen im LVPlan angezeigt werden
define('TAGE_PRO_WOCHE','7');
// Obergrenze fuer Semesterstunden die pro Semester pro Lektor unterrichtet werden duerfen
// Externe Lektoren
define('WARN_SEMESTERSTD_FREI','120');
// Fixangestellte Lektoren
define('WARN_SEMESTERSTD_FIX','320');
//Wochen als Grundlage zur Berechnung der Lektorenmeldung
define('BIS_SWS_WOCHEN', 40);
// Mail-Adressen (Angabe von mehreren Addressen mit ',' getrennt moeglich)
// Wenn MAIL_DEBUG gesetzt ist, werden alle Mails an diese Adresse gesendet
define('MAIL_DEBUG','invalid@technikum-wien.at');
// Geschaeftsstelle / Personalabteilung
define('MAIL_GST','invalid@technikum-wien.at');
// Administrator
define('MAIL_ADMIN','invalid@technikum-wien.at');
// LVPlan-Stelle
define('MAIL_LVPLAN','invalid@technikum-wien.at');
// ServerAdministratoren
define('MAIL_IT','invalid@technikum-wien.at');
// Support
define('MAIL_SUPPORT','invalid@technikum-wien.at');
// Default Anmerkung fuer neue Lehreinheiten
// Beispiel: 'Abhaengigkeiten von anderen LV\'s\n\nSpez. Software/Equipment:\n\n'
define ('LEHREINHEIT_ANMERKUNG_DEFAULT', '');
//Gibt an welche Funktion zur generierung des PDF Files herangezogen wird
//moegliche Werte: FOP | XSLFO2PDF
define ('PDF_CREATE_FUNCTION','XSLFO2PDF');
//Pfad zu den Projektarbeitsabgaben
define('PAABGABE_PATH','/var/fhcomplete/documents/paabgabe/');
// ***** Mantis Bugtracker *****
define('MANTIS_PFAD','http://www.example.com/mantis/api/soap/mantisconnect.php?wsdl');
define('MANTIS_USERNAME',(isset($_SERVER['PHP_AUTH_USER'])?$_SERVER['PHP_AUTH_USER']:''));
define('MANTIS_PASSWORT',(isset($_SERVER['PHP_AUTH_PW'])?$_SERVER['PHP_AUTH_PW']:''));
// ***** Moodle *****
define('MOODLE_PATH','http://www.technikum-wien.at/moodle/'); // DEPRECATED
define("CONN_STRING_MOODLE","host=localhost dbname=bla user=bla password=bla"); // nur für Moodle 1.9
define('MOODLE_TOKEN24','');
//Name der aktiven Addons getrennt mit ;
define('ACTIVE_ADDONS','');
//Wenn auf 'true' gesetzt, dann wird im FAS ein 3. Feld für die Eingabe von Reihungstest
//Punkten angezeigt
define('RT_PUNKTE3','false');
// **** nicht aendern ****
define('TABLE_ID','_id');
define('TABLE_BEGIN','tbl_');
define('VIEW_BEGIN','vw_');
?>
+126
View File
@@ -0,0 +1,126 @@
<?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> and
* Gerald Raab <gerald.raab@technikum-wien.at>.
*/
/**
* Erstellt das XML fuer das AccountInfoBlatt
*/
// content type setzen
header("Content-type: application/xhtml+xml");
require_once('../config/vilesci.config.inc.php');
require_once('../include/functions.inc.php');
require_once('../include/basis_db.class.php');
require_once('../include/benutzerberechtigung.class.php');
if(isset($_GET['uid']))
$uid = $_GET['uid'];
else
die('UID muss uebergeben werden');
if(isset($_SERVER['REMOTE_USER']))
{
// Wenn das Script direkt aufgerufen wird muss es ein Admin sein
$user=get_uid();
$berechtigung = new benutzerberechtigung();
$berechtigung->getBerechtigungen($user);
if(!$berechtigung->isBerechtigt('admin'))
die('Sie haben keine Berechtigung fuer diese Seite');
}
$uid_arr = explode(";",$uid);
echo "<?xml version='1.0' encoding='UTF-8' standalone='yes'?>";
echo '<accountinfoblaetter>';
$db = new basis_db();
foreach ($uid_arr as $uid)
{
if($uid=='')
continue;
if(check_lektor($uid))
{
//Mitarbeiter
$qry = "SELECT vorname, nachname, uid, gebdatum, aktivierungscode,alias FROM campus.vw_mitarbeiter WHERE uid=".$db->db_add_param($uid);
if($db->db_query($qry))
{
if($row = $db->db_fetch_object())
{
$vorname = convertProblemChars($row->vorname);
$vorname1 = $row->vorname;
$nachname = convertProblemChars($row->nachname);
$nachname1 = $row->nachname;
$uid = $row->uid;
$gebdatum = $row->gebdatum;
}
else
die("User nicht gefunden");
}
else
die("User nicht gefunden");
$fileserver = 'fhe.'.DOMAIN;
$studiengang='';
}
else
{
//Student
$qry ="SELECT vorname, nachname, matrikelnr, uid, tbl_studiengang.bezeichnung, aktivierungscode, alias
FROM campus.vw_student JOIN public.tbl_studiengang USING(studiengang_kz) WHERE uid=".$db->db_add_param($uid);
if($db->db_query($qry))
{
if($row = $db->db_fetch_object())
{
$vorname = convertProblemChars($row->vorname);
$vorname1 = $row->vorname;
$nachname = convertProblemChars($row->nachname);
$nachname1 = $row->nachname;
$matrikelnr = $row->matrikelnr;
$studiengang = convertProblemChars($row->bezeichnung);
$uid = $row->uid;
}
else
die("User $uid nicht gefunden");
}
else
die("User $uid nicht gefunden");
$fileserver = 'stud'.substr($matrikelnr,0,2).'.'.DOMAIN;
}
echo "\n <infoblatt>";
echo "\n <name><![CDATA[".$vorname1.' '.$nachname1."]]></name>";
echo "\n <account><![CDATA[".$uid."]]></account>";
echo "\n <aktivierungscode><![CDATA[".$row->aktivierungscode."]]></aktivierungscode>";
if($row->alias!='')
echo "\n <alias><![CDATA[".$row->alias.'@'.DOMAIN."]]></alias>";
else
echo "\n <alias><![CDATA[]]></alias>";
if($studiengang!='')
echo "\n <bezeichnung><![CDATA[".$studiengang."]]></bezeichnung>";
echo "\n <email><![CDATA[".$uid.'@'.DOMAIN."]]></email>";
echo "\n <fileserver><![CDATA[".$fileserver."]]></fileserver>";
echo "\n <logopath>".DOC_ROOT."skin/styles/".EXT_FKT_PATH."/</logopath>";
echo "\n </infoblatt>";
}
echo '</accountinfoblaetter>';
?>
File diff suppressed because it is too large Load Diff
+293
View File
@@ -0,0 +1,293 @@
<?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 >
* Rudolf Hangl < rudolf.hangl@technikum-wien.at >
* Gerald Simane-Sequens < gerald.simane-sequens@technikum-wien.at >
*/
require_once('../../config/vilesci.config.inc.php');
require_once('../../include/functions.inc.php');
require_once('../../include/studiengang.class.php');
require_once('../../include/studiensemester.class.php');
require_once('../../include/lehreinheit.class.php');
require_once('../../include/lehreinheitmitarbeiter.class.php');
require_once('../../include/lehreinheitgruppe.class.php');
require_once('../../include/benutzerberechtigung.class.php');
if (!$db = new basis_db())
die('Es konnte keine Verbindung zum Server aufgebaut werden.');
$user = get_uid();
$rechte = new benutzerberechtigung();
$rechte->getBerechtigungen($user);
if(!$rechte->isBerechtigt('lehre/vorrueckung', null, 'suid'))
die('Sie haben keine Berechtigung fuer diese Seite');
$stg_obj = new studiengang();
$stg_obj->loadArray($rechte->getStgKz('lehre/vorrueckung'),'typ, kurzbz');
$stg_arr = array();
foreach ($stg_obj->result as $stg)
{
$stg_arr[$stg->studiengang_kz] = $stg->kuerzel;
}
$studiengang_kz = (isset($_GET['studiengang_kz'])?$_GET['studiengang_kz']:'');
$semester = (isset($_GET['semester'])?$_GET['semester']:'');
$stsem_von = (isset($_GET['stsem_von'])?$_GET['stsem_von']:'');
$stsem_nach = (isset($_GET['stsem_nach'])?$_GET['stsem_nach']:'');
$text='';
$anzahl_lehreinheiten=0;
$anzahl_lehreinheitmitarbeiter=0;
$anzahl_lehreinheitgruppe=0;
$error_lehreinheit=0;
$error_lehreinheitmitarbeiter=0;
$error_lehreinheitgruppe=0;
if($stsem_von=='')
{
$stsem_obj = new studiensemester();
$stsem_von = $stsem_obj->getPrevious();
}
if($stsem_nach=='')
{
$stsem_obj = new studiensemester();
$stsem_obj->getNextStudiensemester();
$stsem_nach = $stsem_obj->studiensemester_kurzbz;
}
echo '
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Lehreinheit Vorrueckung</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../skin/vilesci.css" type="text/css">
</head>
<body style="background-color:#eeeeee;">
<h2>Lehreinheiten Vorr&uuml;ckung</h2>
';
echo '<form action="'.$_SERVER['PHP_SELF'].'" method="GET">';
echo 'Studiengang: <SELECT name="studiengang_kz">';
echo '<OPTION value="">---Stg ausw&auml;hlen---</OPTION>';
foreach($stg_obj->result as $stg)
{
if($studiengang_kz==$stg->studiengang_kz)
$selected='selected';
else
$selected='';
echo '<OPTION value="'.$stg->studiengang_kz.'" '.$selected.'>'.$stg->kuerzel.' ('.$stg->kurzbzlang.')</OPTION>';
}
echo '</SELECT>';
echo ' Semester: <SELECT name="semester">';
echo '<OPTION value="">-- Alle --</OPTION>';
for($i=1;$i<=8;$i++)
{
if($semester==$i)
$selected='selected';
else
$selected='';
echo '<OPTION value="'.$i.'" '.$selected.'>'.$i.'</OPTION>';
}
echo '</SELECT>';
echo ' Von: <SELECT name="stsem_von">';
$stsem_obj = new studiensemester();
$stsem_obj->getAll();
foreach ($stsem_obj->studiensemester as $stsem)
{
if($stsem_von == $stsem->studiensemester_kurzbz)
$selected = 'selected';
else
$selected = '';
echo '<OPTION value="'.$stsem->studiensemester_kurzbz.'" '.$selected.'>'.$stsem->studiensemester_kurzbz.'</OPTION>';
}
echo '</SELECT>';
echo ' Nach: <SELECT name="stsem_nach">';
foreach ($stsem_obj->studiensemester as $stsem)
{
if($stsem_nach == $stsem->studiensemester_kurzbz)
$selected = 'selected';
else
$selected = '';
echo '<OPTION value="'.$stsem->studiensemester_kurzbz.'" '.$selected.'>'.$stsem->studiensemester_kurzbz.'</OPTION>';
}
echo '</SELECT>';
echo '&nbsp;&nbsp;<input type="submit" value="Vorrücken">';
echo '</form>';
if($studiengang_kz!='' && $stsem_von!='' && $stsem_nach!='')
{
$stg_obj = new studiengang();
if(!$stg_obj->load($studiengang_kz))
die('Studiengang kann nicht geladen werden');
if(!$rechte->isBerechtigt('lehre/vorrueckung', $stg_obj->oe_kurzbz, 'suid'))
die('Sie haben keine Berechtigung fuer diesen Studiengang');
echo '<br><br>Starte Vorrückung '.$stg_arr[$studiengang_kz]." $semester von $stsem_von nach $stsem_nach ...";
$qry = "SELECT tbl_lehreinheit.lehreinheit_id
FROM
lehre.tbl_lehreinheit JOIN lehre.tbl_lehrveranstaltung USING(lehrveranstaltung_id)
WHERE
tbl_lehrveranstaltung.studiengang_kz='$studiengang_kz' AND
tbl_lehreinheit.studiensemester_kurzbz='$stsem_von'";
if($semester!='')
$qry .= " AND tbl_lehrveranstaltung.semester='$semester'";
if($result = $db->db_query($qry))
{
while($row = $db->db_fetch_object($result))
{
$text.="Lehreinheit $row->lehreinheit_id wird vorgerueckt<br>";
$le_obj = new lehreinheit();
//Lehreinheit Neu Anlegen
if($le_obj->load($row->lehreinheit_id))
{
$le_obj->new=true;
$le_obj->studiensemester_kurzbz=$stsem_nach;
$le_obj->insertamum=date('Y-m-d H:i:s');
$le_obj->insertvon='Vorrueckung';
$le_obj->ext_id='';
$le_obj->unr='';
if($le_obj->save())
{
$anzahl_lehreinheiten++;
//LehreinheitMitarbeiter Eintrag neu Anlengen
$qry_lem="SELECT mitarbeiter_uid FROM lehre.tbl_lehreinheitmitarbeiter WHERE lehreinheit_id='$row->lehreinheit_id'";
if($result_lem = $db->db_query($qry_lem))
{
while($row_lem = $db->db_fetch_object($result_lem))
{
$lem_obj = new lehreinheitmitarbeiter();
if($lem_obj->load($row->lehreinheit_id, $row_lem->mitarbeiter_uid))
{
$lem_obj->lehreinheit_id=$le_obj->lehreinheit_id;
$lem_obj->new = true;
$lem_obj->insertamum = date('Y-m-d H:i:s');
$lem_obj->insertvon = 'Vorrueckung';
$lem_obj->ext_id = '';
if(!$lem_obj->save())
{
$error_lehreinheitmitarbeiter++;
$text.='Fehler beim Anlegen des Lehreinheitmitarbeiter Eintrages: '.$lem_obj->errormsg;
}
else
$anzahl_lehreinheitmitarbeiter++;
}
else
{
$text.='Fehler beim Laden der Mitarbeiter';
$error_lehreinheitmitarbeiter++;
}
}
}
else
{
$text.='Fehler beim Laden der Mitarbeiter '.$db->db_last_error();
$error_lehreinheitmitarbeiter++;
}
//LehreinheitGruppe Eintrag neu Anlegen
$qry_leg="SELECT lehreinheitgruppe_id FROM lehre.tbl_lehreinheitgruppe WHERE lehreinheit_id='$row->lehreinheit_id' AND NOT (tbl_lehreinheitgruppe.semester='0' AND tbl_lehreinheitgruppe.verband='I')";
if($result_leg = $db->db_query($qry_leg))
{
while($row_leg = $db->db_fetch_object($result_leg))
{
$leg_obj = new lehreinheitgruppe();
if($leg_obj->load($row_leg->lehreinheitgruppe_id))
{
$leg_obj->lehreinheit_id=$le_obj->lehreinheit_id;
$leg_obj->new = true;
$leg_obj->insertamum = date('Y-m-d H:i:s');
$leg_obj->insertvon = 'Vorrueckung';
$leg_obj->ext_id = '';
if(!$leg_obj->save())
{
$error_lehreinheitgruppe++;
$text.='Fehler beim Anlegen des Lehreinheitgruppe Eintrages: '.$leg_obj->errormsg;
}
else
$anzahl_lehreinheitgruppe++;
}
else
{
$text.='Fehler beim Laden der Gruppe '.$leg_obj->errormsg.' '.$db->db_last_error();
$error_lehreinheitgruppe++;
}
}
}
else
{
$text.='Fehler beim Auslesen der Gruppen';
$error_lehreinheitgruppe++;
}
}
else
{
$error_lehreinheit++;
$text.='Fehler beim Speichern der Lehreinheit '.$le_obj->errormsg;
}
}
else
{
$error_lehreinheit++;
$text.='Fehler beim Laden der Lehreinheit '.$le_obj->errormsg;
}
}
}
else
{
$text.='Fehler beim Laden der Lehreinheiten '.$db->db_last_error();
$error_lehreinheit++;
}
echo "<br><br>";
echo "Vorgerueckte Lehreinheiten: $anzahl_lehreinheiten<br>";
echo "Vorgerueckte LEMitarbeiter: $anzahl_lehreinheitmitarbeiter<br>";
echo "Vorgerueckte LEGruppen: $anzahl_lehreinheitgruppe<br>";
echo "Fehler bei Lehreinheiten: $error_lehreinheit<br>";
echo "Fehler bei LEMitarbeiter: $error_lehreinheitmitarbeiter<br>";
echo "Fehler bei LEGruppen: $error_lehreinheitmitarbeiter<br>";
echo '<br><br><hr>';
echo $text;
}
?>
</body>
</html>