mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 01:42:17 +00:00
Kleine Anpassungen Testtool-Auswertung
- %-Spalte in Auswertung Detail - Vorschlag-Nummer in Auswertung_detail_frage
This commit is contained in:
@@ -147,7 +147,7 @@ if(isset($_GET['show']))
|
||||
<th>Level</th>
|
||||
<th>Frage</th>
|
||||
<th colspan="3" title="Anzahl der Personen die diese Frage gestellt bekommen haben">Gesamt (m/w)</th>
|
||||
<th colspan="30">Nummer | Punkte | Gesamt | Männlich | Weiblich</th>
|
||||
<th colspan="30">Nummer | Punkte | Gesamt | % | Männlich | Weiblich</th>
|
||||
</tr>';
|
||||
}
|
||||
}
|
||||
@@ -244,12 +244,20 @@ if(isset($_GET['show']))
|
||||
|
||||
$anz_m = $row_geschlecht->anz_m;
|
||||
$anz_w = $row_vorschlag->anzahl_vorschlag-$row_geschlecht->anz_m;
|
||||
if ($row_vorschlag->anzahl_gesamt == 0)
|
||||
$anzahl_gesamt = 1;
|
||||
else
|
||||
$anzahl_gesamt = $row_vorschlag->anzahl_gesamt;
|
||||
|
||||
$vorschlag_prozent = round(100 * $row_vorschlag->anzahl_vorschlag / $anzahl_gesamt, 1);
|
||||
$vorschlag_prozent = number_format($vorschlag_prozent,1,',','');
|
||||
|
||||
$hlp2.= '
|
||||
<td style="border-left: 1px solid black; padding-left:2px;"><b>'.$row_vorschlag->nummer.'</b></td>
|
||||
<!--<td style="padding-left:2px;">'.$row_vorschlag->text.'</td>-->
|
||||
<td>'.number_format($row_vorschlag->punkte,2).'</td>
|
||||
<td><b>'.$row_vorschlag->anzahl_vorschlag.'</b></td>
|
||||
<td><b>'.$vorschlag_prozent.'%</b></td>
|
||||
<td style="color:blue;"><b>'.$anz_m.'</b></td>
|
||||
<td style="color:magenta;"><b>'.$anz_w.'</b></td>';
|
||||
|
||||
|
||||
@@ -58,6 +58,7 @@ if($frage_id!='' && is_numeric($frage_id))
|
||||
tbl_frage_sprache.text as frage_text,
|
||||
tbl_frage_sprache.audio as frage_audio,
|
||||
tbl_frage_sprache.bild as frage_bild,
|
||||
tbl_vorschlag.nummer as vorschlag_nummer,
|
||||
tbl_vorschlag_sprache.text as vorschlag_text,
|
||||
tbl_vorschlag_sprache.audio as vorschlag_audio,
|
||||
tbl_vorschlag_sprache.bild as vorschlag_bild,
|
||||
@@ -108,9 +109,11 @@ if($frage_id!='' && is_numeric($frage_id))
|
||||
}
|
||||
|
||||
//Vorschlaege
|
||||
echo '<center>Nummer: '.$row->vorschlag_nummer.'</center><br>';
|
||||
echo '<center><div style="width: 90%; padding: 5px; background-color: #eee;border: 1px solid black">';
|
||||
//echo "<b>Vorschlag $i: </b>";
|
||||
$first=false;
|
||||
|
||||
echo $row->vorschlag_text;
|
||||
if($row->vorschlag_audio!='')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user