- Name, Stg und Gruppe bei testtool eingefuegt

- Bei Loeschen und hinzufügen von Gruppen wird der LV-Tree Refresht
- Interessenten->Bewerber Verschiebung hinzugefügt
- Nach Bildupload wird auch der Interessententree refresht
This commit is contained in:
Andreas Österreicher
2007-05-08 15:57:25 +00:00
parent f0d3fee2b7
commit 1d36423a28
7 changed files with 141 additions and 9 deletions
+16 -6
View File
@@ -28,8 +28,8 @@ require_once('../../include/functions.inc.php');
require_once('../../include/frage.class.php');
require_once('../../include/vorschlag.class.php');
require_once('../../include/antwort.class.php');
$PHP_SELF=$_SERVER["PHP_SELF"];
$PHP_SELF=$_SERVER["PHP_SELF"];
session_start();
//testumgebung
@@ -50,7 +50,7 @@ else
$frage_id = '';
$MAX_VORSCHLAEGE_PRO_ZEILE=4;
?>
?>
<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="mathml.xsl" ?>
@@ -107,7 +107,7 @@ $MAX_VORSCHLAEGE_PRO_ZEILE=4;
function checkantwort()
{
antwort = document.getElementById('antwort');
antwort = document.getElementById('antwort');
val=antwort.getAttribut('value');
if(val.length>1)
{
@@ -220,8 +220,18 @@ if($result = pg_query($conn, $qry))
else
die('error');
$info='';
$qry_pruefling = "SELECT vorname, nachname, stg_bez, gruppe_kurzbz FROM testtool.vw_pruefling WHERE pruefling_id='".$_SESSION['pruefling_id']."'";
if($result_pruefling = pg_query($conn, $qry_pruefling))
{
if($row_pruefling = pg_fetch_object($result_pruefling))
{
$info = "$row_pruefling->vorname $row_pruefling->nachname, $row_pruefling->stg_bez, Gruppe $row_pruefling->gruppe_kurzbz";
}
}
//Zeit des Gebietes holen
echo '<table width="100%"><tr><td align="right">';
echo '<table width="100%"><tr><td>'.$info.'</td><td align="right">';
$qry = "SELECT zeit FROM testtool.tbl_gebiet WHERE gebiet_id='".addslashes($gebiet_id)."'";
@@ -385,4 +395,4 @@ else
?>
</body>
</html>
</html>