diff --git a/cis/testtool/frage.php b/cis/testtool/frage.php
index 59c380d1f..6b2fdf104 100644
--- a/cis/testtool/frage.php
+++ b/cis/testtool/frage.php
@@ -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;
-?>
+?>
@@ -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 '
';
+echo '| '.$info.' | ';
$qry = "SELECT zeit FROM testtool.tbl_gebiet WHERE gebiet_id='".addslashes($gebiet_id)."'";
@@ -385,4 +395,4 @@ else
?>
|
|