This commit is contained in:
Rudolf Hangl
2009-01-29 08:12:59 +00:00
parent 288fc438b7
commit d5fb8268d7
2 changed files with 61 additions and 1 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ $sql_query = "SELECT * FROM (SELECT DISTINCT ON(tbl_projektarbeit.projektarbeit_
WHERE (projekttyp_kurzbz='Bachelor' OR projekttyp_kurzbz='Diplom')
AND tbl_projektbetreuer.person_id IN (SELECT person_id FROM public.tbl_benutzer
WHERE public.tbl_benutzer.person_id=lehre.tbl_projektbetreuer.person_id
AND public.tbl_benutzer.uid='sommert')
AND public.tbl_benutzer.uid='$getuid')
AND lehre.tbl_projektarbeit.note IS NULL
AND (betreuerart_kurzbz='Betreuer' OR betreuerart_kurzbz='Begutachter' OR betreuerart_kurzbz='Erstbegutachter' OR betreuerart_kurzbz='Erstbetreuer')
ORDER BY tbl_projektarbeit.projektarbeit_id, betreuerart_kurzbz desc) as xy
+60
View File
@@ -0,0 +1,60 @@
<?php
/* Copyright (C) 2008 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>.
*/
?>
<html>
<head>
<title>Abgabesystem_Studentensicht</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../../../skin/vilesci.css" 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>
<script language="JavaScript">
</script>
</head>
<body class="background_main">
<FORM NAME=weiter id=weiter METHOD=POST ACTION="http://www.bsz-bw.de/cgi-bin/oswd-suche.pl">
<input type="hidden" name="ruecksprung" value="http://dav.technikum-wien.at/ruhan/portal/trunk/cis/private/lehre/abgabe_student_swd.php">
</form>
<?php
if(isset($_POST['subject_swd']))
{
$subject_swd=$_POST['subject_swd'];
echo "<script>document.getElementById(\"swd\").value='$subject_swd';</script>";
echo "<script>
if(opener.document.getElementById('kontrollschlagwoerter').value=='')
{
opener.document.getElementById('kontrollschlagwoerter').value='$subject_swd';window.close();
}
else
{
opener.document.getElementById('kontrollschlagwoerter').value=opener.document.getElementById('kontrollschlagwoerter').value+', $subject_swd';window.close();
}
</script>";
}
else
{
echo "<script>document.getElementById('weiter').submit();</script>";
}
?>
</body>
</html>