mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
Fragensumme in Übersicht eingefügt
This commit is contained in:
@@ -177,6 +177,9 @@ if(isset($_REQUEST['AuswahlGebiet']))
|
||||
WHERE gebiet_id=".$db->db_add_param($gebiet_id)."
|
||||
ORDER BY studiengang";
|
||||
$result = $db->db_query($qry);
|
||||
|
||||
$qry_anz_fragen = "SELECT count(*) FROM testtool.tbl_frage WHERE gebiet_id=".$db->db_add_param($gebiet_id)." AND demo=false";
|
||||
$result_anz_fragen = $db->db_fetch_object($db->db_query($qry_anz_fragen));
|
||||
|
||||
if ($gebietdetails)
|
||||
{
|
||||
@@ -215,6 +218,10 @@ if(isset($_REQUEST['AuswahlGebiet']))
|
||||
<td align="right">Multipleresponse:</td>
|
||||
<td>'.($gebietdetails->multipleresponse==true?'Ja':'Nein').'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Fragen im Gebiet:</td>
|
||||
<td>'.$result_anz_fragen->count.'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Gestellte Fragen:</td>
|
||||
<td>'.$gebietdetails->maxfragen.'</td>
|
||||
|
||||
Reference in New Issue
Block a user