mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Statistiken ins FAS integriert
This commit is contained in:
+28
-1
@@ -95,6 +95,10 @@ echo '<?xml-stylesheet href="datepicker/datepicker.css" type="text/css"?>';
|
||||
<command id="menu-statistic-substatistik-alvsstatistik-excel:command" oncommand="StatistikPrintALVSStatistik('xls');"/>
|
||||
<command id="menu-statistic-substatistik-alvsstatistik-html:command" oncommand="StatistikPrintALVSStatistik('');"/>
|
||||
<command id="menu-statistic-substatistik-lvplanunggesamtsj-excel:command" oncommand="StatistikPrintLvPlanungGesamtSJ();"/>
|
||||
<command id="menu-statistic-absolventenstatistik:command" oncommand="StatistikPrintAbsolventenstatistik();"/>
|
||||
<command id="menu-statistic-studentenstatistik:command" oncommand="StatistikPrintStudentenstatistik();"/>
|
||||
<command id="menu-statistic-mitarbeiterstatistik:command" oncommand="StatistikPrintMitarbeiterstatistik();"/>
|
||||
<command id="menu-statistic-lektorenstatistik:command" oncommand="StatistikPrintLektorenstatistik();"/>
|
||||
<command id="menu-dokumente-inskriptionsbestaetigung:command" oncommand="StudentPrintInskriptionsbestaetigung();"/>
|
||||
<command id="menu-dokumente-zeugnis:command" oncommand="StudentCreateZeugnis();"/>
|
||||
<command id="menu-dokumente-diplsupplement:command" oncommand="StudentCreateDiplSupplement();"/>
|
||||
@@ -353,7 +357,30 @@ echo '<?xml-stylesheet href="datepicker/datepicker.css" type="text/css"?>';
|
||||
label = "&menu-statistic-abgaengerstatistik.label;"
|
||||
command = "menu-statistic-abgaengerstatistik:command"
|
||||
accesskey = "&menu-statistic-abgaengerstatistik.accesskey;"/>
|
||||
|
||||
<menuitem
|
||||
id = "menu-statistic-absolventenstatistik"
|
||||
key = "menu-statistic-absolventenstatistik:key"
|
||||
label = "&menu-statistic-absolventenstatistik.label;"
|
||||
command = "menu-statistic-absolventenstatistik:command"
|
||||
accesskey = "&menu-statistic-absolventenstatistik.accesskey;"/>
|
||||
<menuitem
|
||||
id = "menu-statistic-studentenstatistik"
|
||||
key = "menu-statistic-studentenstatistik:key"
|
||||
label = "&menu-statistic-studentenstatistik.label;"
|
||||
command = "menu-statistic-studentenstatistik:command"
|
||||
accesskey = "&menu-statistic-studentenstatistik.accesskey;"/>
|
||||
<menuitem
|
||||
id = "menu-statistic-lektorenstatistik"
|
||||
key = "menu-statistic-lektorenstatistik:key"
|
||||
label = "&menu-statistic-lektorenstatistik.label;"
|
||||
command = "menu-statistic-lektorenstatistik:command"
|
||||
accesskey = "&menu-statistic-lektorenstatistik.accesskey;"/>
|
||||
<menuitem
|
||||
id = "menu-statistic-mitarbeiterstatistik"
|
||||
key = "menu-statistic-mitarbeiterstatistik:key"
|
||||
label = "&menu-statistic-mitarbeiterstatistik.label;"
|
||||
command = "menu-statistic-mitarbeiterstatistik:command"
|
||||
accesskey = "&menu-statistic-mitarbeiterstatistik.accesskey;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
</menupopup>
|
||||
|
||||
@@ -955,6 +955,46 @@ function StatistikPrintAbgaengerstatistik()
|
||||
window.open('<?php echo APP_ROOT ?>content/statistik/abgaengerstatistik.php?stsem='+stsem,'Abgaengerstatistik');
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Liefert eine statistik ueber die Anzahl der Absolventen pro Studiengang
|
||||
// ****
|
||||
function StatistikPrintAbsolventenstatistik()
|
||||
{
|
||||
var stsem = getStudiensemester();
|
||||
|
||||
window.open('<?php echo APP_ROOT ?>content/statistik/absolventenstatistik.php?stsem='+stsem,'Absolventenstatistik');
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Liefert eine statistik ueber die Anzahl und Verteilung der Studenten auf die Studiengaenge
|
||||
// ****
|
||||
function StatistikPrintStudentenstatistik()
|
||||
{
|
||||
var stsem = getStudiensemester();
|
||||
|
||||
window.open('<?php echo APP_ROOT ?>content/statistik/studentenstatistik.php?stsem='+stsem,'Studentenstatistik');
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Liefert eine statistik ueber die Lektorenverteilung auf die Institute
|
||||
// ****
|
||||
function StatistikPrintLektorenstatistik()
|
||||
{
|
||||
var stsem = getStudiensemester();
|
||||
|
||||
window.open('<?php echo APP_ROOT ?>content/statistik/lektorenstatistik.php?stsem='+stsem,'Lektorenstatistik');
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Liefert eine statistik ueber die Institutszuordnungen und Aufteilung auf intern/extern
|
||||
// ****
|
||||
function StatistikPrintMitarbeiterstatistik()
|
||||
{
|
||||
var stsem = getStudiensemester();
|
||||
|
||||
window.open('<?php echo APP_ROOT ?>content/statistik/mitarbeiterstatistik.php?stsem='+stsem,'Mitarbeiterstatistik');
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Zeigt HTML Seite zur Bearbeitung der Reihungstests an
|
||||
// ****
|
||||
|
||||
@@ -19,7 +19,15 @@
|
||||
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
|
||||
* Rudolf Hangl <rudolf.hangl@technikum-wien.at>.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Erstellt eine Liste mit den Absolventen eines Studiensemesters
|
||||
* Aufteilung in
|
||||
* - Anzahl Gesamt
|
||||
* - Prozent Anteil
|
||||
* - Vollzeit/Berufsbegleitend
|
||||
* - Geschlecht
|
||||
* - Herkunft (AT/EU/Nicht EU)
|
||||
*/
|
||||
require_once('../../vilesci/config.inc.php');
|
||||
require_once('../../include/studiensemester.class.php');
|
||||
require_once('../../include/benutzerberechtigung.class.php');
|
||||
|
||||
@@ -19,6 +19,10 @@
|
||||
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
|
||||
* Rudolf Hangl <rudolf.hangl@technikum-wien.at>.
|
||||
*/
|
||||
/*
|
||||
* Erstellt eine Liste der Koordinatoren eines Instituts und der Anzahl der Stunden
|
||||
* die er in den jeweiligen Studiengaengen unterrichtet
|
||||
*/
|
||||
require_once('../../vilesci/config.inc.php');
|
||||
require_once('../../include/functions.inc.php');
|
||||
require_once('../../include/studiengang.class.php');
|
||||
@@ -27,7 +31,7 @@ echo '
|
||||
<html>
|
||||
<head>
|
||||
<title>Koordinatorstunden</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" href="../../skin/vilesci.css" type="text/css">';
|
||||
|
||||
// Datenbank Verbindung
|
||||
|
||||
@@ -19,7 +19,11 @@
|
||||
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
|
||||
* Rudolf Hangl <rudolf.hangl@technikum-wien.at>.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Erstellt eine Tablle mit der Anzahl der Lektoren die im angegebenen
|
||||
* StudienJAHR einen Lehrauftrag im jeweiligen Institut haben, getrennt nach Fixangestellten und Freien
|
||||
* und der Anzahl der Stunden die in diesem Institut gehalten wurden
|
||||
*/
|
||||
require_once('../../vilesci/config.inc.php');
|
||||
require_once('../../include/studiensemester.class.php');
|
||||
require_once('../../include/benutzerberechtigung.class.php');
|
||||
|
||||
@@ -0,0 +1,121 @@
|
||||
<?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>.
|
||||
*/
|
||||
/*
|
||||
* Generiert eine Liste mit den Institutszuordnungen der Mitarbeiter
|
||||
* und einer aufschluesselung ob diese Fixangestellt sind
|
||||
*/
|
||||
require_once('../../vilesci/config.inc.php');
|
||||
require_once('../../include/studiensemester.class.php');
|
||||
require_once('../../include/benutzerberechtigung.class.php');
|
||||
require_once('../../include/functions.inc.php');
|
||||
|
||||
if(!$conn = pg_pconnect(CONN_STRING))
|
||||
die('Fehler beim Connecten zur DB');
|
||||
|
||||
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=iso-8859-15">
|
||||
<link href="../../skin/vilesci.css" rel="stylesheet" type="text/css">
|
||||
<link rel="stylesheet" href="../../include/js/tablesort/table.css" type="text/css">
|
||||
<script src="../../include/js/tablesort/table.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body>';
|
||||
|
||||
|
||||
echo "<h2>Mitarbeiterstatistik";
|
||||
echo '<span style="position:absolute; right:15px;">'.date('d.m.Y').'</span></h2><br>';
|
||||
echo '</h2>';
|
||||
|
||||
echo '<br><br>';
|
||||
|
||||
echo "<table class='liste table-stripeclass:alternate table-autostripe'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th colspan=2>Anzahl</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Institute</th>
|
||||
<th>fix</th>
|
||||
<th>extern</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
";
|
||||
//Bachelor
|
||||
$qry = "SELECT
|
||||
bezeichnung,
|
||||
(SELECT count(*) FROM (SELECT distinct uid FROM public.tbl_benutzerfunktion JOIN campus.vw_mitarbeiter USING(uid) WHERE fachbereich_kurzbz=a.fachbereich_kurzbz AND fixangestellt AND funktion_kurzbz='Institut' AND aktiv) a) as fix,
|
||||
(SELECT count(*) FROM (SELECT distinct uid FROM public.tbl_benutzerfunktion JOIN campus.vw_mitarbeiter USING(uid) WHERE fachbereich_kurzbz=a.fachbereich_kurzbz AND NOT fixangestellt AND funktion_kurzbz='Institut' AND aktiv) a) as extern
|
||||
FROM public.tbl_fachbereich a WHERE aktiv ORDER BY bezeichnung";
|
||||
|
||||
if($result = pg_query($conn, $qry))
|
||||
{
|
||||
|
||||
$gesamt_fix=0;
|
||||
$gesamt_extern=0;
|
||||
|
||||
while($row = pg_fetch_object($result))
|
||||
{
|
||||
if($row->fix==0 && $row->extern==0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
echo '<tr>';
|
||||
echo "<td>$row->bezeichnung</td>";
|
||||
echo "<td align='center'>$row->fix</td>";
|
||||
echo "<td align='center'>$row->extern</td>";
|
||||
echo "</tr>";
|
||||
$gesamt_fix+=$row->fix;
|
||||
$gesamt_extern+=$row->extern;
|
||||
}
|
||||
|
||||
$qry = "SELECT
|
||||
(SELECT count(*) FROM campus.vw_mitarbeiter WHERE uid NOT in(SELECT uid FROM public.tbl_benutzerfunktion WHERE funktion_kurzbz='Institut') AND aktiv AND fixangestellt) as fix,
|
||||
(SELECT count(*) FROM campus.vw_mitarbeiter WHERE uid NOT in(SELECT uid FROM public.tbl_benutzerfunktion WHERE funktion_kurzbz='Institut') AND aktiv AND NOT fixangestellt) as extern
|
||||
";
|
||||
if($result = pg_query($conn, $qry))
|
||||
{
|
||||
if($row = pg_fetch_object($result))
|
||||
{
|
||||
echo '<tr>';
|
||||
echo "<td>Nicht zugeordnet</td>";
|
||||
echo "<td align='center'>$row->fix</td>";
|
||||
echo "<td align='center'>$row->extern</td>";
|
||||
echo "</tr>";
|
||||
$gesamt_fix += $row->fix;
|
||||
$gesamt_extern += $row->extern;
|
||||
}
|
||||
}
|
||||
echo '<tr>';
|
||||
echo '<td><b>SUMME</b></td>';
|
||||
echo "<td align='center'><b>$gesamt_fix</b></td>";
|
||||
echo "<td align='center'><b>$gesamt_extern</b></td>";
|
||||
echo "</tr>";
|
||||
|
||||
}
|
||||
echo '</tbody></table>';
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -19,7 +19,15 @@
|
||||
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
|
||||
* Rudolf Hangl <rudolf.hangl@technikum-wien.at>.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Erstellt eine Liste der Studenten eines Studiensemesters
|
||||
* Aufteilung in
|
||||
* - Anzahl Gesamt
|
||||
* - Prozent Anteil
|
||||
* - Vollzeit/Berufsbegleitend
|
||||
* - Geschlecht
|
||||
* - Herkunft (AT/EU/Nicht EU)
|
||||
*/
|
||||
require_once('../../vilesci/config.inc.php');
|
||||
require_once('../../include/studiensemester.class.php');
|
||||
require_once('../../include/benutzerberechtigung.class.php');
|
||||
|
||||
@@ -132,6 +132,22 @@
|
||||
<!ENTITY menu-statistic-abgaengerstatistik.label "Abgaengerstatistik">
|
||||
<!ENTITY menu-statistic-abgaengerstatistik.accesskey "A">
|
||||
|
||||
<!ENTITY menu-statistic-absolventenstatistik.key "B">
|
||||
<!ENTITY menu-statistic-absolventenstatistik.label "Absolventenstatistik">
|
||||
<!ENTITY menu-statistic-absolventenstatistik.accesskey "B">
|
||||
|
||||
<!ENTITY menu-statistic-lektorenstatistik.key "L">
|
||||
<!ENTITY menu-statistic-lektorenstatistik.label "Lektorenstatistik">
|
||||
<!ENTITY menu-statistic-lektorenstatistik.accesskey "L">
|
||||
|
||||
<!ENTITY menu-statistic-studentenstatistik.key "S">
|
||||
<!ENTITY menu-statistic-studentenstatistik.label "Studentenstatistik">
|
||||
<!ENTITY menu-statistic-studentenstatistik.accesskey "S">
|
||||
|
||||
<!ENTITY menu-statistic-mitarbeiterstatistik.key "M">
|
||||
<!ENTITY menu-statistic-mitarbeiterstatistik.label "Mitarbeiterstatistik">
|
||||
<!ENTITY menu-statistic-mitarbeiterstatistik.accesskey "M">
|
||||
|
||||
<!-- Dokumente -->
|
||||
<!ENTITY menu-dokumente.label "Dokumente">
|
||||
<!ENTITY menu-dokumente.accesskey "D">
|
||||
|
||||
Reference in New Issue
Block a user